Linux: Off-by-one Error
CVE-2024-57990 is a high-severity off-by-one error vulnerability in Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions d03b8fe1b518fc2ea2d82588e905f56d80cd64b2, 2d1628d32300e4f67ac0b7409cbfa7b912a8fe9d, 08fa656c91fd5fdf47ba393795b9c0d1e97539ed as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.24% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to d03b8fe1b518fc2ea2d82588e905f56d80cd64b2 or 2d1628d32300e4f67ac0b7409cbfa7b912a8fe9d or 08fa656c91fd5fdf47ba393795b9c0d1e97539ed or 6.11, whichever matches your release line, or a later version.
- Update Linux Kernel to 6.11 or 6.12.13 or 6.13.2, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 9679ca7326e52282cc923c4d71d81c999cb6cd55 up to, but not including, d03b8fe1b518fc2ea2d82588e905f56d80cd64b2; 9679ca7326e52282cc923c4d71d81c999cb6cd55 up to, but not including, 2d1628d32300e4f67ac0b7409cbfa7b912a8fe9d; 9679ca7326e52282cc923c4d71d81c999cb6cd55 up to, but not including, 08fa656c91fd5fdf47ba393795b9c0d1e97539ed; fb60020cb5b3ea4715e538c77e745c16516c5656; ba09084d81c6480bd02fd74052045e533a5e8469; 6.10.13 up to, but not including, 6.11; 6.11.2 up to, but not including, 6.12; 6.12 | d03b8fe1b518fc2ea2d82588e905f56d80cd64b2, 2d1628d32300e4f67ac0b7409cbfa7b912a8fe9d, 08fa656c91fd5fdf47ba393795b9c0d1e97539ed, 6.11, 6.12 |
| Linux | Linux Kernel | 6.10.13 up to, but not including, 6.11; 6.11.2 up to, but not including, 6.12.13; 6.13 up to, but not including, 6.13.2 | 6.11, 6.12.13, 6.13.2 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.8 | High | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: fix off by one in mt7925_load_clc() This comparison should be >= instead of > to prevent an out of bounds read and write.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Off-by-one Error
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
How developers prevent this class of flaw
- When copying character arrays or using character manipulation methods, the correct size parameter must be used to account for the null terminator that needs to be added at the end of the array. Some examples of functions susceptible to this weakness in C include strcpy(), strncpy(), strcat(), strncat(), printf(), sprintf(), scanf() and sscanf().
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Recent Off-by-one Error vulnerabilities
- 7.5 High severity
- 7.1 High severity
- 9.8 Critical severity
- 7.8 High severity
- 7.1 High severity
- 7.1 High severity
Spotted an error? Tell us.