Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.18, < 7.0.13 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/627366c51145a07f675b1800fb5ea2ec960bd900Patch
- https://git.kernel.org/stable/c/aa03698bb28d3be5ee180adb185395054b342b04Patch
FAQ
What is CVE-2026-53222?
CVE-2026-53222 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 ...
How severe is CVE-2026-53222?
CVE-2026-53222 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-53222?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.