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]
Metrics
Affected Vendors & Products
References
History
Fri, 01 Nov 2024 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
cvssV3_1
|
ssvc
|
Thu, 19 Sep 2024 10:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-822 |
MITRE
Status: PUBLISHED
Assigner: Linux
Published: 2024-04-04T08:20:27.888Z
Updated: 2024-11-05T09:16:02.668Z
Reserved: 2024-02-19T14:20:24.179Z
Link: CVE-2024-26799
Vulnrichment
Updated: 2024-08-02T00:14:13.565Z
NVD
Status : Awaiting Analysis
Published: 2024-04-04T09:15:08.953
Modified: 2024-11-01T15:35:10.707
Link: CVE-2024-26799
Redhat