Skip to main content

Linux Kernel EUVDEUVD-2026-39313

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

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

5
Analysis Generated
Jul 02, 2026 - 23:01 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

EUVD-2026-39313 vulnerability details – vuln.today

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