CVE-2022-50848
drivers: dio: fix possible memory leak in dio_init()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
2.6.29
References 9
git.kernel.org
- stable/c/affe3cea6b3148fa66796a48640664822ceccd48
- stable/c/4b68caa95064ac464f1b261d08ac677e753d1088
- stable/c/a524e7fed696a4dfef671e0fda3511bfd2dca0cf
- stable/c/da64e01da40c6b71a54144126da53cc3b27201ac
- stable/c/fce9890e1be4c0460dad850cc8c00414a9d25f0f
- stable/c/a0ead7e8da84f4c3759417b8e928b65e0207c646
- stable/c/8e002b9fe831b27d4506df6fa60cb33ba0730ac3
- stable/c/78fddc0ff971f9874d53c854818cc4aafa144114
- stable/c/e63e99397b2613d50a5f4f02ed07307e67a190f1