CVE-2024-26799

High

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Fix uninitialized pointer dmactl In the case where __lpass_get_dmactl_handle is called and the driver id dai_id is invalid the pointer dmactl is not being assigned a value, and dmactl contains a garbage value since it has not been initialized and so the null check may not work. Fix this to initialize dmactl to NULL. One could argue that modern compilers will set this to zero, but it is useful to keep this initialized as per the same way in functions __lpass_platform_codec_intf_init and lpass_cdc_dma_daiops_hw_params. Cleans up clang scan build warning: sound/soc/qcom/lpass-cdc-dma.c:275:7: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]

SeverityHigh
CVSS7.0
Exploit probability—
ProductLinux Kernel
PublishedApr 4, 2024
First seenApr 4, 2024

How to fix

Update
  • linux linux_kernel6.6.21, 6.7.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel5.18 ≤ v < 6.6.21, 6.7 ≤ v < 6.7.9, 6.86.6.21, 6.7.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.