CVE-2026-53222·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.18
Until: 7.0.13
Fixed in: 7.0.13
How to fix this CVE
Update the Linux kernel to version 7.0.13 or later to resolve a use-after-free vulnerability in the PTP (Precision Time Protocol) over Chip driver. This vulnerability occurs during driver removal when pin resources are freed before the PTP clock is properly unregistered, potentially causing system instability or memory corruption. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r — compare against affected range 6.18 to 7.0.12
- Verify PTP driver is loaded: lsmod | grep ptp_ocp — presence indicates potential exposure
- Search kernel logs for PTP-related errors during driver removal: dmesg | grep -i 'ptp\|ocp' — look for use-after-free warnings or crashes
- After patching, confirm kernel version: uname -r — should show 7.0.13 or later
FAQ
What is CVE-2026-53222?
A use-after-free memory safety bug in the Linux kernel's PTP over Chip (ptp_ocp) driver that occurs when hardware resources are deallocated before the PTP clock interface is properly unregistered, potentially causing kernel memory corruption or crashes during driver removal.
Is CVE-2026-53222 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, it should be patched promptly as it affects kernel stability.
What versions of Kernel are affected by CVE-2026-53222?
Linux kernel versions 6.18 through 7.0.12 are vulnerable. Version 7.0.13 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-53222?
Run 'uname -r' to check your kernel version. If it reports 6.18 or higher but lower than 7.0.13, and 'lsmod | grep ptp_ocp' shows the driver is loaded, your system is vulnerable.
Does Defensia detect CVE-2026-53222?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-53222 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53222. Free for 1 server.
Get started free