Skip to content
FlawDB
Sign in

CVE-2026-142873

UNSCORED

ALSA: usb-audio: qcom: Check the return value of qmi_handle_init()

AI summary AI generated

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.

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

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

Vulnerability facts

Affected
Linux >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < a3eafb95da4a02ea656bf4d5ad735b953ae5626e; >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a; >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57; Linux 6.16
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
Published
Modified

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

Package / productAffectedFixedSource
Linux>= 326bbc348298ab0946c5560defe024a5f6ef28bb, < a3eafb95da4a02ea656bf4d5ad735b953ae5626e; >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a; >= 326bbc348298ab0946c5560defe024a5f6ef28bb, < a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57—cvelist
Linux6.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

Technologies

References

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.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
UNSCOREDCVE-2026-142948

i2c: designware: queue only one read command for block reads

Linux kernel
UNSCOREDCVE-2026-142947

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

Linux kernel
UNSCOREDCVE-2026-142946

ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142945

ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()

Linux kernel
UNSCOREDCVE-2026-142944

ASoC: amd: acp-es8336: Use an owned codec device reference

Linux kernel
Sponsors