CVE-2022-49422

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

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 42d279f9137ab7d5503836baec2739284b278d8f to before 6073af78156b8c3fc1198f8bcc190b7ac3ac0143Affected
  • 42d279f9137ab7d5503836baec2739284b278d8f to before b3c7b5d08e9d5b2ff31c03078c00ecf11042419fAffected
  • 42d279f9137ab7d5503836baec2739284b278d8f to before 5e88561eceb34ae3f88451c2b8e30fe403484189Affected
  • 42d279f9137ab7d5503836baec2739284b278d8f to before c308a2e711a52a47f4b45e7add2b5200169e429aAffected
  • 42d279f9137ab7d5503836baec2739284b278d8f to before aab08c1aac01097815fbcf10fce7021d2396a31fAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.121 through 5.10.*Not affected
  • 5.15.46 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.