{"id":"CVE-2022-2959","details":"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.","aliases":["A-244395411","ASB-A-244395411"],"modified":"2026-10-28T10:28:50.363971579Z","published":"2022-08-25T00:00:00Z","related":["ALSA-2023:0300","ALSA-2023:0334","SUSE-SU-2022:3288-1","SUSE-SU-2022:3293-1","SUSE-SU-2022:4113-1","SUSE-SU-2022:4617-1"],"database_specific":{"cwe_ids":["CWE-667"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2959.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-794697.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2959.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2959"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230214-0005/"},{"type":"ADVISORY","url":"https://www.zerodayinitiative.com/advisories/ZDI-22-1165/"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/torvalds/linux","events":[{"introduced":"3d7cb6b04c3f3115719235cc6866b10326de34cd"},{"fixed":"189b0ddc245139af81198d1a3637cac74f96e13a"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"Fixed in kernel 5.19"},{"last_affected":"Fixed in kernel 5.19"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"189b0ddc245139af81198d1a3637cac74f96e13a"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["Fixed in kernel 5.19"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2959.json","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a","target":{"file":"fs/pipe.c"},"deprecated":false,"digest":{"line_hashes":["174066485411310807633767307405195016336","309718443487373006088657801040093541781","123479116233543085081780815739459577278","219093937791553154666348538088726851434","90029672857136066760629739330987736359","18249780466667027071239985674326118678","315236170843468055357738141619650369471","133798260095775449815513357711508429","292045256548982531504756415888031002312","11316084626467880180862910514852592675","32716908462881132271490522257628879001","63102687686438255015795313250901235866","336956158813235096165466343490772399291","195275778097828283066408464715133854309","160936012957928571007406348863422389599","108547412531501327174624029395224895126","149086052647715813731355191140920504689","115358309335790546788126174764657590819","220349234493388545938441083825545796726","325591897061353286025711401583154177594"],"threshold":0.9},"id":"CVE-2022-2959-6bb5838b"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a","target":{"file":"fs/pipe.c","function":"pipe_resize_ring"},"deprecated":false,"digest":{"function_hash":"267508876685641151495730788666127975888","length":1019},"id":"CVE-2022-2959-c55dfa8b"}],"vanir_signatures_modified":"2026-10-28T10:28:50Z"}}],"schema_version":"1.9.2"}