{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e26d70d271ee1a68a925796b411cb0239394c7a1"
            },
            {
              "fixed": "89277a7472fca2ca55579bb390e067d790b280d6"
            },
            {
              "fixed": "1042aa5909f05c0e4dfe824776461ef8811c5a3a"
            },
            {
              "fixed": "f6dc4b140864e564f7f339909a0bc6ecacd8ad63"
            },
            {
              "fixed": "5ca4fd63b7adb8c4fd148480274578f031cf66cb"
            },
            {
              "fixed": "221d4fc53dc6403ace5487e6d18b757766131108"
            },
            {
              "fixed": "a1028ed2d71d28395c58af1ab73abd0e42cc9909"
            },
            {
              "fixed": "5f80c43b1eee4635493a308c0805fb2a1a24ad51"
            },
            {
              "fixed": "8ccd731b63a0183ca2b0e18f3ca15864b3f37eda"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.14.0"
            },
            {
              "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.117"
            }
          ],
          "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/99xxx/CVE-2026-99942.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nposix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() signal path\n\ndo_cpu_nanosleep() sleeps on a temporary k_itimer whose reference on the\ntarget's struct pid is taken by posix_cpu_timer_create() and dropped by\nposix_cpu_timer_del(). When a signal ends the sleep, the timer is\ndisarmed with posix_cpu_timer_set(), but posix_cpu_timer_del() is only\ncalled for a result of 0 or TIMER_RETRY. If the target thread or process\nhas exited in the meantime, timer_lock_sighand() finds no task,\nposix_cpu_timer_set() returns -ESRCH and the pid reference is leaked.\n\nAn unprivileged user can trigger this: sleep on the CPU clock of a\nthread, let that thread exit, then signal the sleeper. Each round leaks\none struct pid. Repeating it exhausts unreclaimable slab memory\nwithin minutes:\n\n  Out of memory: Killed process 150 (poc) total-vm:789292kB, anon-rss:484kB\n  Kernel panic - not syncing: System is deadlocked on memory\n\nFix this by also calling posix_cpu_timer_del() on -ESRCH. With the\ntarget gone, the deletion is safe. It finds no task either and only\ndrops the pid reference.",
  "id": "CVE-2026-99942",
  "modified": "2026-12-01T20:45:23.651197421Z",
  "published": "2026-11-30T13:18:29.514Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1042aa5909f05c0e4dfe824776461ef8811c5a3a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/221d4fc53dc6403ace5487e6d18b757766131108"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5ca4fd63b7adb8c4fd148480274578f031cf66cb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5f80c43b1eee4635493a308c0805fb2a1a24ad51"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/89277a7472fca2ca55579bb390e067d790b280d6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8ccd731b63a0183ca2b0e18f3ca15864b3f37eda"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a1028ed2d71d28395c58af1ab73abd0e42cc9909"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f6dc4b140864e564f7f339909a0bc6ecacd8ad63"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99942.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99942"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() signal path"
}