CVE-2026-23118 PUBLISHED

rxrpc: Fix data-race warning and potential load/store tearing

Assigner: Linux
Reserved: 13.01.2026 Published: 14.02.2026 Updated: 14.02.2026

In the Linux kernel, the following vulnerability has been resolved:

rxrpc: Fix data-race warning and potential load/store tearing

Fix the following:

<pre> BUG: KCSAN: data-race in rxrpc_peer_keepalive_worker / rxrpc_send_data_packet </pre>

which is reporting an issue with the reads and writes to ->last_tx_at in:

<pre> conn->peer->last_tx_at = ktime_get_seconds(); </pre>

and:

<pre> keepalive_at = peer->last_tx_at + RXRPC_KEEPALIVE_TIME; </pre>

The lockless accesses to these to values aren't actually a problem as the read only needs an approximate time of last transmission for the purposes of deciding whether or not the transmission of a keepalive packet is warranted yet.

Also, as ->last_tx_at is a 64-bit value, tearing can occur on a 32-bit arch.

Fix both of these by switching to an unsigned int for ->last_tx_at and only storing the LSW of the time64_t. It can then be reconstructed at need provided no more than 68 years has elapsed since the last transmission.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from ace45bec6d77bc061c3c3d8ad99e298ea9800c2b to c08cf314191cd0f8699089715efb9eff030f0086 (excl.)
  • affected from ace45bec6d77bc061c3c3d8ad99e298ea9800c2b to f8cf1368e0a5491b27189a695c36f64e48f3d19d (excl.)
  • affected from ace45bec6d77bc061c3c3d8ad99e298ea9800c2b to 5d5fe8bcd331f1e34e0943ec7c18432edfcf0e8b (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.17 is affected
  • unaffected from 0 to 4.17 (excl.)
  • unaffected from 6.12.69 to 6.12.* (incl.)
  • unaffected from 6.18.8 to 6.18.* (incl.)
  • unaffected from 6.19 to * (incl.)

References