Use-after-free via premature pin cleanup
Published Jun 25, 2026 · Updated Jun 25, 2026
Use-after-free in Linux Kernel 6.18 through 7.0.12 allows attackers to access freed pin resources during OCP PTP driver removal. The ptp_ocp_detach() function releases pin resources before ptp_clock_unregister() invokes ptp_disable_all_events(), which reconfigures EXTTS-capable pins. Reachability requires OCP PTP driver removal with EXTTS-capable pins, and the published record identifies no privilege-boundary impact beyond invalid kernel-memory access.
Summary
What happened
Use-after-free in Linux Kernel 6.18 through 7.0.12 allows attackers to access freed pin resources during OCP PTP driver removal. The ptp_ocp_detach() function releases pin resources before ptp_clock_unregister() invokes ptp_disable_all_events(), which reconfigures EXTTS-capable pins. Reachability requires OCP PTP driver removal with EXTTS-capable pins, and the published record identifies no privilege-boundary impact beyond invalid kernel-memory access.
The record
- CVE
- CVE-2026-53222
- Published
- Jun 25, 2026
- Updated
- Jun 25, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 25, 2026CVE publishedPublication date reported by the CVE source.
- Jun 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.18
- Affected versionversion=a60fc3294a377204664b5484e4a487fa124155da <627366c51145a07f675b1800fb5ea2ec960bd900
- Affected versionversion=a60fc3294a377204664b5484e4a487fa124155da <aa03698bb28d3be5ee180adb185395054b342b04
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo