nilfs2: ignore non-fatal signals during synchronous log write wait (Linux Linux)

CVE-2026-138936
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < 7b2212493132a026910f68625ecfe0a7fc3278b2
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < 2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < 8192fccc93a66c63c55e20261d6338d9f89e9d6f
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < 06f43647ba1e3a053e7efb56b55597fe7df17baf
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < 178d0e7bcfdd34c7846f2f19bea182f9075682a8
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < 5906e880cdf55ab7ebc2bf6446c543c7cfef2a89
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < ed5ef3f88c235d06c438678a641eb0ec5fdc8801
affected : ≥ 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 < 7131aaa74bcc7c9da1f1d1c8724da75c775557a0
Other versions : unaffected
Linux · Linux
affected : 2.6.30
unaffected : ≥ 0 < 2.6.30
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.63 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD