CVE-2026-80980: net/smc: stop killed, freed and out_of_sync sharing a byte
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net/smc: stop killed, freed and out_of_sync sharing a byte
The three connection state flags are single-bit bitfields, so they occupy one byte of struct smc_connection and every store to one is a read-modify-write of the other two:
u8 killed : 1;
u8 freed : 1;
u8 out_of_sync : 1;They are not written under a common lock. smc_cdc_msg_validate() sets out_of_sync from the receive tasklet, while smc_conn_kill() sets killed from process context under lock_sock(), and the receive path does not defer to the backlog when the socket is owned -- smc_cdc_msg_recv() takes only bh_lock_sock().
Give each flag its own byte so a store no longer touches its neighbours. All readers test them as booleans and are unchanged. struct smc_connection grows by two bytes.
The Linux kernel CVE team has assigned CVE-2026-80980 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.8 with commit b286a0651e4404ab96cdfdcdad8a839a26b3751e and fixed in 6.18.50 with commit 313f79149eb337411c64e2c247234b62ef9a3cb9 Issue introduced in 5.8 with commit b286a0651e4404ab96cdfdcdad8a839a26b3751e and fixed in 7.2.4 with commit 2cb7a8d64b7e8ccdc69bbe48fe9c4eaa79c33aec Issue introduced in 5.8 with commit b286a0651e4404ab96cdfdcdad8a839a26b3751e and fixed in 7.3-rc1 with commit db51a8658c11a82432b64999519a269c3aabb447
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80980
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/smc/smc.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/313f79149eb337411c64e2c247234b62ef9a3cb9 https://git.kernel.org/stable/c/2cb7a8d64b7e8ccdc69bbe48fe9c4eaa79c33aec https://git.kernel.org/stable/c/db51a8658c11a82432b64999519a269c3aabb447