CVE-2024-27041

MediumCVSS 5.5/10Last modified Oct 30, 2026

Description

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

drm/amd/display: fix NULL checks for adev->dm.dc in amdgpu_dm_fini()

Since 'adev->dm.dc' in amdgpu_dm_fini() might turn out to be NULL before the call to dc_enable_dmub_notifications(), check beforehand to ensure there will not be a possible NULL-ptr-deref there.

Also, since commit 1e88eb1b2c25 ("drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP") there are two separate checks for NULL in 'adev->dm.dc' before dc_deinit_callbacks() and dc_dmub_srv_destroy(). Clean up by combining them all under one 'if'.

Found by Linux Verification Center (linuxtesting.org) with static analysis tool SVACE.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 81927e2808be5adace93c2012d45d6938d3a7aa0, < cef0f2fe65ccee638e48fd5c1d590a3c0539acdd; >= 81927e2808be5adace93c2012d45d6938d3a7aa0, < e040f1fbe9abae91b12b074cfc3bbb5367b79811; >= 81927e2808be5adace93c2012d45d6938d3a7aa0, < ca2eb375db76fd50f31afdd67d6ca4f833254957; >= 81927e2808be5adace93c2012d45d6938d3a7aa0, < 1c62697e4086de988b31124fb8c79c244ea05f2b; >= 81927e2808be5adace93c2012d45d6938d3a7aa0, < 2a3cfb9a24a28da9cc13d2c525a76548865e182c
LinuxLinux5.14

References

Timeline

Published
May 1, 2024
Last modified
Oct 30, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-270437.8In the Linux kernel, the following vulnerability has been resolved: media: edia: dvbdev: fix a use-after-free In dvb_register_device, *pdvCVE-2024-270445.5In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_CVE-2024-270457.8In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix a potential buffer overflow in 'dp_dsc_clock_en_reCVE-2024-270465.5In the Linux kernel, the following vulnerability has been resolved: nfp: flower: handle acti_netdevs allocation failure The kmalloc_array(CVE-2024-270475.5In the Linux kernel, the following vulnerability has been resolved: net: phy: fix phy_get_internal_delay accessing an empty array The phy_CVE-2024-270485.5In the Linux kernel, the following vulnerability has been resolved: wifi: brcm80211: handle pmk_op allocation failure The kzalloc() in brcCVE-2024-270497.8In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925e: fix use-after-free in free_irq() From commit a304CVE-2024-27058.8A vulnerability, which was classified as critical, has been found in Tenda AC10U 1.0/15.03.06.49. Affected by this issue is the function forCVE-2024-270507.8In the Linux kernel, the following vulnerability has been resolved: libbpf: Use OPTS_SET() macro in bpf_xdp_query() When the feature_flagsCVE-2024-270515.5In the Linux kernel, the following vulnerability has been resolved: cpufreq: brcmstb-avs-cpufreq: add check for cpufreq_cpu_get's return vaCVE-2024-270527.8In the Linux kernel, the following vulnerability has been resolved: wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work The workqueue mCVE-2024-270538.8In the Linux kernel, the following vulnerability has been resolved: wifi: wilc1000: fix RCU usage in connect path With lockdep enabled, ca
CVE-2024-27041: Medium severity, CVSS 5.5 | Vulnix