CVE-2026-46048

Source
https://cve.org/CVERecord?id=CVE-2026-46048
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46048.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-46048
Downstream
Related
Published
2026-05-27T12:57:04.477Z
Modified
2026-06-18T03:54:23.668654258Z
Summary
ALSA: caiaq: fix usb_dev refcount leak on probe failure
Details

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

ALSA: caiaq: fix usb_dev refcount leak on probe failure

createcard() takes a reference on the USB device with usbgetdev() and stores the matching usbputdev() in cardfree(), which is installed as the sndcard's ->privatefree destructor.

However, ->privatefree is only assigned near the end of initcard(), after several failure points (usbsetinterface(), EP type checks, usbsubmiturb(), the EP1CMDGETDEVICEINFO exchange, and its timeout). When any of those fail, initcard() returns an error to sndprobe(), which calls sndcardfree(card). Because ->privatefree is still NULL, cardfree() never runs, the usbgetdev() reference is not dropped, and the struct usbdevice leaks along with its descriptor allocations and deviceprivate.

syzbot reproduces this with a malformed UAC3 device whose only valid altsetting is 0; initcard()'s usbsetinterface(usbdev, 0, 1) call fails with -EIO and triggers the leak.

Move the ->privatefree assignment into createcard(), immediately after usbgetdev(), so that every error path reaching sndcardfree() balances the reference. cardfree()'s callees (sndusbcaiaqinputfree, freeurbs, kfree) already tolerate the partially-initialized state because the chip private area is zero-initialized by sndcardnew().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46048.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
493b3a682ededc804555755f5d2193201339612d
Fixed
c874db8a1d2f9f08161470d00cfe8db2f5cca2cc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dbcf7588e8dea017ddb3f18ec2766f7d2e5f2a0e
Fixed
6fa8dff64fb6c401ced40a05797b327659317498
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ac7345f68cda6989016d85d63f7b244c064aa8f6
Fixed
a8d907acc3e5a078c2e5637ff60c30c6d2ddc23a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f6634af5de728a46792f674a66d7843570cb68f7
Fixed
50c6a1f05973f56d23280c9d7645a7a5734e0907
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1d9be95aee6c6246a21752e60c9519902649f482
Fixed
da3b8fd6a202d94fef11a443abc9171c52426a1c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6473ed16df1fe88051140611b3eb9a49be7f429e
Fixed
6153878c5255bb69b7d0868105ca078ef13cbcf8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
59b622a043cffc58b7638cd85ae6c30a0904f8e6
Fixed
21ca595aafa40d3ac70eab1f4cb62cc00ca21657
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
80bb50e2d459213cccff3111d5ef98ed4238c0d5
Fixed
7a5f1cd22d47f8ca4b760b6334378ae42c1bd24b

Affected versions

v6.*
v6.12.84
v6.12.85
v6.18.25
v6.18.26
v6.6.136
v6.6.137
v6.6.138
v6.6.139
v7.*
v7.0.2
v7.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46048.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.6.136
Fixed
6.6.140
Type
ECOSYSTEM
Events
Introduced
6.12.84
Fixed
6.12.86
Type
ECOSYSTEM
Events
Introduced
6.18.25
Fixed
6.18.27
Type
ECOSYSTEM
Events
Introduced
7.0.2
Fixed
7.0.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46048.json"