Bug 2516861 (CVE-2026-74262) - CVE-2026-74262 kernel: kcm: use WRITE_ONCE() when changing lower socket callbacks
Summary: CVE-2026-74262 kernel: kcm: use WRITE_ONCE() when changing lower socket callb...
Keywords:
Status: NEW
Alias: CVE-2026-74262
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:37 UTC by OSIDB Bzimport
Modified: 2026-08-19 13:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:37:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.