ZeroHour

CVE-2026-80724

niche

Improper mmap permissions in Linux kernel vmclock driver allow guest time corruption

CVSS 3.1
8.8 high
EPSS
<1%p2
Published
()
Modified
AI analysis

The vmclock PTP driver in the Linux kernel serves a guest/host shared timekeeping page via its misc device and rejects writable mappings with -EROFS, but leaves the VM_MAYWRITE flag set, so the read-only restriction is not actually enforced. A local user who can open the vmclock device can mmap the page read-only and then use mprotect() to upgrade it to writable, bypassing the driver's intent. The guest can then write into memory the host treats as read-only, corrupting host-written ABI data such as the sequence counter, UTC time and TSC offset and undermining guest/host time synchronization; the flaw is rated 8.8 (high) with scope changed. Only environments where a guest kernel includes the ptp_vmclock driver and the hypervisor actually exposes a vmclock device are affected. No public proof-of-concept exists, EPSS is 0.1%, and the issue is not in CISA KEV, so no exploitation is currently known.

What to do: Update guest kernels to a build that includes the ptp/vmclock fix, which clears VM_MAYWRITE on the read-only mapping path (monitor stable kernel releases for the backport; no fixed version number is provided in the source data). Check whether affected guests expose the vmclock misc device (e.g., a /dev/ptp* node backed by ptp_vmclock) and restrict its permissions if unprivileged users do not need it, since exploitation requires local access. No network-side mitigation is applicable.

Affected
Linux kernel (ptp/vmclock driver, drivers/ptp/ptp_vmclock.c)
Estimated exposure
nichelikely tens of thousands of VM guests at most, plausibly far fewer — Only guests whose hypervisor exposes the vmclock device and whose kernel includes the ptp_vmclock driver are affected, a narrow subset of VM deployments far below the overall Linux install base.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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).

Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.