---
id: CVE-2022-49422
title: 'dmaengine: idxd: Fix the error handling path in idxd_cdev_register()'
summary: |-
  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 ne…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 42d279f9137ab7d5503836baec2739284b278d8f <
    6073af78156b8c3fc1198f8bcc190b7ac3ac0143
  - >-
    Linux >= 42d279f9137ab7d5503836baec2739284b278d8f <
    b3c7b5d08e9d5b2ff31c03078c00ecf11042419f
  - >-
    Linux >= 42d279f9137ab7d5503836baec2739284b278d8f <
    5e88561eceb34ae3f88451c2b8e30fe403484189
  - >-
    Linux >= 42d279f9137ab7d5503836baec2739284b278d8f <
    c308a2e711a52a47f4b45e7add2b5200169e429a
  - >-
    Linux >= 42d279f9137ab7d5503836baec2739284b278d8f <
    aab08c1aac01097815fbcf10fce7021d2396a31f
  - Linux 5.6
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:45:30.669984Z'
published: '2025-02-26'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T19:49:39.506Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-49422'
references:
  - url: 'https://git.kernel.org/stable/c/6073af78156b8c3fc1198f8bcc190b7ac3ac0143'
  - url: 'https://git.kernel.org/stable/c/b3c7b5d08e9d5b2ff31c03078c00ecf11042419f'
  - url: 'https://git.kernel.org/stable/c/5e88561eceb34ae3f88451c2b8e30fe403484189'
  - url: 'https://git.kernel.org/stable/c/c308a2e711a52a47f4b45e7add2b5200169e429a'
  - url: 'https://git.kernel.org/stable/c/aab08c1aac01097815fbcf10fce7021d2396a31f'
tags:
  - cve.org
epss: 0.00261
epssPercentile: 0.18001
ingestedAt: '2026-11-05T22:38:31.574Z'
---

## Overview

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

- `Linux >= 42d279f9137ab7d5503836baec2739284b278d8f < 6073af78156b8c3fc1198f8bcc190b7ac3ac0143`
- `Linux >= 42d279f9137ab7d5503836baec2739284b278d8f < b3c7b5d08e9d5b2ff31c03078c00ecf11042419f`
- `Linux >= 42d279f9137ab7d5503836baec2739284b278d8f < 5e88561eceb34ae3f88451c2b8e30fe403484189`
- `Linux >= 42d279f9137ab7d5503836baec2739284b278d8f < c308a2e711a52a47f4b45e7add2b5200169e429a`
- `Linux >= 42d279f9137ab7d5503836baec2739284b278d8f < aab08c1aac01097815fbcf10fce7021d2396a31f`
- `Linux 5.6`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
