CVE-2026-45948
ext4: fix memory leak in ext4_ext_shift_extents()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 7e807cb8603b7664fa630a696cd891d9a03c248d; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < afc5e61e1a07b2b833bd72cbee36ecce9cd901e2; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 1bce219ee5512cf179ba40cf114945a14a16e21f; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 2f4b1052246ca646bb17bfe0f53df2fdf9729b58; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 12615ab4bfb69678e5d961b28bb70040299e51b1; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < bd7b52557e4a3ccd7595fdb3a585f1257de57935; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < ca81109d4a8f192dc1cbad4a1ee25246363c2833
- Anyone running Linux 3.15
Vulnerability facts
- Affected
- Linux >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 7e807cb8603b7664fa630a696cd891d9a03c248d; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < afc5e61e1a07b2b833bd72cbee36ecce9cd901e2; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 1bce219ee5512cf179ba40cf114945a14a16e21f; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 2f4b1052246ca646bb17bfe0f53df2fdf9729b58; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 12615ab4bfb69678e5d961b28bb70040299e51b1; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < bd7b52557e4a3ccd7595fdb3a585f1257de57935; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < ca81109d4a8f192dc1cbad4a1ee25246363c2833; Linux 3.15
- Fixed in
- Linux 7e807cb8603b7664fa630a696cd891d9a03c248d, Linux 1bce219ee5512cf179ba40cf114945a14a16e21f, Linux 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec, Linux 2f4b1052246ca646bb17bfe0f53df2fdf9729b58, Linux 12615ab4bfb69678e5d961b28bb70040299e51b1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- CWE
- CWE-401
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 7e807cb8603b7664fa630a696cd891d9a03c248d; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < afc5e61e1a07b2b833bd72cbee36ecce9cd901e2; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 1bce219ee5512cf179ba40cf114945a14a16e21f; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 2f4b1052246ca646bb17bfe0f53df2fdf9729b58; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 12615ab4bfb69678e5d961b28bb70040299e51b1; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < bd7b52557e4a3ccd7595fdb3a585f1257de57935; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < ca81109d4a8f192dc1cbad4a1ee25246363c2833 | — | cvelist |
| Linux | 3.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-45948. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-45948.md Affected: Linux >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 7e807cb8603b7664fa630a696cd891d9a03c248d; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < afc5e61e1a07b2b833bd72cbee36ecce9cd901e2; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 1bce219ee5512cf179ba40cf114945a14a16e21f; >= a18ed359bdddcded4f97ff5… Fixed in: Linux 7e807cb8603b7664fa630a696cd891d9a03c248d, Linux 1bce219ee5512cf179ba40cf114945a14a16e21f, Linux 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec, Linux 2f4b1052246ca646bb17bfe0f53df2fdf9729b58, Linux 12615ab4bfb69678e5d961b28bb70040299e51b1 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2026-45948 being exploited?
There is no confirmed exploitation: CVE-2026-45948 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-45948?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-45948?
Linux >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 7e807cb8603b7664fa630a696cd891d9a03c248d; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < afc5e61e1a07b2b833bd72cbee36ecce9cd901e2; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 1bce219ee5512cf179ba40cf114945a14a16e21f; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 2f4b1052246ca646bb17bfe0f53df2fdf9729b58; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < 12615ab4bfb69678e5d961b28bb70040299e51b1; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < bd7b52557e4a3ccd7595fdb3a585f1257de57935; >= a18ed359bdddcded4f97ff5e2f07793ff9336913, < ca81109d4a8f192dc1cbad4a1ee25246363c2833; Linux 3.15.
Is there a fix for CVE-2026-45948?
Yes. Fixed in Linux 7e807cb8603b7664fa630a696cd891d9a03c248d, Linux 1bce219ee5512cf179ba40cf114945a14a16e21f, Linux 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec, Linux 2f4b1052246ca646bb17bfe0f53df2fdf9729b58, Linux 12615ab4bfb69678e5d961b28bb70040299e51b1. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-45948?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.