CVE-2026-53320
nilfs2: reject zero bd_oblocknr in nilfs_ioctl_mark_blocks_dirty()
Check your servers for CVE-2026-53320
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-53320 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:
nilfs2: reject zero bd_oblocknr in nilfs_ioctl_mark_blocks_dirty()
nilfs_ioctl_mark_blocks_dirty() uses bd_oblocknr to detect dead blocks by comparing it with the current block number bd_blocknr. If they differ, the block is considered dead and skipped.
However, bd_oblocknr should never be 0 since block 0 typically stores the primary superblock and is never a valid GC target block. A corrupted ioctl request with bd_oblocknr set to 0 causes the comparison to incorrectly match when the lookup returns -ENOENT and sets bd_blocknr to 0, bypassing the dead block check and calling nilfs_bmap_mark() on a non-existent block. This causes nilfs_btree_do_lookup() to return -ENOENT, triggering the WARN_ON(ret == -ENOENT).
Fix this by rejecting ioctl requests with bd_oblocknr set to 0 at the beginning of each iteration.
[ryusuke: slightly modified the commit message and comments for accuracy]
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.92% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before e0a0c4903cbba351f0f5b5d104960d3a5b23202f affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before 9472d37799a0b9ff9b99639f35961ac2f0b3c9be affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before 65e07964b4b2daf9a54e686cf0fa72d74a9648a8 affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before b88f905d4449b70da6bda547be546e365e44352e affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before 4525658002be3ad310b16bf8db48c8adb6a55d32 affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before e5ff0ba4b6983cdbcc826efc201e7179ece5d46f affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before 94094e70fe292c9566502772d4d4d6d6a99204b1 affected from 7942b919f7321f95a777d396ff7894a7a83dc9b0, before be3e5d10643d3be1cbac9d9939f220a99253f980
Other versions: unaffected
|
| Linux |
affected 2.6.30 unaffected before 2.6.30 unaffected from 5.10.258 up to and including 5.10.* unaffected from 5.15.209 up to and including 5.15.* unaffected from 6.1.175 up to and including 6.1.* unaffected from 6.6.141 up to and including 6.6.* unaffected from 6.12.91 up to and including 6.12.* unaffected from 6.18.33 up to and including 6.18.* unaffected from 7.0.10 up to and including 7.0.* unaffected 7.1 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-53320 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-53320
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-53320
trivy image --scanners vuln IMAGE | grep CVE-2026-53320
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/e0a0c4903cbba351f0f5b5d104960d3a5b23202f git.kernel.org
- https://git.kernel.org/stable/c/9472d37799a0b9ff9b99639f35961ac2f0b3c9be git.kernel.org
- https://git.kernel.org/stable/c/65e07964b4b2daf9a54e686cf0fa72d74a9648a8 git.kernel.org
- https://git.kernel.org/stable/c/b88f905d4449b70da6bda547be546e365e44352e git.kernel.org
- https://git.kernel.org/stable/c/4525658002be3ad310b16bf8db48c8adb6a55d32 git.kernel.org
- https://git.kernel.org/stable/c/e5ff0ba4b6983cdbcc826efc201e7179ece5d46f git.kernel.org
- https://git.kernel.org/stable/c/94094e70fe292c9566502772d4d4d6d6a99204b1 git.kernel.org
- https://git.kernel.org/stable/c/be3e5d10643d3be1cbac9d9939f220a99253f980 git.kernel.org
Source: the record CVE-2026-53320 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