CVE-2026-139090

watch_queue: keep info_id separate from rcu_head

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

watch_queue: keep info_id separate from rcu_head

struct watch overlays info_id with rcu_head. A notification poster reads
info_id under rcu_read_lock(), but a concurrent final put can enqueue the
watch with call_rcu(). Enqueueing the callback writes rcu_head before the
grace period has elapsed, so it can corrupt info_id while the object
remains legally visible to the reader.

__post_watch_notification() then merges that value into the notification
info word without masking it. Pointer bits can corrupt WATCH_INFO_LENGTH
and make post_one_notification() copy beyond the posting task's stack
record.

Give info_id storage separate from rcu_head so RCU enqueueing cannot modify
it. Place it after the kref, which uses existing tail padding on x86-64.
Mask info_id with WATCH_INFO_ID at the point of use as an additional
invariant check.

An unprivileged shell and keyctl reproducer was run for 30 seconds in QEMU.
The vulnerable baseline produced malformed notification lengths, while this
change completed with 288631 key notifications and no malformed record.

Analysis

AI-generated

Technical impact

A race condition exists in the Linux kernel's watch_queue implementation where the info_id field is overlaid with rcu_head. If a reader accesses info_id under rcu_read_lock() while a concurrent final put enqueues the watch using call_rcu(), the enqueue callback writes rcu_head before its grace period ends. This write corrupts info_id, which is then merged into the notification info word without masking. The resulting pointer corruption expands the calculated WATCH_INFO_LENGTH and can cause post_one_notification() to copy past the posting task’s stack record, leading to kernel memory corruption.

Affected Systems

All Linux kernels that employ the watch_queue code before the fix are affected, regardless of distribution. The vulnerability can be triggered by any process that invokes keyctl or other interfaces that activate watch_queue operations, so any user or process with local access to these interfaces may experience the effect. The fix is present in the most recent kernel releases that contain the code change.

Risk and Exploitability

The CVSS score is not provided and the EPSS metric is unavailable, so the precise likelihood of exploitation cannot be quantified. The issue is not listed in CISA’s KEV catalog. It is a local race condition that requires an attacker to execute code or perform privileged operations within the same kernel to trigger the malformed notification. While the description indicates potential memory corruption, no explicit proof of privilege escalation or denial of service was documented; the risk remains that the corruption could destabilize the system or provide a foothold for further exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the separation of info_id from rcu_head.
  • Restrict or disable keyctl and other watch_queue‑related interfaces for untrusted users until a patch is applied.
  • Monitor system logs for abnormal key notifications or kernel panics and audit for signs of memory corruption.

Generated by OpenCVE AI on December 1, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: watch_queue: keep info_id separate from rcu_head struct watch overlays info_id with rcu_head. A notification poster reads info_id under rcu_read_lock(), but a concurrent final put can enqueue the watch with call_rcu(). Enqueueing the callback writes rcu_head before the grace period has elapsed, so it can corrupt info_id while the object remains legally visible to the reader. __post_watch_notification() then merges that value into the notification info word without masking it. Pointer bits can corrupt WATCH_INFO_LENGTH and make post_one_notification() copy beyond the posting task's stack record. Give info_id storage separate from rcu_head so RCU enqueueing cannot modify it. Place it after the kref, which uses existing tail padding on x86-64. Mask info_id with WATCH_INFO_ID at the point of use as an additional invariant check. An unprivileged shell and keyctl reproducer was run for 30 seconds in QEMU. The vulnerable baseline produced malformed notification lengths, while this change completed with 288631 key notifications and no malformed record.
Title watch_queue: keep info_id separate from rcu_head
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

No weakness.

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM