# CVE-2022-2959: A race condition was found in the Linux kernel's watch queue due to a missing lock in piperesizering().

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2022-08-25T00:00:00.000Z
- Modified: 2026-10-14T14:17:22.303Z
- Weaknesses: CWE-362, CWE-667
- Assigned by: redhat

## Description

A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a local user to crash the system or escalate their privileges on the system.

(As written by CVE List.)

## Affected

- kernel: Fixed in kernel 5.19
- linux linux_kernel: from 5.8 before 5.10.120; from 5.11 before 5.15.45; from 5.16 before 5.17.13; from 5.18 before 5.18.2

## References

- <https://www.zerodayinitiative.com/advisories/ZDI-22-1165/> (third-party-advisory, vdb-entry)
- <https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230214-0005/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>

## Sources

- CVE List: [CVE-2022-2959](https://www.cve.org/CVERecord?id=CVE-2022-2959), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2022-2959](https://nvd.nist.gov/vuln/detail/CVE-2022-2959), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-2959 · Whole record: https://cve.day/CVE-2022-2959.json · Rebuilt by cve.day 2026-11-25T22:58:14.467Z
