Skip to main content

Linux Kernel CVE-2026-63951

| EUVDEUVD-2026-45724 HIGH
Use After Free (CWE-416)
2026-07-19 Linux GHSA-jmwm-428x-w863
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local user access
  2. Delivery
    Enable/trigger zram writeback activity
  3. Exploit
    Race completion handler vs wb_ctl free
  4. Execution
    Trigger use-after-free on wake_up
  5. Persist
    Kernel memory corruption
  6. Impact
    System crash or privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local access to the system and, critically, that the zram writeback feature is configured and active (a zram backing device set up and writeback being performed) - the use-after-free only occurs in the zram_writeback_endio completion path, so systems using zram purely as compressed swap without writeback do not exercise the vulnerable code. Exploitation further depends on the attacker being able to induce zram writeback activity and to win a narrow race window between bio completion (zram_writeback_endio) and the writeback task freeing wb_ctl, which limits reliability. Per the CVSS vector PR:L, some privilege is required (authenticated local user), no user interaction is needed, and the attack surface is confined to affected kernel versions (~6.19 and 7.0 before the fix) with zram writeback enabled.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) rates this High with full confidentiality, integrity, and availability impact, which is plausible for a kernel use-after-free that can corrupt arbitrary freed memory. However, several signals point to lower real-world urgency: EPSS is only 0.21% (11th percentile), it is not on CISA KEV, no public exploit code is identified, and the intelligence tags classify it as Denial Of Service - suggesting the realistic and reliably reachable outcome is a kernel crash rather than proven privilege escalation. The vulnerability is a timing-sensitive race between a bio completion interrupt/softirq and a waiting task, so AC:L likely understates the difficulty of deterministically winning the window and turning the UAF into controlled memory corruption. Net: this is a legitimate memory-safety fix worth patching on affected 6.19/7.0 kernels, but absent KEV or POC it is a routine, moderate-priority kernel update rather than an emergency, and exploitation also requires zram writeback to actually be configured and active.

Exploit ScenarioDerived

A local user on a system where zram writeback is enabled repeatedly forces writeback of zram pages while the kernel completes the resulting bios, deliberately racing the completion handler against the writeback task's teardown so that wb_ctl is freed just before the final wake_up() dereferences it. Winning the race triggers a kernel use-after-free, reliably causing a crash (denial of service) and potentially, with heap grooming, controlled memory corruption for privilege escalation. No public proof-of-concept is currently available, and the race is timing-sensitive, making reliable exploitation non-trivial.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 20, 2026

Local privilege escalation or denial of service in the Linux kernel's zram block device (writeback path) stems from a use-after-free in zram_writeback_endio, where the bio completion handler calls wake_up() on wb_ctl->done_wait after the writeback task may have already observed num_inflight reach zero and freed wb_ctl via release_wb_ctl(). Affecting kernels around 6.19/7.0 with zram writeback in use, a local attacker who can drive zram writeback activity may trigger the race to corrupt kernel memory, crashing the system or potentially escalating privileges. There is no public exploit identified at time of analysis and EPSS is low (0.21%), consistent with a hard-to-win kernel race rather than a trivially weaponizable bug.

RemediationAI

Upstream fix available (stable commits ebe2cbef... and bf62f695...); apply the distribution kernel update that incorporates them - patched kernels are reported around 7.0.12 and 7.1, so upgrade to your vendor's build containing these commits (see https://git.kernel.org/stable/c/ebe2cbefc86291fa7f386447a81995640df4e2fd and https://git.kernel.org/stable/c/bf62f69574b19720ae5fbbbcdf24a0c4e3e05e43). Where immediate kernel patching is not possible, the most direct compensating control is to avoid the vulnerable code path by not enabling zram writeback (do not configure a backing_dev for zram devices, or avoid triggering writeback), which eliminates exposure at the cost of losing the RAM-offload-to-disk capability; if zram is used only for compressed swap without writeback, the vulnerable path is not exercised. Additionally restrict local access and the ability to drive zram writeback to trusted users, since the attack is local-only, accepting that this only reduces rather than removes risk on shared or multi-tenant hosts.

Affected VersionsENISA

