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

CVE-2026-23118
MEDIUM 4.7

At a glance

Source
NVD
EPSS
EPSS 0.10 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected ace45bec6d77bc061c3c3d8ad99e298ea9800c2b < 49b8ef1abfe7713e15d9128006cb76e413b12b57 ; affected ace45bec6d77bc061c3c3d8ad99e298ea9800c2b < a426f29ac3fa3465093567ab763ada46762fb57c ; affected ace45bec6d77bc061c3c3d8ad99e298ea9800c2b < c08cf314191cd0f8699089715efb9eff030f0086 ; affected ace45bec6d77bc061c3c3d8ad99e298ea9800c2b < f8cf1368e0a5491b27189a695c36f64e48f3d19d ; affected ace45bec6d77bc061c3c3d8ad99e298ea9800c2b < 5d5fe8bcd331f1e34e0943ec7c18432edfcf0e8b
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.* ; unaffected 6.12.69 ≤ 6.12.* ; unaffected 6.18.8 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD