# CVE-2022-49229: ptp: unregister virtual clocks when unregistering physical clock.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T01:55:57.155Z
- **Modified:** 2026-06-17T05:17:26.960Z

## Who should check

- Anyone running Linux \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< b2dea2a696d09163da4cd33cb598ce1f73e86597; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< 9c796a57cbb5daf124a665689f0b2bc9262e0ced; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< c49eafe6249f844c26f9866886cc6719d81762df; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< bfcbb76b0f595ea9ede9f7a218086fef85242f10
- Anyone running Linux 5.14

## 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

## Affected and fixed versions

- Linux: \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< b2dea2a696d09163da4cd33cb598ce1f73e86597; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< 9c796a57cbb5daf124a665689f0b2bc9262e0ced; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< c49eafe6249f844c26f9866886cc6719d81762df; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< bfcbb76b0f595ea9ede9f7a218086fef85242f10 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49229. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49229.md
Affected: Linux >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < b2dea2a696d09163da4cd33cb598ce1f73e86597; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < 9c796a57cbb5daf124a665689f0b2bc9262e0ced; >= 73f37068d540eba5f93ba3a0019bf479d35ebd76, < c49eafe6249f844c26f9866886cc6719d81762df; >= 73f37068d540eba5f93ba3a…
Fixed in: Linux 9c796a57cbb5daf124a665689f0b2bc9262e0ced

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49229 being exploited?

There is no confirmed exploitation: CVE-2022-49229 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49229?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49229?

Linux \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< b2dea2a696d09163da4cd33cb598ce1f73e86597; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< 9c796a57cbb5daf124a665689f0b2bc9262e0ced; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< c49eafe6249f844c26f9866886cc6719d81762df; \>= 73f37068d540eba5f93ba3a0019bf479d35ebd76, \< bfcbb76b0f595ea9ede9f7a218086fef85242f10; Linux 5.14.

### Is there a fix for CVE-2022-49229?

Yes. Fixed in Linux 9c796a57cbb5daf124a665689f0b2bc9262e0ced. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49229?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b2dea2a696d09163da4cd33cb598ce1f73e86597>
- patch: <https://git.kernel.org/stable/c/9c796a57cbb5daf124a665689f0b2bc9262e0ced>
- patch: <https://git.kernel.org/stable/c/c49eafe6249f844c26f9866886cc6719d81762df>
- patch: <https://git.kernel.org/stable/c/bfcbb76b0f595ea9ede9f7a218086fef85242f10>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49229>

HTML: <https://flawdb.com/CVE-2022-49229> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49229>
