{"id":"CVE-2023-52672","aliases":["CVE-2023-52672"],"related":[],"kind":"vulnerability","state":"published","title":"pipe: wakeup wr_wait after setting max_usage","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","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]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: tubería: despertar wr_wait después de configurar max_usage Confirmar c73be61cede5 (\"tubería: Agregar soporte de cola de notificaciones generales\") se introdujo una regresión que bloquearía las tuberías redimensionadas bajo ciertas condiciones. Ver el reproductor en [1]. La confirmación de cambio de tamaño del anillo de tubería se movió a una función diferente, lo que movió la activación de pipe-&gt;wr_wait antes de aumentar pipe-&gt;max_usage. Si una tubería estaba llena antes de que ocurriera el cambio de tamaño, la reactivación nunca activaría pipe_write. Configure @max_usage y @nr_accounted antes de despertar a los escritores si no se trata de una cola de vigilancia. [Christian Brauner : reescribir en la cuenta para las colas de visualización]","source":"nvd"}],"published":"2024-05-17T14:02:10.308Z","modified":"2026-06-17T06:43:18.427Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"git","introduced":"c73be61cede5882f9605a852414db559c0ebedfd","fixed":"162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8","status":"affected"},{"type":"git","introduced":"c73be61cede5882f9605a852414db559c0ebedfd","fixed":"3efbd114b91525bb095b8ae046382197d92126b9","status":"affected"},{"type":"git","introduced":"c73be61cede5882f9605a852414db559c0ebedfd","fixed":"b87a1229d8668fbc78ebd9ca0fc797a76001c60f","status":"affected"},{"type":"git","introduced":"c73be61cede5882f9605a852414db559c0ebedfd","fixed":"68e51bdb1194f11d3452525b99c98aff6f837b24","status":"affected"},{"type":"git","introduced":"c73be61cede5882f9605a852414db559c0ebedfd","fixed":"6fb70694f8d1ac34e45246b0ac988f025e1e5b55","status":"affected"},{"type":"git","introduced":"c73be61cede5882f9605a852414db559c0ebedfd","fixed":"e95aada4cb93d42e25c30a0ef9eb2923d9711d4a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.210","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.149","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.76","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.15","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.3","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"c73be61cede5","fixed":"162ae0e78bda","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"c73be61cede5","fixed":"3efbd114b915","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"c73be61cede5","fixed":"b87a1229d866","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"c73be61cede5","fixed":"68e51bdb1194","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"c73be61cede5","fixed":"6fb70694f8d1","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"c73be61cede5","fixed":"e95aada4cb93","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"5.8","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.10.210","lastAffected":"5.11","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.15.149","lastAffected":"5.16","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.1.76","lastAffected":"6.2","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.6.15","lastAffected":"6.7","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"6.7.3","lastAffected":"6.8","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"version":"6.8","status":"unaffected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8","fixed":"5.10.210"},{"status":"affected","introduced":"5.11","fixed":"5.15.149"},{"status":"affected","introduced":"5.16","fixed":"6.1.76"},{"status":"affected","introduced":"6.2","fixed":"6.6.15"},{"status":"affected","introduced":"6.7","fixed":"6.7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3efbd114b91525bb095b8ae046382197d92126b9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b87a1229d8668fbc78ebd9ca0fc797a76001c60f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68e51bdb1194f11d3452525b99c98aff6f837b24","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fb70694f8d1ac34e45246b0ac988f025e1e5b55","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e95aada4cb93d42e25c30a0ef9eb2923d9711d4a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-06-18T16:59:59.118Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52672","url":"https://www.cve.org/CVERecord?id=CVE-2023-52672","licence":"CVE Terms of Use","modified":"2026-05-11T19:31:26.508Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52672","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52672","licence":"Public domain","modified":"2026-06-17T06:43:18.427Z"}],"updatedAt":"2026-11-25T22:58:33.966Z","epss":{"score":0.00255,"percentile":0.18265,"date":"2026-12-01T12:00:22.000Z"}}