{"id":"CVE-2026-99297","kind":"vulnerability","aliases":["CVE-2026-99297"],"related":[],"title":"Linux kernel: em28xx USB TV driver double-frees memory on allocation failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: em28xx: fix double free in em28xx_alloc_urbs\n\nWhen allocation of usb_bufs->buf[i] fails, em28xx_alloc_urbs()\nexplicitly frees all items within usb_bufs->buf before calling\nem28xx_uninit_usb_xfer(), which also frees these items, causing them to be\nfreed twice.\n\nBUG: KASAN: double-free in usb_free_urb.part.0 (drivers/usb/core/urb.c:25 ./include/linux/kref.h:65 drivers/usb/core/urb.c:96)\nFree of addr ffff88802fd37c00 by task kworker/1:2/1182\nWorkqueue: events request_module_async\nCall Trace:\n  kasan_report_invalid_free (mm/kasan/report.c:557)\n  check_slab_allocation (mm/kasan/common.c:235)\n  kfree (./include/linux/kasan.h:199 (discriminator 1) mm/slub.c:2693 (discriminator 1) mm/slub.c:6508 (discriminator 1) mm/slub.c:6801 (discriminator 1))\n  usb_free_urb.part.0 (drivers/usb/core/urb.c:25 ./include/linux/kref.h:65 drivers/usb/core/urb.c:96)\n  usb_free_urb (drivers/usb/core/urb.c:95)\n  em28xx_uninit_usb_xfer (drivers/media/usb/em28xx/em28xx-core.c:964)\n  em28xx_alloc_urbs (drivers/media/usb/em28xx/em28xx-core.c:1076)\n  em28xx_dvb_init (drivers/media/usb/em28xx/em28xx-dvb.c:1734 drivers/media/usb/em28xx/em28xx-dvb.c:1698)\n  em28xx_init_extension (drivers/media/usb/em28xx/em28xx-core.c:1248)\n  request_module_async (drivers/media/usb/em28xx/em28xx-cards.c:3685)\n  process_one_work (kernel/workqueue.c:3396)\n  worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)\n  kthread (kernel/kthread.c:436)\n  ret_from_fork (arch/x86/kernel/process.c:158)\n  ret_from_fork_asm (arch/x86/entry/entry_64.S:245)\n  Allocated by task 1182:\n  kasan_save_stack (mm/kasan/common.c:57)\n  kasan_save_track (mm/kasan/common.c:78)\n  __kasan_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415)\n  __kmalloc_noprof (./include/linux/kasan.h:263 mm/slub.c:5414 mm/slub.c:5439)\n  em28xx_alloc_urbs (./include/linux/slab.h:995 ./include/linux/slab.h:1312 drivers/media/usb/em28xx/em28xx-core.c:1081)\n  em28xx_dvb_init (drivers/media/usb/em28xx/em28xx-dvb.c:1734 drivers/media/usb/em28xx/em28xx-dvb.c:1698)\n  em28xx_init_extension (drivers/media/usb/em28xx/em28xx-core.c:1248)\n  request_module_async (drivers/media/usb/em28xx/em28xx-cards.c:3685)\n  process_one_work (kernel/workqueue.c:3396)\n  worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)\n  kthread (kernel/kthread.c:436)\n  ret_from_fork (arch/x86/kernel/process.c:158)\n  ret_from_fork_asm (arch/x86/entry/entry_64.S:245)\n  Freed by task 1182:\n  kasan_save_stack (mm/kasan/common.c:57)\n  kasan_save_track (mm/kasan/common.c:78)\n  kasan_save_free_info (mm/kasan/generic.c:584)\n  __kasan_slab_free (mm/kasan/common.c:253 mm/kasan/common.c:285)\n  kfree (./include/linux/kasan.h:235 mm/slub.c:2748 mm/slub.c:6508 mm/slub.c:6801)\n  em28xx_alloc_urbs (drivers/media/usb/em28xx/em28xx-core.c:1084)\n  em28xx_dvb_init (drivers/media/usb/em28xx/em28xx-dvb.c:1734 drivers/media/usb/em28xx/em28xx-dvb.c:1698)\n  em28xx_init_extension (drivers/media/usb/em28xx/em28xx-core.c:1248)\n  request_module_async (drivers/media/usb/em28xx/em28xx-cards.c:3685)\n  process_one_work (kernel/workqueue.c:3396)\n  worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)\n  kthread (kernel/kthread.c:436)\n  ret_from_fork (arch/x86/kernel/process.c:158)\n  ret_from_fork_asm (arch/x86/entry/entry_64.S:245)\n\nRemove the explicit cleanup loop and let em28xx_uninit_usb_xfer()\nhandle the cleanup.","summary":"In the Linux kernel's em28xx media driver, a failed USB buffer allocation frees the same buffers twice, which KASAN reports as a double free. The sources do not describe an attacker-controlled path or a demonstrated impact beyond the memory corruption itself.","severity":"low","cvss":null,"epss":0.00209,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["em28xx","infrastructure","linux-kernel","usb-tv-tuner"],"not_affected_if":["driver-not-loaded","no-em28xx-hardware"],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-11-16T10:17:02+00:00","first_seen_at":"2026-11-16T10:39:26+00:00","triaged_at":"2026-11-16T10:40:05+00:00","updated_at":"2026-11-16T18:53:18+00:00","category":"infrastructure","confidence":0.6,"triage":{"at":"2026-11-16T10:40:05Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"Linux kernel: em28xx USB TV driver double-frees memory on allocation failure","impact":"medium","summary":"In the Linux kernel's em28xx media driver, a failed USB buffer allocation frees the same buffers twice, which KASAN reports as a double free. The sources do not describe an attacker-controlled path or a demonstrated impact beyond the memory corruption itself.","audience":"everyone","category":"infrastructure","nicknames":[],"who_cares":["linux-kernel","em28xx","usb-tv-tuner"],"confidence":0.6,"fix_status":"unknown","needs_auth":"unknown","worst_case":"unknown memory corruption in the kernel, possibly code execution","analyst_note":"Confirm the fixed kernel version and whether a USB device can trigger the allocation failure path; check the upstream stable-kernel commit.","how_to_check":"- unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["driver-not-loaded","no-em28xx-hardware"],"who_is_affected":"Systems running a Linux kernel with the em28xx USB TV/DVB driver built in or loaded, typically machines with an em28xx-based USB TV tuner attached. The sources do not say whether an unprivileged user can trigger the failure path. Systems without this driver are not affected.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"low"},"cost_usd":0.000886,"input_tokens":6309,"output_tokens":510,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2026':15A,18A '-99297':16A,19A '/include/linux/kasan.h':168C,272C,357C '/include/linux/kref.h':137C,188C '/include/linux/slab.h':281C,283C '0':134C,185C '1':171C,175C,179C,183C '1076':207C '1081':286C '1084':369C '1182':253C,332C '1248':219C,298C,381C '1312':284C '158':243C,322C,405C '1698':214C,293C,376C '1734':212C,291C,374C '199':169C '2/1182':148C '235':166C,358C '245':249C,328C,411C '25':136C,187C '253':353C '263':273C '2693':173C '2748':360C '285':355C '3396':229C,308C,391C '3479':233C,312C,395C '3560':235C,314C,397C '3685':224C,303C,386C '398':267C '415':269C '436':238C,317C,400C '5414':275C '5439':277C '557':161C '57':258C,337C '584':348C '65':138C,189C '6508':177C,362C '6801':181C,364C '78':263C,342C '95':196C '96':140C,191C '964':202C '995':282C 'addr':143C 'alloc':12A,41B,89C,92C,100C,164C,204C,250C,279C,366C 'also':117C 'arch/x86/entry/entry_64.s':248C,327C,410C 'arch/x86/kernel/process.c':242C,321C,404C 'asm':247C,326C,409C 'async':153C,222C,301C,384C 'attack':61B 'attacker-control':60B 'beyond':68B 'buf':95C,96C,108C,109C 'buffer':40B,45B 'bug':127C 'call':111C,154C 'caus':121C 'check':162C 'cleanup':415C,425C 'control':62B 'corrupt':71B 'cve':14A,17A 'demonstr':66B 'describ':58B 'discrimin':170C,174C,178C,182C 'doubl':8A,52B,85C,130C 'double-fre':7A,129C 'driver':6A,36B 'drivers/media/usb/em28xx/em28xx-cards.c':223C,302C,385C 'drivers/media/usb/em28xx/em28xx-core.c':201C,206C,218C,285C,297C,368C,380C 'drivers/media/usb/em28xx/em28xx-dvb.c':211C,213C,290C,292C,373C,375C 'drivers/usb/core/urb.c':135C,139C,186C,190C,195C 'dvb':209C,288C,371C 'em28xx':3A,20B,34B,83C,88C,99C,112C,197C,203C,208C,215C,278C,287C,294C,365C,370C,377C,419C 'event':150C 'explicit':102C,414C 'extens':217C,296C,379C 'fail':38B,98C 'failur':13A 'ffff88802fd37c00':144C 'fix':84C 'follow':77C 'fork':241C,246C,320C,325C,403C,408C 'free':9A,42B,53B,86C,103C,118C,131C,141C,159C,193C,345C,351C 'freed':125C,329C 'handl':423C 'impact':67B 'info':346C 'infrastructur':21B 'init':210C,216C,289C,295C,372C,378C 'invalid':158C 'item':105C,120C 'kasan':48B,128C,156C,254C,259C,264C,333C,338C,343C,349C 'kernel':2A,24B,32B,75C 'kernel/kthread.c':237C,316C,399C 'kernel/workqueue.c':228C,232C,234C,307C,311C,313C,390C,394C,396C 'kfree':167C,356C 'kmalloc':265C,270C 'kthread':236C,315C,398C 'kworker/1':147C 'let':418C 'linux':1A,23B,31B,74C 'linux-kernel':22B 'loop':416C 'media':35B,82C 'memori':10A,70B 'mm/kasan/common.c':165C,257C,262C,266C,268C,336C,341C,352C,354C 'mm/kasan/generic.c':347C 'mm/kasan/report.c':160C 'mm/slub.c':172C,176C,180C,274C,276C,359C,361C,363C 'modul':152C,221C,300C,383C 'noprof':271C 'one':226C,305C,388C 'path':63B 'process':225C,304C,387C 'remov':412C 'report':49B,157C 'request':151C,220C,299C,382C 'resolv':81C 'ret':239C,244C,318C,323C,401C,406C 'save':255C,260C,334C,339C,344C 'slab':163C,350C 'sourc':55B 'stack':256C,335C 'task':146C,252C,331C 'thread':231C,310C,393C 'trace':155C 'track':261C,340C 'tuner':28B 'tv':5A,27B 'twice':46B,126C 'uninit':113C,198C,420C 'urb':90C,101C,194C,205C,280C,367C 'usb':4A,26B,39B,94C,107C,114C,192C,199C,421C 'usb-tv-tun':25B 'usb_free_urb.part':133C,184C 'vulner':78C 'within':106C 'work':227C,306C,389C 'worker':230C,309C,392C 'workqueu':149C 'xfer':115C,200C,422C","nicknames":[],"mitigations":[],"who_affected":"Systems running a Linux kernel with the em28xx USB TV/DVB driver built in or loaded, typically machines with an em28xx-based USB TV tuner attached. The sources do not say whether an unprivileged user can trigger the failure path. Systems without this driver are not affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"everyone","plain_action":null,"pkeys":[],"ptokens":[],"labels":["em28xx","infrastructure","linuxkernel","low","usbtvtuner"],"campaign_type":null,"search_a":"'-2026':15A,18A '-99297':16A,19A 'alloc':12A 'cve':14A,17A 'doubl':8A 'double-fre':7A 'driver':6A 'em28xx':3A 'failur':13A 'free':9A 'kernel':2A 'linux':1A 'memori':10A 'tv':5A 'usb':4A","search_b":"'alloc':41B 'attack':61B 'attacker-control':60B 'beyond':68B 'buffer':40B,45B 'control':62B 'corrupt':71B 'demonstr':66B 'describ':58B 'doubl':52B 'driver':36B 'em28xx':20B,34B 'fail':38B 'free':42B,53B 'impact':67B 'infrastructur':21B 'kasan':48B 'kernel':24B,32B 'linux':23B,31B 'linux-kernel':22B 'media':35B 'memori':70B 'path':63B 'report':49B 'sourc':55B 'tuner':28B 'tv':27B 'twice':46B 'usb':26B,39B 'usb-tv-tun':25B","search_c":"'/include/linux/kasan.h':168C,272C,357C '/include/linux/kref.h':137C,188C '/include/linux/slab.h':281C,283C '0':134C,185C '1':171C,175C,179C,183C '1076':207C '1081':286C '1084':369C '1182':253C,332C '1248':219C,298C,381C '1312':284C '158':243C,322C,405C '1698':214C,293C,376C '1734':212C,291C,374C '199':169C '2/1182':148C '235':166C,358C '245':249C,328C,411C '25':136C,187C '253':353C '263':273C '2693':173C '2748':360C '285':355C '3396':229C,308C,391C '3479':233C,312C,395C '3560':235C,314C,397C '3685':224C,303C,386C '398':267C '415':269C '436':238C,317C,400C '5414':275C '5439':277C '557':161C '57':258C,337C '584':348C '65':138C,189C '6508':177C,362C '6801':181C,364C '78':263C,342C '95':196C '96':140C,191C '964':202C '995':282C 'addr':143C 'alloc':89C,92C,100C,164C,204C,250C,279C,366C 'also':117C 'arch/x86/entry/entry_64.s':248C,327C,410C 'arch/x86/kernel/process.c':242C,321C,404C 'asm':247C,326C,409C 'async':153C,222C,301C,384C 'buf':95C,96C,108C,109C 'bug':127C 'call':111C,154C 'caus':121C 'check':162C 'cleanup':415C,425C 'discrimin':170C,174C,178C,182C 'doubl':85C,130C 'double-fre':129C 'drivers/media/usb/em28xx/em28xx-cards.c':223C,302C,385C 'drivers/media/usb/em28xx/em28xx-core.c':201C,206C,218C,285C,297C,368C,380C 'drivers/media/usb/em28xx/em28xx-dvb.c':211C,213C,290C,292C,373C,375C 'drivers/usb/core/urb.c':135C,139C,186C,190C,195C 'dvb':209C,288C,371C 'em28xx':83C,88C,99C,112C,197C,203C,208C,215C,278C,287C,294C,365C,370C,377C,419C 'event':150C 'explicit':102C,414C 'extens':217C,296C,379C 'fail':98C 'ffff88802fd37c00':144C 'fix':84C 'follow':77C 'fork':241C,246C,320C,325C,403C,408C 'free':86C,103C,118C,131C,141C,159C,193C,345C,351C 'freed':125C,329C 'handl':423C 'info':346C 'init':210C,216C,289C,295C,372C,378C 'invalid':158C 'item':105C,120C 'kasan':128C,156C,254C,259C,264C,333C,338C,343C,349C 'kernel':75C 'kernel/kthread.c':237C,316C,399C 'kernel/workqueue.c':228C,232C,234C,307C,311C,313C,390C,394C,396C 'kfree':167C,356C 'kmalloc':265C,270C 'kthread':236C,315C,398C 'kworker/1':147C 'let':418C 'linux':74C 'loop':416C 'media':82C 'mm/kasan/common.c':165C,257C,262C,266C,268C,336C,341C,352C,354C 'mm/kasan/generic.c':347C 'mm/kasan/report.c':160C 'mm/slub.c':172C,176C,180C,274C,276C,359C,361C,363C 'modul':152C,221C,300C,383C 'noprof':271C 'one':226C,305C,388C 'process':225C,304C,387C 'remov':412C 'report':157C 'request':151C,220C,299C,382C 'resolv':81C 'ret':239C,244C,318C,323C,401C,406C 'save':255C,260C,334C,339C,344C 'slab':163C,350C 'stack':256C,335C 'task':146C,252C,331C 'thread':231C,310C,393C 'trace':155C 'track':261C,340C 'twice':126C 'uninit':113C,198C,420C 'urb':90C,101C,194C,205C,280C,367C 'usb':94C,107C,114C,192C,199C,421C 'usb_free_urb.part':133C,184C 'vulner':78C 'within':106C 'work':227C,306C,389C 'worker':230C,309C,392C 'workqueu':149C 'xfer':115C,200C,422C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T10:17:02+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-99297","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99297","severity":null,"published_at":"2026-11-16T10:17:02+00:00","modified_at":"2026-11-16T10:17:02+00:00","first_seen_at":"2026-11-16T10:39:26+00:00","fetched_at":"2026-11-16T10:39:26+00:00","note":null},{"source":"epss","external_id":"CVE-2026-99297","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99297","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-11-16T18:53:18+00:00","fetched_at":"2026-11-16T18:53:18+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00209,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99297"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}