{"id":"CVE-2023-52672","summary":"pipe: wakeup wr_wait after setting max_usage","details":"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-\u003ewr_wait before actually\nraising pipe-\u003emax_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 \u003cbrauner@kernel.org\u003e: rewrite to account for watch queues]","modified":"2026-04-02T09:43:12.988854Z","published":"2024-05-17T14:02:10.308Z","related":["SUSE-SU-2024:2372-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","USN-6818-2","USN-6819-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52672.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3efbd114b91525bb095b8ae046382197d92126b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68e51bdb1194f11d3452525b99c98aff6f837b24"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fb70694f8d1ac34e45246b0ac988f025e1e5b55"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b87a1229d8668fbc78ebd9ca0fc797a76001c60f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e95aada4cb93d42e25c30a0ef9eb2923d9711d4a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52672.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52672"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c73be61cede5882f9605a852414db559c0ebedfd"},{"fixed":"162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8"},{"fixed":"3efbd114b91525bb095b8ae046382197d92126b9"},{"fixed":"b87a1229d8668fbc78ebd9ca0fc797a76001c60f"},{"fixed":"68e51bdb1194f11d3452525b99c98aff6f837b24"},{"fixed":"6fb70694f8d1ac34e45246b0ac988f025e1e5b55"},{"fixed":"e95aada4cb93d42e25c30a0ef9eb2923d9711d4a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52672.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}