Linux Kernel Out-of-Bounds Write
CVE-2024-53104 is a high-severity out-of-bounds write 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 95edf13a48e75dc2cc5b0bc57bf90d6948a22fe8, 684022f81f128338fe3587ec967459669a1204ae, faff5bbb2762c44ec7426037b3000e77a11d6773 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on February 5, 2025, which means attacks have been observed in the wild.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Linux to 95edf13a48e75dc2cc5b0bc57bf90d6948a22fe8 or 684022f81f128338fe3587ec967459669a1204ae or faff5bbb2762c44ec7426037b3000e77a11d6773 or 467d84dc78c9abf6b217ada22b3fdba336262e29, whichever matches your release line, or a later version.
- Update Linux Kernel to 4.19.324 or 5.4.286 or 5.10.230 or 5.15.172, whichever matches your release line, or a later version.
- CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, 95edf13a48e75dc2cc5b0bc57bf90d6948a22fe8; c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, 684022f81f128338fe3587ec967459669a1204ae; c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, faff5bbb2762c44ec7426037b3000e77a11d6773; c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, 467d84dc78c9abf6b217ada22b3fdba336262e29; c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, beced2cb09b58c1243733f374c560a55382003d6; c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, 575a562f7a3ec2d54ff77ab6810e3fbceef2a91d; c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, 622ad10aae5f5e03b7927ea95f7f32812f692bb5; c0efd232929c2cd87238de2cccdaf4e845be5b0c up to, but not including, 1ee9d9122801eb688783acd07791f2906b87cb4f; and 2 more ranges | 95edf13a48e75dc2cc5b0bc57bf90d6948a22fe8, 684022f81f128338fe3587ec967459669a1204ae, faff5bbb2762c44ec7426037b3000e77a11d6773, 467d84dc78c9abf6b217ada22b3fdba336262e29, beced2cb09b58c1243733f374c560a55382003d6, 575a562f7a3ec2d54ff77ab6810e3fbceef2a91d |
| Debian | Debian Linux | 11.0 | Not stated |
| Linux | Linux Kernel | 2.6.26 up to, but not including, 4.19.324; 4.20 up to, but not including, 5.4.286; 5.5 up to, but not including, 5.10.230; 5.11 up to, but not including, 5.15.172; 5.16 up to, but not including, 6.1.117; 6.2 up to, but not including, 6.6.61; 6.7 up to, but not including, 6.11.8; 6.12 up to, but not including, 6.12.1 | 4.19.324, 5.4.286, 5.10.230, 5.15.172, 6.1.117, 6.6.61 |
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: media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format This can lead to out of bounds writes since frames of this type were not taken into account when calculating the size of the frames buffer in uvc_parse_streaming.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples include the Safe C String Library (SafeStr) by Messier and Viega, and the Strsafe.h library from Microsoft. These libraries provide safer versions of overflow-prone string-handling functions.
- Use automatic buffer overflow detection mechanisms that are offered by certain compilers or compiler extensions. Examples include: the Microsoft Visual Studio /GS flag, Fedora/Red Hat FORTIFY_SOURCE GCC flag, StackGuard, and ProPolice, which provide various mechanisms including canary-based detection and range/index checking. D3-SFCV (Stack Frame Canary Validation) from D3FEND discusses canary-based detection in detail.
Timeline
- CVE record published.
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/1ee9d9122801eb688783acd07791f2906b87cb4f
- git.kernel.org/stable/c/467d84dc78c9abf6b217ada22b3fdba336262e29
- git.kernel.org/stable/c/575a562f7a3ec2d54ff77ab6810e3fbceef2a91d
- git.kernel.org/stable/c/622ad10aae5f5e03b7927ea95f7f32812f692bb5
- git.kernel.org/stable/c/684022f81f128338fe3587ec967459669a1204ae
- git.kernel.org/stable/c/95edf13a48e75dc2cc5b0bc57bf90d6948a22fe8
- git.kernel.org/stable/c/beced2cb09b58c1243733f374c560a55382003d6
- git.kernel.org/stable/c/ecf2b43018da9579842c774b7f35dbe11b5c38dd
- git.kernel.org/stable/c/faff5bbb2762c44ec7426037b3000e77a11d6773
Third-party and government advisories
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-53104US Government Resource
Other references
Recent Out-of-bounds Write vulnerabilities
- 8.1 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.