Linux f405066a1f0db818270f49a5e96be329bcabde1e <ebe2cbefc86291fa7f386447a81995640df4e2fd
Linux 6.19
Linux f405066a1f0db818270f49a5e96be329bcabde1e <bf62f69574b19720ae5fbbbcdf24a0c4e3e05e43
Linux patch: 7.0.12
Linux patch: 7.1
Linux patch: 0

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

zram is the Linux kernel's compressed RAM block device, commonly used for compressed swap and zram-backed storage; its optional writeback feature offloads incompressible or idle pages to a backing device via asynchronous bio submission. The affected code path uses a wb_ctl control structure containing a done_wait waitqueue, a done_lock spinlock, a done_reqs list, and a num_inflight counter to coordinate outstanding writeback bios. The root cause is a classic use-after-free (CWE-416, though the feed lists CWE as N/A) driven by a lifetime/ordering race: zram_writeback_endio releases done_lock and only then calls wake_up() on the waitqueue, but between those two operations the waiting writeback task in zram_writeback_slots can complete all requests, see num_inflight drop to zero, return, and free wb_ctl - so the subsequent wake_up() dereferences freed memory. The fix wraps wb_ctl access in the completion handler with rcu_read_lock() and defers freeing with kfree_rcu(), guaranteeing the structure stays valid for the duration of zram_writeback_endio.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 6.5 MEDIUM

Local authenticated access (AV:L/PR:L); winning the completion-vs-free race is timing-dependent so AC:H; UAF crash gives high integrity/availability impact, limited confidentiality (C:L).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Jul 20, 2026 - 15:22 NVD
7.8 (HIGH)
CVE Published
Jul 19, 2026 - 14:55 cve.org
HIGH 7.8
CVE Published
Jul 19, 2026 - 14:55 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

zram: fix use-after-free in zram_writeback_endio

A crash was observed in zram_writeback_endio due to a NULL pointer dereference in wake_up. The root cause is a race condition between the bio completion handler (zram_writeback_endio) and the writeback task.

In zram_writeback_endio, wake_up() is called on &wb_ctl->done_wait after releasing wb_ctl->done_lock. This creates a race window where the writeback task can see num_inflight become 0, return, and free wb_ctl before zram_writeback_endio calls wake_up().

CPU 0 (zram_writeback_endio) CPU 1 (writeback_store) ====== ====== zram_writeback_slots zram_submit_wb_request zram_submit_wb_request wait_event(wb_ctl->done_wait) spin_lock(&wb_ctl->done_lock); list_add(&req->entry, &wb_ctl->done_reqs); spin_unlock(&wb_ctl->done_lock); wake_up(&wb_ctl->done_wait); zram_complete_done_reqs spin_lock(&wb_ctl->done_lock); list_add(&req->entry, &wb_ctl->done_reqs); spin_unlock(&wb_ctl->done_lock); while (num_inflight) > 0) spin_lock(&wb_ctl->done_lock); list_del(&req->entry); spin_unlock(&wb_ctl->done_lock); // num_inflight becomes 0 atomic_dec(num_inflight);

// Leave zram_writeback_slots // Free wb_ctl release_wb_ctl(wb_ctl); // UAF crash! wake_up(&wb_ctl->done_wait);

This patch fixes this race by using RCU. By protecting wb_ctl with rcu_read_lock() in zram_writeback_endio and using kfree_rcu() to free it, we ensure that wb_ctl remains valid during the execution of zram_writeback_endio.

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's zram block device (CVE-2026-63951) could allow local attackers to crash systems or escalate privileges on hosts with zram writeback enabled. Organizations should urgently identify affected Linux infrastructure running kernel versions 6.19/7.0 and assess which systems have zram writeback active, as privilege escalation on kernel-level components poses direct risks to data security and system availability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable zram writeback on systems where workload requirements permit; restrict local shell access and user account creation on systems where zram writeback must remain enabled; enforce kernel address space layout randomization (ASLR) and data execution prevention (DEP/NX); implement kernel memory monitoring and host-based intrusion detection for memory corruption signals. Monitor Linux kernel mailing lists and vendor advisories for patched kernel releases.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel; zram is standard, though writeback path is optionally enabled
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy