CVE-2026-46048
ALSA: caiaq: fix usb_dev refcount leak on probe failure
At a glance
- Source
- NVD
- EPSS
- EPSS 0.12 % · percentile 2 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: caiaq: fix usb_dev refcount leak on probe failure create_card() takes a reference on the USB device with usb_get_dev() and stores the matching usb_put_dev() in card_free(), which is installed as the snd_card's ->private_free destructor. However, ->private_free is only assigned near the end of init_card(), after several failure points (usb_set_interface(), EP type checks, usb_submit_urb(), the EP1_CMD_GET_DEVICE_INFO exchange, and its timeout). When any of those fail, init_card() returns an error to snd_probe(), which calls snd_card_free(card). Because ->private_free is still NULL, card_free() never runs, the usb_get_dev() reference is not dropped, and the struct usb_device leaks along with its descriptor allocations and device_private. syzbot reproduces this with a malformed UAC3 device whose only valid altsetting is 0; init_card()'s usb_set_interface(usb_dev, 0, 1) call fails with -EIO and triggers the leak. Move the ->private_free assignment into create_card(), immediately after usb_get_dev(), so that every error path reaching snd_card_free() balances the reference. card_free()'s callees (snd_usb_caiaq_input_free, free_urbs, kfree) already tolerate the partially-initialized state because the chip private area is zero-initialized by snd_card_new().
References
- https://git.kernel.org/stable/c/c874db8a1d2f9f08161470d00cfe8db2f5cca2cc
- https://git.kernel.org/stable/c/6fa8dff64fb6c401ced40a05797b327659317498
- https://git.kernel.org/stable/c/a8d907acc3e5a078c2e5637ff60c30c6d2ddc23a
- https://git.kernel.org/stable/c/50c6a1f05973f56d23280c9d7645a7a5734e0907
- https://git.kernel.org/stable/c/da3b8fd6a202d94fef11a443abc9171c52426a1c
- https://git.kernel.org/stable/c/6153878c5255bb69b7d0868105ca078ef13cbcf8
- https://git.kernel.org/stable/c/21ca595aafa40d3ac70eab1f4cb62cc00ca21657
- https://git.kernel.org/stable/c/7a5f1cd22d47f8ca4b760b6334378ae42c1bd24b
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-32430
- GCVE · GCVE-0-2026-46048
CERT-FR advisories
- CERTFR-2026-AVI-1064 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0927 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0831 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0731 — Multiples vulnérabilités dans les produits Microsoft · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.6.136 < 6.6.140cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.12.84 < 6.12.86cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.18.25 < 6.18.27cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 7.0.2 < 7.0.4cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 493b3a682ededc804555755f5d2193201339612d < c874db8a1d2f9f08161470d00cfe8db2f5cca2cc ; affected dbcf7588e8dea017ddb3f18ec2766f7d2e5f2a0e < 6fa8dff64fb6c401ced40a05797b327659317498 ; affected ac7345f68cda6989016d85d63f7b244c064aa8f6 < a8d907acc3e5a078c2e5637ff60c30c6d2ddc23a ; affected f6634af5de728a46792f674a66d7843570cb68f7 < 50c6a1f05973f56d23280c9d7645a7a5734e0907 ; affected 1d9be95aee6c6246a21752e60c9519902649f482 < da3b8fd6a202d94fef11a443abc9171c52426a1c ; affected 6473ed16df1fe88051140611b3eb9a49be7f429e < 6153878c5255bb69b7d0868105ca078ef13cbcf8 |
| Linux · Linux | affected 6.6.136 < 6.6.140 ; affected 6.12.84 < 6.12.86 ; affected 6.18.25 < 6.18.27 ; affected 7.0.2 < 7.0.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |