CVE-2026-80824

usb: usbfs: fix use-after-free of usb_device in usbdev_release()

No CVSS score yet EPSS 0.19%

Published 4 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-80824

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80824 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

usb: usbfs: fix use-after-free of usb_device in usbdev_release()

usbdev_release() drops its reference to the struct usb_device before draining the list of completed async URBs, but that drain path reads back through the same object: free_async() calls dec_usb_memory_use_count() for any URB whose buffer came from the usbfs mmap() region, and its first statement is bus_to_hcd(ps->dev->bus).

After a disconnect the usbfs reference can be the last one, in which case usb_put_dev() frees the device and the subsequent loop reads offset 80 of freed memory and uses the result as a struct usb_hcd *, which hcd_buffer_free_pages() then dereferences.

This is reachable by an unprivileged process that has read/write access to a /dev/bus/usb node: mmap() the fd, submit one URB with a buffer inside the mapping, wait for the device to be unplugged, then munmap() and close(). It reproduces on every attempt rather than being a race, because a live MAP_SHARED vma holds a reference on the struct file, so usbdev_release() cannot run until the last vma is gone and the freeing branch of dec_usb_memory_use_count() is always taken.

BUG: KASAN: slab-use-after-free in dec_usb_memory_use_count+0x3ae/0x410 Read of size 8 at addr ffff8880122ee050 by task poc/769 CPU: 1 UID: 1000 PID: 769 Comm: poc Tainted: G B 6.12.94 #3

Call Trace: dec_usb_memory_use_count+0x3ae/0x410 free_async+0x2aa/0x4f0 usbdev_release+0x375/0x460 __fput+0x3ea/0xb50 __x64_sys_close+0x86/0x100

Allocated by task 11: usb_alloc_dev+0x55/0xd90 hub_event+0x2524/0x43d0

Freed by task 769: kfree+0x121/0x360 device_release+0xd2/0x280 usb_put_dev+0x23/0x30 usbdev_release+0x2d8/0x460

Release the device reference after the drain loop instead. Nothing between the two points requires it to have been dropped.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.69% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before 0a960b88c5979f853019d4dc4957dfbeeb193440
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before 96f5520fc9a5e4bbf77ac93c9d5ce502f597e6cf
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before bd4bffc621a8cb2f4d9ed9b6447415de524a3bef
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before 65879e0a452ca2a234b9475e0c11aff7a4343738
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before b3cde26a66b04f1d90ed0b675899c88b4e49d424
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before 5f08c45bdcfd28d1171de38c5ef29fc89a76eedc
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before 7f0278e474c4d1c4457974ff1137cc385c944ab3
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before 47a7f98fbb5006d46d15a3a210ffdc61448a4f19
affected from f7d34b445abc00e979b7cf36b9580ac3d1a47cd8, before 0dd68b5d01d022fc9c5e71c82a82b0a94d3d0671
Other versions: unaffected
Linux
affected 4.6
unaffected before 4.6
unaffected from 5.10.269 up to and including 5.10.*
unaffected from 5.15.220 up to and including 5.15.*
unaffected from 6.1.187 up to and including 6.1.*
unaffected from 6.6.156 up to and including 6.6.*
unaffected from 6.12.108 up to and including 6.12.*
unaffected from 6.18.49 up to and including 6.18.*
unaffected from 7.1.13 up to and including 7.1.*
unaffected from 7.2.3 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80824 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80824

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-80824
trivy image --scanners vuln IMAGE | grep CVE-2026-80824

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-80824 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.