Skip to main content

Linux Kernel EUVDEUVD-2026-38984

| CVE-2026-53116 HIGH
Use After Free (CWE-416)
2026-06-24 Linux GHSA-r2jg-mcxg-628g
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local privileged access on s390 host
  2. Delivery
    Concurrently rewrite device driver_override
  3. Exploit
    Toggle apmask/aqmask to trigger revise_bindings
  4. Execution
    Race frees override string mid-read
  5. Persist
    Use-after-free corrupts kernel memory
  6. Impact
    Escalate privileges or crash host

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 an IBM Z (s390x) system whose kernel uses the AP crypto bus, plus the ability to write the AP sysfs attributes: the adapter/queue masks (apmask/aqmask, whose store handlers call ap_bus_revise_bindings) and a device's driver_override attribute - these writes are normally restricted to root/privileged administrators. Exploitation further depends on winning a race: the concurrent driver_override_store() must free the override string in the exact window that __ap_revise_reserved() reads it after ap_attr_mutex is released. Limiting factors: the vulnerable code exists ONLY on s390 with AP crypto adapters (no exposure on x86/ARM/other platforms), the required sysfs writes are privileged, and success is probabilistic due to the narrow race condition - so despite the AC:L in the published vector, realistic exploitation is closer to high-complexity.

Impact

Signals are mostly consistent and point to a genuine but low-urgency, narrow-scope issue. The CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects a local, low-privilege vector with high kernel-memory impact, but two factors temper real-world risk: exploitation is a race condition (realistically higher attack complexity than the AC:L rating suggests), and the trigger requires writing to AP sysfs attributes (apmask/aqmask and driver_override) that are normally root-writable on s390 hosts, so the practical privilege bar is higher than PR:L implies. EPSS is very low (0.14%, 4th percentile) and there is no KEV listing and no known POC, so this is not under active exploitation. The affected code path only exists on IBM Z mainframes with AP crypto adapters, sharply limiting the exposed population. Net: legitimate memory-corruption bug worth patching in scheduled maintenance for s390 fleets, not an emergency for general Linux deployments.

Exploit ScenarioDerived

A local user with the ability to write AP crypto bus sysfs attributes on an s390 host runs a tight loop toggling apmask/aqmask (invoking ap_bus_revise_bindings) while a second thread rapidly rewrites a device's driver_override, aiming to have __ap_revise_reserved() dereference the override string just after it is freed. Winning the race corrupts kernel memory, potentially escalating to code execution or crashing the host; no public POC has been identified, and the narrow race window makes reliable exploitation non-trivial.

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

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

Alert me

AnalysisAIv1 – Jul 23, 2026

Local privilege-adjacent memory corruption in the Linux kernel's s390 Adjunct Processor (AP) crypto bus driver allows a use-after-free when AP adapter/queue masks are updated concurrently with a driver_override write. When apmask_store()/aqmask_store() trigger ap_bus_revise_bindings(), __ap_revise_reserved() reads the driver_override string without a lock, racing a concurrent driver_override_store() that can free the old string, yielding a UAF (CWE-416) with high confidentiality, integrity, and availability impact on IBM Z (s390) systems. No public exploit identified at time of analysis, and EPSS is low (0.14%, 4th percentile); the fix migrates the driver to the driver-core's internally-locked driver_override infrastructure.

RemediationAI

Vendor-released patch: apply the fixed Linux kernel that includes upstream commits 8f2eca0570438b94602da1297353eb7b10dcb6cb and 81d6f7c3a70b10ff757ee8b5f8114a190871cf1e (mainline ~6.19 and corresponding stable backports). On Ubuntu, update to the fixed kernel packages per USN-8568-1 (https://ubuntu.com/security/notices/USN-8568-1) and USN-8566-1 (https://ubuntu.com/security/notices/USN-8566-1) and reboot; on other distributions install the vendor kernel that references CVE-2026-53116. If immediate patching is not possible on s390 hosts, the practical compensating control is to restrict who can write the AP sysfs attributes - avoid delegating apmask/aqmask and driver_override write access beyond trusted administrators and avoid automated or concurrent tooling that rewrites AP masks and driver_override simultaneously, which is what opens the race window; the trade-off is reduced flexibility in dynamic AP resource reassignment for guests. Non-s390 systems are not affected by this code path and need only the routine kernel update.

Affected VersionsENISA

Linux patch: 7.1
Linux d38a87d7c0643db61e7a3bfc3ebeea2dc2568f7e <8f2eca0570438b94602da1297353eb7b10dcb6cb
Linux patch: 0
Linux patch: 7.0.10
Linux d38a87d7c0643db61e7a3bfc3ebeea2dc2568f7e <81d6f7c3a70b10ff757ee8b5f8114a190871cf1e
Linux 6.19

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 affected component is the s390/ap (Adjunct Processor) bus, the Linux kernel subsystem that mediates access to cryptographic coprocessors/HSM adapters on IBM Z (s390x) mainframes. Administrators partition AP adapters and queues between the host and guests using bitmask sysfs attributes (apmask/aqmask), and can bind specific AP devices to drivers using the generic sysfs driver_override attribute. The root cause is CWE-416 Use-After-Free: the AP bus implemented driver_override handling with a custom store routine and a custom counter, but read the driver_override pointer in __ap_revise_reserved() (reached via ap_bus_revise_bindings() after ap_attr_mutex was released) without any lock, while a concurrent driver_override_store() could free the previous override string. Unlike most buses, AP does not consult driver_override in its match() callback - the override is instead evaluated in ap_device_probe() and __ap_revise_reserved() - and it deliberately emits an empty string rather than '(null)' when the override is unset, which is why the fix keeps a custom store while delegating pointer lifetime/locking to the driver-core's spinlock-protected driver_override infrastructure.

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 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local-only s390 code path (AV:L); exploitation is a narrow race window (AC:H); requires local access to AP sysfs writes (PR:L, arguably PR:H as they are root-restricted); UAF yields full kernel C/I/A impact.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jul 23, 2026 - 21:38 NVD
7.8 (HIGH)
Patch available
Jun 24, 2026 - 18:02 EUVD
CVE Published
Jun 24, 2026 - 16:30 nvd
HIGH 7.8
CVE Published
Jun 24, 2026 - 16:30 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

s390/ap: use generic driver_override infrastructure

When the AP masks are updated via apmask_store() or aqmask_store(), ap_bus_revise_bindings() is called after ap_attr_mutex has been released.

This calls __ap_revise_reserved(), which accesses the driver_override field without holding any lock, racing against a concurrent driver_override_store() that may free the old string, resulting in a potential UAF.

Fix this by using the driver-core driver_override infrastructure, which protects all accesses with an internal spinlock.

Note that unlike most other buses, the AP bus does not check driver_override in its match() callback; the override is checked in ap_device_probe() and __ap_revise_reserved() instead.

Also note that we do not enable the driver_override feature of struct bus_type, as AP - in contrast to most other buses - passes "" to sysfs_emit() when the driver_override pointer is NULL. Thus, printing "\n" instead of "(null)\n".

Additionally, AP has a custom counter that is modified in the corresponding custom driver_override_store().

Executive ViewAI

Why It Matters

A use-after-free vulnerability in the Linux kernel's s390 Adjunct Processor driver affects IBM Z systems handling cryptographic operations, creating potential risks to data integrity and system stability. The vulnerability has extremely low exploitation likelihood (EPSS 0.1%) and is limited to legacy mainframe environments with this specific driver configuration. A vendor patch is available to remediate the underlying race condition.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
s390/IBM Z mainframe crypto (AP) subsystem only; niche hardware footprint
Social Media
1
Sightings
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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