# CVE-2026-142873: ALSA: usb-audio: qcom: Check the return value of qmi\_handle\_init()

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:23:32.586Z
- **Modified:** 2026-12-03T04:18:25.377Z

> **AI summary (AI-generated, claude-haiku-5-5):** An attacker who can trigger the USB audio Qualcomm driver probe can crash the Linux kernel, because a failed qmi\_handle\_init() return value is ignored and an error pointer is used.

## Who should check

- Anyone running Linux \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< a3eafb95da4a02ea656bf4d5ad735b953ae5626e; \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a; \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57
- Anyone running Linux 6.16

## Description

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

ALSA: usb-audio: qcom: Check the return value of qmi\_handle\_init()

qc\_usb\_audio\_probe() overwrites the return value of qmi\_handle\_init()
with that of qmi\_add\_server() without checking it. When
qmi\_handle\_init() fails, it has already freed the receive buffer and
destroyed the workqueue, and qmi-\>sock may hold an error pointer. If
QRTR is not available, qmi\_handle\_init() returns -EPROBE\_DEFER and
qmi-\>sock is ERR\_PTR(-EAFNOSUPPORT), so qmi\_add\_server() passes it to
kernel\_sendmsg():

  BUG: unable to handle page fault for address: ffffffffffffffb7
  RIP: 0010:selinux\_socket\_sendmsg+0xa0/0x590
  Call Trace:
   security\_socket\_sendmsg+0x29/0x50
   \_\_sock\_sendmsg+0x43/0x150
   kernel\_sendmsg+0xd6/0x180
   qmi\_send\_new\_server+0x1b8/0x2b0
   qmi\_add\_server+0x165/0x200
   qc\_usb\_audio\_probe+0xf4/0x2e0
   really\_probe+0x2b4/0x850

Had the probe gone on, the error and remove paths would call
qmi\_handle\_release() on the half-initialized handle, which destroys the
workqueue and frees the receive buffer a second time.

Return the error from qmi\_handle\_init(), so that -EPROBE\_DEFER defers
the probe, and check qmi\_add\_server() as well.

The bug was found with kbound, a static analysis prototype for
ownership mismatches at kernel interfaces, on v7.2.12; it is present in
mainline.

Build-tested with x86\_64 and arm64 allmodconfig (W=1, sparse): no new
warnings. Run-tested on QEMU (x86\_64, KVM) with KASAN and kmemleak, with
the driver built in and a test module that registers the
q6usb.qc-usb-audio-offload auxiliary device. Without QRTR, the probe
crashes as above without this patch; with it the device is deferred and
removing it again reports nothing. With QRTR the probe succeeds, and
removal reports nothing either.

## Affected and fixed versions

- Linux: \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< a3eafb95da4a02ea656bf4d5ad735b953ae5626e; \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a; \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57 (cvelist)
- Linux: 6.16 (cvelist)

## Technologies

Linux kernel

## 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-2026-142873. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142873.md
Affected: Linux >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < a3eafb95da4a02ea656bf4d5ad735b953ae5626e; >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a; >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57; Linux 6.16
Fixed in: no fixed version listed yet

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-2026-142873 being exploited?

There is no confirmed exploitation: CVE-2026-142873 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142873?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142873?

Linux \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< a3eafb95da4a02ea656bf4d5ad735b953ae5626e; \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a; \>= 326bbc348298ab0946c5560defe024a5f6ef28bb, \< a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57; Linux 6.16.

### Is there a fix for CVE-2026-142873?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142873?

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/a3eafb95da4a02ea656bf4d5ad735b953ae5626e>
- other: <https://git.kernel.org/stable/c/bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a>
- other: <https://git.kernel.org/stable/c/a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57>

## 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-2026-142873>

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