CVE-2024-49894 drm/amd/display: Fix index out of bounds in degamma hardware format translation
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix index out of bounds in degamma hardware format translation
Fixes index out of bounds issue in
cm_helper_translate_curve_to_degamma_hw_format function. The issue
could occur when the index 'i' exceeds the number of transfer function
points (TRANSFER_FUNC_POINTS).
The fix adds a check to ensure 'i' is within bounds before accessing the
transfer function points. If 'i' is out of bounds the function returns
false to indicate an error.
Reported by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:594 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.red' 1025 <= s32max
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:595 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.green' 1025 <= s32max
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_cm_common.c:596 cm_helper_translate_curve_to_degamma_hw_format() error: buffer overflow 'output_tf->tf_pts.blue' 1025 <= s32max
Upgrade path
14 packages: 12 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.115-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +27 more | 6.1.115-1 | Fixed |
| debian/linux(Debian 13) | < 6.11.4-1 | 6.11.4-1 | Fixed |
| debian/linux(Debian 14) | < 6.11.4-1 | 6.11.4-1 | Fixed |
| Linux kernel | < 4.19.323; < 5.4.285; < 5.10.227; < 5.15.168 +23 more | 2f5da549535be8ccd2ab7c9abac8562ad370b181, 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.55, 6.10.14, 6.11.3, 6.12, 122e3a7a8c7bcbe3aacddd6103f67f9f36bed473, 2495c8e272d84685403506833a664fad932e453a, 07078fa5d589a7fbce8f81ea8acf7aa0021ab38e, b3dfa878257a7e98830b3009ca5831a01d8f85fc, b7e99058eb2e86aabd7a10761e76cae33d22b49f, c130a3c09e3746c1a09ce26c20d21d449d039b1d, c6979719012a90e5b8e3bc31725fbfdd0b9b2b79, f5f6d90087131812c1e4b9d3103f400f1624396d | Fixed |
| Microsoft azure linux | < 6.6.57.1-2 | 6.6.57.1-2 | Fixed |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 | Fixed |
| Siemens sinec os | < 3.2 | 3.2 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-127.137 | 5.15.0-127.137 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-54.56 | 6.8.0-54.56 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1070.75 | 5.15.0-1070.75 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1066.69 | 5.15.0-1066.69 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
| Siemens simatic s7-1500 tm mfp firmware | = 1.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 6.6.57.1-2 | 6.6.57.1-2 |
| debian/linux(Debian:12) | < 6.1.115-1 | 6.1.115-1 |
| debian/linux(Debian:12) | = 6.1.106-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.112-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
Show 45 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.98-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.99-1 | No fix listed |
| debian/linux(Debian:13) | < 6.11.4-1 | 6.11.4-1 |
| debian/linux(Debian:14) | < 6.11.4-1 | 6.11.4-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-127.137 | 5.15.0-127.137 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1070.75 | 5.15.0-1070.75 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1066.69 | 5.15.0-1066.69 |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < b3dfa878257a7e98830b3009ca5831a01d8f85fc | b3dfa878257a7e98830b3009ca5831a01d8f85fc |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < f5f6d90087131812c1e4b9d3103f400f1624396d | f5f6d90087131812c1e4b9d3103f400f1624396d |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < c130a3c09e3746c1a09ce26c20d21d449d039b1d | c130a3c09e3746c1a09ce26c20d21d449d039b1d |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < c6979719012a90e5b8e3bc31725fbfdd0b9b2b79 | c6979719012a90e5b8e3bc31725fbfdd0b9b2b79 |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 2495c8e272d84685403506833a664fad932e453a | 2495c8e272d84685403506833a664fad932e453a |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 122e3a7a8c7bcbe3aacddd6103f67f9f36bed473 | 122e3a7a8c7bcbe3aacddd6103f67f9f36bed473 |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 2f5da549535be8ccd2ab7c9abac8562ad370b181 | 2f5da549535be8ccd2ab7c9abac8562ad370b181 |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < 07078fa5d589a7fbce8f81ea8acf7aa0021ab38e | 07078fa5d589a7fbce8f81ea8acf7aa0021ab38e |
| Linux kernel | >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < b7e99058eb2e86aabd7a10761e76cae33d22b49f | b7e99058eb2e86aabd7a10761e76cae33d22b49f |
| Linux kernel | = 4.15 | No fix listed |
| Linux kernel | < 4.19.323 | 4.19.323 |
| Linux kernel | < 5.4.285 | 5.4.285 |
| Linux kernel | < 5.10.227 | 5.10.227 |
| Linux kernel | < 5.15.168 | 5.15.168 |
| Linux kernel | < 6.1.113 | 6.1.113 |
| Linux kernel | < 6.6.55 | 6.6.55 |
| Linux kernel | < 6.10.14 | 6.10.14 |
| Linux kernel | < 6.11.3 | 6.11.3 |
| Linux kernel | < 6.12 | 6.12 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-54.56 | 6.8.0-54.56 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 |
| Siemens simatic s7-1500 tm mfp firmware | = 1.1 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| Linux kernel | >= 4.15, < 4.19.323 | 4.19.323 |
| Linux kernel | >= 4.20, < 5.4.285 | 5.4.285 |
| Linux kernel | >= 5.5, < 5.10.227 | 5.10.227 |
| Linux kernel | >= 5.11, < 5.15.168 | 5.15.168 |
| Linux kernel | >= 5.16, < 6.1.113 | 6.1.113 |
| Linux kernel | >= 6.2, < 6.6.55 | 6.6.55 |
| Linux kernel | >= 6.7, < 6.10.14 | 6.10.14 |
| Linux kernel | >= 6.11, < 6.11.3 | 6.11.3 |
| Siemens sinec os | < 3.2 | 3.2 |
References
- MSRC Security Update Guide vendor-advisory
- kernel vendor-advisory
- Debian Security Tracker CVE-2024-49894 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7166-1 vendor-advisory
- USN-7166-2 vendor-advisory
- USN-7166-3 vendor-advisory
- USN-7186-1 vendor-advisory
- USN-7186-2 vendor-advisory
- USN-7194-1 vendor-advisory
- USN-7166-4 vendor-advisory
- USN-7276-1 vendor-advisory
- USN-7277-1 vendor-advisory
- USN-7293-1 vendor-advisory
- USN-7294-1 vendor-advisory
- USN-7295-1 vendor-advisory
- USN-7301-1 vendor-advisory
- USN-7303-1 vendor-advisory
- USN-7304-1 vendor-advisory
- USN-7294-2 vendor-advisory
- USN-7294-3 vendor-advisory
- USN-7303-2 vendor-advisory
- USN-7310-1 vendor-advisory
- USN-7311-1 vendor-advisory
- USN-7303-3 vendor-advisory
- USN-7294-4 vendor-advisory
- USN-7384-1 vendor-advisory
- USN-7385-1 vendor-advisory
- USN-7386-1 vendor-advisory
- USN-7393-1 vendor-advisory
- USN-7384-2 vendor-advisory
- USN-7401-1 vendor-advisory
- USN-7403-1 vendor-advisory
- USN-7413-1 vendor-advisory
- USN-7468-1 vendor-advisory
- USN-7539-1 vendor-advisory
- USN-7540-1 vendor-advisory
- www.cve.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org mailing-list third-party-advisory
- lists.debian.org mailing-list third-party-advisory
- cert-portal.siemens.com third-party-advisory
- cert-portal.siemens.com third-party-advisory
- ENISA EUVD EUVD-2024-43593 third-party-advisory