AZL-115372: CVE-2026-99606 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net/smc: don't spin in smcrxrecvmsg() while a pipe holds spliced data
While bytes spliced off the RMB are still in a pipe, recvmsg() waits for the pipe to release them before it copies the data behind them. The path to that wait skips the timeout and signal checks, and smcrxwait() returns at once on RCVSHUTDOWN. With a signal pending, after SHUTRD, or once the peer closes or shuts down writing, recvmsg() spins on a CPU until the pipe is drained, and SIGKILL cannot stop it. MSGDONTWAIT and an expired SORCVTIMEO wait there too instead of returning -EAGAIN.
Check the timeout and signals before that wait, and end it when the pipe releases the data or the connection is killed, not on RCVSHUTDOWN. A zero-length read returns 0 without waiting for the pipe; a non-blocking one returns -EAGAIN while poll() still reports the socket readable (splice() can still take those bytes). The wait sets SOCKWQASYNCWAITDATA like smcrxwait(), so a byte arriving behind the pipe raises no SIGIO on a reader already asleep for it, and a full barrier orders its wait queue entry before its read of splicepending, so no wake is lost.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In net/smc smc_rx_recvmsg(), check timeout and pending signals before waiting for spliced pipe data; end the wait when the pipe releases the data or the connection is killed, rather than on RCV_SHUTDOWN.