CVE-2022-49830
drm/drv: Fix potential memory leak in drm_dev_init()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < c47a823ea186263ab69cfb665327b7f72cb5e779; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < 07e56de8766fe5be67252596244b84ac0ec0de91; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < bd8d1335e6e70a396094ef98913b513140c0b86b; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < ff963634f7b2e0dc011349abb3fb81a0d074f443
- Anyone running Linux 5.8
Vulnerability facts
- Affected
- Linux >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < c47a823ea186263ab69cfb665327b7f72cb5e779; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < 07e56de8766fe5be67252596244b84ac0ec0de91; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < bd8d1335e6e70a396094ef98913b513140c0b86b; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < ff963634f7b2e0dc011349abb3fb81a0d074f443; Linux 5.8
- Fixed in
- Linux 07e56de8766fe5be67252596244b84ac0ec0de91
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/drv: Fix potential memory leak in drm_dev_init() drm_dev_init() will add drm_dev_init_release() as a callback. When drmm_add_action() failed, the release function won't be added. As the result, the ref cnt added by device_get() in drm_dev_init() won't be put by drm_dev_init_release(), which leads to the memleak. Use drmm_add_action_or_reset() instead of drmm_add_action() to prevent memleak. unreferenced object 0xffff88810bc0c800 (size 2048): comm "modprobe", pid 8322, jiffies 4305809845 (age 15.292s) hex dump (first 32 bytes): e8 cc c0 0b 81 88 ff ff ff ff ff ff 00 00 00 00 ................ 20 24 3c 0c 81 88 ff ff 18 c8 c0 0b 81 88 ff ff $<............. backtrace: [<000000007251f72d>] __kmalloc+0x4b/0x1c0 [<0000000045f21f26>] platform_device_alloc+0x2d/0xe0 [<000000004452a479>] platform_device_register_full+0x24/0x1c0 [<0000000089f4ea61>] 0xffffffffa0736051 [<00000000235b2441>] do_one_initcall+0x7a/0x380 [<0000000001a4a177>] do_init_module+0x5c/0x230 [<000000002bf8a8e2>] load_module+0x227d/0x2420 [<00000000637d6d0a>] __do_sys_finit_module+0xd5/0x140 [<00000000c99fc324>] do_syscall_64+0x3f/0x90 [<000000004d85aa77>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < c47a823ea186263ab69cfb665327b7f72cb5e779; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < 07e56de8766fe5be67252596244b84ac0ec0de91; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < bd8d1335e6e70a396094ef98913b513140c0b86b; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < ff963634f7b2e0dc011349abb3fb81a0d074f443 | — | cvelist |
| Linux | 5.8 | — | 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-49830. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49830.md Affected: Linux >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < c47a823ea186263ab69cfb665327b7f72cb5e779; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < 07e56de8766fe5be67252596244b84ac0ec0de91; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < bd8d1335e6e70a396094ef98913b513140c0b86b; >= 2cbf7fc6718b9443ecd6261… Fixed in: Linux 07e56de8766fe5be67252596244b84ac0ec0de91 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
FAQ
Is CVE-2022-49830 being exploited?
There is no confirmed exploitation: CVE-2022-49830 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49830?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49830?
Linux >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < c47a823ea186263ab69cfb665327b7f72cb5e779; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < 07e56de8766fe5be67252596244b84ac0ec0de91; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < bd8d1335e6e70a396094ef98913b513140c0b86b; >= 2cbf7fc6718b9443ecd6261308c6348d8ffcccae, < ff963634f7b2e0dc011349abb3fb81a0d074f443; Linux 5.8.
Is there a fix for CVE-2022-49830?
Yes. Fixed in Linux 07e56de8766fe5be67252596244b84ac0ec0de91. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49830?
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.