{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-99697 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-99697 is a high-severity vulnerability in Linux, published on 20 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-99697 and fix it if it is affected.\n\nWhat it is: CVE-2026-99697 is a high-severity vulnerability in Linux, published on 20 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-99697 in the wild and no public exploit code.\n\nAffected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-99697/ (Markdown: https://insights.sbomify.com/CVE-2026-99697/index.md)","id":"CVE-2026-99697","markdown":"https://insights.sbomify.com/CVE-2026-99697/index.md","name":"CVE-2026-99697","record":{"aliases":["AZL-115552","BELL-CVE-2026-99697","DEBIAN-CVE-2026-99697","GHSA-76j9-mfj4-8h8p","UBUNTU-CVE-2026-99697"],"analysis":null,"analysis_generated_by":null,"assigner":"Linux","component":null,"cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm: memcontrol: fix NULL pointer deref and UAF from high_work_func() on dying memcg\n\nWhen memory.high is exceeded in non-task context, try_charge_memcg()\nschedules memcg-\u003ehigh_work without taking a reference on the memcg, and\nhigh_work_func() invokes reclaim_high() without pinning the memcg.\n\nWith obj_cgroup reparenting, introduced in commit bf4f059954dc (\"mm:\nmemcg/slab: obj_cgroup API\"), objects charged to a child memcg are\nreparented to its parent in mem_cgroup_css_offline() instead of holding a\nreference on the child until uncharged.  Subsequent uncharges of those\nobjects go to the parent, which can leave the child's memory use\npermanently above its high limit, so any later charge on the offlined\nmemcg in non-task context schedules high_work.  This was later widened\nfrom kernel memory to LRU folios when commit f1cf8d2f36dc (\"mm:\nmemcontrol: eliminate the problem of dying memory cgroup for LRU folios\")\nconverted LRU folios to use obj_cgroup reparenting.\n\ncancel_work_sync(\u0026memcg-\u003ehigh_work) only runs at the end of teardown in\nmem_cgroup_css_free(), so high_work_func() can start or still be running\nreclaim_high() after mem_cgroup_css_released() or shrink_many() has called\nlru_gen_release_memcg() and unhashed lruvec-\u003elrugen.list.  If reclaim\ntries to rotate the memcg, lru_gen_rotate_memcg() dereferences a NULL\npprev pointer.  This issue is specific to MGLRU and was introduced with\nthe memcg LRU in commit e4dde56cd208 (\"mm: multi-gen LRU: per-node\nlru_gen_folio lists\").\n\nWith either traditional LRU or MGLRU, css_free_rwork_fn() calls\ncss_rstat_exit() which frees per-CPU rstat data before calling\nmem_cgroup_css_free().  If reclaim_high() is still running, rstat updates\nvia mod_lruvec_state() -\u003e __css_rstat_updated() cause a use-after-free on\nthe per-CPU rstat data.  This was introduced when commit 5da3bfa029d6\n(\"cgroup: use separate rstat trees for each subsystem\") moved\ncss_rstat_exit() ahead of ss-\u003ecss_free().\n\nFix both problems by acquiring a reference with css_tryget_online() in\nhigh_work_func() before calling reclaim_high(), and by resetting\nmemory.high and swap.high to PAGE_COUNTER_MAX in mem_cgroup_css_offline()\nso that charges via references on an offlined memcg do not trigger\nhigh_work on the dead child and skip checking live ancestors in\ntry_charge_memcg().\n\nAcquiring the reference in high_work_func() rather than before scheduling\nhigh_work is safe because mem_cgroup_css_free() calls irq_work_sync() and\ncancel_work_sync() which cancels pending work and waits for an already\nrunning high_work_func() to complete before mem_cgroup_free() frees the\nmemcg.  css_tryget_online() uses percpu_ref_tryget_live() and is safe to\ncall after percpu_ref_exit() before the cgroup is freed unlike\ncss_tryget().\n\nOops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI\nKASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]\nCPU: 1 UID: 0 PID: 27 Comm: kworker/1:0 Tainted: G    B   W           7.3.0-rc5-g2bba28e98578 #284 PREEMPT(full)\nTainted: [B]=BAD_PAGE, [W]=WARN  \u003c-- Taint from lru_gen_rotate_memcg() VM_WARN_ON_ONCE\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014\nWorkqueue: events high_work_func\nRIP: 0010:lru_gen_rotate_memcg+0x1a3/0xe90\nCall Trace:\n \u003cTASK\u003e\n ? read_ctrl_pos+0x22f/0x3f0\n shrink_lruvec+0x16cb/0x1b80\n ? ret_from_fork_asm+0x1a/0x30\n ? lapic_next_event+0x15/0x20\n ? clockevents_program_event+0x2bb/0x6f0\n ? lapic_next_event+0x15/0x20\n ? __pfx_shrink_lruvec+0x10/0x10\n ? __pfx_clockevents_program_event+0x10/0x10\n ? _raw_spin_lock+0x84/0xe0\n ? __pfx__raw_spin_lock+0x10/0x10\n ? kasan_save_stack+0x30/0x50\n ? psi_group_change+0x381/0x740\n ? __pfx_sched_clock_cpu+0x10/0x10\n ? save_fpregs_to_fpstate+0xc4/0x2c0\n ? finish_task_switch.isra.0+0x1de/0xac0\n ? __schedule+0xf62/0x42c0\n ? __pfx___schedule+0x10/0x10\n ? __pfx___irq_work_queue_lo\n---truncated---","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"mm: memcontrol: fix NULL pointer deref and UAF from high_work_func() on dying memcg","id":"CVE-2026-99697","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":5,"n_vendor_status":5,"next":{"headline":"mm/cma: accept memory of CMA areas reserved at a fixed address","id":"CVE-2026-99698"},"nickname":null,"packages":[],"prev":{"headline":"ocfs2: find the xattr entry again after defragmenting a bucket","id":"CVE-2026-99696"},"products":["Linux"],"published":"2026-11-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-23","vendor_status":[{"n_packages":46,"name":"Red Hat","packages":[{"name":"bpftool","purl":"pkg:rpm/redhat/bpftool?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-abi-stablelists","purl":"pkg:rpm/redhat/kernel-abi-stablelists?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-core","purl":"pkg:rpm/redhat/kernel-core?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-cross-headers","purl":"pkg:rpm/redhat/kernel-cross-headers?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core?distro=rhel-8","sources":["redhat-vex"],"status":"not_affected"}],"release":"8","scope":"distro","status":"not_affected","statuses":{"not_affected":46},"vendor":"redhat"},{"n_packages":108,"name":"Red Hat","packages":[{"detail":"Fix deferred","name":"bpftool","purl":"pkg:rpm/redhat/bpftool?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k","purl":"pkg:rpm/redhat/kernel-64k?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-core","purl":"pkg:rpm/redhat/kernel-64k-core?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug","purl":"pkg:rpm/redhat/kernel-64k-debug?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug-core","purl":"pkg:rpm/redhat/kernel-64k-debug-core?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug-devel","purl":"pkg:rpm/redhat/kernel-64k-debug-devel?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-64k-debug-devel-matched?distro=rhel-9","sources":["redhat-vex"],"status":"deferred"}],"release":"9","scope":"distro","status":"deferred","statuses":{"deferred":106,"not_affected":2},"vendor":"redhat"},{"n_packages":76,"name":"Red Hat","packages":[{"detail":"Fix deferred","name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k","purl":"pkg:rpm/redhat/kernel-64k?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-core","purl":"pkg:rpm/redhat/kernel-64k-core?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug","purl":"pkg:rpm/redhat/kernel-64k-debug?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug-core","purl":"pkg:rpm/redhat/kernel-64k-debug-core?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug-devel","purl":"pkg:rpm/redhat/kernel-64k-debug-devel?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug-devel-matched","purl":"pkg:rpm/redhat/kernel-64k-debug-devel-matched?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"},{"detail":"Fix deferred","name":"kernel-64k-debug-modules","purl":"pkg:rpm/redhat/kernel-64k-debug-modules?distro=rhel-10","sources":["redhat-vex"],"status":"deferred"}],"release":"10","scope":"distro","status":"deferred","statuses":{"deferred":76},"vendor":"redhat"},{"n_packages":13,"name":"Red Hat","packages":[{"detail":"Out of support scope","name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"kernel-bootwrapper","purl":"pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"},{"detail":"Out of support scope","name":"kernel-firmware","purl":"pkg:rpm/redhat/kernel-firmware?distro=rhel-6","sources":["redhat-vex"],"status":"end_of_life"}],"release":"els/6","scope":"distro","status":"end_of_life","statuses":{"end_of_life":13},"vendor":"redhat"},{"n_packages":26,"name":"Red Hat","packages":[{"name":"bpftool","purl":"pkg:rpm/redhat/bpftool?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel","purl":"pkg:rpm/redhat/kernel?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-bootwrapper","purl":"pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"},{"name":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc?distro=rhel-7","sources":["redhat-vex"],"status":"not_affected"}],"release":"els/7","scope":"distro","status":"not_affected","statuses":{"not_affected":26},"vendor":"redhat"}],"vendors":["Linux"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-99697/"}