CVE-2026-45948
ext4: fix memory leak in ext4_ext_shift_extents()
Check your servers for CVE-2026-45948
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45948 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.04% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before 7e807cb8603b7664fa630a696cd891d9a03c248d affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before afc5e61e1a07b2b833bd72cbee36ecce9cd901e2 affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before 1bce219ee5512cf179ba40cf114945a14a16e21f affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before 4a79fde8db7eba7f1128d971ceba4e3c9ac84aec affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before 2f4b1052246ca646bb17bfe0f53df2fdf9729b58 affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before 12615ab4bfb69678e5d961b28bb70040299e51b1 affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before bd7b52557e4a3ccd7595fdb3a585f1257de57935 affected from a18ed359bdddcded4f97ff5e2f07793ff9336913, before ca81109d4a8f192dc1cbad4a1ee25246363c2833
Other versions: unaffected
|
| Linux |
affected 3.15 unaffected before 3.15 unaffected from 5.10.252 up to and including 5.10.* unaffected from 5.15.202 up to and including 5.15.* unaffected from 6.1.165 up to and including 6.1.* unaffected from 6.6.128 up to and including 6.6.* unaffected from 6.12.75 up to and including 6.12.* unaffected from 6.18.14 up to and including 6.18.* unaffected from 6.19.4 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45948 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45948
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-45948
trivy image --scanners vuln IMAGE | grep CVE-2026-45948
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7e807cb8603b7664fa630a696cd891d9a03c248d git.kernel.org
- https://git.kernel.org/stable/c/afc5e61e1a07b2b833bd72cbee36ecce9cd901e2 git.kernel.org
- https://git.kernel.org/stable/c/1bce219ee5512cf179ba40cf114945a14a16e21f git.kernel.org
- https://git.kernel.org/stable/c/4a79fde8db7eba7f1128d971ceba4e3c9ac84aec git.kernel.org
- https://git.kernel.org/stable/c/2f4b1052246ca646bb17bfe0f53df2fdf9729b58 git.kernel.org
- https://git.kernel.org/stable/c/12615ab4bfb69678e5d961b28bb70040299e51b1 git.kernel.org
- https://git.kernel.org/stable/c/bd7b52557e4a3ccd7595fdb3a585f1257de57935 git.kernel.org
- https://git.kernel.org/stable/c/ca81109d4a8f192dc1cbad4a1ee25246363c2833 git.kernel.org
Source: the record CVE-2026-45948 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse