Cloudanix VulnDB

CVE-2023-53640

High · 7.8

CVSS

7.8

EPSS

0.2%

Published

Oct 7, 2025

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A bug in Linux audio handling code can let someone logged into the computer read or damage memory they should not access, risking crashes or unauthorized control of the machine.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
OS kernel
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Use-after-free in regcache_flat_read leads to slab-out-of-bounds read when snd_soc_component_write_field processes an invalid enum value without prior validation in the lpass audio driver.

Why it matters to the business

Local users on affected Linux kernels can trigger kernel memory corruption, leading to crashes, denial of service, or potential privilege escalation on systems using Qualcomm audio hardware.

How an attack unfolds

An attacker with local access crafts a malicious ALSA control write that calls tx_macro_put_dec_enum, which invokes regmap_update_bits without range checks, causing the regcache to access freed memory and read out-of-bounds data.

How to fix it

Update the Linux kernel to the commit 8f1512d78b5de928f4616a871e77b58fd546e651 or later stable releases that add proper error checking and valid-value validation before regcache accesses.

How to confirm the fix worked

Confirm the presence of the fix commit in the running kernel source, then re-run syzkaller or targeted ALSA control fuzzing to verify the out-of-bounds condition no longer occurs.

Typical attack path

  1. Obtain local shell access on a vulnerable Linux system
  2. Load or interact with the lpass audio codec driver
  3. Issue a crafted snd_ctl_elem_write call targeting the dec_enum control
  4. Trigger regcache_flat_read on an invalid or stale register value
  5. Read or corrupt adjacent kernel memory via the out-of-bounds access

How to detect it

Review kernel logs for KASAN slab-out-of-bounds reports mentioning regcache_flat_read or tx_macro_put_dec_enum; correlate with unusual ALSA control writes from untrusted processes.

What your security team should do

  • Prioritize kernel updates on all systems exposing ALSA audio controls to unprivileged users
  • Apply the fix commit or backport the validation checks if immediate reboot is not feasible
  • Restrict unprivileged access to audio mixer controls via SELinux or AppArmor policies until patched
  • Monitor for future syzkaller reports in the ASoC subsystem

The record

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 packages

Ecosystem Package Introduced Fixed
Linux Kernel 0 5.15.114
Linux Kernel 5.12.0 5.15.114
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-64kb 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-default 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-default-base 0 5.14.21-150500.55.127.1.150500.6.61.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-docs 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-obs-build 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-source 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS kernel-syms 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-64kb 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-default 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-default-base 0 5.14.21-150500.55.127.1.150500.6.61.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-docs 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-obs-build 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-source 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS kernel-syms 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Live Patching 15 SP5 kernel-default 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Live Patching 15 SP5 kernel-livepatch-SLE15-SP5_Update_32 0 1-150500.11.3.1
SUSE:Linux Enterprise Micro 5.5 kernel-default 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Micro 5.5 kernel-default-base 0 5.14.21-150500.55.127.1.150500.6.61.1
SUSE:Linux Enterprise Micro 5.5 kernel-source 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-64kb 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-default 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-default-base 0 5.14.21-150500.55.127.1.150500.6.61.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-docs 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-obs-build 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-source 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-syms 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server 15 SP5-LTSS kernel-zfcpdump 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 kernel-default 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 kernel-default-base 0 5.14.21-150500.55.127.1.150500.6.61.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 kernel-docs 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 kernel-obs-build 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 kernel-source 0 5.14.21-150500.55.127.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 kernel-syms 0 5.14.21-150500.55.127.1

Related vulnerabilities