CVE-2022-49229

ptp: unregister virtual clocks when unregistering physical clock.

No CVSS score yet EPSS 0.26%

Published 26 Feb 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-49229

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49229 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

ptp: unregister virtual clocks when unregistering physical clock.

When unregistering a physical clock which has some virtual clocks, unregister the virtual clocks with it.

This fixes the following oops, which can be triggered by unloading a driver providing a PTP clock when it has enabled virtual clocks:

BUG: unable to handle page fault for address: ffffffffc04fc4d8 Oops: 0000 [#1] PREEMPT SMP NOPTI RIP: 0010:ptp_vclock_read+0x31/0xb0 Call Trace: timecounter_read+0xf/0x50 ptp_vclock_refresh+0x2c/0x50 ? ptp_clock_release+0x40/0x40 ptp_aux_kworker+0x17/0x30 kthread_worker_fn+0x9b/0x240 ? kthread_should_park+0x30/0x30 kthread+0xe2/0x110 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x22/0x30

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 73f37068d540eba5f93ba3a0019bf479d35ebd76, before b2dea2a696d09163da4cd33cb598ce1f73e86597
affected from 73f37068d540eba5f93ba3a0019bf479d35ebd76, before 9c796a57cbb5daf124a665689f0b2bc9262e0ced
affected from 73f37068d540eba5f93ba3a0019bf479d35ebd76, before c49eafe6249f844c26f9866886cc6719d81762df
affected from 73f37068d540eba5f93ba3a0019bf479d35ebd76, before bfcbb76b0f595ea9ede9f7a218086fef85242f10
Other versions: unaffected
Linux
affected 5.14
unaffected before 5.14
unaffected from 5.15.33 up to and including 5.15.*
unaffected from 5.16.19 up to and including 5.16.*
unaffected from 5.17.2 up to and including 5.17.*
unaffected 5.18 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49229 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49229

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49229
trivy image --scanners vuln IMAGE | grep CVE-2022-49229

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49229 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.