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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-667"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2959.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "Fixed in kernel 5.19"
},
{
"last_affected": "Fixed in kernel 5.19"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "189b0ddc245139af81198d1a3637cac74f96e13a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-2959.json"
[
{
"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": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a",
"target": {
"file": "fs/pipe.c"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "267508876685641151495730788666127975888",
"length": 1019
},
"id": "CVE-2022-2959-c55dfa8b",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/189b0ddc245139af81198d1a3637cac74f96e13a",
"target": {
"file": "fs/pipe.c",
"function": "pipe_resize_ring"
}
}
]
"2026-10-22T07:25:21Z"