CVE-2024-57922

drm/amd/display: Add check for granularity in dml ceil/floor helpers

State
Published
Severity
5.5 Medium
Published
Jan 19, 2025
Updated
May 11, 2026
Reserved
Jan 19, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Add check for granularity in dml ceil/floor helpers

[Why] Wrapper functions for dcn_bw_ceil2() and dcn_bw_floor2() should check for granularity is non zero to avoid assert and divide-by-zero error in dcn_bw_ functions.

[How] Add check for granularity 0.

(cherry picked from commit f6e09701c3eb2ccb8cb0518e0b67f1c69742a4ec)

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 8a9315e6f7b2d94c65a1ba476481deddb20fc3aeAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 497471baf53bb8fd3cd1529d65d4d7f7b81f1917Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 95793f9684e58d2aa56671b2d616b4f9f577a0a8Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before f3d1e4062ef251fa55ccfeca1e54a98b6818b3a1Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before ae9ab63a268be99a27a4720ca24f6be801744feeAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 4f0dd09ed3001725ffd8cdc2868e71df585392feAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 0881fbc4fd62e00a2b8e102725f76d10351b2ea8Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.4.290 through 5.4.*Not affected
  • 5.10.234 through 5.10.*Not affected
  • 5.15.177 through 5.15.*Not affected
  • 6.1.125 through 6.1.*Not affected
  • 6.6.72 through 6.6.*Not affected
  • 6.12.10 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.