ptp: vmclock: prevent read-only mappings from becoming writable
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a5edadbae57e2298a56cf7a4e774a027905a331f, Kernel 2e596e7814ba38cdc129991058b6c254ed37cb11, Kernel 3f5677d2f817355147337f0453174c7bb0f3b66a and 6 more.
In the Linux kernel, the following vulnerability has been resolved: ptp: vmclock: prevent read-only mappings from becoming writable vmclock_miscdev_mmap() rejects writable mappings of the shared vmclock ABI page with -EROFS, but leaves VM_MAYWRITE set. Userspace can map the page read-only and then upgrade it to writable with mprotect(), after which the guest can corrupt the host-written timekeeping data (sequence counter, UTC time, TSC offset) that the vmclock ABI defines as read-only. Clear VM_MAYWRITE on the read-only path so the mapping cannot be upgraded, as i915 does for its read-only objects and as fixed in drm/vc4 (CVE-2026-68445) and drm/panthor (CVE-2024-53071).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=20503272422693d793b84f88bf23fe4e955d3a33 <a5edadbae57e2298a56cf7a4e774a027905a331f, >=20503272422693d793b84f88bf23fe4e955d3a33 <2e596e7814ba38cdc129991058b6c254ed37cb11, >=20503272422693d793b84f88bf23fe4e955d3a33 <3f5677d2f817355147337f0453174c7bb0f3b66a, >=20503272422693d793b84f88bf23fe4e955d3a33 <5b4f2bec7bea6c04084d720d731bedee7caf878d, =6.13, >=20503272422693d793b84f88bf23fe4e955d3a33 <0ce59c4148ecd1520c5592a63bb3c8991ee2d326, >=20503272422693d793b84f88bf23fe4e955d3a33 <2496e141827102d6af512950057d402a2cfb2bfc | a5edadbae57e2298a56cf7a4e774a027905a331f, 2e596e7814ba38cdc129991058b6c254ed37cb11, 3f5677d2f817355147337f0453174c7bb0f3b66a, 5b4f2bec7bea6c04084d720d731bedee7caf878d, 0ce59c4148ecd1520c5592a63bb3c8991ee2d326, 2496e141827102d6af512950057d402a2cfb2bfc |
| linux-kernel: Kernel | >=6.19.0 <7.1.11, >=7.2.0 <7.2.4, >=6.13.0 <6.18.50 | 7.1.11, 7.2.4, 6.18.50 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket