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.
Analysis and contextual insights are available on OpenCVE Cloud.
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Thu, 01 Jan 2026 00:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Tue, 30 Dec 2025 12:30:00 +0000
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2026-05-11T19:26:17.227Z
Reserved: 2025-12-30T12:06:07.134Z
Link: CVE-2022-50848
No data.
Status : Deferred
Published: 2025-12-30T13:15:59.460
Modified: 2026-04-15T00:35:42.020
Link: CVE-2022-50848
OpenCVE Enrichment
No data.
No weakness.