dm-integrity: fix a memory leak when rechecking the data (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 13 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: dm-integrity: fix a memory leak when rechecking the data Memory for the "checksums" pointer will leak if the data is rechecked after checksum failure (because the associated kfree won't happen due to 'goto skip_io'). Fix this by freeing the checksums memory before recheck, and just use the "checksum_onstack" memory for storing checksum during recheck.
Faiblesses (CWE)
- CWE-401 — Mémoire non libérée après sa durée de vie utile
Références
- https://git.kernel.org/stable/c/20e21c3c0195d915f33bc7321ee6b362177bf5bf
- https://git.kernel.org/stable/c/338580a7fb9b0930bb38098007e89cc0fc496bf7
- https://git.kernel.org/stable/c/74abc2fe09691f3d836d8a54d599ca71f1e4287b
- https://git.kernel.org/stable/c/6d35654f03c35c273240d85ec67e3f2c3596c4e0
- https://git.kernel.org/stable/c/55e565c42dce81a4e49c13262d5bc4eb4c2e588a
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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) |
Références européennes
- ENISA EUVD · EUVD-2024-24122
- GCVE · GCVE-0-2024-26860
Avis du CERT-FR
- CERTFR-2024-AVI-0717 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0546 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.1.80 < 6.1.83cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6.19 < 6.6.23cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7.7 < 6.7.11cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.8 < 6.8.2
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 906414f4596469004632de29126c55751ed82c5e < 20e21c3c0195d915f33bc7321ee6b362177bf5bf ; affected d6824a28b244e8a750952848e4bd2167e1e9a17e < 338580a7fb9b0930bb38098007e89cc0fc496bf7 ; affected eb7b14a6a923c5678573c4d238c781cc83fcbc0f < 74abc2fe09691f3d836d8a54d599ca71f1e4287b ; affected c88f5e553fe38b2ffc4c33d08654e5281b297677 < 6d35654f03c35c273240d85ec67e3f2c3596c4e0 ; affected c88f5e553fe38b2ffc4c33d08654e5281b297677 < 55e565c42dce81a4e49c13262d5bc4eb4c2e588a ; affected 6.1.80 < 6.1.83 |
| Linux · Linux | affected 6.8 ; unaffected 0 < 6.8 ; unaffected 6.1.83 ≤ 6.1.* ; unaffected 6.6.23 ≤ 6.6.* ; unaffected 6.7.11 ≤ 6.7.* ; unaffected 6.8.2 ≤ 6.8.* |
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 |