{"id":"CVE-2026-138936","aliases":["CVE-2026-138936"],"related":[],"kind":"vulnerability","state":"published","title":"nilfs2: ignore non-fatal signals during synchronous log write wait","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: ignore non-fatal signals during synchronous log write wait\n\nBased on a syzbot report, Wang Jianjian pointed out that following a\nsuccessful directory operation in nilfs_rename(), a synchronous write\nrequested within nilfs_transaction_commit(), triggered by a sync flag\nset by nilfs_commit_chunk(), could be interrupted by a user signal.\nThis interruption leaves in-memory metadata updates intact while\nreturning an error, causing inconsistency with the VFS dentry cache and\nultimately triggering a kernel warning.\n\nAccording to \"signal(7)\", local disks are not classified as \"slow\ndevices\" (such as terminals, FIFOs, or pipes) and their I/O operations\non disk devices are not interrupted by signals.  In kernel space,\nwaiting for such disk I/O should therefore not be aborted by ordinary\n(non-fatal) signals.\n\nSuppress this issue by modifying nilfs_segctor_sync(), which waits for\nthe log writer thread to complete synchronous writes, to catch only\nfatal signals via fatal_signal_pending() and return -EINTR rather than\n-ERESTARTSYS.  To complement this change and prevent the wait loop from\nbusy-looping when schedule() returns immediately due to a pending\nnon-fatal signal, switch the wait state from TASK_INTERRUPTIBLE to\nTASK_KILLABLE.\n\nThis serves as an effective interim stabilization measure without\nstructural changes until a comprehensive fix for metadata consistency\nis implemented.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: ignore non-fatal signals during synchronous log write wait\n\nBased on a syzbot report, Wang Jianjian pointed out that following a\nsuccessful directory operation in nilfs_rename(), a synchronous write\nrequested within nilfs_transaction_commit(), triggered by a sync flag\nset by nilfs_commit_chunk(), could be interrupted by a user signal.\nThis interruption leaves in-memory metadata updates intact while\nreturning an error, causing inconsistency with the VFS dentry cache and\nultimately triggering a kernel warning.\n\nAccording to \"signal(7)\", local disks are not classified as \"slow\ndevices\" (such as terminals, FIFOs, or pipes) and their I/O operations\non disk devices are not interrupted by signals.  In kernel space,\nwaiting for such disk I/O should therefore not be aborted by ordinary\n(non-fatal) signals.\n\nSuppress this issue by modifying nilfs_segctor_sync(), which waits for\nthe log writer thread to complete synchronous writes, to catch only\nfatal signals via fatal_signal_pending() and return -EINTR rather than\n-ERESTARTSYS.  To complement this change and prevent the wait loop from\nbusy-looping when schedule() returns immediately due to a pending\nnon-fatal signal, switch the wait state from TASK_INTERRUPTIBLE to\nTASK_KILLABLE.\n\nThis serves as an effective interim stabilization measure without\nstructural changes until a comprehensive fix for metadata consistency\nis implemented.","source":"cvelist"}],"published":"2026-11-30T13:26:21.581Z","modified":"2026-11-30T14:17:54.243Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"7b2212493132a026910f68625ecfe0a7fc3278b2","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"8192fccc93a66c63c55e20261d6338d9f89e9d6f","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"06f43647ba1e3a053e7efb56b55597fe7df17baf","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"178d0e7bcfdd34c7846f2f19bea182f9075682a8","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"5906e880cdf55ab7ebc2bf6446c543c7cfef2a89","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"ed5ef3f88c235d06c438678a641eb0ec5fdc8801","status":"affected"},{"type":"git","introduced":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","fixed":"7131aaa74bcc7c9da1f1d1c8724da75c775557a0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7b2212493132a026910f68625ecfe0a7fc3278b2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8192fccc93a66c63c55e20261d6338d9f89e9d6f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06f43647ba1e3a053e7efb56b55597fe7df17baf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/178d0e7bcfdd34c7846f2f19bea182f9075682a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5906e880cdf55ab7ebc2bf6446c543c7cfef2a89","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed5ef3f88c235d06c438678a641eb0ec5fdc8801","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7131aaa74bcc7c9da1f1d1c8724da75c775557a0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138936","url":"https://www.cve.org/CVERecord?id=CVE-2026-138936","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:21.581Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138936","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138936","licence":"Public domain","modified":"2026-11-30T14:17:54.243Z"}],"updatedAt":"2026-11-30T14:32:25.072Z","epss":{"score":0.00211,"percentile":0.12073,"date":"2026-12-01T12:00:22.000Z"}}