CVE-2026-143114 (GCVE-0-2026-143114)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:19 – Updated: 2026-12-04 03:29
VLAI
Title
cgroup: arm the notify timer only while the file exists
Summary
In the Linux kernel, the following vulnerability has been resolved: cgroup: arm the notify timer only while the file exists cgroup_rm_file() clears cfile->kn under cfile->lock and then deletes the notify timer. Since commit 4616120fca7f ("cgroup: add lockless fast-path checks to cgroup_file_notify()"), cgroup_file_notify() checks kn and arms the timer without that lock and can arm it right after it was deleted: Task A (memcg charge) Task B (subtree_control write) cgroup_file_notify() READ_ONCE(cfile->kn) != NULL cgroup_rm_file() cfile->kn = NULL timer_delete_sync() timer_reduce(&cfile->notify_timer) /* timer queued again */ If the css is only hidden, showing it again runs timer_setup() on the still queued timer and corrupts the timer wheel: [ 14.324093] ODEBUG: init active (active state 0) object: 0000000009e526fd object type: timer_list hint: cgroup_file_notify_timer+0x0/0x10 [ 14.324123] WARNING: lib/debugobjects.c:629 at debug_print_object+0x1a4/0x3b0, CPU#1: cgnotify/64 [ 14.329806] CPU: 1 UID: 0 PID: 64 Comm: cgnotify Tainted: G W 7.3.0-17087-gd865f2677c44 #1 PREEMPT [ 14.335109] RIP: 0010:debug_print_object+0x1ae/0x3b0 [ 14.354351] Call Trace: [ 14.354927] <TASK> [ 14.356650] __debug_object_init+0x203/0x3c0 [ 14.361799] timer_init_key+0x2c/0x240 [ 14.362682] cgroup_addrm_files+0x754/0xc40 [ 14.366744] css_populate_dir+0x12e/0x440 [ 14.368636] cgroup_apply_control_enable+0x2f3/0xb60 [ 14.371769] cgroup_subtree_control_write+0x740/0xc10 [ 14.376924] cgroup_file_write+0x19e/0x700 [ 14.381809] kernfs_fop_write_iter+0x337/0x510 [ 14.382818] vfs_write+0x545/0x1250 [ 14.386491] ksys_write+0xfa/0x200 [ 14.390144] do_syscall_64+0xfb/0x590 [ 14.390994] entry_SYSCALL_64_after_hwframe+0x77/0x7f If the css is freed instead, the timer can fire on freed memory. Arm the timer under cfile->lock after checking kn again and keep only the kn and timer_pending() checks outside the lock. With the fix, the timer stays idle once the file is removed. This bug was identified and confirmed with the help of a deterministic hypervisor currently under development. The C reproducer below however hits it within a minute.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 4616120fca7f6d48b4c640e3975352e451e9c2ce , < e3a9c67da7ba491c8fa238aeffdb65becf846245 (git)
Affected: 4616120fca7f6d48b4c640e3975352e451e9c2ce , < fffbdad76a57eed26cff1be19f4cbb407f0b6e7c (git)
guessed Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/cgroup/cgroup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e3a9c67da7ba491c8fa238aeffdb65becf846245",
              "status": "affected",
              "version": "4616120fca7f6d48b4c640e3975352e451e9c2ce",
              "versionType": "git"
            },
            {
              "lessThan": "fffbdad76a57eed26cff1be19f4cbb407f0b6e7c",
              "status": "affected",
              "version": "4616120fca7f6d48b4c640e3975352e451e9c2ce",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/cgroup/cgroup.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - cgroup_file_notify() arms notify_timer from a local memcg charge in __memcg_memory_event(), racing a write() of cgroup.subtree_control that reaches cgroup_rm_file() via kernfs_fop_write_iter, cgroup_file_write(), and cgroup_subtree_control_write(). No remote message supplies the input.\nAC:L - One thread charges the child memcg inside the CGROUP_FILE_NOTIFY_MIN_INTV window so cgroup_file_notify() passes READ_ONCE(cfile-\u003ekn) and calls timer_reduce(); another writes \"-memory\" so cgroup_rm_file() nulls kn and timer_delete_sync() between those two steps. Both sides are the attacker\u0027s, and the fix commit\u0027s reproducer wins within a minute.\nPR:L - cgroup_subtree_control_write() has no capable() check. cgroup.subtree_control is CFTYPE_NS_DELEGATABLE, mode S_IWUSR from cgroup_file_mode(), and cgroup_add_file() creates it as current_fsuid(). A delegated cgroup v2 owner (systemd user@.service delegates memory) can mkdir a child, write +memory, charge it, and write -memory.\nUI:N - The attacker writes its own cgroup.subtree_control, places its own task in the child, and generates the __memcg_memory_event() charge itself. Nobody else has to mount media or act.\nS:U - The object that stays queued is events_file.notify_timer inside the host mem_cgroup, and expire_timers() runs on that same kernel timer wheel. This does not cross a guest/host or IOMMU boundary.\nC:H - On the kill path, css_free_rwork_fn() calls mem_cgroup_css_free() and kfree()s the mem_cgroup while events_file.notify_timer is still queued. expire_timers() reads timer-\u003efunction and cgroup_file_notify() reads cfile-\u003ekn from that freed slot; a reused mem_cgroup object supplies both.\nI:H - expire_timers() invokes the function pointer loaded from the freed timer_list and detach_timer() writes through entry.pprev. Reuse of the mem_cgroup slab object lets that softirq callback and hlist unlink operate on reclaimed bytes. The hide path\u0027s cgroup_add_file() timer_setup() also clears pprev on a timer that is still linked.\nA:H - Re-showing the hidden css calls timer_setup() from cgroup_add_file() on the still-queued notify_timer; the fix commit\u0027s splat is the ODEBUG init-active warning in timer_init_key() under cgroup_subtree_control_write(). Without debug objects, do_init_timer() sets pprev to NULL and detach_timer()\u0027s __hlist_del() oopses, and a fire after mem_cgroup_free() faults too."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:29:24.580Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e3a9c67da7ba491c8fa238aeffdb65becf846245"
        },
        {
          "url": "https://git.kernel.org/stable/c/fffbdad76a57eed26cff1be19f4cbb407f0b6e7c"
        }
      ],
      "title": "cgroup: arm the notify timer only while the file exists",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143114",
    "datePublished": "2026-12-03T09:19:28.266Z",
    "dateReserved": "2026-12-03T03:10:28.350Z",
    "dateUpdated": "2026-12-04T03:29:24.580Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143114",
      "date": "2026-12-04",
      "epss": "0.00176",
      "percentile": "0.07354"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "kernel/cgroup/cgroup.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "e3a9c67da7ba491c8fa238aeffdb65becf846245",
                    "status": "affected",
                    "version": "4616120fca7f6d48b4c640e3975352e451e9c2ce",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fffbdad76a57eed26cff1be19f4cbb407f0b6e7c",
                    "status": "affected",
                    "version": "4616120fca7f6d48b4c640e3975352e451e9c2ce",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "kernel/cgroup/cgroup.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.1"
                  },
                  {
                    "lessThan": "7.1",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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",
        "lastModified": "2026-12-04T04:17:37.570",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:17:43.723",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e3a9c67da7ba491c8fa238aeffdb65becf846245"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fffbdad76a57eed26cff1be19f4cbb407f0b6e7c"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:57:05+00:00",
      "cve": "CVE-2026-143114",
      "id": "CVE-2026-143114",
      "initial_release_date": "2026-12-03T09:19:28.266000+00:00",
      "product_status:known_affected": "77",
      "product_status:known_not_affected": "203",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via cgroup notification timer race condition",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143114.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.