spi: spi-fsl-dspi: Fix a resource leak in an error handling path (Linux Linux)

CVE-2021-47161
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-dspi: Fix a resource leak in an error handling path 'dspi_request_dma()' should be undone by a 'dspi_release_dma()' call in the error handling path of the probe function, as already done in the remove function

Weaknesses (CWE)

  • CWE-209 — Generation of Error Message Containing Sensitive Information

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:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 90ba37033cb94207e97c4ced9be575770438213b < 10a089bae827ec30ad9b6cb7048020a62fae0cfa ; affected 90ba37033cb94207e97c4ced9be575770438213b < 00450ed03a17143e2433b461a656ef9cd17c2f1d ; affected 90ba37033cb94207e97c4ced9be575770438213b < 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1 ; affected 90ba37033cb94207e97c4ced9be575770438213b < fe6921e3b8451a537e01c031b8212366bb386e3e ; affected 90ba37033cb94207e97c4ced9be575770438213b < 12391be4724acc9269e1845ccbd881df37de4b56 ; affected 90ba37033cb94207e97c4ced9be575770438213b < 680ec0549a055eb464dce6ffb4bfb736ef87236e
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 4.14.241 ≤ 4.14.* ; unaffected 4.19.199 ≤ 4.19.* ; unaffected 5.4.124 ≤ 5.4.* ; unaffected 5.10.42 ≤ 5.10.*

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