spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware() pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. Fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced.
References
- https://git.kernel.org/stable/c/4a01ad002d2e03c399af536562693752af7c81b1
- https://git.kernel.org/stable/c/ce02e58ddf8658a4c3bed2296f32a5873b3f7cce
- https://git.kernel.org/stable/c/b8207bfc539cd07d15e753ff2d179c5b61c673b1
- https://git.kernel.org/stable/c/6a2b5cee0d31ab6cc51030c441135b0e31217282
- https://git.kernel.org/stable/c/a03675497970a93fcf25d81d9d92a59c2d7377a7
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2021-33699
- GCVE · GCVE-0-2021-47051
CERT-FR advisories
- CERTFR-2024-AVI-0363 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.2 < 5.4.119cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.37cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.11.21cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.12 < 5.12.4
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 944c01a889d97dc08e1b71f4ed868f4023fd6034 < 4a01ad002d2e03c399af536562693752af7c81b1 ; affected 944c01a889d97dc08e1b71f4ed868f4023fd6034 < ce02e58ddf8658a4c3bed2296f32a5873b3f7cce ; affected 944c01a889d97dc08e1b71f4ed868f4023fd6034 < b8207bfc539cd07d15e753ff2d179c5b61c673b1 ; affected 944c01a889d97dc08e1b71f4ed868f4023fd6034 < 6a2b5cee0d31ab6cc51030c441135b0e31217282 ; affected 944c01a889d97dc08e1b71f4ed868f4023fd6034 < a03675497970a93fcf25d81d9d92a59c2d7377a7 |
| Linux · Linux | affected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.4.119 ≤ 5.4.* ; unaffected 5.10.37 ≤ 5.10.* ; unaffected 5.11.21 ≤ 5.11.* ; unaffected 5.12.4 ≤ 5.12.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |