CVE-2022-49422

dmaengine: idxd: Fix the error handling path in idxd_cdev_register()

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:12 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix the error handling path in idxd_cdev_register() If a call to alloc_chrdev_region() fails, the already allocated resources are leaking. Add the needed error handling path to fix the leak.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.6 ≤ v < 5.10.1215.6 ≤ v < 5.15.465.6 ≤ v < 5.17.145.6 ≤ v < 5.18.35.6 ≤ v < 5.1942d279f9137ab7d5503836baec2739284b278d8f5.6
Vendor states this is fixed in 5e88561eceb34ae3f88451c2b8e30fe403484189 (fixed)
Vendor states this is fixed in 6073af78156b8c3fc1198f8bcc190b7ac3ac0143 (fixed)
Vendor states this is fixed in aab08c1aac01097815fbcf10fce7021d2396a31f (fixed)
Vendor states this is fixed in b3c7b5d08e9d5b2ff31c03078c00ecf11042419f (fixed)
Vendor states this is fixed in c308a2e711a52a47f4b45e7add2b5200169e429a (fixed)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.6 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e88561eceb34ae3f88451c2b8e30fe403484189
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6073af78156b8c3fc1198f8bcc190b7ac3ac0143
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aab08c1aac01097815fbcf10fce7021d2396a31f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3c7b5d08e9d5b2ff31c03078c00ecf11042419f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c308a2e711a52a47f4b45e7add2b5200169e429a

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card