ext4: fix memory leak in ext4_ext_shift_extents() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 5 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix memory leak in ext4_ext_shift_extents() In ext4_ext_shift_extents(), if the extent is NULL in the while loop, the function returns immediately without releasing the path obtained via ext4_find_extent(), leading to a memory leak. Fix this by jumping to the out label to ensure the path is properly released.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
- https://git.kernel.org/stable/c/7e807cb8603b7664fa630a696cd891d9a03c248d
- https://git.kernel.org/stable/c/afc5e61e1a07b2b833bd72cbee36ecce9cd901e2
- https://git.kernel.org/stable/c/1bce219ee5512cf179ba40cf114945a14a16e21f
- https://git.kernel.org/stable/c/4a79fde8db7eba7f1128d971ceba4e3c9ac84aec
- https://git.kernel.org/stable/c/2f4b1052246ca646bb17bfe0f53df2fdf9729b58
- https://git.kernel.org/stable/c/12615ab4bfb69678e5d961b28bb70040299e51b1
- https://git.kernel.org/stable/c/bd7b52557e4a3ccd7595fdb3a585f1257de57935
- https://git.kernel.org/stable/c/ca81109d4a8f192dc1cbad4a1ee25246363c2833
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-2026-32232
- GCVE · GCVE-0-2026-45948
CERT-FR advisories
- CERTFR-2026-AVI-1229 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1093 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0985 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0956 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0954 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0927 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0926 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0900 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0864 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0861 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0696 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 3.15.1 < 5.10.252cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.202cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.165cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.6.128cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.14cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.4cpe:2.3:o:linux:linux_kernel:3.15:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.15:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.15:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.15:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.15:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.15:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:3.15:rc8:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 7e807cb8603b7664fa630a696cd891d9a03c248d ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < afc5e61e1a07b2b833bd72cbee36ecce9cd901e2 ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 1bce219ee5512cf179ba40cf114945a14a16e21f ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 2f4b1052246ca646bb17bfe0f53df2fdf9729b58 ; affected a18ed359bdddcded4f97ff5e2f07793ff9336913 < 12615ab4bfb69678e5d961b28bb70040299e51b1 |
| Linux · Linux | affected 3.15 ; unaffected 0 < 3.15 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.* |
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 |