CVE-2023-52672

pipe: wakeup wr_wait after setting max_usage

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 02:02 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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 <[email protected]>: rewrite to account for watch queues]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1495.16 ≤ v < 6.1.765.8 ≤ v < 5.10.2105.8 ≤ v < 5.15.1495.8 ≤ v < 6.1.765.8 ≤ v < 6.6.155.8 ≤ v < 6.7.35.8 ≤ v < 6.86.2 ≤ v < 6.6.156.7 ≤ v < 6.7.35.8c73be61cede5c73be61cede5882f9605a852414db559c0ebedfd
Vendor states this is fixed in 162ae0e78bda (fixed)
Vendor states this is fixed in 162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8 (fixed)
Vendor states this is fixed in 3efbd114b915 (fixed)
Vendor states this is fixed in 3efbd114b91525bb095b8ae046382197d92126b9 (fixed)
Vendor states this is fixed in 68e51bdb1194 (fixed)
Vendor states this is fixed in 68e51bdb1194f11d3452525b99c98aff6f837b24 (fixed)
Vendor states this is fixed in 6fb70694f8d1 (fixed)
Vendor states this is fixed in 6fb70694f8d1ac34e45246b0ac988f025e1e5b55 (fixed)
Vendor states this is fixed in b87a1229d866 (fixed)
Vendor states this is fixed in b87a1229d8668fbc78ebd9ca0fc797a76001c60f (fixed)
Vendor states this is fixed in e95aada4cb93 (fixed)
Vendor states this is fixed in e95aada4cb93d42e25c30a0ef9eb2923d9711d4a (fixed)
Vendor states this is fixed in 5.10.210 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)
Vendor states this is fixed in 6.1.76 (unaffected)
Vendor states this is fixed in 6.6.15 (unaffected)
Vendor states this is fixed in 6.7.3 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3efbd114b91525bb095b8ae046382197d92126b9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68e51bdb1194f11d3452525b99c98aff6f837b24
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6fb70694f8d1ac34e45246b0ac988f025e1e5b55
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b87a1229d8668fbc78ebd9ca0fc797a76001c60f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e95aada4cb93d42e25c30a0ef9eb2923d9711d4a
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-400NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card