CVE-2022-49229

Source
https://cve.org/CVERecord?id=CVE-2022-49229
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49229.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49229
Downstream
Published
2025-02-26T01:55:57.155Z
Modified
2026-03-20T12:22:16.993484Z
Summary
ptp: unregister virtual clocks when unregistering physical clock.
Details

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:ptpvclockread+0x31/0xb0 Call Trace: timecounterread+0xf/0x50 ptpvclockrefresh+0x2c/0x50 ? ptpclockrelease+0x40/0x40 ptpauxkworker+0x17/0x30 kthreadworkerfn+0x9b/0x240 ? kthreadshouldpark+0x30/0x30 kthread+0xe2/0x110 ? kthreadcompleteandexit+0x20/0x20 retfromfork+0x22/0x30

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49229.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
73f37068d540eba5f93ba3a0019bf479d35ebd76
Fixed
b2dea2a696d09163da4cd33cb598ce1f73e86597
Fixed
9c796a57cbb5daf124a665689f0b2bc9262e0ced
Fixed
c49eafe6249f844c26f9866886cc6719d81762df
Fixed
bfcbb76b0f595ea9ede9f7a218086fef85242f10

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49229.json"