Local kernel compromise via stale PTP clock access
Published Apr 3, 2026 · Updated Apr 3, 2026
Use-after-free in the Linux kernel macb driver allows local users to compromise kernel confidentiality, integrity, and availability. The macb_close path unregisters the PTP clock whenever the interface closes, but get_ts_info can later pass the stale clock pointer to ptp_clock_index while the interface remains present. Low-privilege local access to issue the ethtool ioctl against a Cadence macb interface is required; resulting kernel memory compromise can expose data, alter execution, or crash the system.
Summary
What happened
Use-after-free in the Linux kernel macb driver allows local users to compromise kernel confidentiality, integrity, and availability. The macb_close path unregisters the PTP clock whenever the interface closes, but get_ts_info can later pass the stale clock pointer to ptp_clock_index while the interface remains present. Low-privilege local access to issue the ethtool ioctl against a Cadence macb interface is required; resulting kernel memory compromise can expose data, alter execution, or crash the system.
The record
- CVE
- CVE-2026-31396
- Published
- Apr 3, 2026
- Updated
- Apr 3, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 3, 2026CVE publishedPublication date reported by the CVE source.
- Apr 3, 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=4.11
- Affected versionversion=c2594d804d5c8033861d44840673d852d98508c1 <0bb848d8c64938024e45780f8032f1f67d3a3607
- Affected versionversion=c2594d804d5c8033861d44840673d852d98508c1 <1f4714065b2bcbb0a4013fd355b84b848e6cc345
- Affected versionversion=c2594d804d5c8033861d44840673d852d98508c1 <341d01087f821aa0f165fb1ffc8bfe4e50776da7
- Affected versionversion=c2594d804d5c8033861d44840673d852d98508c1 <5653af416a48f6c18f9626ae9df96f814f45ff34
- Affected versionversion=c2594d804d5c8033861d44840673d852d98508c1 <8da13e6d63c1a97f7302d342c89c4a56a55c7015
- Affected versionversion=c2594d804d5c8033861d44840673d852d98508c1 <eb652535e9ec795ef5c1078f7578eaaed755268b
What conditions does exploitation require?
What is affected?
Published CVSS scores
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.
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