{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4616120fca7f6d48b4c640e3975352e451e9c2ce"
            },
            {
              "fixed": "e3a9c67da7ba491c8fa238aeffdb65becf846245"
            },
            {
              "fixed": "fffbdad76a57eed26cff1be19f4cbb407f0b6e7c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143114.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncgroup: arm the notify timer only while the file exists\n\ncgroup_rm_file() clears cfile-\u003ekn under cfile-\u003elock and then deletes the\nnotify timer.  Since commit 4616120fca7f (\"cgroup: add lockless\nfast-path checks to cgroup_file_notify()\"), cgroup_file_notify() checks\nkn and arms the timer without that lock and can arm it right after it\nwas deleted:\n\n  Task A (memcg charge)                  Task B (subtree_control write)\n  cgroup_file_notify()\n    READ_ONCE(cfile-\u003ekn) != NULL\n                                         cgroup_rm_file()\n                                           cfile-\u003ekn = NULL\n                                           timer_delete_sync()\n    timer_reduce(\u0026cfile-\u003enotify_timer)\n      /* timer queued again */\n\nIf the css is only hidden, showing it again runs timer_setup() on the\nstill queued timer and corrupts the timer wheel:\n\n  [   14.324093] ODEBUG: init active (active state 0) object: 0000000009e526fd object type: timer_list hint: cgroup_file_notify_timer+0x0/0x10\n  [   14.324123] WARNING: lib/debugobjects.c:629 at debug_print_object+0x1a4/0x3b0, CPU#1: cgnotify/64\n  [   14.329806] CPU: 1 UID: 0 PID: 64 Comm: cgnotify Tainted: G        W            7.3.0-17087-gd865f2677c44 #1 PREEMPT\n  [   14.335109] RIP: 0010:debug_print_object+0x1ae/0x3b0\n  [   14.354351] Call Trace:\n  [   14.354927]  \u003cTASK\u003e\n  [   14.356650]  __debug_object_init+0x203/0x3c0\n  [   14.361799]  timer_init_key+0x2c/0x240\n  [   14.362682]  cgroup_addrm_files+0x754/0xc40\n  [   14.366744]  css_populate_dir+0x12e/0x440\n  [   14.368636]  cgroup_apply_control_enable+0x2f3/0xb60\n  [   14.371769]  cgroup_subtree_control_write+0x740/0xc10\n  [   14.376924]  cgroup_file_write+0x19e/0x700\n  [   14.381809]  kernfs_fop_write_iter+0x337/0x510\n  [   14.382818]  vfs_write+0x545/0x1250\n  [   14.386491]  ksys_write+0xfa/0x200\n  [   14.390144]  do_syscall_64+0xfb/0x590\n  [   14.390994]  entry_SYSCALL_64_after_hwframe+0x77/0x7f\n\nIf the css is freed instead, the timer can fire on freed memory.\n\nArm the timer under cfile-\u003elock after checking kn again and keep only\nthe kn and timer_pending() checks outside the lock.  With the fix, the\ntimer stays idle once the file is removed.\n\nThis bug was identified and confirmed with the help of a deterministic\nhypervisor currently under development.  The C reproducer below however\nhits it within a minute.",
  "id": "CVE-2026-143114",
  "modified": "2026-12-03T10:45:44.947503220Z",
  "published": "2026-12-03T09:19:28.266Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e3a9c67da7ba491c8fa238aeffdb65becf846245"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fffbdad76a57eed26cff1be19f4cbb407f0b6e7c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143114.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143114"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "cgroup: arm the notify timer only while the file exists"
}