NFC: digital: fix possible memory leak in digital_in_send_sdd_req() (Linux Linux)
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: NFC: digital: fix possible memory leak in digital_in_send_sdd_req() 'skb' is allocated in digital_in_send_sdd_req(), but not free when digital_in_send_cmd() failed, which will cause memory leak. Fix it by freeing 'skb' if digital_in_send_cmd() return failed.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
- https://git.kernel.org/stable/c/74569c78aa84f8c958f1334b465bc530906ec99a
- https://git.kernel.org/stable/c/88c890b0b9a1fb9fcd01c61ada515e8b636c34f9
- https://git.kernel.org/stable/c/fcce6e5255474ca33c27dda0cdf9bf5087278873
- https://git.kernel.org/stable/c/071bdef36391958c89af5fa2172f691b31baa212
- https://git.kernel.org/stable/c/2bde4aca56db9fe25405d39ddb062531493a65db
- https://git.kernel.org/stable/c/50cb95487c265187289810addec5093d4fed8329
- https://git.kernel.org/stable/c/6432d7f1d1c3aa74cfe8f5e3afdf81b786c32e86
- https://git.kernel.org/stable/c/291c932fc3692e4d211a445ba8aa35663831bac7
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-34447
- GCVE · GCVE-0-2021-47442
CERT-FR advisories
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — 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:*:*:*:*:*:*:*:*≥ 3.13 < 4.4.290cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.5 < 4.9.288cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.10 < 4.14.252cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.213cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.155cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.14.14cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 2c66daecc4092e6049673c281b2e6f0d5e59a94c < 74569c78aa84f8c958f1334b465bc530906ec99a ; affected 2c66daecc4092e6049673c281b2e6f0d5e59a94c < 88c890b0b9a1fb9fcd01c61ada515e8b636c34f9 ; affected 2c66daecc4092e6049673c281b2e6f0d5e59a94c < fcce6e5255474ca33c27dda0cdf9bf5087278873 ; affected 2c66daecc4092e6049673c281b2e6f0d5e59a94c < 071bdef36391958c89af5fa2172f691b31baa212 ; affected 2c66daecc4092e6049673c281b2e6f0d5e59a94c < 2bde4aca56db9fe25405d39ddb062531493a65db ; affected 2c66daecc4092e6049673c281b2e6f0d5e59a94c < 50cb95487c265187289810addec5093d4fed8329 |
| Linux · Linux | affected 3.13 ; unaffected 0 < 3.13 ; unaffected 4.4.290 ≤ 4.4.* ; unaffected 4.9.288 ≤ 4.9.* ; unaffected 4.14.252 ≤ 4.14.* ; unaffected 4.19.213 ≤ 4.19.* |
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 |