# CVE-2023-53640: ASoC: lpass: Fix for KASAN use\_after\_free out of bounds

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-10-07T15:19:40.348Z
- **Modified:** 2026-08-05T09:15:17.951Z

## Who should check

- Anyone running Linux \>= c39667ddcfc516fee084e449179d54430a558298, \< 8f1512d78b5de928f4616a871e77b58fd546e651; \>= c39667ddcfc516fee084e449179d54430a558298, \< 8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5; \>= c39667ddcfc516fee084e449179d54430a558298, \< f5e61e3fe799ba2fda4320af23d26d28c3302045; \>= c39667ddcfc516fee084e449179d54430a558298, \< 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1
- Anyone running Linux 5.12

## 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.

## Affected and fixed versions

- Linux: \>= c39667ddcfc516fee084e449179d54430a558298, \< 8f1512d78b5de928f4616a871e77b58fd546e651; \>= c39667ddcfc516fee084e449179d54430a558298, \< 8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5; \>= c39667ddcfc516fee084e449179d54430a558298, \< f5e61e3fe799ba2fda4320af23d26d28c3302045; \>= c39667ddcfc516fee084e449179d54430a558298, \< 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1 (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- Upgrade Linux to 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53640. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53640.md
Affected: Linux >= c39667ddcfc516fee084e449179d54430a558298, < 8f1512d78b5de928f4616a871e77b58fd546e651; >= c39667ddcfc516fee084e449179d54430a558298, < 8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5; >= c39667ddcfc516fee084e449179d54430a558298, < f5e61e3fe799ba2fda4320af23d26d28c3302045; >= c39667ddcfc516fee084e44…
Fixed in: Linux 8f1512d78b5de928f4616a871e77b58fd546e651, Linux 8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5, Linux 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53640 being exploited?

There is no confirmed exploitation: CVE-2023-53640 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53640?

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53640?

Linux \>= c39667ddcfc516fee084e449179d54430a558298, \< 8f1512d78b5de928f4616a871e77b58fd546e651; \>= c39667ddcfc516fee084e449179d54430a558298, \< 8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5; \>= c39667ddcfc516fee084e449179d54430a558298, \< f5e61e3fe799ba2fda4320af23d26d28c3302045; \>= c39667ddcfc516fee084e449179d54430a558298, \< 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1; Linux 5.12.

### Is there a fix for CVE-2023-53640?

Yes. Fixed in Linux 8f1512d78b5de928f4616a871e77b58fd546e651, Linux 8d81d3b0ed3610d24191d24f8e9e20f6775f0cc5, Linux 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1. Upgrade Linux to 75e5fab7db0cecb6e16b22c34608f0b40a4c7cd1 or later.

### How do I check if I'm affected by CVE-2023-53640?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53640>

HTML: <https://flawdb.com/CVE-2023-53640> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53640>
