PT-2025-18484 · Linux+2 · Linux Kernel+2
Published
2022-10-07
·
Updated
2025-07-10
·
CVE-2022-49767
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A vulnerability has been resolved in the Linux kernel. The issue is related to the 9p protocol and file descriptor handling. Specifically, when the file descriptor refers to a pipe, the
p9 mux poll stop() function needs to interrupt kernel read() and kernel write() requests. However, since p9 fd open() does not set the O NONBLOCK flag, the pipe blocks unless a signal is pending. To address this, a minimal change is made to set the O NONBLOCK flag from p9 fd open(), which does not affect reading or writing of regular files. Alternatively, surrounding kernel read() and kernel write() with set thread flag(TIF SIGPENDING) and recalc sigpending() could also resolve the issue.Recommendations
To resolve the issue, consider updating to a newer version of the Linux kernel that includes the fix.
As a temporary workaround, consider setting the
O NONBLOCK flag for file descriptors referring to pipes to prevent blocking.
Additionally, surrounding kernel read() and kernel write() with set thread flag(TIF SIGPENDING) and recalc sigpending() could also help make these functions non-blocking.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse