# CVE-2026-139090

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139090/
- Yayımlanma: 2026-11-30T17:18:16+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139090)
