# CVE-2026-99179: watch\_queue: Fix note pool publication race in watch\_queue\_set\_size()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-28T10:35:32.734Z
- **Modified:** 2026-10-30T13:21:51.507Z

## Who should check

- Anyone running Linux \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 2137d487b25eefa862be70de489b64f4c679fe1f; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 6aaa6c1a1b61aae332d6e7e0083140b86ea51e14; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 4b20867d80e7e91fb7db531f34035d91591ba405; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< da52e5fcb2cae6acdc0d5722ff83499f8232b9d1; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< f94c45f83e688e41dfe1b3a589806a0a25567260; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 811fb6d0b07605e8e8d93bde8748be4b3028809a; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 9e73a6754457ffed8399b835552013b9363e51d1; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 5e531d62f1f8834faf7a4eed0d41105cf6570a8f
- Anyone running Linux 5.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

watch\_queue: Fix note pool publication race in watch\_queue\_set\_size()

There is a race between watch\_queue\_set\_size() and post\_one\_notification().
watch\_queue\_set\_size() publishes wqueue-\>notes, notes\_bitmap, nr\_pages and
nr\_notes with plain stores, and post\_one\_notification() reads them with
plain loads under a different lock, so nothing orders the four stores
against the poster's loads: depending on the build, notes can be stored
last (gcc 14 on x86-64 does this).  Since keyctl\_watch\_key() lets a watch
attach to a queue before it is sized, post\_one\_notification() can already
be running on another CPU at that moment: it reads nr\_notes \> 0, passes
its bounds check, and then reads notes while it is still NULL,
dereferencing notes\[0\].

An unprivileged user triggers this reliably by watching one of its own
keys through a notification pipe and racing ioctl(IOC\_WATCH\_QUEUE\_SET\_SIZE)
on that pipe against keyctl(KEYCTL\_SETPERM) on the key from another CPU,
triggering:

  BUG: kernel NULL pointer dereference, address: 0000000000000000
  RIP: 0010:post\_one\_notification.isra.0+0xa2/0x1e0
  Call Trace:
   \_\_post\_watch\_notification+0x148/0x180
   keyctl\_setperm\_key+0x119/0x130
   do\_syscall\_64+0x108/0x4c0
   entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
  Kernel panic - not syncing: Fatal exception in interrupt

Fix this by publishing nr\_notes last with smp\_store\_release(), and by
reading it once with smp\_load\_acquire() in post\_one\_notification() before
the bitmap and the page array are touched.  A poster that observes a
non-zero nr\_notes then also observes the pool behind it; one that observes
zero drops the notification as before.

## Affected and fixed versions

- Linux: \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 2137d487b25eefa862be70de489b64f4c679fe1f; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 6aaa6c1a1b61aae332d6e7e0083140b86ea51e14; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 4b20867d80e7e91fb7db531f34035d91591ba405; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< da52e5fcb2cae6acdc0d5722ff83499f8232b9d1; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< f94c45f83e688e41dfe1b3a589806a0a25567260; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 811fb6d0b07605e8e8d93bde8748be4b3028809a; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 9e73a6754457ffed8399b835552013b9363e51d1; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 5e531d62f1f8834faf7a4eed0d41105cf6570a8f (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 5e531d62f1f8834faf7a4eed0d41105cf6570a8f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99179. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99179.md
Affected: Linux >= c73be61cede5882f9605a852414db559c0ebedfd, < 2137d487b25eefa862be70de489b64f4c679fe1f; >= c73be61cede5882f9605a852414db559c0ebedfd, < 6aaa6c1a1b61aae332d6e7e0083140b86ea51e14; >= c73be61cede5882f9605a852414db559c0ebedfd, < 4b20867d80e7e91fb7db531f34035d91591ba405; >= c73be61cede5882f9605a85…
Fixed in: Linux 2137d487b25eefa862be70de489b64f4c679fe1f, Linux 6aaa6c1a1b61aae332d6e7e0083140b86ea51e14, Linux 4b20867d80e7e91fb7db531f34035d91591ba405, Linux 811fb6d0b07605e8e8d93bde8748be4b3028809a, Linux 9e73a6754457ffed8399b835552013b9363e51d1, Linux 5e531d62f1f8834faf7a4eed0d41105cf6570a8f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99179 being exploited?

There is no confirmed exploitation: CVE-2026-99179 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99179?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99179?

Linux \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 2137d487b25eefa862be70de489b64f4c679fe1f; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 6aaa6c1a1b61aae332d6e7e0083140b86ea51e14; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 4b20867d80e7e91fb7db531f34035d91591ba405; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< da52e5fcb2cae6acdc0d5722ff83499f8232b9d1; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< f94c45f83e688e41dfe1b3a589806a0a25567260; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 811fb6d0b07605e8e8d93bde8748be4b3028809a; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 9e73a6754457ffed8399b835552013b9363e51d1; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 5e531d62f1f8834faf7a4eed0d41105cf6570a8f; Linux 5.8.

### Is there a fix for CVE-2026-99179?

Yes. Fixed in Linux 2137d487b25eefa862be70de489b64f4c679fe1f, Linux 6aaa6c1a1b61aae332d6e7e0083140b86ea51e14, Linux 4b20867d80e7e91fb7db531f34035d91591ba405, Linux 811fb6d0b07605e8e8d93bde8748be4b3028809a, Linux 9e73a6754457ffed8399b835552013b9363e51d1, Linux 5e531d62f1f8834faf7a4eed0d41105cf6570a8f. Upgrade Linux to 5e531d62f1f8834faf7a4eed0d41105cf6570a8f or later.

### How do I check if I'm affected by CVE-2026-99179?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2137d487b25eefa862be70de489b64f4c679fe1f>
- other: <https://git.kernel.org/stable/c/6aaa6c1a1b61aae332d6e7e0083140b86ea51e14>
- other: <https://git.kernel.org/stable/c/4b20867d80e7e91fb7db531f34035d91591ba405>
- other: <https://git.kernel.org/stable/c/da52e5fcb2cae6acdc0d5722ff83499f8232b9d1>
- other: <https://git.kernel.org/stable/c/f94c45f83e688e41dfe1b3a589806a0a25567260>
- other: <https://git.kernel.org/stable/c/811fb6d0b07605e8e8d93bde8748be4b3028809a>
- other: <https://git.kernel.org/stable/c/9e73a6754457ffed8399b835552013b9363e51d1>
- other: <https://git.kernel.org/stable/c/5e531d62f1f8834faf7a4eed0d41105cf6570a8f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99179>

HTML: <https://flawdb.com/CVE-2026-99179> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99179>
