CVE-2023-54245
kernel: ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 30, 2025
Updated · July 22, 2026
Description
A slab-out-of-bounds read vulnerability was found in the Linux kernel's ASoC tx-macro codec driver. The decimator variable was incorrectly sized at 32 bits, causing regcache_flat_read() to access memory beyond the allocated slab when reading register cache values during the tx_macro_digital_mute() operation. The fix limits the variable to u8 type.
Statement
This flaw affects systems with Qualcomm audio codec hardware using the tx-macro driver. The out-of-bounds read can cause a kernel crash when audio mute operations are performed. Exploitation requires local access and the presence of specific audio hardware, limiting the affected systems.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the snd_soc_tx_macro module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read