CVE-2022-50848

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

N/A
Published: December 30, 2025 at 12:15 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.3%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.29 ≤ v < 4.14.3032.6.29 ≤ v < 4.19.2702.6.29 ≤ v < 4.9.3372.6.29 ≤ v < 5.10.1632.6.29 ≤ v < 5.15.862.6.29 ≤ v < 5.4.2292.6.29 ≤ v < 6.0.162.6.29 ≤ v < 6.1.22.6.29 ≤ v < 6.22.6.292e4c77bea3d8b17d94f8ee382411f359b708560f
Vendor states this is fixed in 4b68caa95064ac464f1b261d08ac677e753d1088 (fixed)
Vendor states this is fixed in 78fddc0ff971f9874d53c854818cc4aafa144114 (fixed)
Vendor states this is fixed in 8e002b9fe831b27d4506df6fa60cb33ba0730ac3 (fixed)
Vendor states this is fixed in a0ead7e8da84f4c3759417b8e928b65e0207c646 (fixed)
Vendor states this is fixed in a524e7fed696a4dfef671e0fda3511bfd2dca0cf (fixed)
Vendor states this is fixed in affe3cea6b3148fa66796a48640664822ceccd48 (fixed)
Vendor states this is fixed in da64e01da40c6b71a54144126da53cc3b27201ac (fixed)
Vendor states this is fixed in e63e99397b2613d50a5f4f02ed07307e67a190f1 (fixed)
Vendor states this is fixed in fce9890e1be4c0460dad850cc8c00414a9d25f0f (fixed)
Vendor states this is fixed in 2.6.29 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card