CVE-2022-49422

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

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 42d279f9137ab7d5503836baec2739284b278d8f < 6073af78156b8c3fc1198f8bcc190b7ac3ac0143 ; affected 42d279f9137ab7d5503836baec2739284b278d8f < b3c7b5d08e9d5b2ff31c03078c00ecf11042419f ; affected 42d279f9137ab7d5503836baec2739284b278d8f < 5e88561eceb34ae3f88451c2b8e30fe403484189 ; affected 42d279f9137ab7d5503836baec2739284b278d8f < c308a2e711a52a47f4b45e7add2b5200169e429a ; affected 42d279f9137ab7d5503836baec2739284b278d8f < aab08c1aac01097815fbcf10fce7021d2396a31f
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.10.121 ≤ 5.10.* ; unaffected 5.15.46 ≤ 5.15.* ; unaffected 5.17.14 ≤ 5.17.* ; unaffected 5.18.3 ≤ 5.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD