CVE-2024-49892: Linux kernel · drm/amd/display: Initialize get_bytes_per_element's default to 1
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.4.0-1142.152~18.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 23:43 UTC
- Patch
- Available – fixed in 5.4.0-1142.152~18.04.1, 5.4.0-1145.152~18.04.1, 5.4.0-1143.152~18.04.1 +80
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7166-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7166-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7166-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7186-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7186-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7194-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7166-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7276-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7277-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7293-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7294-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7295-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in multiple Linux kernel versions including 5.4.0-1142.152~18.04.1 and later. Users and administrators should update affected Linux kernel packages to these fixed versions as provided by their distribution vendors, such as Ubuntu's USN-7166-1 advisory. No additional mitigation is required beyond applying these official fixes.
Description
CVE-2024-49892 is a medium severity vulnerability in the Linux kernel's AMD display driver where the function get_bytes_per_element was not properly initialized, potentially causing divide-by-zero errors. This flaw was identified and fixed by ensuring the default return value of get_bytes_per_element is 1, preventing zero denominators. The issue affects multiple Linux kernel versions, particularly in the 5.4 and 4.11 to 4.13 series. The vulnerability was discovered through static analysis (Coverity) and fixed in various patched kernel releases. No known exploits are reported in the wild.
References
- ubuntu.com/security/CVE-2024-49892 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-49892 (opens in a new tab)
- git.kernel.org/linus/4067f4fa0423a89fb19a30b57231b384d77d2610 (opens in a new tab)
- git.kernel.org/stable/c/f921335123f6620c3dce5c96fbb95f18524a021c (opens in a new tab)
- git.kernel.org/stable/c/1f9f8186e239222f1c8d3dd73bf3bc6ae86c5e76 (opens in a new tab)
- git.kernel.org/stable/c/a23d6029e730f8a151b1a34afb169baac1274583 (opens in a new tab)
- git.kernel.org/stable/c/c7630935d9a4986e8c0ed91658a781b7a77d73f7 (opens in a new tab)
- git.kernel.org/stable/c/bc00d211da4ffad5314a2043b50bdc8ff8a33724 (opens in a new tab)
- git.kernel.org/stable/c/3334ab72cbba55a632f24579cd47c4a4e5e69cda (opens in a new tab)
- git.kernel.org/stable/c/4067f4fa0423a89fb19a30b57231b384d77d2610 (opens in a new tab)
- ubuntu.com/security/notices/USN-7166-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7166-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7166-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7186-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7186-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7194-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7166-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7276-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7277-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7293-1 (opens in a new tab)