Files
vuln-cve/data/2026/46xxx/CVE-2026-46048.json
T

190 lines
9.5 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-46048",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2026-05-13T15:03:33.094Z",
"datePublished": "2026-05-27T12:57:04.477Z",
"dateUpdated": "2026-06-14T17:50:34.000Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-06-14T17:50:34.000Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: fix usb_dev refcount leak on probe failure\n\ncreate_card() takes a reference on the USB device with usb_get_dev()\nand stores the matching usb_put_dev() in card_free(), which is\ninstalled as the snd_card's ->private_free destructor.\n\nHowever, ->private_free is only assigned near the end of init_card(),\nafter several failure points (usb_set_interface(), EP type checks,\nusb_submit_urb(), the EP1_CMD_GET_DEVICE_INFO exchange, and its\ntimeout). When any of those fail, init_card() returns an error to\nsnd_probe(), which calls snd_card_free(card). Because ->private_free\nis still NULL, card_free() never runs, the usb_get_dev() reference\nis not dropped, and the struct usb_device leaks along with its\ndescriptor allocations and device_private.\n\nsyzbot reproduces this with a malformed UAC3 device whose only valid\naltsetting is 0; init_card()'s usb_set_interface(usb_dev, 0, 1) call\nfails with -EIO and triggers the leak.\n\nMove the ->private_free assignment into create_card(), immediately\nafter usb_get_dev(), so that every error path reaching snd_card_free()\nbalances the reference. card_free()'s callees (snd_usb_caiaq_input_free,\nfree_urbs, kfree) already tolerate the partially-initialized state\nbecause the chip private area is zero-initialized by snd_card_new()."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"sound/usb/caiaq/device.c"
],
"versions": [
{
"version": "493b3a682ededc804555755f5d2193201339612d",
"lessThan": "c874db8a1d2f9f08161470d00cfe8db2f5cca2cc",
"status": "affected",
"versionType": "git"
},
{
"version": "dbcf7588e8dea017ddb3f18ec2766f7d2e5f2a0e",
"lessThan": "6fa8dff64fb6c401ced40a05797b327659317498",
"status": "affected",
"versionType": "git"
},
{
"version": "ac7345f68cda6989016d85d63f7b244c064aa8f6",
"lessThan": "a8d907acc3e5a078c2e5637ff60c30c6d2ddc23a",
"status": "affected",
"versionType": "git"
},
{
"version": "f6634af5de728a46792f674a66d7843570cb68f7",
"lessThan": "50c6a1f05973f56d23280c9d7645a7a5734e0907",
"status": "affected",
"versionType": "git"
},
{
"version": "1d9be95aee6c6246a21752e60c9519902649f482",
"lessThan": "da3b8fd6a202d94fef11a443abc9171c52426a1c",
"status": "affected",
"versionType": "git"
},
{
"version": "6473ed16df1fe88051140611b3eb9a49be7f429e",
"lessThan": "6153878c5255bb69b7d0868105ca078ef13cbcf8",
"status": "affected",
"versionType": "git"
},
{
"version": "59b622a043cffc58b7638cd85ae6c30a0904f8e6",
"lessThan": "21ca595aafa40d3ac70eab1f4cb62cc00ca21657",
"status": "affected",
"versionType": "git"
},
{
"version": "80bb50e2d459213cccff3111d5ef98ed4238c0d5",
"lessThan": "7a5f1cd22d47f8ca4b760b6334378ae42c1bd24b",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"sound/usb/caiaq/device.c"
],
"versions": [
{
"version": "6.6.136",
"lessThan": "6.6.140",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.12.84",
"lessThan": "6.12.86",
"status": "affected",
"versionType": "semver"
},
{
"version": "6.18.25",
"lessThan": "6.18.27",
"status": "affected",
"versionType": "semver"
},
{
"version": "7.0.2",
"lessThan": "7.0.4",
"status": "affected",
"versionType": "semver"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.6.136",
"versionEndExcluding": "6.6.140"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.12.84",
"versionEndExcluding": "6.12.86"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.18.25",
"versionEndExcluding": "6.18.27"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "7.0.2",
"versionEndExcluding": "7.0.4"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/c874db8a1d2f9f08161470d00cfe8db2f5cca2cc"
},
{
"url": "https://git.kernel.org/stable/c/6fa8dff64fb6c401ced40a05797b327659317498"
},
{
"url": "https://git.kernel.org/stable/c/a8d907acc3e5a078c2e5637ff60c30c6d2ddc23a"
},
{
"url": "https://git.kernel.org/stable/c/50c6a1f05973f56d23280c9d7645a7a5734e0907"
},
{
"url": "https://git.kernel.org/stable/c/da3b8fd6a202d94fef11a443abc9171c52426a1c"
},
{
"url": "https://git.kernel.org/stable/c/6153878c5255bb69b7d0868105ca078ef13cbcf8"
},
{
"url": "https://git.kernel.org/stable/c/21ca595aafa40d3ac70eab1f4cb62cc00ca21657"
},
{
"url": "https://git.kernel.org/stable/c/7a5f1cd22d47f8ca4b760b6334378ae42c1bd24b"
}
],
"title": "ALSA: caiaq: fix usb_dev refcount leak on probe failure",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}