CVE-2022-49422: dmaengine: idxd: Fix the error handling path in idxd_cdev_register()

Published Feb 26, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

If a call to allocchrdevregion() fails, the already allocated resources are leaking.

Add the needed error handling path to fix the leak.

Affected Software

13 affected componentsFixes available
Linux Foundation Linux Kernel
Linux Linux kernel>=5.6<5.10.121
Linux Linux kernel>=5.11<5.15.46
Linux Linux kernel>=5.16<5.17.14
Linux Linux kernel>=5.18<5.18.3
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
linux/kernel>=5.6.0<5.10.121
5.10.121
linux/kernel>=5.11.0<5.15.46
5.15.46
linux/kernel>=5.16.0<5.17.14
5.17.14
linux/kernel>=5.18.0<5.18.3
5.18.3
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.18.5-1
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.121
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.46
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.17.14
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.18.3
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.15-1

Event History

Feb 26, 2025
CVE Published
via MITRE·02:12 AM
Data Sourced
via MITRE·02:12 AM
Description
Data Sourced
via OSV·02:12 AM
DescriptionAffected Software
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·07:01 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2022-49422?

CVE-2022-49422 is categorized as a moderate severity vulnerability within the Linux kernel.

2

How do I fix CVE-2022-49422?

To mitigate CVE-2022-49422, users should update their Linux kernel to the latest version that contains the patch for this vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2022-49422?

CVE-2022-49422 affects specific versions of the Linux kernel prior to the release that includes the fix.

4

What is the nature of the vulnerability in CVE-2022-49422?

CVE-2022-49422 involves improper error handling in the idxd_cdev_register function, leading to resource leakage.

5

Is CVE-2022-49422 exploitable remotely?

CVE-2022-49422 does not indicate remote exploitability as it pertains to the Linux kernel's internal handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203