CVE-2025-68348
block: fix memory leak in __blkdev_issue_zero_pages
Check your servers for CVE-2025-68348
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-2025-68348 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:
block: fix memory leak in __blkdev_issue_zero_pages
Move the fatal signal check before bio_alloc() to prevent a memory leak when BLKDEV_ZERO_KILLABLE is set and a fatal signal is pending.
Previously, the bio was allocated before checking for a fatal signal. If a signal was pending, the code would break out of the loop without freeing or chaining the just-allocated bio, causing a memory leak.
This matches the pattern already used in __blkdev_issue_write_zeroes() where the signal check precedes the allocation.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bf86bcdb40123ee99669ee91b67e023669433a1a, before 453e4b0c84d0db1454ff0adf655d91179e6fca3a affected from bf86bcdb40123ee99669ee91b67e023669433a1a, before 7957635c679e8a01147163a3a4a1f16e1210fa03 affected from bf86bcdb40123ee99669ee91b67e023669433a1a, before 7193407bc4457212fa38ec3aff9c640e63a8dbef affected from bf86bcdb40123ee99669ee91b67e023669433a1a, before f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 6.12.63 up to and including 6.12.* unaffected from 6.17.13 up to and including 6.17.* unaffected from 6.18.2 up to and including 6.18.* unaffected 6.19 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-2025-68348 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68348
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-2025-68348
trivy image --scanners vuln IMAGE | grep CVE-2025-68348
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/453e4b0c84d0db1454ff0adf655d91179e6fca3a git.kernel.org
- https://git.kernel.org/stable/c/7957635c679e8a01147163a3a4a1f16e1210fa03 git.kernel.org
- https://git.kernel.org/stable/c/7193407bc4457212fa38ec3aff9c640e63a8dbef git.kernel.org
- https://git.kernel.org/stable/c/f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf git.kernel.org
Source: the record CVE-2025-68348 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse