CVE-2026-74262

kcm: use WRITE_ONCE() when changing lower socket callbacks

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

In 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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before 0cb3e2f40679032c1aa2186280a86e5ead0161eeAffected
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before fa26e4606aed0f7fe793c325506adeda1d847a43Affected
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before b4ccd6eef671d7c44a30123cd29f3acf3de8468eAffected
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before b8c90823cdfb5f3d22f261aeb3e9066612853c36Affected
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before 11faefd11ce2448bac7279ab302dd1954a6547feAffected
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before f01fb6138f8eb606b56ce9158e2d8b72352c53f4Affected
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before 9684fff87124b201e11dea01ded9173025359a0fAffected
  • ab7ac4eb9832e32a09f4e8042705484d2fb0aad3 to before 47186409c092cd7dd70350999186c700233e854dAffected
LinuxLinux
  • 4.6Affected
  • before 4.6Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.