CVE-2022-50848
drivers: dio: fix possible memory leak in dio_init()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < affe3cea6b3148fa66796a48640664822ceccd48; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 4b68caa95064ac464f1b261d08ac677e753d1088; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a524e7fed696a4dfef671e0fda3511bfd2dca0cf; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < da64e01da40c6b71a54144126da53cc3b27201ac; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < fce9890e1be4c0460dad850cc8c00414a9d25f0f; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a0ead7e8da84f4c3759417b8e928b65e0207c646; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 8e002b9fe831b27d4506df6fa60cb33ba0730ac3; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 78fddc0ff971f9874d53c854818cc4aafa144114; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < e63e99397b2613d50a5f4f02ed07307e67a190f1
- Anyone running Linux 2.6.29
Vulnerability facts
- Affected
- Linux >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < affe3cea6b3148fa66796a48640664822ceccd48; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 4b68caa95064ac464f1b261d08ac677e753d1088; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a524e7fed696a4dfef671e0fda3511bfd2dca0cf; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < da64e01da40c6b71a54144126da53cc3b27201ac; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < fce9890e1be4c0460dad850cc8c00414a9d25f0f; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a0ead7e8da84f4c3759417b8e928b65e0207c646; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 8e002b9fe831b27d4506df6fa60cb33ba0730ac3; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 78fddc0ff971f9874d53c854818cc4aafa144114; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < e63e99397b2613d50a5f4f02ed07307e67a190f1; Linux 2.6.29
- Fixed in
- Linux 4b68caa95064ac464f1b261d08ac677e753d1088, Linux 8e002b9fe831b27d4506df6fa60cb33ba0730ac3, Linux 78fddc0ff971f9874d53c854818cc4aafa144114
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < affe3cea6b3148fa66796a48640664822ceccd48; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 4b68caa95064ac464f1b261d08ac677e753d1088; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a524e7fed696a4dfef671e0fda3511bfd2dca0cf; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < da64e01da40c6b71a54144126da53cc3b27201ac; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < fce9890e1be4c0460dad850cc8c00414a9d25f0f; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a0ead7e8da84f4c3759417b8e928b65e0207c646; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 8e002b9fe831b27d4506df6fa60cb33ba0730ac3; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 78fddc0ff971f9874d53c854818cc4aafa144114; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < e63e99397b2613d50a5f4f02ed07307e67a190f1 | — | cvelist |
| Linux | 2.6.29 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50848. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50848.md Affected: Linux >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < affe3cea6b3148fa66796a48640664822ceccd48; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 4b68caa95064ac464f1b261d08ac677e753d1088; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a524e7fed696a4dfef671e0fda3511bfd2dca0cf; >= 2e4c77bea3d8b17d94f8ee3… Fixed in: Linux 4b68caa95064ac464f1b261d08ac677e753d1088, Linux 8e002b9fe831b27d4506df6fa60cb33ba0730ac3, Linux 78fddc0ff971f9874d53c854818cc4aafa144114 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/affe3cea6b3148fa66796a48640664822ceccd48
- https://git.kernel.org/stable/c/4b68caa95064ac464f1b261d08ac677e753d1088
- https://git.kernel.org/stable/c/a524e7fed696a4dfef671e0fda3511bfd2dca0cf
- https://git.kernel.org/stable/c/da64e01da40c6b71a54144126da53cc3b27201ac
- https://git.kernel.org/stable/c/fce9890e1be4c0460dad850cc8c00414a9d25f0f
- https://git.kernel.org/stable/c/a0ead7e8da84f4c3759417b8e928b65e0207c646
- https://git.kernel.org/stable/c/8e002b9fe831b27d4506df6fa60cb33ba0730ac3
- https://git.kernel.org/stable/c/78fddc0ff971f9874d53c854818cc4aafa144114
- https://git.kernel.org/stable/c/e63e99397b2613d50a5f4f02ed07307e67a190f1
FAQ
Is CVE-2022-50848 being exploited?
There is no confirmed exploitation: CVE-2022-50848 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50848?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50848?
Linux >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < affe3cea6b3148fa66796a48640664822ceccd48; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 4b68caa95064ac464f1b261d08ac677e753d1088; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a524e7fed696a4dfef671e0fda3511bfd2dca0cf; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < da64e01da40c6b71a54144126da53cc3b27201ac; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < fce9890e1be4c0460dad850cc8c00414a9d25f0f; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < a0ead7e8da84f4c3759417b8e928b65e0207c646; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 8e002b9fe831b27d4506df6fa60cb33ba0730ac3; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < 78fddc0ff971f9874d53c854818cc4aafa144114; >= 2e4c77bea3d8b17d94f8ee382411f359b708560f, < e63e99397b2613d50a5f4f02ed07307e67a190f1; Linux 2.6.29.
Is there a fix for CVE-2022-50848?
Yes. Fixed in Linux 4b68caa95064ac464f1b261d08ac677e753d1088, Linux 8e002b9fe831b27d4506df6fa60cb33ba0730ac3, Linux 78fddc0ff971f9874d53c854818cc4aafa144114. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50848?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.