← VULNERABILITIES

CVE-2026-99606

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

UnscoredFix available
CVSS
—
EPSS
0.21% (p12)
Published
2026-11-20
Age
14d old
Modified
2026-12-01
Product
Linux 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.

Fixed in

16bbd8c8381c01598ae91bc72e62f617353d9bd9 · 5.10.275 · 5.15.226 · 6.1.193 · 6.12.118 · 6.18.64 · 6.6.163 · 6f9fffc0b39a972e6040f340fff63bcd39cc3389 · 7.3.5 · 75197a9f79acb6be19088b01b1d6fb7785860ce1 · 8288ba942cfd20621c05e16978b7c3da91513ae1 · 883b66d11ee3ed89cc22599280d3c319cf38903f · a16adc69aa7a6b94d2e08f6b61233a2abd0f9960 · bdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5a · f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=4.18.0, <5.10.2755.10.275
LinuxKernel>=5.11.0, <5.15.2265.15.226
LinuxKernel>=5.16.0, <6.1.1936.1.193
LinuxKernel>=6.13.0, <6.18.646.18.64
LinuxKernel>=6.19.0, <7.3.57.3.5
LinuxKernel>=6.2.0, <6.6.1636.6.163
LinuxKernel>=6.7.0, <6.12.1186.12.118
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <16bbd8c8381c01598ae91bc72e62f617353d9bd916bbd8c8381c01598ae91bc72e62f617353d9bd9
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <6f9fffc0b39a972e6040f340fff63bcd39cc33896f9fffc0b39a972e6040f340fff63bcd39cc3389
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <75197a9f79acb6be19088b01b1d6fb7785860ce175197a9f79acb6be19088b01b1d6fb7785860ce1
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <8288ba942cfd20621c05e16978b7c3da91513ae18288ba942cfd20621c05e16978b7c3da91513ae1
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <883b66d11ee3ed89cc22599280d3c319cf38903f883b66d11ee3ed89cc22599280d3c319cf38903f
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <a16adc69aa7a6b94d2e08f6b61233a2abd0f9960a16adc69aa7a6b94d2e08f6b61233a2abd0f9960
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <bdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5abdb6d2e75fc4eeb5132ca6a7c61027709b4a0c5a
vendorLinux>=9014db202cb764b8e14c53e7bacc81f9a1a2ba7f, <f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7f97e7bce1cb1f2c7fc3c0afb1818c7e568624ef7

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 3d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON