Skip to main content

Linux Kernel CVE-2026-53064

| EUVDEUVD-2026-38932 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-06-24 Linux GHSA-qvxh-98q9-x4j8
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local write access to dm-cache device
  2. Delivery
    Confirm device is in passthrough mode
  3. Exploit
    Issue concurrent writes targeting same cached block
  4. Execution
    Race wins bio prison cell lock ahead of invalidation path
  5. Persist
    mg->cell left NULL in invalidate_complete()
  6. Impact
    Kernel panic (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

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

Exploitation Conditions

Three simultaneous conditions are required: (1) a dm-cache block device must be explicitly configured and running in passthrough mode via dmsetup with the 'passthrough' parameter - this is not a default kernel configuration and must be manually set up by an administrator; (2) the attacker must have local write access to that dm-cache device (CVSS PR:L); and (3) concurrent writes from at least two processes must target the same logical block address at the moment the cache invalidation path attempts to acquire the bio prison cell lock, creating a race condition. Systems without any dm-cache configuration are entirely unaffected. The impact is limited to availability - a kernel panic - with no confidentiality or integrity exposure. Exploitation is further constrained to the local machine (AV:L); remote exploitation is not possible.

Impact

The official CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H scores 5.5 (Medium), and the impact profile is accurate: purely local, no confidentiality or integrity impact, with high availability impact (kernel panic). AC:L may slightly understate the difficulty since triggering the bug requires a race condition between concurrent writes, but the detailed reproduction steps in the CVE description using fio with numjobs=2 show it is reliably triggered with standard tooling, reducing practical complexity. EPSS at 0.18% (7th percentile) is consistent with the niche deployment requirement - dm-cache passthrough mode is not a default kernel configuration, substantially limiting the exposed population. There is no CISA KEV entry and no public exploit code identified at time of analysis. Ubuntu USN-8568-1, USN-8567-1, and USN-8566-1 confirm vendor awareness. Real-world priority is low for general deployments but medium for high-availability storage infrastructure running dm-cache in passthrough mode, where a kernel crash is operationally significant.

Exploit ScenarioDerived

A developer or storage administrator with a dm-cache device reloaded into passthrough mode (a common migration step when demoting cache) runs concurrent I/O workloads against the same logical blocks - for example, using fio with multiple jobs writing to the first cached block. The concurrent write from a second job wins the bio prison cell lock just as the first job's invalidation path attempts to acquire it, leaving mg->cell as NULL. The subsequent call to dm_cell_unlock_v2() on the NULL pointer triggers a kernel panic, crashing the host. The exact reproduction steps are documented in the CVE description, reducing the expertise required.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 21, 2026

NULL pointer dereference in the Linux kernel dm-cache subsystem crashes the kernel when concurrent writes target the same cached block in passthrough mode. The flaw affects any kernel with a dm-cache device explicitly configured in passthrough mode since version 4.12, allowing a local low-privileged user with write access to the block device to cause a kernel panic and complete denial of service. No public exploit code exists and EPSS at 0.18% (7th percentile) confirms very low exploitation probability; fixed across multiple stable kernel series with patches confirmed by Ubuntu security advisories.

RemediationAI

Upgrade to a patched stable kernel release: 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, or 7.1, depending on your deployment series. Upstream fix commits are available at https://git.kernel.org/stable/c/7d1f98d668ee34c1d15bdc0420fdd062f24a27c0 (mainline), with additional stable backports at https://git.kernel.org/stable/c/01264a6a3a3ad7ac1d73443299cd5a9568002454 and related commits. Ubuntu users should apply kernel updates per USN-8568-1 at https://ubuntu.com/security/notices/USN-8566-1. As an interim compensating control, avoid or suspend use of dm-cache in passthrough mode: switching the cache policy to writethrough or writeback mode avoids the invalidate_complete() code path entirely, though this alters I/O semantics and may introduce write-back latency. Restricting local write access to the dm-cache block device to privileged accounts only limits the attack surface but does not eliminate the vulnerability.

Affected VersionsENISA

Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <7d1f98d668ee34c1d15bdc0420fdd062f24a27c0
Linux patch: 6.1.175
Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <01264a6a3a3ad7ac1d73443299cd5a9568002454
Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <a2635d541a93fd111e743cf14b6275dc81be2abc
Linux patch: 5.15.209
Linux patch: 5.10.258
Linux patch: 6.12.91
Linux patch: 6.18.33
Linux patch: 6.6.141
Linux patch: 7.0.10
Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <0aa745fea1f8dc81bcdd0a45e215b6706727b482
Linux patch: 0
Linux patch: 7.1
Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <df3b8ef06cc62de4fca5d2108e285085b3cffd44
Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <25dcc1989c194ba2b5fb6d03cbb9b83814ac0d15
Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <c7fb6bc864c4910b344dafa36dd5028e9b980768
Linux 4.12
Linux b29d4986d0da1a27cd35917cdb433672f5c95d7f <ee38fb00e1a80f46a4990e38f25ecb04ae7b7417

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

The Linux Device Mapper cache target (dm-cache, introduced in kernel 4.12 at commit b29d4986d0da) implements a tiered storage caching layer. In passthrough mode, I/O bypasses the cache for blocks not yet promoted, but cache invalidation logic still runs via the migration engine. During invalidation, dm_bio_prison_add_cell_v2() is called to lock a bio prison cell; if a concurrent write to the same logical block address wins the lock first, the function returns failure without allocating the cell, leaving mg->cell as NULL. The error path in invalidate_complete() then unconditionally calls dm_cell_unlock_v2() on this NULL pointer, causing a KASAN-detected null-ptr-deref in the range 0x0000000000000000-0x0000000000000007. The root cause class is CWE-476 (NULL Pointer Dereference) triggered by a TOCTOU race in the cell-locking path. CPE: cpe:2.3:a:linux:linux:*:*:*:*:*:*:*:*.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Race condition between concurrent writes requires specific timing to trigger (AC:H); local low-privilege write access to dm-cache in passthrough mode required (PR:L); purely availability impact with no confidentiality or integrity loss.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jul 21, 2026 - 17:37 NVD
5.5 (MEDIUM)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:30 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 24, 2026 - 16:30 nvd
MEDIUM 5.5

DescriptionNVD

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

dm cache: fix null-deref with concurrent writes in passthrough mode

In passthrough mode, when dm-cache starts to invalidate a cache entry and bio prison cell lock fails due to concurrent write to the same cached block, mg->cell remains NULL. The error path in invalidate_complete() attempts to unlock and free the cell unconditionally, causing a NULL pointer dereference:

KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 134 Comm: fio Not tainted 6.19.0-rc7 #3 PREEMPT RIP: 0010:dm_cell_unlock_v2+0x3f/0x210 <snip> Call Trace: invalidate_complete+0xef/0x430 map_bio+0x130f/0x1a10 cache_map+0x320/0x6b0 __map_bio+0x458/0x510 dm_submit_bio+0x40e/0x16d0 __submit_bio+0x419/0x870 <snip>

Reproduce steps:

  1. Create a cache device

dmsetup create cmeta --table "0 8192 linear /dev/sdc 0" dmsetup create cdata --table "0 131072 linear /dev/sdc 8192" dmsetup create corig --table "0 262144 linear /dev/sdc 262144" dd if=/dev/zero of=/dev/mapper/cmeta bs=4k count=1 oflag=direct dmsetup create cache --table "0 262144 cache /dev/mapper/cmeta \ /dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 writethrough smq 0"

  1. Promote the first data block into cache

fio --filename=/dev/mapper/cache --name=populate --rw=write --bs=4k \ --direct=1 --size=64k

  1. Reload the cache into passthrough mode

dmsetup suspend cache dmsetup reload cache --table "0 262144 cache /dev/mapper/cmeta \ /dev/mapper/cdata /dev/mapper/corig 128 2 metadata2 passthrough smq 0" dmsetup resume cache

  1. Write to the first cached block concurrently

fio --filename=/dev/mapper/cache --name test --rw=randwrite --bs=4k \ --randrepeat=0 --direct=1 --numjobs=2 --size 64k

Fix by checking if mg->cell is valid before attempting to unlock it.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel runs the majority of servers, cloud, and embedded deployments globally
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
High

Priority Score

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

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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