# CVE-2023-53866: ASoC: soc-compress: Reposition and add pcm\_mutex

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-09T01:30:35.817Z
- **Modified:** 2026-10-15T22:17:50.290Z

## Who should check

- Anyone running Linux \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< 9a9942cbdb7c3f41452f7bc4a9ff9f0b45eb3651; \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< 37a3eb6054d17676ce2a0bb5dd1fbf7733ecfa7d; \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< aa9ff6a4955fdba02b54fbc4386db876603703b7
- Anyone running Linux 5.17

## Description

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

ASoC: soc-compress: Reposition and add pcm\_mutex

If panic\_on\_warn is set and compress stream(DPCM) is started,
then kernel panic occurred because card-\>pcm\_mutex isn't held appropriately.
In the following functions, warning were issued at this line
"snd\_soc\_dpcm\_mutex\_assert\_held".

static int dpcm\_be\_connect(struct snd\_soc\_pcm\_runtime \*fe,
		struct snd\_soc\_pcm\_runtime \*be, int stream)
{
	...
	snd\_soc\_dpcm\_mutex\_assert\_held(fe);
	...
}

void dpcm\_be\_disconnect(struct snd\_soc\_pcm\_runtime \*fe, int stream)
{
	...
	snd\_soc\_dpcm\_mutex\_assert\_held(fe);
	...
}

void snd\_soc\_runtime\_action(struct snd\_soc\_pcm\_runtime \*rtd,
			    int stream, int action)
{
	...
	snd\_soc\_dpcm\_mutex\_assert\_held(rtd);
	...
}

int dpcm\_dapm\_stream\_event(struct snd\_soc\_pcm\_runtime \*fe, int dir,
	int event)
{
	...
	snd\_soc\_dpcm\_mutex\_assert\_held(fe);
	...
}

These functions are called by soc\_compr\_set\_params\_fe, soc\_compr\_open\_fe
and soc\_compr\_free\_fe
without pcm\_mutex locking. And this is call stack.

\[  414.527841\]\[ T2179\] pc : dpcm\_process\_paths+0x5a4/0x750
\[  414.527848\]\[ T2179\] lr : dpcm\_process\_paths+0x37c/0x750
\[  414.527945\]\[ T2179\] Call trace:
\[  414.527949\]\[ T2179\]  dpcm\_process\_paths+0x5a4/0x750
\[  414.527955\]\[ T2179\]  soc\_compr\_open\_fe+0xb0/0x2cc
\[  414.527972\]\[ T2179\]  snd\_compr\_open+0x180/0x248
\[  414.527981\]\[ T2179\]  snd\_open+0x15c/0x194
\[  414.528003\]\[ T2179\]  chrdev\_open+0x1b0/0x220
\[  414.528023\]\[ T2179\]  do\_dentry\_open+0x30c/0x594
\[  414.528045\]\[ T2179\]  vfs\_open+0x34/0x44
\[  414.528053\]\[ T2179\]  path\_openat+0x914/0xb08
\[  414.528062\]\[ T2179\]  do\_filp\_open+0xc0/0x170
\[  414.528068\]\[ T2179\]  do\_sys\_openat2+0x94/0x18c
\[  414.528076\]\[ T2179\]  \_\_arm64\_sys\_openat+0x78/0xa4
\[  414.528084\]\[ T2179\]  invoke\_syscall+0x48/0x10c
\[  414.528094\]\[ T2179\]  el0\_svc\_common+0xbc/0x104
\[  414.528099\]\[ T2179\]  do\_el0\_svc+0x34/0xd8
\[  414.528103\]\[ T2179\]  el0\_svc+0x34/0xc4
\[  414.528125\]\[ T2179\]  el0t\_64\_sync\_handler+0x8c/0xfc
\[  414.528133\]\[ T2179\]  el0t\_64\_sync+0x1a0/0x1a4
\[  414.528142\]\[ T2179\] Kernel panic - not syncing: panic\_on\_warn set ...

So, I reposition and add pcm\_mutex to resolve lockdep error.

## Affected and fixed versions

- Linux: \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< 9a9942cbdb7c3f41452f7bc4a9ff9f0b45eb3651; \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< 37a3eb6054d17676ce2a0bb5dd1fbf7733ecfa7d; \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< aa9ff6a4955fdba02b54fbc4386db876603703b7 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53866.md
Affected: Linux >= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, < 9a9942cbdb7c3f41452f7bc4a9ff9f0b45eb3651; >= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, < 37a3eb6054d17676ce2a0bb5dd1fbf7733ecfa7d; >= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, < aa9ff6a4955fdba02b54fbc4386db876603703b7; Linux 5.17
Fixed in: Linux 9a9942cbdb7c3f41452f7bc4a9ff9f0b45eb3651, Linux 37a3eb6054d17676ce2a0bb5dd1fbf7733ecfa7d

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-53866 being exploited?

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

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

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

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

Linux \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< 9a9942cbdb7c3f41452f7bc4a9ff9f0b45eb3651; \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< 37a3eb6054d17676ce2a0bb5dd1fbf7733ecfa7d; \>= b7898396f4bbe160f546d0c5e9fa17cca9a7d153, \< aa9ff6a4955fdba02b54fbc4386db876603703b7; Linux 5.17.

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

Yes. Fixed in Linux 9a9942cbdb7c3f41452f7bc4a9ff9f0b45eb3651, Linux 37a3eb6054d17676ce2a0bb5dd1fbf7733ecfa7d. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/9a9942cbdb7c3f41452f7bc4a9ff9f0b45eb3651>
- other: <https://git.kernel.org/stable/c/37a3eb6054d17676ce2a0bb5dd1fbf7733ecfa7d>
- other: <https://git.kernel.org/stable/c/aa9ff6a4955fdba02b54fbc4386db876603703b7>

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

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