Skip to content
7.0 High

CVE-2023-52672 In the Linux kernel, the following vulnerability has been resolved: pipe: wakeup wr_wait after setting max_usage…

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 products and versions

Product Affected versions Fixed in
Linux 6.8 earliest → < 6.8 6.8
Linux 6.7 earliest → < 6.7.3 6.7.3
Linux 6.6 earliest → < 6.6.15 6.6.15
Linux 6.1 earliest → < 6.1.76 6.1.76
Linux 5.15 earliest → < 5.15.149 5.15.149
Linux 5.10 earliest → < 5.10.210 5.10.210
Linux 5.8 No fix stated
linux_kernel 6.8 earliest → < 6.8 6.8

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE