CVE-2022-50848

Source
https://cve.org/CVERecord?id=CVE-2022-50848
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50848.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50848
Downstream
Related
Published
2025-12-30T12:15:25.776Z
Modified
2026-03-20T11:47:39.142362Z
Summary
drivers: dio: fix possible memory leak in dio_init()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50848.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2e4c77bea3d8b17d94f8ee382411f359b708560f
Fixed
affe3cea6b3148fa66796a48640664822ceccd48
Fixed
4b68caa95064ac464f1b261d08ac677e753d1088
Fixed
a524e7fed696a4dfef671e0fda3511bfd2dca0cf
Fixed
da64e01da40c6b71a54144126da53cc3b27201ac
Fixed
fce9890e1be4c0460dad850cc8c00414a9d25f0f
Fixed
a0ead7e8da84f4c3759417b8e928b65e0207c646
Fixed
8e002b9fe831b27d4506df6fa60cb33ba0730ac3
Fixed
78fddc0ff971f9874d53c854818cc4aafa144114
Fixed
e63e99397b2613d50a5f4f02ed07307e67a190f1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50848.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.29
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50848.json"