Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-49422

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 42d279f9137ab7d5503836baec2739284b278d8f to < 6073af78156b8c3fc1198f8bcc190b7ac3ac0143affected
  • 42d279f9137ab7d5503836baec2739284b278d8f to < b3c7b5d08e9d5b2ff31c03078c00ecf11042419faffected
  • 42d279f9137ab7d5503836baec2739284b278d8f to < 5e88561eceb34ae3f88451c2b8e30fe403484189affected
  • 42d279f9137ab7d5503836baec2739284b278d8f to < c308a2e711a52a47f4b45e7add2b5200169e429aaffected
  • 42d279f9137ab7d5503836baec2739284b278d8f to < aab08c1aac01097815fbcf10fce7021d2396a31faffected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 5.10.121 to ≤ 5.10.*unaffected
  • 5.15.46 to ≤ 5.15.*unaffected
  • 5.17.14 to ≤ 5.17.*unaffected
  • 5.18.3 to ≤ 5.18.*unaffected
  • 5.19 to ≤ *unaffected

References