HomeDefectsLIN1024-996
Fixed

LIN1024-996 : Security Advisory - linux - CVE-2023-52672

Created: May 18, 2024    Updated: Aug 28, 2024
Resolved Date: May 21, 2024
Found In Version: 10.24.33.1
Fix Version: 10.24.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 24
Component/s: Kernel

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]

CREATE(Triage):(User=admin) [CVE-2023-52672 (https://nvd.nist.gov/vuln/detail/CVE-2023-52672)

CVEs