What is CVE-2026-139557?
CVE-2026-139557 is a vulnerability in Linux, published on 30 Nov 2026.
Official description
In the Linux kernel, the following vulnerability has been resolved:
misc: enclosure: fix UAF on device_register() failure
After device_register() fails, the embedded struct device has already been initialized and must be released with put_device() so that enclosure_release() can drop the parent reference and free edev.
The error path currently does put_device(parent) + kfree(edev), which skips the device lifetime rules and can free the object while the device core still owns a reference (use-after-free).
Which versions are affected by CVE-2026-139557?
How do I fix CVE-2026-139557?
Upgrade to a fixed version.
Is CVE-2026-139557 being exploited?
There is no known exploitation of CVE-2026-139557 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2026-139557, DEBIAN-CVE-2026-139557, GHSA-vfjf-q8j3-6m6g, UBUNTU-CVE-2026-139557.