Skip to content
High 7.8

Linux Kernelのメモリ制御に脆弱性、NULLポインタ参照と解放後使用のおそれ

CVE-2026-99697 First seen on SecPulse

Summary

Linux Kernelのメモリ制御(memcg)で、NULLポインタ参照と解放後使用が起きる脆弱性です。影響は6.3以降の一部版で、修正版は6.12.118、6.18.64、7.3.5です。該当する版を使っている場合は、修正版への更新を優先してください。悪用の情報は公表されていません。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux Kernelのメモリ制御(memcg)で、NULLポインタ参照と解放後使用が起きる脆弱性です。影響は6.3以降の一部版で、修正版は6.12.118、6.18.64、7.3.5です。該当する版を使っている場合は、修正版への更新を優先してください。悪用の情報は公表されていません。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.3.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.118→ 6.12.118
≥ 6.13.0, < 6.18.64→ 6.18.64
≥ 6.19.0, < 7.3.5→ 7.3.5

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

mm: memcontrol: fix NULL pointer deref and UAF from high_work_func() on dying memcg

When memory.high is exceeded in non-task context, try_charge_memcg()
schedules memcg->high_work without taking a reference on the memcg, and
high_work_func() invokes reclaim_high() without pinning the memcg.

With obj_cgroup reparenting, introduced in commit bf4f059954dc ("mm:
memcg/slab: obj_cgroup API"), objects charged to a child memcg are
reparented to its parent in mem_cgroup_css_offline() instead of holding a
reference on the child until uncharged. Subsequent uncharges of those
objects go to the parent, which can leave the child's memory use
permanently above its high limit, so any later charge on the offlined
memcg in non-task context schedules high_work. This was later widened
from kernel memory to LRU folios when commit f1cf8d2f36dc ("mm:
memcontrol: eliminate the problem of dying memory cgroup for LRU folios")
converted LRU folios to use obj_cgroup reparenting.

cancel_work_sync(&memcg->high_work) only runs at the end of teardown in
mem_cgroup_css_free(), so high_work_func() can start or still be running
reclaim_high() after mem_cgroup_css_released() or shrink_many() has called
lru_gen_release_memcg() and unhashed lruvec->lrugen.list. If reclaim
tries to rotate the memcg, lru_gen_rotate_memcg() dereferences a NULL
pprev pointer. This issue is specific to MGLRU and was introduced with
the memcg LRU in commit e4d…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details