CVE-2024-26799·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]
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.7.9
- Published
- 2024-04-04
Affected versions
From: 6.7
Until: 6.7.9
Fixed in: 6.7.9
How to fix this CVE
Update your Linux kernel to version 6.7.9 or later to patch the uninitialized pointer vulnerability in the QCOM ASoC DMA controller driver. This fix ensures that the dmactl pointer is properly initialized to NULL, preventing potential null pointer dereferences when invalid DAI IDs are encountered. Apply the kernel update through your distribution's package manager and reboot the system.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range (6.7 to 6.7.8)
- Step 2: Verify if your system uses QCOM ASoC audio drivers by checking `lsmod | grep -i lpass` or `lsmod | grep -i qcom`
- Step 3: Search kernel logs for audio subsystem errors with `dmesg | grep -i 'lpass\|cdc\|dma' | grep -i error` to identify potential uninitialized pointer issues
- Step 4: After applying the update, verify the new kernel version with `uname -r` and confirm it is 6.7.9 or later
FAQ
What is CVE-2024-26799?
CVE-2024-26799 is a kernel vulnerability in the QCOM ASoC (Alsa System on Chip) DMA controller driver where a pointer variable was not initialized to NULL, potentially causing undefined behavior when invalid audio DAI (Digital Audio Interface) IDs are processed. This could lead to system crashes or unpredictable audio driver behavior.
Is CVE-2024-26799 being actively exploited?
No, CVE-2024-26799 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, systems running the vulnerable kernel versions should still apply the patch promptly.
What versions of Kernel are affected by CVE-2024-26799?
Linux kernel versions 6.7 through 6.7.8 are affected. The vulnerability is resolved in kernel 6.7.9 and later.
How do I check if my server is vulnerable to CVE-2024-26799?
Run `uname -r` to check your kernel version. If the output shows a kernel version between 6.7 and 6.7.8, and your system has QCOM ASoC audio support (verify with `lsmod | grep lpass`), your system is vulnerable.
Does Defensia detect CVE-2024-26799?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-26799 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1382d8b55129875b2e07c4d2a7ebc790183769ee
- https://git.kernel.org/stable/c/99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf
- https://git.kernel.org/stable/c/d5a7726e6ea62d447b79ab5baeb537ea6bdb225b
- https://git.kernel.org/stable/c/1382d8b55129875b2e07c4d2a7ebc790183769ee
- https://git.kernel.org/stable/c/99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-26799. Free for 1 server.
Get started free