CVE-2026-138936
nilfs2: ignore non-fatal signals during synchronous log write wait
Check your servers for CVE-2026-138936
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-138936 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: ignore non-fatal signals during synchronous log write wait
Based on a syzbot report, Wang Jianjian pointed out that following a successful directory operation in nilfs_rename(), a synchronous write requested within nilfs_transaction_commit(), triggered by a sync flag set by nilfs_commit_chunk(), could be interrupted by a user signal. This interruption leaves in-memory metadata updates intact while returning an error, causing inconsistency with the VFS dentry cache and ultimately triggering a kernel warning.
According to "signal(7)", local disks are not classified as "slow devices" (such as terminals, FIFOs, or pipes) and their I/O operations on disk devices are not interrupted by signals. In kernel space, waiting for such disk I/O should therefore not be aborted by ordinary (non-fatal) signals.
Suppress this issue by modifying nilfs_segctor_sync(), which waits for the log writer thread to complete synchronous writes, to catch only fatal signals via fatal_signal_pending() and return -EINTR rather than -ERESTARTSYS. To complement this change and prevent the wait loop from busy-looping when schedule() returns immediately due to a pending non-fatal signal, switch the wait state from TASK_INTERRUPTIBLE to TASK_KILLABLE.
This serves as an effective interim stabilization measure without structural changes until a comprehensive fix for metadata consistency is implemented.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 7b2212493132a026910f68625ecfe0a7fc3278b2 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 8192fccc93a66c63c55e20261d6338d9f89e9d6f affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 06f43647ba1e3a053e7efb56b55597fe7df17baf affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 178d0e7bcfdd34c7846f2f19bea182f9075682a8 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 5906e880cdf55ab7ebc2bf6446c543c7cfef2a89 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before ed5ef3f88c235d06c438678a641eb0ec5fdc8801 affected from 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453, before 7131aaa74bcc7c9da1f1d1c8724da75c775557a0
Other versions: unaffected
|
| Linux |
affected 2.6.30 unaffected before 2.6.30 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 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-138936 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138936
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-138936
trivy image --scanners vuln IMAGE | grep CVE-2026-138936
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/7b2212493132a026910f68625ecfe0a7fc3278b2 git.kernel.org
- https://git.kernel.org/stable/c/2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a git.kernel.org
- https://git.kernel.org/stable/c/8192fccc93a66c63c55e20261d6338d9f89e9d6f git.kernel.org
- https://git.kernel.org/stable/c/06f43647ba1e3a053e7efb56b55597fe7df17baf git.kernel.org
- https://git.kernel.org/stable/c/178d0e7bcfdd34c7846f2f19bea182f9075682a8 git.kernel.org
- https://git.kernel.org/stable/c/5906e880cdf55ab7ebc2bf6446c543c7cfef2a89 git.kernel.org
- https://git.kernel.org/stable/c/ed5ef3f88c235d06c438678a641eb0ec5fdc8801 git.kernel.org
- https://git.kernel.org/stable/c/7131aaa74bcc7c9da1f1d1c8724da75c775557a0 git.kernel.org
Source: the record CVE-2026-138936 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