CVE-2026-138936: nilfs2: ignore non-fatal signals during synchronous log write wait

Published Nov 30, 2026
·
Updated

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 nilfsrename(), a synchronous write requested within nilfstransactioncommit(), triggered by a sync flag set by nilfscommitchunk(), 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 nilfssegctorsync(), which waits for the log writer thread to complete synchronous writes, to catch only fatal signals via fatalsignalpending() 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 TASKINTERRUPTIBLE to TASKKILLABLE.

This serves as an effective interim stabilization measure without structural changes until a comprehensive fix for metadata consistency is implemented.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Modify Linux kernel nilfs2's nilfs_segctor_sync() to wait in TASK_KILLABLE so ordinary non-fatal signals do not interrupt synchronous log writes.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203