Skip to content
StratQuad

Threats

Linux kernel USB gadget workqueue not flushed after device removal

CVE-2025-21838Medium

The Linux kernel USB gadget core does not properly flush its workqueue after a device is removed. When device_del() is called, it can trigger new work to be scheduled in the gadget workqueue before the workqueue is flushed, leaving pending tasks. An attacker with the ability to remove USB gadget devices could potentially cause a use-after-free condition or other memory corruption by exploiting the unhandled pending work.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
5.5
MEDIUM
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
11th
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: from 3.12, before 6.1.130
  • linux linux kernel: from 6.2, before 6.6.80
  • linux linux kernel: from 6.7, before 6.12.16
  • linux linux kernel: from 6.13, before 6.13.4
  • linux linux kernel: 6.14

Reports naming this CVE1 in total