{"id":"CVE-2022-2959","published":"2022-08-25T00:00:00Z","modified":"2026-10-14T13:33:52Z","title":"A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring()","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00381,"percentile":0.32989,"provenance":"source"},"cwes":[{"id":"CWE-667","name":"Improper Locking"}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-22-1165/","tags":[]},{"url":"https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230214-0005/","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html","tags":[]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":6.6}]},"affectedVersions":[{"vendor":"n/a","product":"kernel","versions":["Fixed in kernel 5.19"]}],"euvd":{"id":"EUVD-2022-35180","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-linux-kernel-cve-2009-4307","parents":[{"from":"CVE-2015-1805","to":"CVE-2022-2959","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/pipe.c"],"commits":["https://github.com/torvalds/linux/commit/f0d1bec9d58d4c038d0ac958c9af82be6eb18045","https://github.com/torvalds/linux/commit/637b58c2887e5e57850865839cc75f59184b23d1","https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a"],"basis":"shared function","functions":["pipe_inode_info"]}]},{"from":"CVE-2016-2847","to":"CVE-2022-2959","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/pipe.c"],"commits":["https://github.com/torvalds/linux/commit/759c01142a5d0f364a462346168a56de28a80f52","https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a"],"basis":"shared function","functions":["pipe_inode_info"]}]}]}}