{"id":"CVE-2023-52672","published":"2024-05-17T14:02:10Z","modified":"2026-05-11T19:31:26Z","title":"pipe: wakeup wr_wait after setting max_usage","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\npipe: wakeup wr_wait after setting max_usage\n\nCommit c73be61cede5 (\"pipe: Add general notification queue support\") a\nregression was introduced that would lock up resized pipes under certain\nconditions. See the reproducer in [1].\n\nThe commit resizing the pipe ring size was moved to a different\nfunction, doing that moved the wakeup for pipe->wr_wait before actually\nraising pipe->max_usage. If a pipe was full before the resize occured it\nwould result in the wakeup never actually triggering pipe_write.\n\nSet @max_usage and @nr_accounted before waking writers if this isn't a\nwatch queue.\n\n[Christian Brauner <brauner@kernel.org>: rewrite to account for watch queues]","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00255,"percentile":0.17445,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://git.kernel.org/stable/c/162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8","tags":[]},{"url":"https://git.kernel.org/stable/c/3efbd114b91525bb095b8ae046382197d92126b9","tags":[]},{"url":"https://git.kernel.org/stable/c/b87a1229d8668fbc78ebd9ca0fc797a76001c60f","tags":[]},{"url":"https://git.kernel.org/stable/c/68e51bdb1194f11d3452525b99c98aff6f837b24","tags":[]},{"url":"https://git.kernel.org/stable/c/6fb70694f8d1ac34e45246b0ac988f025e1e5b55","tags":[]},{"url":"https://git.kernel.org/stable/c/e95aada4cb93d42e25c30a0ef9eb2923d9711d4a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":3.49},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c73be61cede5882f9605a852414db559c0ebedfd, < 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8",">= c73be61cede5882f9605a852414db559c0ebedfd, < 3efbd114b91525bb095b8ae046382197d92126b9",">= c73be61cede5882f9605a852414db559c0ebedfd, < b87a1229d8668fbc78ebd9ca0fc797a76001c60f",">= c73be61cede5882f9605a852414db559c0ebedfd, < 68e51bdb1194f11d3452525b99c98aff6f837b24",">= c73be61cede5882f9605a852414db559c0ebedfd, < 6fb70694f8d1ac34e45246b0ac988f025e1e5b55",">= c73be61cede5882f9605a852414db559c0ebedfd, < e95aada4cb93d42e25c30a0ef9eb2923d9711d4a"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-06-18T16:59:59.118362Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57296","exploited":false,"provenance":"source"}}