{"id":"CVE-2026-138936","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:54.243","lastModified":"2026-11-30T14:17:54.243","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/nilfs2/ioctl.c","fs/nilfs2/recovery.c","fs/nilfs2/segment.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"7b2212493132a026910f68625ecfe0a7fc3278b2","versionType":"git","status":"affected"},{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a","versionType":"git","status":"affected"},{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"8192fccc93a66c63c55e20261d6338d9f89e9d6f","versionType":"git","status":"affected"},{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"06f43647ba1e3a053e7efb56b55597fe7df17baf","versionType":"git","status":"affected"},{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"178d0e7bcfdd34c7846f2f19bea182f9075682a8","versionType":"git","status":"affected"},{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"5906e880cdf55ab7ebc2bf6446c543c7cfef2a89","versionType":"git","status":"affected"},{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"ed5ef3f88c235d06c438678a641eb0ec5fdc8801","versionType":"git","status":"affected"},{"version":"9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453","lessThan":"7131aaa74bcc7c9da1f1d1c8724da75c775557a0","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/nilfs2/ioctl.c","fs/nilfs2/recovery.c","fs/nilfs2/segment.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.30","status":"affected"},{"version":"0","lessThan":"2.6.30","versionType":"semver","status":"unaffected"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/06f43647ba1e3a053e7efb56b55597fe7df17baf","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/178d0e7bcfdd34c7846f2f19bea182f9075682a8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5906e880cdf55ab7ebc2bf6446c543c7cfef2a89","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7131aaa74bcc7c9da1f1d1c8724da75c775557a0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7b2212493132a026910f68625ecfe0a7fc3278b2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8192fccc93a66c63c55e20261d6338d9f89e9d6f","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ed5ef3f88c235d06c438678a641eb0ec5fdc8801","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}