CVE-2026-23118
JSON

4.7medium

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

Severity
4.7medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix data-race warning and potential load/store tearing Fix the following: BUG: KCSAN: data-race in rxrpc_peer_keepalive_worker / rxrpc_send_data_packet which is reporting an issue with the reads and writes to ->last_tx_at in: conn->peer->last_tx_at = ktime_get_seconds(); and: keepalive_at = peer->last_tx_at + RXRPC_KEEPALIVE_TIME; 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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ace45bec6d77bc061c3c3d8ad99e298ea9800c2b before 49b8ef1abfe7713e15d9128006cb76e413b12b57, from ace45bec6d77bc061c3c3d8ad99e298ea9800c2b before a426f29ac3fa3465093567ab763ada46762fb57c, from ace45bec6d77bc061c3c3d8ad99e298ea9800c2b before c08cf314191cd0f8699089715efb9eff030f0086, from ace45bec6d77bc061c3c3d8ad99e298ea9800c2b before f8cf1368e0a5491b27189a695c36f64e48f3d19d, from ace45bec6d77bc061c3c3d8ad99e298ea9800c2b before 5d5fe8bcd331f1e34e0943ec7c18432edfcf0e8b, 4.17
Not affected: before 4.17, from 6.1.191 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.69 up to 6.12.*, from 6.18.8 up to 6.18.*, from 6.19 up to *
CVE List
linux linux_kernelfrom 4.17 before 6.12.69, from 6.13 before 6.18.8, 6.19NVD

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix data-race warning and potential load/store tearing Fix the following: BUG: KCSAN: data-race in rxrpc_peer_keepalive_worker / rxrpc_send_data_packet which is reporting an issue with the reads and writes to ->last_tx_at in: conn->peer->last_tx_at = ktime_get_seconds(); and: keepalive_at = peer->last_tx_at + RXRPC_KEEPALIVE_TIME; 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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rxrpc: Corregir la advertencia de condición de carrera de datos y el potencial desgarro de carga/almacenamiento Corregir lo siguiente: BUG: KCSAN: condición de carrera de datos en rxrpc_peer_keepalive_worker / rxrpc_send_data_packet que está informando un problema con las lecturas y escrituras a ->last_tx_at en: conn->peer->last_tx_at = ktime_get_seconds(); y: keepalive_at = peer->last_tx_at + RXRPC_KEEPALIVE_TIME; Los accesos sin bloqueo a estos dos valores no son realmente un problema, ya que la lectura solo necesita un tiempo aproximado de la última transmisión con el propósito de decidir si la transmisión de un paquete keepalive está justificada o no. Además, como ->last_tx_at es un valor de 64 bits, puede ocurrir desgarro en una arquitectura de 32 bits. Corregir ambos cambiando a un unsigned int para ->last_tx_at y almacenando solo el LSW del time64_t. Luego puede ser reconstruido cuando sea necesario, siempre que no hayan transcurrido más de 68 años desde la última transmisión.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23118 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-23118 changed 2026-11-05Public domain