CVE-2023-52672

Source
https://cve.org/CVERecord?id=CVE-2023-52672
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52672.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52672
Downstream
Related
Published
2024-05-17T14:02:10.308Z
Modified
2026-03-14T12:23:13.902092Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
pipe: wakeup wr_wait after setting max_usage
Details

In the Linux kernel, the following vulnerability has been resolved:

pipe: wakeup wrwait after setting maxusage

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->wrwait before actually raising pipe->maxusage. If a pipe was full before the resize occured it would result in the wakeup never actually triggering pipe_write.

Set @maxusage and @nraccounted before waking writers if this isn't a watch queue.

[Christian Brauner brauner@kernel.org: rewrite to account for watch queues]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52672.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c73be61cede5882f9605a852414db559c0ebedfd
Fixed
162ae0e78bdabf84ef10c1293c4ed7865cb7d3c8
Fixed
3efbd114b91525bb095b8ae046382197d92126b9
Fixed
b87a1229d8668fbc78ebd9ca0fc797a76001c60f
Fixed
68e51bdb1194f11d3452525b99c98aff6f837b24
Fixed
6fb70694f8d1ac34e45246b0ac988f025e1e5b55
Fixed
e95aada4cb93d42e25c30a0ef9eb2923d9711d4a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52672.json"