{"id":"CVE-2025-68298","aliases":["CVE-2025-68298"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: btusb: mediatek: Avoid btusb_mtk_claim_iso_intf() NULL deref","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: mediatek: Avoid btusb_mtk_claim_iso_intf() NULL deref\n\nIn btusb_mtk_setup(), we set `btmtk_data->isopkt_intf` to:\n  usb_ifnum_to_if(data->udev, MTK_ISO_IFNUM)\n\nThat function can return NULL in some cases. Even when it returns\nNULL, though, we still go on to call btusb_mtk_claim_iso_intf().\n\nAs of commit e9087e828827 (\"Bluetooth: btusb: mediatek: Add locks for\nusb_driver_claim_interface()\"), calling btusb_mtk_claim_iso_intf()\nwhen `btmtk_data->isopkt_intf` is NULL will cause a crash because\nwe'll end up passing a bad pointer to device_lock(). Prior to that\ncommit we'd pass the NULL pointer directly to\nusb_driver_claim_interface() which would detect it and return an\nerror, which was handled.\n\nResolve the crash in btusb_mtk_claim_iso_intf() by adding a NULL check\nat the start of the function. This makes the code handle a NULL\n`btmtk_data->isopkt_intf` the same way it did before the problematic\ncommit (just with a slight change to the error message printed).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: mediatek: Avoid btusb_mtk_claim_iso_intf() NULL deref\n\nIn btusb_mtk_setup(), we set `btmtk_data->isopkt_intf` to:\n  usb_ifnum_to_if(data->udev, MTK_ISO_IFNUM)\n\nThat function can return NULL in some cases. Even when it returns\nNULL, though, we still go on to call btusb_mtk_claim_iso_intf().\n\nAs of commit e9087e828827 (\"Bluetooth: btusb: mediatek: Add locks for\nusb_driver_claim_interface()\"), calling btusb_mtk_claim_iso_intf()\nwhen `btmtk_data->isopkt_intf` is NULL will cause a crash because\nwe'll end up passing a bad pointer to device_lock(). Prior to that\ncommit we'd pass the NULL pointer directly to\nusb_driver_claim_interface() which would detect it and return an\nerror, which was handled.\n\nResolve the crash in btusb_mtk_claim_iso_intf() by adding a NULL check\nat the start of the function. This makes the code handle a NULL\n`btmtk_data->isopkt_intf` the same way it did before the problematic\ncommit (just with a slight change to the error message printed).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nBluetooth: btusb: mediatek: Evitar la desreferencia NULL de btusb_mtk_claim_iso_intf()\n\nEn btusb_mtk_setup(), establecemos btmtk_data -> isopkt_intf a:\n  usb_ifnum_to_if(data -> udev, MTK_ISO_IFNUM)\n\nEsa función puede devolver NULL en algunos casos. Sin embargo, incluso cuando devuelve NULL, seguimos llamando a btusb_mtk_claim_iso_intf().\n\nA partir del commit e9087e828827 ('Bluetooth: btusb: mediatek: Añadir bloqueos para usb_driver_claim_interface()'), llamar a btusb_mtk_claim_iso_intf() cuando btmtk_data -> isopkt_intf es NULL causará un fallo porque terminaremos pasando un puntero incorrecto a device_lock(). Antes de ese commit, pasaríamos el puntero NULL directamente a usb_driver_claim_interface(), que lo detectaría y devolvería un error, el cual era manejado.\n\nResolver el fallo en btusb_mtk_claim_iso_intf() añadiendo una comprobación de NULL al inicio de la función. Esto hace que el código maneje un btmtk_data -> isopkt_intf NULL de la misma manera que lo hacía antes del commit problemático (solo con un ligero cambio en el mensaje de error impreso).","source":"nvd"}],"published":"2025-12-16T15:06:17.526Z","modified":"2026-10-14T16:10:00.250Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"930e1790b99e5839e1af69d2f7fd808f1fba2df9","fixed":"2fa09fe98ca3b114d66285f65f7e108fea131815","status":"affected"},{"type":"git","introduced":"e9087e828827e5a5c85e124ce77503f2b81c3491","fixed":"c3b990e0b23068da65f0004cd38ee31f43f36460","status":"affected"},{"type":"git","introduced":"e9087e828827e5a5c85e124ce77503f2b81c3491","fixed":"c884a0b27b4586e607431d86a1aa0bb4fb39169c","status":"affected"},{"type":"git","version":"4194766ec8756f4f654d595ae49962acbac49490","status":"affected"},{"type":"semver","introduced":"6.12.13","fixed":"6.12.61","status":"affected"},{"type":"semver","introduced":"6.13.2","fixed":"6.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.12.61","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.11","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2fa09fe98ca3b114d66285f65f7e108fea131815","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3b990e0b23068da65f0004cd38ee31f43f36460","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c884a0b27b4586e607431d86a1aa0bb4fb39169c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68298","url":"https://www.cve.org/CVERecord?id=CVE-2025-68298","licence":"CVE Terms of Use","modified":"2026-05-23T16:02:35.979Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68298","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68298","licence":"Public domain","modified":"2026-10-14T16:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:09.532Z","epss":{"score":0.00197,"percentile":0.09876,"date":"2026-12-01T12:00:22.000Z"}}