{"id":"CVE-2026-31701","aliases":["CVE-2026-31701"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: caiaq: take a reference on the USB device in create_card()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: take a reference on the USB device in create_card()\n\nThe caiaq driver stores a pointer to the parent USB device in\ncdev->chip.dev but never takes a reference on it. The card's\nprivate_free callback, snd_usb_caiaq_card_free(), can run\nasynchronously via snd_card_free_when_closed() after the USB\ndevice has already been disconnected and freed, so any access to\ncdev->chip.dev in that path dereferences a freed usb_device.\n\nOn top of the refcounting issue, the current card_free implementation\ncalls usb_reset_device(cdev->chip.dev). A reset in a free callback\nis inappropriate: the device is going away, the call takes the\ndevice lock in a teardown context, and the reset races with the\ndisconnect path that the callback is already cleaning up after.\n\nTake a reference on the USB device in create_card() with\nusb_get_dev(), drop it with usb_put_dev() in the free callback,\nand remove the usb_reset_device() call.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: take a reference on the USB device in create_card()\n\nThe caiaq driver stores a pointer to the parent USB device in\ncdev->chip.dev but never takes a reference on it. The card's\nprivate_free callback, snd_usb_caiaq_card_free(), can run\nasynchronously via snd_card_free_when_closed() after the USB\ndevice has already been disconnected and freed, so any access to\ncdev->chip.dev in that path dereferences a freed usb_device.\n\nOn top of the refcounting issue, the current card_free implementation\ncalls usb_reset_device(cdev->chip.dev). A reset in a free callback\nis inappropriate: the device is going away, the call takes the\ndevice lock in a teardown context, and the reset races with the\ndisconnect path that the callback is already cleaning up after.\n\nTake a reference on the USB device in create_card() with\nusb_get_dev(), drop it with usb_put_dev() in the free callback,\nand remove the usb_reset_device() call.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nALSA: caiaq: tomar una referencia en el dispositivo USB en create_card()\n\nEl controlador caiaq almacena un puntero al dispositivo USB padre en cdev  ->  chip.dev pero nunca toma una referencia sobre él. La devolución de llamada private_free de la tarjeta, snd_usb_caiaq_card_free(), puede ejecutarse asincrónicamente a través de snd_card_free_when_closed() después de que el dispositivo USB ya haya sido desconectado y liberado, por lo que cualquier acceso a cdev  ->  chip.dev en esa ruta desreferencia un usb_device liberado.\n\nAdemás del problema de conteo de referencias, la implementación actual de card_free llama a usb_reset_device(cdev  ->  chip.dev). Un reinicio en una devolución de llamada de liberación es inapropiado: el dispositivo está desapareciendo, la llamada toma el bloqueo del dispositivo en un contexto de desmantelamiento, y el reinicio compite con la ruta de desconexión que la devolución de llamada ya está limpiando.\n\nTomar una referencia en el dispositivo USB en create_card() con usb_get_dev(), liberarla con usb_put_dev() en la devolución de llamada de liberación, y eliminar la llamada a usb_reset_device().","source":"nvd"}],"published":"2026-05-01T13:56:00.869Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4dd821dcbfcecf7af6a08370b0b217cde2818acf","fixed":"493b3a682ededc804555755f5d2193201339612d","status":"affected"},{"type":"git","introduced":"cadf1d8e9ddcd74584ec961aeac14ac549b261d8","fixed":"dbcf7588e8dea017ddb3f18ec2766f7d2e5f2a0e","status":"affected"},{"type":"git","introduced":"237f3faf0177bdde728fa3106d730d806436aa4d","fixed":"ac7345f68cda6989016d85d63f7b244c064aa8f6","status":"affected"},{"type":"git","introduced":"4507a8b9b30344c5ddd8219945f446d47e966a6d","fixed":"f6634af5de728a46792f674a66d7843570cb68f7","status":"affected"},{"type":"git","introduced":"a3f9314752dbb6f6aa1f0f2b4c58243bda800738","fixed":"1d9be95aee6c6246a21752e60c9519902649f482","status":"affected"},{"type":"git","introduced":"b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c","fixed":"6473ed16df1fe88051140611b3eb9a49be7f429e","status":"affected"},{"type":"git","introduced":"b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c","fixed":"59b622a043cffc58b7638cd85ae6c30a0904f8e6","status":"affected"},{"type":"git","introduced":"b04dcbb7f7b1908806b7dc22671cdbe78ff2b82c","fixed":"80bb50e2d459213cccff3111d5ef98ed4238c0d5","status":"affected"},{"type":"git","version":"3993edf44d3df7b6e8c753eac6ac8783473fcbab","status":"affected"},{"type":"git","version":"ebad462eec93b0f701dfe4de98990e7355283801","status":"affected"},{"type":"git","version":"dd0de8cb708951cebf727aa045e8242ba651bb52","status":"affected"},{"type":"semver","introduced":"5.10.231","fixed":"5.10.258","status":"affected"},{"type":"semver","introduced":"5.15.174","fixed":"5.15.209","status":"affected"},{"type":"semver","introduced":"6.1.120","fixed":"6.1.175","status":"affected"},{"type":"semver","introduced":"6.6.64","fixed":"6.6.136","status":"affected"},{"type":"semver","introduced":"6.12.2","fixed":"6.12.84","status":"affected"},{"type":"semver","introduced":"4.19.325","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.287","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.11.11","fixed":"6.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","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.136","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.84","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.25","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.2","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":"6.13","fixed":"6.18.25"},{"status":"affected","introduced":"6.19","fixed":"7.0.2"},{"status":"affected","version":"6.13"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/493b3a682ededc804555755f5d2193201339612d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbcf7588e8dea017ddb3f18ec2766f7d2e5f2a0e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac7345f68cda6989016d85d63f7b244c064aa8f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6634af5de728a46792f674a66d7843570cb68f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d9be95aee6c6246a21752e60c9519902649f482","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6473ed16df1fe88051140611b3eb9a49be7f429e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59b622a043cffc58b7638cd85ae6c30a0904f8e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80bb50e2d459213cccff3111d5ef98ed4238c0d5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T15:24:35.844Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31701","url":"https://www.cve.org/CVERecord?id=CVE-2026-31701","licence":"CVE Terms of Use","modified":"2026-11-06T15:32:23.615Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31701","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31701","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.337Z","epss":{"score":0.00119,"percentile":0.0194,"date":"2026-12-01T12:00:22.000Z"}}