CVE-2026-99606
JSON

Not scored

net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net/smc: don't spin in smc_rx_recvmsg() 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 smc_rx_wait() returns at once on RCV_SHUTDOWN. With a signal pending, after SHUT_RD, or once the peer closes or shuts down writing, recvmsg() spins on a CPU until the pipe is drained, and SIGKILL cannot stop it. MSG_DONTWAIT and an expired SO_RCVTIMEO 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 RCV_SHUTDOWN. 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 SOCKWQ_ASYNC_WAITDATA like smc_rx_wait(), 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 splice_pending, so no wake is lost.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before bdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5a, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 6f9fffc0b39a972e6040f340fff63bcd39cc3389, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 75197a9f79acb6be19088b01b1d6fb7785860ce1, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before a16adc69aa7a6b94d2e08f6b61233a2abd0f9960, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 16bbd8c8381c01598ae91bc72e62f617353d9bd9, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 883b66d11ee3ed89cc22599280d3c319cf38903f, from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f before 8288ba942cfd20621c05e16978b7c3da91513ae1 and 1 more
Not affected: before 4.18, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-99606 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-99606 changed 2026-11-23Public domain