net: smc: fix splice entry lifetime imbalance in smc_rx_splice

Summary

CVECVE-2026-74631
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-22 16:16:36 UTC
Updated2026-08-23 13:16:47 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 7ddc7af2ae7fc5a0c0635b245c0824c8b76de5cb git Not specified
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 07ad246529d136d5ef441d5ab4c305d132ff3090 git Not specified
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f c841789e456ec6751342fa800639ce8e82ff0e6b git Not specified
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f af02c67ce654356c58db20a0bb2db33ace3b07a8 git Not specified
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f ca8342b5fc24c249fdb998468f6a168b457c67e5 git Not specified
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 0b7d54cedea5cb158e21925ae0c6c2f5c87ed2a0 git Not specified
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 4515c78f4d9fd577270f012efeb062ea58b3682d git Not specified
CNA Linux Linux affected 9014db202cb764b8e14c53e7bacc81f9a1a2ba7f 5d9686af2976741bbd79b150d1c9e60b81e7f12e git Not specified
CNA Linux Linux affected 4.18 Not specified
CNA Linux Linux unaffected 4.18 semver Not specified
CNA Linux Linux unaffected 5.10.266 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.217 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.183 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.152 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.104 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.45 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.9 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0b7d54cedea5cb158e21925ae0c6c2f5c87ed2a0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/af02c67ce654356c58db20a0bb2db33ace3b07a8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c841789e456ec6751342fa800639ce8e82ff0e6b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4515c78f4d9fd577270f012efeb062ea58b3682d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7ddc7af2ae7fc5a0c0635b245c0824c8b76de5cb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5d9686af2976741bbd79b150d1c9e60b81e7f12e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/07ad246529d136d5ef441d5ab4c305d132ff3090 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ca8342b5fc24c249fdb998468f6a168b457c67e5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report