coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 412225b32986d5b11c3c1ad9234c50a3f5c52c76, Kernel a529af1f5a5c096f3e18f0d5a32cfcc3d82df1ec, Kernel c61e2fc87f24cae4701f352fe9ecd4c5c143106c and 1 more.
In the Linux kernel, the following vulnerability has been resolved: coresight: syscfg: Fix memleak on registration failure in cscfg_create_device device_register() calls device_initialize(), according to doc of device_initialize: Use put_device() to give up your reference instead of freeing * @dev directly once you have called this function. To prevent potential memleak, use put_device() for error handling.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.15, >=85e2414c518a03a21dddd4bc88fec2723c5e1197 <412225b32986d5b11c3c1ad9234c50a3f5c52c76, >=85e2414c518a03a21dddd4bc88fec2723c5e1197 <a529af1f5a5c096f3e18f0d5a32cfcc3d82df1ec, >=85e2414c518a03a21dddd4bc88fec2723c5e1197 <c61e2fc87f24cae4701f352fe9ecd4c5c143106c, >=85e2414c518a03a21dddd4bc88fec2723c5e1197 <cfa5dbcdd7aece76f3415284569f2f384aff0253 | 412225b32986d5b11c3c1ad9234c50a3f5c52c76, a529af1f5a5c096f3e18f0d5a32cfcc3d82df1ec, c61e2fc87f24cae4701f352fe9ecd4c5c143106c, cfa5dbcdd7aece76f3415284569f2f384aff0253 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket