VDB

CVE-2026-53222

CVE-2026-53222 PUBLISHED

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.

PackageEcosystemFixed in
linux_kernellinux7.0.13

Risk scores

EPSS Score
0.16%
4.7th percentile

Affected products

VendorProductVersions
LinuxLinuxa60fc3294a377204664b5484e4a487fa124155da, a60fc3294a377204664b5484e4a487fa124155da, a60fc3294a377204664b5484e4a487fa124155da
LinuxLinux6.18, 0, 6.18.57
chainguardlinux-qemu-melange*
chainguardlinux-qemu-6.18*
chainguardlinux-azure-6.18*
chainguardlinux-gcp-6.18*
chainguardlinux-vmware-6.18*
chainguardlinux-aws-6.18*
linuxlinux_kernel6.18, 6.18, 6.18
LinuxLinux*, *, *

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›