{"id":"CVE-2026-46004","aliases":["CVE-2026-46004"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: caiaq: Handle probe errors properly","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: Handle probe errors properly\n\nThe probe procedure of setup_card() in caiaq driver doesn't treat the\nerror cases gracefully, e.g. the error from snd_card_register() calls\nsnd_card_free() but continues.  This would lead to a UAF for the\nfurther calls like snd_usb_caiaq_control_init(), as Berk suggested in\nanother patch in the link below.\n\nHowever, the problem is not only that; in general, this function drops\nthe all error handlings (as it's a void function) although its caller\ncan propagate an error to snd_probe(), which eventually calls\nsnd_card_free() as a proper error path.  That said, we should treat\neach error case in setup_card(), and just return the error code\npromptly, which is then handled later as a fatal error in snd_probe().\n\nThis patch achieves it by changing the setup_card() to return an error\ncode.  Also, the superfluous snd_card_free() call is removed, too.\n\nNote that card->private_free can be set still safely at returning an\nerror.  All called functions in card_free() have checks of the\nunassigned resources or NULL checks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: Handle probe errors properly\n\nThe probe procedure of setup_card() in caiaq driver doesn't treat the\nerror cases gracefully, e.g. the error from snd_card_register() calls\nsnd_card_free() but continues.  This would lead to a UAF for the\nfurther calls like snd_usb_caiaq_control_init(), as Berk suggested in\nanother patch in the link below.\n\nHowever, the problem is not only that; in general, this function drops\nthe all error handlings (as it's a void function) although its caller\ncan propagate an error to snd_probe(), which eventually calls\nsnd_card_free() as a proper error path.  That said, we should treat\neach error case in setup_card(), and just return the error code\npromptly, which is then handled later as a fatal error in snd_probe().\n\nThis patch achieves it by changing the setup_card() to return an error\ncode.  Also, the superfluous snd_card_free() call is removed, too.\n\nNote that card->private_free can be set still safely at returning an\nerror.  All called functions in card_free() have checks of the\nunassigned resources or NULL checks.","source":"cvelist"}],"published":"2026-05-27T12:56:01.851Z","modified":"2026-11-06T17:17:29.920Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"da938aa9fc7826901921dcea225948ab21a97e45","status":"affected"},{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"09616e25f502080ba684fc7fcf959d1376ab756d","status":"affected"},{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"b956e48371f2ff72b76be9a829800ecec963bd45","status":"affected"},{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"f537e3ad69609f6924a4db6b4a7f6561f5288bdd","status":"affected"},{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"6251e3e256337a30160ef59ab1580dde4d1acd28","status":"affected"},{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056","status":"affected"},{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"096dd8519cf2f768e9e14f224b627f7aaee1a9c5","status":"affected"},{"type":"git","introduced":"8e3cd08ed8e590952aa9a656758cb24d4ba898f8","fixed":"28abd224db4a49560b452115bca3672a20e45b2f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.25","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.25","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.140","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.86","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.27","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.4","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.25","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.140"},{"status":"affected","introduced":"6.7","fixed":"6.12.86"},{"status":"affected","introduced":"6.13","fixed":"6.18.27"},{"status":"affected","introduced":"6.19","fixed":"7.0.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/da938aa9fc7826901921dcea225948ab21a97e45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09616e25f502080ba684fc7fcf959d1376ab756d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b956e48371f2ff72b76be9a829800ecec963bd45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f537e3ad69609f6924a4db6b4a7f6561f5288bdd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6251e3e256337a30160ef59ab1580dde4d1acd28","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e59ecd4ee3a450db6cb4e4ecaa3efdd593f80056","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/096dd8519cf2f768e9e14f224b627f7aaee1a9c5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28abd224db4a49560b452115bca3672a20e45b2f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:04:49.755Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46004","url":"https://www.cve.org/CVERecord?id=CVE-2026-46004","licence":"CVE Terms of Use","modified":"2026-11-06T16:13:31.429Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46004","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46004","licence":"Public domain","modified":"2026-11-06T17:17:29.920Z"}],"updatedAt":"2026-11-25T22:59:22.542Z","epss":{"score":0.0013,"percentile":0.02809,"date":"2026-12-01T12:00:22.000Z"}}