CVE-2026-139557
not scored yetmisc: enclosure: fix UAF on device_register() failure
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).
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < 13db96be1ee73c99acb0e40a6adeb6c89adb6320; >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < f9c667d654657c75d5f3a322877d411772bd284c; >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < 59e32463d83c1ed9a6940af1a6ea62b4a62adbd3; >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < f32bcc15dd0dd8478e4b43bd2919f288aab84c61; >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < 88ba765d2f4614e8efaf37be086c23f84a05dae4; >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < 686bdcc0aaee08f519c8ae9625a0637b5804b4b7; >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < 7b138cd144ef18f8cd9ff99cc00f11c465cc3d56; >= d569d5bb3fd96d2907acaddd7c4ea5cb07d02ab8, < 0f3b12bab74e13a2b8686a49c5b83099da61e032 | 13db96be1ee73c99acb0e40a6adeb6c89adb6320, f9c667d654657c75d5f3a322877d411772bd284c, 59e32463d83c1ed9a6940af1a6ea62b4a62adbd3, f32bcc15dd0dd8478e4b43bd2919f288aab84c61, 88ba765d2f4614e8efaf37be086c23f84a05dae4, 686bdcc0aaee08f519c8ae9625a0637b5804b4b7, 7b138cd144ef18f8cd9ff99cc00f11c465cc3d56, 0f3b12bab74e13a2b8686a49c5b83099da61e032 |
| CVE List | Linux | Linux | = 2.6.25 |
References
- https://git.kernel.org/stable/c/0f3b12bab74e13a2b8686a49c5b83099da61e032
- https://git.kernel.org/stable/c/13db96be1ee73c99acb0e40a6adeb6c89adb6320
- https://git.kernel.org/stable/c/59e32463d83c1ed9a6940af1a6ea62b4a62adbd3
- https://git.kernel.org/stable/c/686bdcc0aaee08f519c8ae9625a0637b5804b4b7
- https://git.kernel.org/stable/c/7b138cd144ef18f8cd9ff99cc00f11c465cc3d56
- https://git.kernel.org/stable/c/88ba765d2f4614e8efaf37be086c23f84a05dae4
- https://git.kernel.org/stable/c/f32bcc15dd0dd8478e4b43bd2919f288aab84c61
- https://git.kernel.org/stable/c/f9c667d654657c75d5f3a322877d411772bd284c
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)