THREATINT

We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Fathom (Privacy friendly web analytics)
Zendesk (Helpdesk and Chat)

Ok

Home | EN
Support
CVE
PUBLISHED

CVE-2024-26799

ASoC: qcom: Fix uninitialized pointer dmactl

AssignerLinux
Reserved2024-02-19
Published2024-04-04
Updated2024-06-04

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]

Product status

Default status
unaffected

b81af585ea54 before 99adc8b4d2f3
affected

b81af585ea54 before d5a7726e6ea6
affected

b81af585ea54 before 1382d8b55129
affected

Default status
affected

5.18
affected

Any version before 5.18
unaffected

6.6.21
unaffected

6.7.9
unaffected

6.8
unaffected

References

https://git.kernel.org/stable/c/99adc8b4d2f38bf0d06483ec845bc48f60c3f8cf

https://git.kernel.org/stable/c/d5a7726e6ea62d447b79ab5baeb537ea6bdb225b

https://git.kernel.org/stable/c/1382d8b55129875b2e07c4d2a7ebc790183769ee

cve.org CVE-2024-26799

nvd.nist.gov CVE-2024-26799

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-26799
© Copyright 2024 THREATINT. Made in Cyprus with +