CVE-2026-53222
ptp: ocp: fix resource freeing order
Reported by linux · Published June 25, 2026
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.
EPSS 0.16% · 4.7th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.0.13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a60fc3294a377204664b5484e4a487fa124155da, a60fc3294a377204664b5484e4a487fa124155da, a60fc3294a377204664b5484e4a487fa124155da |
| Linux | Linux | 6.18, 0, 6.18.57 |
| chainguard | linux-qemu-melange | * |
| chainguard | linux-qemu-6.18 | * |
| chainguard | linux-azure-6.18 | * |
| chainguard | linux-gcp-6.18 | * |
| chainguard | linux-vmware-6.18 | * |
| chainguard | linux-aws-6.18 | * |
| linux | linux_kernel | 6.18, 6.18, 6.18 |
| Linux | Linux | *, *, * |
Timeline
- Jun 24, 2026 CVE Published
- Jun 26, 2026 EPSS Score (8 in total, the first dated here)
- Jun 26, 2026 Coalition ESS Score
- Jun 29, 2026 Security Advisory (64 in total, the first dated here)
- Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
- Oct 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53222
vulnetix vdb fixes CVE-2026-53222
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53222/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart