CVE-2021-47161

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

State
Published
Severity
5.5 Medium
Published
Mar 25, 2024
Updated
May 11, 2026
Reserved
Mar 25, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-209 Generation of Error Message Containing Sensitive Information

Affected Products

ProductVersions
LinuxLinux
  • 90ba37033cb94207e97c4ced9be575770438213b to before 10a089bae827ec30ad9b6cb7048020a62fae0cfaAffected
  • 90ba37033cb94207e97c4ced9be575770438213b to before 00450ed03a17143e2433b461a656ef9cd17c2f1dAffected
  • 90ba37033cb94207e97c4ced9be575770438213b to before 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1Affected
  • 90ba37033cb94207e97c4ced9be575770438213b to before fe6921e3b8451a537e01c031b8212366bb386e3eAffected
  • 90ba37033cb94207e97c4ced9be575770438213b to before 12391be4724acc9269e1845ccbd881df37de4b56Affected
  • 90ba37033cb94207e97c4ced9be575770438213b to before 680ec0549a055eb464dce6ffb4bfb736ef87236eAffected
LinuxLinux
  • 4.10Affected
  • before 4.10Not affected
  • 4.14.241 through 4.14.*Not affected
  • 4.19.199 through 4.19.*Not affected
  • 5.4.124 through 5.4.*Not affected
  • 5.10.42 through 5.10.*Not affected
  • 5.12.9 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.