kcm: use WRITE_ONCE() when changing lower socket callbacks

Summary

CVECVE-2026-74262
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:25 UTC
Updated2026-08-15 06:22:25 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: kcm: use WRITE_ONCE() when changing lower socket callbacks kcm_attach() replaces a live lower TCP socket's sk_data_ready and sk_write_space callbacks with KCM handlers, and kcm_unattach() restores them later. Those callback-pointer updates are still plain stores even though the same fields can be read and invoked concurrently on other CPUs. If another CPU observes an older callback snapshot after the live field has already been restored, callback execution can run with a mismatched target and sk_user_data state, leading to stale or misdirected wakeups. Use WRITE_ONCE() for the callback replacement and restore operations so these shared callback fields follow the same visibility contract already established by the earlier 4022 fixes.

Risk And Classification

EPSS: 0.001900000 probability, percentile 0.089720000 (date 2026-08-16)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 0cb3e2f40679032c1aa2186280a86e5ead0161ee git Not specified
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 fa26e4606aed0f7fe793c325506adeda1d847a43 git Not specified
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 b4ccd6eef671d7c44a30123cd29f3acf3de8468e git Not specified
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 b8c90823cdfb5f3d22f261aeb3e9066612853c36 git Not specified
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 11faefd11ce2448bac7279ab302dd1954a6547fe git Not specified
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 f01fb6138f8eb606b56ce9158e2d8b72352c53f4 git Not specified
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 9684fff87124b201e11dea01ded9173025359a0f git Not specified
CNA Linux Linux affected ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 47186409c092cd7dd70350999186c700233e854d git Not specified
CNA Linux Linux affected 4.6 Not specified
CNA Linux Linux unaffected 4.6 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/b4ccd6eef671d7c44a30123cd29f3acf3de8468e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/11faefd11ce2448bac7279ab302dd1954a6547fe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0cb3e2f40679032c1aa2186280a86e5ead0161ee 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fa26e4606aed0f7fe793c325506adeda1d847a43 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b8c90823cdfb5f3d22f261aeb3e9066612853c36 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/47186409c092cd7dd70350999186c700233e854d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f01fb6138f8eb606b56ce9158e2d8b72352c53f4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9684fff87124b201e11dea01ded9173025359a0f 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