watch_queue: keep info_id separate from rcu_head
Summary
| CVE | CVE-2026-139090 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:16 UTC |
| Updated | 2026-11-30 14:18:16 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd 3b294cd9e1a0931591b9861c8372dfd32fb260f0 git |
Not specified |
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd 5845b554a24fbf3236fd77f16b167c780514fc05 git |
Not specified |
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd b409f4398b9a9e6bd2cfd5938ea8f5c44e9a5246 git |
Not specified |
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd 11dd5b46c99583ced2a6f06d9d7dc53fecf05b46 git |
Not specified |
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd 0cc1279cbc7a239e8cf70c3c7ef0a7eb6e16d794 git |
Not specified |
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd 402234dde6679b144f6aed083918121ead07d474 git |
Not specified |
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd 0e08e0911511e882ac8e53b054e9952566d37a25 git |
Not specified |
| CNA |
Linux |
Linux |
affected c73be61cede5882f9605a852414db559c0ebedfd 53d72818f9e2aeb03a6053544ee6efa4eb2a3988 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.8 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.8 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.119 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/0cc1279cbc7a239e8cf70c3c7ef0a7eb6e16d794 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5845b554a24fbf3236fd77f16b167c780514fc05 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/53d72818f9e2aeb03a6053544ee6efa4eb2a3988 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/402234dde6679b144f6aed083918121ead07d474 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/0e08e0911511e882ac8e53b054e9952566d37a25 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b409f4398b9a9e6bd2cfd5938ea8f5c44e9a5246 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/11dd5b46c99583ced2a6f06d9d7dc53fecf05b46 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3b294cd9e1a0931591b9861c8372dfd32fb260f0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.