# CVE-2023-53640: ASoC: lpass: Fix for KASAN use_after_free out of bounds

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-10-07T15:19:40.348Z
- Modified: 2026-08-05T09:15:17.951Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: lpass: Fix for KASAN use_after_free out of bounds

When we run syzkaller we get below Out of Bounds error.

"KASAN: slab-out-of-bounds Read in regcache_flat_read"

Below is the backtrace of the issue:

BUG: KASAN: slab-out-of-bounds in regcache_flat_read+0x10c/0x110
Read of size 4 at addr ffffff8088fbf714 by task syz-executor.4/14144
CPU: 6 PID: 14144 Comm: syz-executor.4 Tainted: G        W
Hardware name: Qualcomm Technologies, Inc. sc7280 CRD platform (rev5+) (DT)
Call trace:
dump_backtrace+0x0/0x4ec
show_stack+0x34/0x50
dump_stack_lvl+0xdc/0x11c
print_address_description+0x30/0x2d8
kasan_report+0x178/0x1e4
__asan_report_load4_noabort+0x44/0x50
regcache_flat_read+0x10c/0x110
regcache_read+0xf8/0x5a0
_regmap_read+0x45c/0x86c
_regmap_update_bits+0x128/0x290
regmap_update_bits_base+0xc0/0x15c
snd_soc_component_update_bits+0xa8/0x22c
snd_soc_component_write_field+0x68/0xd4
tx_macro_put_dec_enum+0x1d0/0x268
snd_ctl_elem_write+0x288/0x474

By Error checking and checking valid values issue gets rectifies.

(As written by CVE List.)

## Affected

- Linux Linux: from c39667ddcfc516fee084e449179d54430a558298 before 8f1512d78b5de928f4616a871e77b58fd546e651; from c39667ddcfc516fee084e449179d54430a558298 before 8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5; from c39667ddcfc516fee084e449179d54430a558298 before f5e61e3fe799ba2fda4320af23d26d28c3302045; from c39667ddcfc516fee084e449179d54430a558298 before 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1; 5.12 (not affected: before 5.12; from 5.15.114 up to 5.15.*; from 6.1.31 up to 6.1.*; from 6.3.5 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 5.12 before 5.15.114; from 5.16 before 6.1.31; from 6.2 before 6.3.5; 6.4

## Every score

- Linux: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/8f1512d78b5de928f4616a871e77b58fd546e651> (patch)
- <https://git.kernel.org/stable/c/8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5> (patch)
- <https://git.kernel.org/stable/c/f5e61e3fe799ba2fda4320af23d26d28c3302045> (patch)
- <https://git.kernel.org/stable/c/75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1> (patch)

## Sources

- CVE List: [CVE-2023-53640](https://www.cve.org/CVERecord?id=CVE-2023-53640), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53640](https://nvd.nist.gov/vuln/detail/CVE-2023-53640), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53640 · Whole record: https://cve.day/CVE-2023-53640.json · Rebuilt by cve.day 2026-11-25T22:58:34.981Z
