Linux: Incorrect Calculation
CVE-2024-41011 is a high-severity incorrect calculation 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 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884, f7276cdc1912325b64c33fcb1361952c06e55f63, 8ad4838040e5515939c071a0f511ce2661a0889d 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.22% 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 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884 or f7276cdc1912325b64c33fcb1361952c06e55f63 or 8ad4838040e5515939c071a0f511ce2661a0889d or 89fffbdf535ce659c1a26b51ad62070566e33b28, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.4.283 or 5.10.225 or 5.15.166 or 6.1.91, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | d8e408a82704c86ba87c3d58cfe69dcdb758aa07 up to, but not including, 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884; d8e408a82704c86ba87c3d58cfe69dcdb758aa07 up to, but not including, f7276cdc1912325b64c33fcb1361952c06e55f63; d8e408a82704c86ba87c3d58cfe69dcdb758aa07 up to, but not including, 8ad4838040e5515939c071a0f511ce2661a0889d; d8e408a82704c86ba87c3d58cfe69dcdb758aa07 up to, but not including, 89fffbdf535ce659c1a26b51ad62070566e33b28; d8e408a82704c86ba87c3d58cfe69dcdb758aa07 up to, but not including, 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724; d8e408a82704c86ba87c3d58cfe69dcdb758aa07 up to, but not including, 6186c93560889265bfe0914609c274eff40bbeb5; d8e408a82704c86ba87c3d58cfe69dcdb758aa07 up to, but not including, be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7; 5.3 | 009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884, f7276cdc1912325b64c33fcb1361952c06e55f63, 8ad4838040e5515939c071a0f511ce2661a0889d, 89fffbdf535ce659c1a26b51ad62070566e33b28, 4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724, 6186c93560889265bfe0914609c274eff40bbeb5 |
| Linux | Linux Kernel | 5.3 up to, but not including, 5.4.283; 5.5 up to, but not including, 5.10.225; 5.11 up to, but not including, 5.15.166; 5.16 up to, but not including, 6.1.91; 6.7 up to, but not including, 6.8.10; 6.9 | 5.4.283, 5.10.225, 5.15.166, 6.1.91, 6.8.10 |
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 | CNA |
| CVSS 3.1 | 7.8 | High | NVD |
Official description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: don't allow mapping the MMIO HDP page with large pages We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space into which you can remap registers. We remap the HDP flush registers into this space to allow userspace (CPU or GPU) to flush the HDP when it updates VRAM. However, on systems with >4K pages, we end up exposing PAGE_SIZE of MMIO space.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Calculation
The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.
How developers prevent this class of flaw
- Understand your programming language's underlying representation and how it interacts with numeric calculation. Pay close attention to byte size discrepancies, precision, signed/unsigned distinctions, truncation, conversion and casting between types, not-a-number calculations, and how your language handles numbers that are too large or too small for its underlying representation.
- Perform input validation on any numeric input by ensuring that it is within the expected range. Enforce that the input meets both the minimum and maximum requirements for the expected range.
- Use the appropriate type for the desired action. For example, in C/C++, only use unsigned types for values that could never be negative, such as height, width, or other numbers related to quantity.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/009c4d78bcf07c4ac2e3dd9f275b4eaa72b4f884
- git.kernel.org/stable/c/4b4cff994a27ebf7bd3fb9a798a1cdfa8d01b724
- git.kernel.org/stable/c/6186c93560889265bfe0914609c274eff40bbeb5
- git.kernel.org/stable/c/89fffbdf535ce659c1a26b51ad62070566e33b28
- git.kernel.org/stable/c/8ad4838040e5515939c071a0f511ce2661a0889d
- git.kernel.org/stable/c/be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7
- git.kernel.org/stable/c/f7276cdc1912325b64c33fcb1361952c06e55f63
Other references
Recent Incorrect Calculation vulnerabilities
- 7.8 High severity
- 9.8 Critical severity
- 7.5 High severity
- 8.8 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.