# CVE-2023-54259: soundwire: bus: Fix unbalanced pm\_runtime\_put() causing usage count underflow

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 10, 2026-11-26)
- **Published:** 2025-12-30T12:15:53.540Z
- **Modified:** 2026-06-17T06:47:06.637Z

## Who should check

- Anyone running Linux \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< 4e5e9da139c007dfc397a159093b4c4187ee67fa; \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< 203aa4374c433159f163acde2d0bd4118f23bbaf; \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< e9537962519e88969f5f69cd0571eb4f6984403c
- Anyone running Linux 5.19

## Description

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

soundwire: bus: Fix unbalanced pm\_runtime\_put() causing usage count underflow

This reverts commit
443a98e649b4 ("soundwire: bus: use pm\_runtime\_resume\_and\_get()")

Change calls to pm\_runtime\_resume\_and\_get() back to pm\_runtime\_get\_sync().
This fixes a usage count underrun caused by doing a pm\_runtime\_put() even
though pm\_runtime\_resume\_and\_get() returned an error.

The three affected functions ignore -EACCES error from trying to get
pm\_runtime, and carry on, including a put at the end of the function.
But pm\_runtime\_resume\_and\_get() does not increment the usage count if it
returns an error. So in the -EACCES case you must not call
pm\_runtime\_put().

The documentation for pm\_runtime\_get\_sync() says:
 "Consider using pm\_runtime\_resume\_and\_get() ...  as this is likely to
 result in cleaner code."

In this case I don't think it results in cleaner code because the
pm\_runtime\_put() at the end of the function would have to be conditional on
the return value from pm\_runtime\_resume\_and\_get() at the top of the
function.

pm\_runtime\_get\_sync() doesn't have this problem because it always
increments the count, so always needs a put. The code can just flow through
and do the pm\_runtime\_put() unconditionally.

## Affected and fixed versions

- Linux: \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< 4e5e9da139c007dfc397a159093b4c4187ee67fa; \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< 203aa4374c433159f163acde2d0bd4118f23bbaf; \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< e9537962519e88969f5f69cd0571eb4f6984403c (cvelist)
- Linux: 5.19 (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-54259. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54259.md
Affected: Linux >= 443a98e649b469b4e6a2832799853a5764ef9002, < 4e5e9da139c007dfc397a159093b4c4187ee67fa; >= 443a98e649b469b4e6a2832799853a5764ef9002, < 203aa4374c433159f163acde2d0bd4118f23bbaf; >= 443a98e649b469b4e6a2832799853a5764ef9002, < e9537962519e88969f5f69cd0571eb4f6984403c; Linux 5.19
Fixed in: Linux 4e5e9da139c007dfc397a159093b4c4187ee67fa, Linux 203aa4374c433159f163acde2d0bd4118f23bbaf

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< 4e5e9da139c007dfc397a159093b4c4187ee67fa; \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< 203aa4374c433159f163acde2d0bd4118f23bbaf; \>= 443a98e649b469b4e6a2832799853a5764ef9002, \< e9537962519e88969f5f69cd0571eb4f6984403c; Linux 5.19.

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

Yes. Fixed in Linux 4e5e9da139c007dfc397a159093b4c4187ee67fa, Linux 203aa4374c433159f163acde2d0bd4118f23bbaf. No fix listed yet: follow the vendor advisory.

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

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/4e5e9da139c007dfc397a159093b4c4187ee67fa>
- other: <https://git.kernel.org/stable/c/203aa4374c433159f163acde2d0bd4118f23bbaf>
- other: <https://git.kernel.org/stable/c/e9537962519e88969f5f69cd0571eb4f6984403c>

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

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