Vulnerabilities · 2024 · Linux
CVE-2024-26799
Linux Kernel vulnerability
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]
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1382d8b55129875b2e07c4d2a7ebc790183769ee · Patch
- git.kernel.org/stable/c/99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf · Patch
- git.kernel.org/stable/c/d5a7726e6ea62d447b79ab5baeb537ea6bdb225b · Patch
- git.kernel.org/stable/c/3301f5513e668d47514f32b0fea39e85b1152010
- nvd.nist.gov/vuln/detail/CVE-2024-26799
- cve.org/CVERecord?id=CVE-2024-26799
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.