# CVE-2023-52672: pipe: wakeup wr\_wait after setting max\_usage

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 19, 2026-11-26)
- **CWE:** CWE-400
- **Published:** 2024-05-17T14:02:10.308Z
- **Modified:** 2026-06-17T06:43:18.427Z

## Who should check

- Anyone running Linux \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 3efbd114b91525bb095b8ae046382197d92126b9; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< b87a1229d8668fbc78ebd9ca0fc797a76001c60f; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 68e51bdb1194f11d3452525b99c98aff6f837b24; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 6fb70694f8d1ac34e45246b0ac988f025e1e5b55; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< e95aada4cb93d42e25c30a0ef9eb2923d9711d4a
- Anyone running Linux 5.8

## 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\]

## Affected and fixed versions

- Linux: \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 3efbd114b91525bb095b8ae046382197d92126b9; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< b87a1229d8668fbc78ebd9ca0fc797a76001c60f; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 68e51bdb1194f11d3452525b99c98aff6f837b24; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 6fb70694f8d1ac34e45246b0ac988f025e1e5b55; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< e95aada4cb93d42e25c30a0ef9eb2923d9711d4a (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52672. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52672.md
Affected: Linux >= c73be61cede5882f9605a852414db559c0ebedfd, < 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8; >= c73be61cede5882f9605a852414db559c0ebedfd, < 3efbd114b91525bb095b8ae046382197d92126b9; >= c73be61cede5882f9605a852414db559c0ebedfd, < b87a1229d8668fbc78ebd9ca0fc797a76001c60f; >= c73be61cede5882f9605a85…
Fixed in: Linux 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8, Linux 3efbd114b91525bb095b8ae046382197d92126b9, Linux 68e51bdb1194f11d3452525b99c98aff6f837b24, Linux 6fb70694f8d1ac34e45246b0ac988f025e1e5b55

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52672 being exploited?

There is no confirmed exploitation: CVE-2023-52672 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52672?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-52672?

Linux \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 3efbd114b91525bb095b8ae046382197d92126b9; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< b87a1229d8668fbc78ebd9ca0fc797a76001c60f; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 68e51bdb1194f11d3452525b99c98aff6f837b24; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< 6fb70694f8d1ac34e45246b0ac988f025e1e5b55; \>= c73be61cede5882f9605a852414db559c0ebedfd, \< e95aada4cb93d42e25c30a0ef9eb2923d9711d4a; Linux 5.8.

### Is there a fix for CVE-2023-52672?

Yes. Fixed in Linux 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8, Linux 3efbd114b91525bb095b8ae046382197d92126b9, Linux 68e51bdb1194f11d3452525b99c98aff6f837b24, Linux 6fb70694f8d1ac34e45246b0ac988f025e1e5b55. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52672?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52672>

HTML: <https://flawdb.com/CVE-2023-52672> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52672>
