PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-98866: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-98866 is a use-after-free (UAF) vulnerability in the Linux kernel's scheduler subsystem, specifically in the sched/cache component. It affects Linux kernel version 7.2 (introduced at commit df0d98475954) and was disclosed on October 18, 2026. The flaw occurs when account_mm_sched() accesses a cache group through a task whose mm_struct is being switched, resulting in access to freed memory. A CVSS category estimate of Medium has been assigned, with an EPSS score of 0.0 (GitHub Advisory, Feedly).

Technical details

The root cause is a use-after-free (CWE-416) in the Linux kernel scheduler: scheduler hot-path code in fair.c and exit.c accessed the sched_cache_group via p->mm->sched_cache_grp, but the mm_struct could be freed or switched during task execution, leaving a dangling pointer. The fix introduces a sched_cache_grp pointer directly in task_struct, with each task holding its own refcount on the sched_cache_group — acquired in copy_mm() (fork) and exec_mmap() (exec), and released in exit_mm(). New helpers sched_cache_fork(), sched_cache_fork_cleanup(), sched_cache_exec_mmap(), and sched_cache_exit_mm() are added in kernel/sched/cache_sched.c to manage lifecycle cleanly. The vulnerability was originally reported by researcher Hyunwoo via the Linux kernel mailing list (GitHub Advisory, LKML Report).

Impact

A local user can trigger this vulnerability through normal task scheduling and mm_struct switching operations, potentially causing a kernel crash (denial of service) or, in more severe scenarios, executing arbitrary code with kernel privileges. Successful exploitation could lead to full system compromise, privilege escalation from a local unprivileged user to root, and potential lateral movement within the affected host. The vulnerability is confined to systems running Linux kernel 7.2 with the CONFIG_SCHED_CACHE feature enabled (GitHub Advisory, Feedly).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure. The EPSS score is 0.0, reflecting a currently low probability of exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access to the affected system and the ability to trigger task scheduling and mm_struct switching operations (GitHub Advisory, Feedly).

Mitigation and workarounds

Apply the upstream kernel patches that introduce task_struct->sched_cache_grp to decouple scheduler access from mm_struct references. Fixed commits are 9436130e6da72af63289a4acb3aa0c1df07a3928 and b636fef85bda7d1bab9c0a45067ab1508d79d946, targeting Linux kernel 7.2.10 and 7.3-rc5 respectively. Administrators should update to a patched kernel version (7.2.10+ or 7.3-rc5+) as soon as possible. As a temporary measure, disabling CONFIG_SCHED_CACHE at kernel build time (if operationally feasible) removes the vulnerable code path entirely (GitHub Advisory, Kernel Patch 1, Kernel Patch 2).

Community reactions

The vulnerability was originally reported to the Linux kernel community by researcher Hyunwoo via the Linux kernel mailing list (LKML), and the fix was developed and merged by the kernel maintainers. No significant broader media coverage or notable public commentary beyond the kernel community has been observed at this time (LKML Report, GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 7.2.10-1

Fixed

trixie

linux

Fixed

Ubuntu

Unknown

bionic

linux

Not Affected

bionic (esm-infra)

linux

Not Affected

bionic (fips-updates)

linux-fips

Not Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Unknown

focal

linux

Not Affected

focal (esm-infra)

linux

Not Affected

focal (fips-updates)

linux-fips

Not Affected

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-92162HIGH7.2
  • Linux Debian logoLinux Debian
  • flatpak
NoYesOct 20, 2026
CVE-2026-112940HIGH7.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management