{"id":"CVE-2026-99606","aliases":["CVE-2026-99606"],"related":[],"kind":"vulnerability","state":"published","title":"net/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data\n\nWhile bytes spliced off the RMB are still in a pipe, recvmsg() waits\nfor the pipe to release them before it copies the data behind them.\nThe path to that wait skips the timeout and signal checks, and\nsmc_rx_wait() returns at once on RCV_SHUTDOWN. With a signal pending,\nafter SHUT_RD, or once the peer closes or shuts down writing,\nrecvmsg() spins on a CPU until the pipe is drained, and SIGKILL cannot\nstop it. MSG_DONTWAIT and an expired SO_RCVTIMEO wait there too\ninstead of returning -EAGAIN.\n\nCheck the timeout and signals before that wait, and end it when the\npipe releases the data or the connection is killed, not on RCV_SHUTDOWN.\nA zero-length read returns 0 without waiting for the pipe; a\nnon-blocking one returns -EAGAIN while poll() still reports the socket\nreadable (splice() can still take those bytes). The wait sets\nSOCKWQ_ASYNC_WAITDATA like smc_rx_wait(), so a byte arriving behind\nthe pipe raises no SIGIO on a reader already asleep for it, and a full\nbarrier orders its wait queue entry before its read of splice_pending,\nso no wake is lost.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: don't spin in smc_rx_recvmsg() while a pipe holds spliced data\n\nWhile bytes spliced off the RMB are still in a pipe, recvmsg() waits\nfor the pipe to release them before it copies the data behind them.\nThe path to that wait skips the timeout and signal checks, and\nsmc_rx_wait() returns at once on RCV_SHUTDOWN. With a signal pending,\nafter SHUT_RD, or once the peer closes or shuts down writing,\nrecvmsg() spins on a CPU until the pipe is drained, and SIGKILL cannot\nstop it. MSG_DONTWAIT and an expired SO_RCVTIMEO wait there too\ninstead of returning -EAGAIN.\n\nCheck the timeout and signals before that wait, and end it when the\npipe releases the data or the connection is killed, not on RCV_SHUTDOWN.\nA zero-length read returns 0 without waiting for the pipe; a\nnon-blocking one returns -EAGAIN while poll() still reports the socket\nreadable (splice() can still take those bytes). The wait sets\nSOCKWQ_ASYNC_WAITDATA like smc_rx_wait(), so a byte arriving behind\nthe pipe raises no SIGIO on a reader already asleep for it, and a full\nbarrier orders its wait queue entry before its read of splice_pending,\nso no wake is lost.","source":"cvelist"}],"published":"2026-11-20T05:49:30.483Z","modified":"2026-11-23T08:18:02.553Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"bdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5a","status":"affected"},{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"6f9fffc0b39a972e6040f340fff63bcd39cc3389","status":"affected"},{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"75197a9f79acb6be19088b01b1d6fb7785860ce1","status":"affected"},{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"a16adc69aa7a6b94d2e08f6b61233a2abd0f9960","status":"affected"},{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"16bbd8c8381c01598ae91bc72e62f617353d9bd9","status":"affected"},{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7","status":"affected"},{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"883b66d11ee3ed89cc22599280d3c319cf38903f","status":"affected"},{"type":"git","introduced":"9014db202cb764b8e14c53e7bacc81f9a1a2ba7f","fixed":"8288ba942cfd20621c05e16978b7c3da91513ae1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f9fffc0b39a972e6040f340fff63bcd39cc3389","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75197a9f79acb6be19088b01b1d6fb7785860ce1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a16adc69aa7a6b94d2e08f6b61233a2abd0f9960","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16bbd8c8381c01598ae91bc72e62f617353d9bd9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/883b66d11ee3ed89cc22599280d3c319cf38903f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8288ba942cfd20621c05e16978b7c3da91513ae1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99606","url":"https://www.cve.org/CVERecord?id=CVE-2026-99606","licence":"CVE Terms of Use","modified":"2026-11-23T08:04:59.430Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99606","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99606","licence":"Public domain","modified":"2026-11-23T08:18:02.553Z"}],"updatedAt":"2026-11-25T22:59:52.278Z","epss":{"score":0.00211,"percentile":0.11973,"date":"2026-12-01T12:00:22.000Z"}}