Bugzilla – Bug 1222067
VUL-0: CVE-2024-26648: kernel: drm/amd/display: variable deferencing before NULL check in edp_setup_replay()
Last modified: 2024-06-25 18:23:17 UTC
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay() In edp_setup_replay(), 'struct dc *dc' & 'struct dmub_replay *replay' was dereferenced before the pointer 'link' & 'replay' NULL check. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() warn: variable dereferenced before check 'link' (see line 933) References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26648 https://www.cve.org/CVERecord?id=CVE-2024-26648 https://git.kernel.org/stable/c/22ae604aea14756954e1c00ae653e34d2afd2935 https://git.kernel.org/stable/c/7073934f5d73f8b53308963cee36f0d389ea857c https://git.kernel.org/stable/c/c02d257c654191ecda1dc1af6875d527e85310e7
Looks like this was introduced in c7ddc0a800bc ("drm/amd/display: Add Functions to enable Freesync Panel Replay"), so it's already fixed in SLE15-SP6-GA, and does not affect cve/linux-5.14-LTSS and older branches.
Reassigning to a concrete person to ensure progress [1] (feel free to pass to next one), see also the process at [2]. Patrik, could you please handle this? Thanks! [1] https://confluence.suse.com/display/KSS/Kernel+Security+Sentinel [2] https://wiki.suse.net/index.php/SUSE-Labs/Kernel/Security
(In reply to Carlos López from comment #1) > Looks like this was introduced in c7ddc0a800bc ("drm/amd/display: Add > Functions to enable Freesync Panel Replay"), so it's already fixed in > SLE15-SP6-GA, and does not affect cve/linux-5.14-LTSS and older branches. This is correct. And metadata is updated for SLE15-SP6 branches. No further action required. Reassigning.