PT-2024-21467 · Linux+1 · Linux Kernel+1
Petr Tesarik
·
Published
2024-02-07
·
Updated
2024-11-06
·
CVE-2024-26690
CVSS v2.0
6.8
Medium
| Vector | AV:N/AC:L/Au:S/C:N/I:C/A:N |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the protection of updates of 64-bit statistics counters in the Linux kernel. A comment in <linux/u64 stats sync.h> explains that the write side of struct u64 stats sync must ensure mutual exclusion, or one seqcount update could be lost on 32-bit platforms, thus blocking readers forever. Such lockups have been observed in real-world scenarios after stmmac xmit() on one CPU raced with stmmac napi poll tx() on another CPU. The fix involves splitting the statics into three parts: fields updated only under the tx queue lock, fields updated only during NAPI poll, and fields updated only from interrupt context.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel
Red Os