CVE-2026-143396
NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
net/9p/usbg: fix descriptor cleanup use-after-free
usb9pfs_free_func() frees the f_usb9pfs object before calling
usb_free_all_descriptors(). The usb_function passed to the latter is
embedded in the freed object, so removing the function from a gadget
dereferences freed memory.
The failing teardown sequence is:
configfs unlink
usb9pfs_free_func()
kfree(usb9pfs)
usb_free_all_descriptors(f)
dereference the embedded usb_function
KASAN reported:
BUG: KASAN: slab-use-after-free in usb_free_all_descriptors+0x138/0x190
Read of size 8 at addr ffff888106a73088 by task poc/95
Call Trace:
usb_free_all_descriptors+0x138/0x190
config_usb_cfg_unlink+0x1f0/0x2f0
configfs_unlink+0x321/0x6f0
Free the descriptors before freeing their containing object.
net/9p/usbg: fix descriptor cleanup use-after-free
usb9pfs_free_func() frees the f_usb9pfs object before calling
usb_free_all_descriptors(). The usb_function passed to the latter is
embedded in the freed object, so removing the function from a gadget
dereferences freed memory.
The failing teardown sequence is:
configfs unlink
usb9pfs_free_func()
kfree(usb9pfs)
usb_free_all_descriptors(f)
dereference the embedded usb_function
KASAN reported:
BUG: KASAN: slab-use-after-free in usb_free_all_descriptors+0x138/0x190
Read of size 8 at addr ffff888106a73088 by task poc/95
Call Trace:
usb_free_all_descriptors+0x138/0x190
config_usb_cfg_unlink+0x1f0/0x2f0
configfs_unlink+0x321/0x6f0
Free the descriptors before freeing their containing object.
Affected & Patched Versions
- Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c and < 86f0c26e4263ffc1667694e4f3920d1b46e73e9d
- Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c and < 54b98356b92082c59766205d600a273f434c94e4
- Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c and < c1495c9ae0601cd0f31cf7705a2e8f2beeca8f8c
- Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c and < 0955472fff1e9f9e410a0300136924ebc8bd7a16
- Linux 6.12
- Linux 86f0c26e4263ffc1667694e4f3920d1b46e73e9d
- Linux 54b98356b92082c59766205d600a273f434c94e4
- Linux c1495c9ae0601cd0f31cf7705a2e8f2beeca8f8c
- Linux 0955472fff1e9f9e410a0300136924ebc8bd7a16
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 3, 2026Published
- Dec 3, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-143396. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/0955472fff1e9f9e410a0300136924ebc8bd7a16
- Referencehttps://git.kernel.org/stable/c/54b98356b92082c59766205d600a273f434c94e4
- Referencehttps://git.kernel.org/stable/c/86f0c26e4263ffc1667694e4f3920d1b46e73e9d
- Referencehttps://git.kernel.org/stable/c/c1495c9ae0601cd0f31cf7705a2e8f2beeca8f8c
Data last checked: Dec 3, 2026 19:14 UTC