Bug 2426045 (CVE-2022-50848) - CVE-2022-50848 kernel: drivers: dio: fix possible memory leak in dio_init()
Summary: CVE-2022-50848 kernel: drivers: dio: fix possible memory leak in dio_init()
Keywords:
Status: NEW
Alias: CVE-2022-50848
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:04 UTC by OSIDB Bzimport
Modified: 2026-06-29 18:02 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:04:35 UTC
In the Linux kernel, the following vulnerability has been resolved:

drivers: dio: fix possible memory leak in dio_init()

If device_register() returns error, the 'dev' and name needs be
freed. Add a release function, and then call put_device() in the
error path, so the name is freed in kobject_cleanup() and to the
'dev' is freed in release function.


Note You need to log in before you can comment on or make changes to this bug.