# CVE-2023-52672: pipe: wakeup wr_wait after setting max_usage

- Severity: High 7.0 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-17T14:02:10.308Z
- Modified: 2026-06-17T06:43:18.427Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

pipe: wakeup wr_wait after setting max_usage

Commit c73be61cede5 ("pipe: Add general notification queue support") a
regression was introduced that would lock up resized pipes under certain
conditions. See the reproducer in [1].

The commit resizing the pipe ring size was moved to a different
function, doing that moved the wakeup for pipe->wr_wait before actually
raising pipe->max_usage. If a pipe was full before the resize occured it
would result in the wakeup never actually triggering pipe_write.

Set @max_usage and @nr_accounted before waking writers if this isn't a
watch queue.

[Christian Brauner <brauner@kernel.org>: rewrite to account for watch queues]

(As written by CVE List.)

## Affected

- Linux Linux: from c73be61cede5882f9605a852414db559c0ebedfd before 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8; from c73be61cede5882f9605a852414db559c0ebedfd before 3efbd114b91525bb095b8ae046382197d92126b9; from c73be61cede5882f9605a852414db559c0ebedfd before b87a1229d8668fbc78ebd9ca0fc797a76001c60f; from c73be61cede5882f9605a852414db559c0ebedfd before 68e51bdb1194f11d3452525b99c98aff6f837b24; from c73be61cede5882f9605a852414db559c0ebedfd before 6fb70694f8d1ac34e45246b0ac988f025e1e5b55; from c73be61cede5882f9605a852414db559c0ebedfd before e95aada4cb93d42e25c30a0ef9eb2923d9711d4a; 5.8 (not affected: before 5.8; from 5.10.210 up to 5.10.*; from 5.15.149 up to 5.15.*; from 6.1.76 up to 6.1.*; from 6.6.15 up to 6.6.*; from 6.7.3 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from c73be61cede5 before 162ae0e78bda; from c73be61cede5 before 3efbd114b915; from c73be61cede5 before b87a1229d866; from c73be61cede5 before 68e51bdb1194; from c73be61cede5 before 6fb70694f8d1; from c73be61cede5 before e95aada4cb93; 5.8; from 5.8 before 5.10.210; from 5.11 before 5.15.149; from 5.16 before 6.1.76; from 6.2 before 6.6.15; from 6.7 before 6.7.3 (not affected: before 5.8; from 5.10.210 up to 5.11; from 5.15.149 up to 5.16; from 6.1.76 up to 6.2; from 6.6.15 up to 6.7; from 6.7.3 up to 6.8; 6.8)
- debian debian_linux: 10.0

## Every score

- CISA-ADP: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8> (patch)
- <https://git.kernel.org/stable/c/3efbd114b91525bb095b8ae046382197d92126b9> (patch)
- <https://git.kernel.org/stable/c/b87a1229d8668fbc78ebd9ca0fc797a76001c60f> (patch)
- <https://git.kernel.org/stable/c/68e51bdb1194f11d3452525b99c98aff6f837b24> (patch)
- <https://git.kernel.org/stable/c/6fb70694f8d1ac34e45246b0ac988f025e1e5b55> (patch)
- <https://git.kernel.org/stable/c/e95aada4cb93d42e25c30a0ef9eb2923d9711d4a> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-52672](https://www.cve.org/CVERecord?id=CVE-2023-52672), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52672](https://nvd.nist.gov/vuln/detail/CVE-2023-52672), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52672 · Whole record: https://cve.day/CVE-2023-52672.json · Rebuilt by cve.day 2026-11-25T22:58:33.966Z
