CVE-2026-139557

CVE-2026-139557CVE-2026-139557

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).

Scoring

Last modified2026-11-30
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.