CVE-2024-43906 – drm/admgpu: fix dereferencing null pointer context
https://notcve.org/view.php?id=CVE-2024-43906
In the Linux kernel, the following vulnerability has been resolved: drm/admgpu: fix dereferencing null pointer context When user space sets an invalid ta type, the pointer context will be empty. So it need to check the pointer context before using it • https://git.kernel.org/stable/c/641dac64178ccdb9e45c92b67120316896294d05 https://git.kernel.org/stable/c/4fd52f7c2c11d330571c6bde06e5ea508ec25c9d https://git.kernel.org/stable/c/030ffd4d43b433bc6671d9ec34fc12c59220b95d •
CVE-2024-43905 – drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
https://notcve.org/view.php?id=CVE-2024-43905
In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr Check return value and conduct null pointer handling to avoid null pointer dereference. • https://git.kernel.org/stable/c/2ac9deb7e087f0b461c3559d9eaa6b9cf19d3fa8 https://git.kernel.org/stable/c/0fa11f9df96217c2785b040629ff1a16900fb51c https://git.kernel.org/stable/c/c2629daf218a325f4d69754452cd42fe8451c15b https://git.kernel.org/stable/c/2e538944996d0dd497faf8ee81f8bfcd3aca7d80 https://git.kernel.org/stable/c/69a441473fec2fc2aa2cf56122d6c42c4266a239 https://git.kernel.org/stable/c/50151b7f1c79a09117837eb95b76c2de76841dab •
CVE-2024-43904 – drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
https://notcve.org/view.php?id=CVE-2024-43904
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing This commit adds null checks for the 'stream' and 'plane' variables in the dcn30_apply_idle_power_optimizations function. These variables were previously assumed to be null at line 922, but they were used later in the code without checking if they were null. This could potentially lead to a null pointer dereference, which would cause a crash. The null checks ensure that 'stream' and 'plane' are not null before they are used, preventing potential crashes. Fixes the below static smatch checker: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn30/dcn30_hwseq.c:938 dcn30_apply_idle_power_optimizations() error: we previously assumed 'stream' could be null (see line 922) drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn30/dcn30_hwseq.c:940 dcn30_apply_idle_power_optimizations() error: we previously assumed 'plane' could be null (see line 922) • https://git.kernel.org/stable/c/16a8a2a839d19c4cf7253642b493ffb8eee1d857 https://git.kernel.org/stable/c/15c2990e0f0108b9c3752d7072a97d45d4283aea •
CVE-2024-43903 – drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
https://notcve.org/view.php?id=CVE-2024-43903
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update This commit adds a null check for the 'afb' variable in the amdgpu_dm_plane_handle_cursor_update function. Previously, 'afb' was assumed to be null, but was used later in the code without a null check. This could potentially lead to a null pointer dereference. Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_plane.c:1298 amdgpu_dm_plane_handle_cursor_update() error: we previously assumed 'afb' could be null (see line 1252) • https://git.kernel.org/stable/c/ce5d090af683137cb779ed7e3683839f9c778b35 https://git.kernel.org/stable/c/94220b35aeba2b68da81deeefbb784d94eeb5c04 https://git.kernel.org/stable/c/31a679a880102dee6e10985a7b1789af8dc328cc https://git.kernel.org/stable/c/38e6f715b02b572f74677eb2f29d3b4bc6f1ddff •
CVE-2024-43902 – drm/amd/display: Add null checker before passing variables
https://notcve.org/view.php?id=CVE-2024-43902
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null checker before passing variables Checks null pointer before passing variables to functions. This fixes 3 NULL_RETURNS issues reported by Coverity. • https://git.kernel.org/stable/c/d0b8b23b9c2ebec693a36fea518d8f13493ad655 https://git.kernel.org/stable/c/83c7f509ef087041604e9572938f82e18b724c9d https://git.kernel.org/stable/c/4cc2a94d96caeb3c975acdae7351c2f997c32175 https://git.kernel.org/stable/c/1686675405d07f35eae7ff3d13a530034b899df2 https://git.kernel.org/stable/c/8092aa3ab8f7b737a34b71f91492c676a843043a •