{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453"
            },
            {
              "fixed": "7b2212493132a026910f68625ecfe0a7fc3278b2"
            },
            {
              "fixed": "2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a"
            },
            {
              "fixed": "8192fccc93a66c63c55e20261d6338d9f89e9d6f"
            },
            {
              "fixed": "06f43647ba1e3a053e7efb56b55597fe7df17baf"
            },
            {
              "fixed": "178d0e7bcfdd34c7846f2f19bea182f9075682a8"
            },
            {
              "fixed": "5906e880cdf55ab7ebc2bf6446c543c7cfef2a89"
            },
            {
              "fixed": "ed5ef3f88c235d06c438678a641eb0ec5fdc8801"
            },
            {
              "fixed": "7131aaa74bcc7c9da1f1d1c8724da75c775557a0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.30"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138936.json"
  },
  "details": "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.",
  "id": "CVE-2026-138936",
  "modified": "2026-12-01T20:45:32.651445830Z",
  "published": "2026-11-30T13:26:21.581Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/06f43647ba1e3a053e7efb56b55597fe7df17baf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/178d0e7bcfdd34c7846f2f19bea182f9075682a8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2bc40fd80bddd495e8bcdab552a47db4f6c0ba0a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5906e880cdf55ab7ebc2bf6446c543c7cfef2a89"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7131aaa74bcc7c9da1f1d1c8724da75c775557a0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7b2212493132a026910f68625ecfe0a7fc3278b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8192fccc93a66c63c55e20261d6338d9f89e9d6f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ed5ef3f88c235d06c438678a641eb0ec5fdc8801"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138936.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138936"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "nilfs2: ignore non-fatal signals during synchronous log write wait"
}