CVE-2026-74631 PUBLISHED

net: smc: fix splice entry lifetime imbalance in smc_rx_splice

Assigner: Linux
Reserved: 15.08.2026 Published: 22.08.2026 Updated: 22.08.2026

In the Linux kernel, the following vulnerability has been resolved:

net: smc: fix splice entry lifetime imbalance in smc_rx_splice

smc_rx_splice() passes pages to splice_to_pipe() before taking the references that cover the lifetime of each splice entry. In the VM-backed RMB path, splice_to_pipe() may drop unqueued entries through smc_rx_spd_release(), while queued entries are released later via the pipe buffer callback.

The old post-splice accounting also derives the number of queued VM pages from an offset mutated while building the descriptor, and a multi-page splice pairs one sock_hold() with multiple sock_put() calls.

Take the page and socket references for every candidate entry before splice_to_pipe(), and drop the matching private state, page reference, and socket reference from smc_rx_spd_release() for entries that never get queued. This fixes a refcount imbalance that can underflow page refcounts and trigger a use-after-free.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f to c841789e456ec6751342fa800639ce8e82ff0e6b (excl.)
  • affected from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f to af02c67ce654356c58db20a0bb2db33ace3b07a8 (excl.)
  • affected from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f to ca8342b5fc24c249fdb998468f6a168b457c67e5 (excl.)
  • affected from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f to 0b7d54cedea5cb158e21925ae0c6c2f5c87ed2a0 (excl.)
  • affected from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f to 4515c78f4d9fd577270f012efeb062ea58b3682d (excl.)
  • affected from 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f to 5d9686af2976741bbd79b150d1c9e60b81e7f12e (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.18 is affected
  • unaffected from 0 to 4.18 (excl.)
  • unaffected from 6.1.183 to 6.1.* (incl.)
  • unaffected from 6.6.152 to 6.6.* (incl.)
  • unaffected from 6.12.104 to 6.12.* (incl.)
  • unaffected from 6.18.45 to 6.18.* (incl.)
  • unaffected from 7.1.9 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References