{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142873","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.334Z","datePublished":"2026-12-03T03:23:32.586Z","dateUpdated":"2026-12-03T03:23:32.586Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T03:23:32.586Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usb-audio: qcom: Check the return value of qmi_handle_init()\n\nqc_usb_audio_probe() overwrites the return value of qmi_handle_init()\nwith that of qmi_add_server() without checking it. When\nqmi_handle_init() fails, it has already freed the receive buffer and\ndestroyed the workqueue, and qmi->sock may hold an error pointer. If\nQRTR is not available, qmi_handle_init() returns -EPROBE_DEFER and\nqmi->sock is ERR_PTR(-EAFNOSUPPORT), so qmi_add_server() passes it to\nkernel_sendmsg():\n\n  BUG: unable to handle page fault for address: ffffffffffffffb7\n  RIP: 0010:selinux_socket_sendmsg+0xa0/0x590\n  Call Trace:\n   security_socket_sendmsg+0x29/0x50\n   __sock_sendmsg+0x43/0x150\n   kernel_sendmsg+0xd6/0x180\n   qmi_send_new_server+0x1b8/0x2b0\n   qmi_add_server+0x165/0x200\n   qc_usb_audio_probe+0xf4/0x2e0\n   really_probe+0x2b4/0x850\n\nHad the probe gone on, the error and remove paths would call\nqmi_handle_release() on the half-initialized handle, which destroys the\nworkqueue and frees the receive buffer a second time.\n\nReturn the error from qmi_handle_init(), so that -EPROBE_DEFER defers\nthe probe, and check qmi_add_server() as well.\n\nThe bug was found with kbound, a static analysis prototype for\nownership mismatches at kernel interfaces, on v7.2.12; it is present in\nmainline.\n\nBuild-tested with x86_64 and arm64 allmodconfig (W=1, sparse): no new\nwarnings. Run-tested on QEMU (x86_64, KVM) with KASAN and kmemleak, with\nthe driver built in and a test module that registers the\nq6usb.qc-usb-audio-offload auxiliary device. Without QRTR, the probe\ncrashes as above without this patch; with it the device is deferred and\nremoving it again reports nothing. With QRTR the probe succeeds, and\nremoval reports nothing either."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/qcom/qc_audio_offload.c"],"versions":[{"version":"326bbc348298ab0946c5560defe024a5f6ef28bb","lessThan":"a3eafb95da4a02ea656bf4d5ad735b953ae5626e","status":"affected","versionType":"git"},{"version":"326bbc348298ab0946c5560defe024a5f6ef28bb","lessThan":"bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a","status":"affected","versionType":"git"},{"version":"326bbc348298ab0946c5560defe024a5f6ef28bb","lessThan":"a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/qcom/qc_audio_offload.c"],"versions":[{"version":"6.16","status":"affected"},{"version":"0","lessThan":"6.16","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/a3eafb95da4a02ea656bf4d5ad735b953ae5626e"},{"url":"https://git.kernel.org/stable/c/bcb37b8abc6d4a1e2a6e7983d86a24e25f7ab53a"},{"url":"https://git.kernel.org/stable/c/a3cf5ebab5f1db9e6f751e2a08df05a84f37ea57"}],"title":"ALSA: usb-audio: qcom: Check the return value of qmi_handle_init()","x_generator":{"engine":"bippy-1.2.0"}}}}