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]
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-17T14:02:10.308Z

Updated: 2024-08-02T23:11:35.017Z

Reserved: 2024-03-07T14:49:46.886Z

Link: CVE-2023-52672

cve-icon Vulnrichment

Updated: 2024-08-02T23:11:35.017Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-17T14:15:10.527

Modified: 2024-07-03T01:43:44.910

Link: CVE-2023-52672

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-05-17T00:00:00Z

Links: CVE-2023-52672 - Bugzilla