Skip to main content

Linux Kernel CVE-2026-53222

| EUVDEUVD-2026-39313 MEDIUM
Memory Leak (CWE-401)
2026-06-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-prx4-x7m8-p9m9
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain root or equivalent local privileges
  2. Delivery
    Load ptp_ocp module with OCP PTP hardware present
  3. Exploit
    Trigger device removal or module unload
  4. Execution
    ptp_ocp_detach() frees pin resources prematurely
  5. Persist
    ptp_clock_unregister() dereferences freed pin memory via ptp_disable_all_events()
  6. Impact
    Kernel use-after-free causes system crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires all of the following: (1) a system physically equipped with Open Compute Platform PTP hardware supported by the ptp_ocp driver, (2) the ptp_ocp kernel module actively loaded, and (3) a trigger event causing driver teardown - specifically, device hot-removal or module unload. On standard Linux systems, unloading kernel modules (modprobe -r) requires root privileges, making the effective exploitation bar PR:H despite the PR:L in the official CVSS vector. The bug is triggered only during the driver removal code path (ptp_ocp_detach()); normal runtime operation of the PTP hardware does not expose this path. Systems without OCP PTP hardware are completely unaffected regardless of kernel version or configuration.

Impact

CVSS 3.1 score of 5.5 (Medium) with AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H captures a local availability-only impact. However, the official PR:L assignment is optimistic: triggering module unload or device removal on Linux typically requires root privileges, suggesting PR:H is a more accurate representation of real exploitation preconditions. EPSS at 0.15% (5th percentile) and absence from CISA KEV confirm negligible real-world exploitation interest. No public exploit code has been identified. The impact is strictly a kernel crash during driver teardown - not code execution, privilege escalation, or data disclosure - further reducing operational priority. Real-world risk is very low and confined to the narrow population of systems running affected kernel versions with OCP PTP hardware physically installed.

Exploit ScenarioDerived

A privileged local user on a system running an affected kernel with OCP PTP hardware physically installed executes a device removal or module unload (e.g., modprobe -r ptp_ocp or physical PCIe hot-unplug). The ptp_ocp_detach() teardown path frees pin memory structures, then ptp_clock_unregister() dereferences those freed structures via ptp_disable_all_events(), triggering a kernel use-after-free and system crash. No public exploit code exists for this vulnerability.

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 02, 2026

Use-after-free in the Linux kernel ptp_ocp driver crashes the kernel during device removal on systems equipped with Open Compute Platform PTP hardware. The teardown function ptp_ocp_detach() frees pin resources before calling ptp_clock_unregister(), which then accesses those freed resources via ptp_disable_all_events(), introduced by commit a60fc3294a37. EPSS is 0.15% (5th percentile) and this vulnerability is not listed in CISA KEV, indicating no public exploitation and very low real-world risk outside specialized environments.

RemediationAI

Upgrade to Linux kernel 7.0.13 or Linux 7.1, which incorporate the reordering fix and synchronize_irq() call. Distributors should apply the upstream stable patches at https://git.kernel.org/stable/c/aa03698bb28d3be5ee180adb185395054b342b04 and https://git.kernel.org/stable/c/627366c51145a07f675b1800fb5ea2ec960bd900. As a compensating control on systems that cannot be immediately patched, avoid hot-removing OCP PTP hardware or unloading the ptp_ocp module during live operation - this eliminates the teardown code path entirely, with the trade-off that hardware cannot be gracefully detached without a reboot. Systems not physically equipped with OCP PTP hardware have no exposure and require no action.

Affected VersionsENISA

Linux a60fc3294a377204664b5484e4a487fa124155da <aa03698bb28d3be5ee180adb185395054b342b04
Linux 6.18
Linux a60fc3294a377204664b5484e4a487fa124155da <627366c51145a07f675b1800fb5ea2ec960bd900
Linux patch: 7.0.13
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

The ptp_ocp kernel driver manages Open Compute Platform Precision Time Protocol hardware, exposing hardware timestamping pins as kernel PTP clock devices. Commit a60fc3294a37 reworked ptp_clock_unregister() to call ptp_disable_all_events(), which reconfigures EXTTS-capable pins during unregistration. The bug arises because ptp_ocp_detach() - the driver teardown path - deallocates pin resources prior to invoking ptp_clock_unregister(), creating a use-after-free when the unregister path dereferences those already-freed structures. A secondary SMP race condition exists where an IRQ handler on a sibling CPU core can fire between hardware shutdown and device unregistration; the fix addresses this with synchronize_irq(). CWE-401 (Missing Release of Memory after Effective Lifetime) is assigned, though the described mechanism is more precisely a use-after-free (CWE-416); this CWE discrepancy does not affect remediation. Affected CPEs: cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* (versions introduced by a60fc3294a37) and cpe:2.3:o:linux:linux_kernel:7.1:rc1 through rc7.

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.4 MEDIUM

Triggering module unload or device removal on Linux requires root, making PR:H more accurate than the official PR:L; no confidentiality or integrity impact applies.

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

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 02, 2026 - 20:52 NVD
5.5 (MEDIUM)
Patch available
Jun 25, 2026 - 10:32 EUVD
CVE Published
Jun 25, 2026 - 09:16 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 09:16 nvd
MEDIUM 5.5

DescriptionNVD

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

ptp: ocp: fix resource freeing order

Commit a60fc3294a37 ("ptp: rework ptp_clock_unregister() to disable events") added a call to ptp_disable_all_events() which changes the configuration of pins if they support EXTTS events. In ptp_ocp_detach() pins resources are freed before ptp_clock_unregister() and it leads to use-after-free during driver removal. Fix it by changing the order of free/unregister calls. To avoid irq handler running on the other core while ptp device unregistering, call synchronize_irq() after HW is configured to stop producing irqs and no irqs are in-flight.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
requires specialized OCP PTP hardware, absent in most deployments
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

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

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 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 Performance Computing 15 SP7 Not-Affected

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