CVE-2023-35828
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the Linux kernel before version 6.3.2, specifically in the renesasusb3remove function within drivers/usb/gadget/udc/renesas_usb3.c. The issue was identified in March 2023 and affects the Renesas USB3.0 controller driver (Kernel Commit, NVD).

Technical details

The vulnerability stems from a race condition during device removal. When the driver is removed, which calls renesasusb3remove, there may be an unfinished work queue item. The race condition occurs between the rolework function and the removal process, where the rolesw pointer could be freed while still being accessed by the work queue. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (HIGH) with vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could potentially lead to a use-after-free condition when removing or unbinding the Renesas USB device-mode driver. While the security impact is unclear, use-after-free vulnerabilities typically can result in system crashes (denial of service) or potentially arbitrary code execution (Debian Advisory).

Mitigation and workarounds

The issue has been fixed by adding a call to cancelworksync() before cleanup in the renesasusb3remove function. The fix was implemented in Linux kernel version 6.3.2. Users should upgrade to this version or later to address the vulnerability (Kernel Commit).

Community reactions

NetApp has assessed this vulnerability in their products and provided an advisory detailing affected and unaffected systems. They rated it as HIGH severity with a CVSS score of 7.0 (NetApp Advisory)

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management