{"id":"CVE-2026-99305","kind":"vulnerability","aliases":["CVE-2026-99305"],"related":[],"title":"Linux kernel: udlfb EDID write frees mode list still used by console","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: udlfb: don't rebuild the mode list while the framebuffer is in use\n\ndlfb_setup_modes() frees info->modelist with fb_destroy_modelist() and\nrebuilds it, but fbcon holds raw pointers into that list in\nfb_display[i].mode and nothing un-publishes them the way\ndo_unregister_framebuffer() and store_modes() do with\nfbcon_delete_modelist(). The function does refuse to install a new mode\nwhile the framebuffer has users (dlfb->fb_count != 0), but only after the\nlist is already destroyed. Reached from the 0666 \"edid\" sysfs attribute,\nan unprivileged write to /sys/class/graphics/fb0/edid therefore fails with\n-EINVAL and still leaves every fb_display[i].mode dangling; the next\nconsole switch reads the freed fb_videomode in fb_videomode_to_var().\n\nTest fb_count before touching the list. fbcon takes a reference through\nfbcon_open(), so that condition covers exactly the states in which\nfb_display[] points into the list, and the errno returned to userspace is\nunchanged.\n\n  BUG: KASAN: slab-use-after-free in fb_videomode_to_var (drivers/video/fbdev/core/modedb.c:905)\n  Read of size 4 at addr ffff8880107b449c by task kworker/1:1/47\n  Workqueue: events console_callback\n  Call Trace:\n   fb_videomode_to_var (drivers/video/fbdev/core/modedb.c:905)\n   display_to_var (drivers/video/fbdev/core/fbcon.c:998)\n   fbcon_switch (drivers/video/fbdev/core/fbcon.c:2182)\n   redraw_screen (drivers/tty/vt/vt.c:994)\n   complete_change_console (drivers/tty/vt/vt_ioctl.c:1141)\n   console_callback (drivers/tty/vt/vt.c:3358)\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  ...\n  The buggy address is located 28 bytes inside of\n   freed 96-byte region [ffff8880107b4480, ffff8880107b44e0)","summary":"Writing to the framebuffer's EDID sysfs attribute in the udlfb driver frees the mode list while the console still points into it, causing a use-after-free on the next console switch. The sources describe a kernel memory-safety bug that can read freed memory and could crash the system or corrupt data.","severity":"high","cvss":null,"epss":0.00209,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["displaylink","fbdev","linux-kernel","runtime","udlfb","use-after-free"],"not_affected_if":["no-displaylink-device","no-displaylink-hardware","udlfb-not-loaded"],"how_to_check":"Vulnerable only if the udlfb module is built and a DisplayLink USB device is bound: run 'lsmod | grep udlfb' and 'ls /sys/class/graphics/fb*/edid' (the edid sysfs attribute is mode 0666). Also check whether your kernel source has the 'if (dlfb->fb_count)' check in dlfb_setup_modes in drivers/video/fbdev/udlfb.c. Workaround: blacklist udlfb if you do not use DisplayLink adapters.","fix":"Upstream commit ac9cfa552102b8e80e88c2872e80dc9cb5f07dda in udlfb (dlfb_setup_modes returns -EINVAL when fb_count != 0, before freeing the modelist). Queued as a 7.3-stable review patch. Released stable versions carrying it are unknown; check your distro kernel changelog for this commit or CVE.","status":"open","published_at":"2026-11-16T10:17:05+00:00","first_seen_at":"2026-11-16T10:39:27+00:00","triaged_at":"2026-11-16T10:39:56+00:00","updated_at":"2026-11-16T18:53:18+00:00","category":"runtime","confidence":0.7,"triage":{"at":"2026-11-16T10:39:56Z","model":"claude-haiku-5-5","output":{"fix":"- unknown","reach":"local","title":"Linux kernel: udlfb EDID write frees mode list still used by console","impact":"medium","summary":"Writing to the framebuffer's EDID sysfs attribute in the udlfb driver frees the mode list while the console still points into it, causing a use-after-free on the next console switch. The sources describe a kernel memory-safety bug that can read freed memory and could crash the system or corrupt data.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["linux-kernel","udlfb","displaylink","fbdev"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"local user triggers kernel use-after-free, possibly crashing the machine","analyst_note":"Find the fixed kernel versions and stable-branch commits for this udlfb fix in the kernel.org stable mailing list or the NVD entry for CVE-2026-99305.","how_to_check":"- unknown","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-displaylink-hardware","udlfb-not-loaded"],"who_is_affected":"Affects Linux systems running the kernel's udlfb driver for DisplayLink USB display adapters, where an unprivileged user can write to /sys/class/graphics/fb0/edid. The sources do not say which kernel versions are affected or which are fixed, so teams should check the kernel release and their vendor's advisories.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000809,"input_tokens":5320,"output_tokens":554,"severity_before":"unknown"},"analyst_status":"done","analyst_note":"Find the fixed kernel versions and stable-branch commits for this udlfb fix in the kernel.org stable mailing list or the NVD entry for CVE-2026-99305.","search":"'-2026':14A,17A '-99305':15A,18A '/sys/class/graphics/fb0/edid':192C '0':172C '0666':184C '1/47':281C '1141':311C '158':334C '2182':302C '245':340C '28':346C '3358':315C '3396':320C '3479':324C '3560':326C '4':274C '436':329C '905':270C,293C '96':351C '994':306C '998':298C 'addr':276C 'address':343C 'alreadi':179C 'arch/x86/entry/entry_64.s':339C 'arch/x86/kernel/process.c':333C 'asm':338C 'attribut':37B,187C 'bug':72B,257C 'buggi':342C 'byte':347C,352C 'call':286C 'callback':285C,313C 'caus':53B 'chang':308C 'complet':307C 'condit':236C 'consol':12A,48B,62B,208C,284C,309C,312C 'corrupt':84B 'could':79B 'count':171C,222C 'cover':237C 'crash':80B 'cve':13A,16A 'dangl':205C 'data':85B 'delet':153C 'describ':66B 'destroy':118C,180C 'display':133C,202C,244C,294C 'displaylink':19B 'dlfb':110C,169C 'driver':41B 'drivers/tty/vt/vt.c':305C,314C 'drivers/tty/vt/vt_ioctl.c':310C 'drivers/video/fbdev/core/fbcon.c':297C,301C 'drivers/video/fbdev/core/modedb.c':269C,292C 'edid':4A,35B,185C 'einval':196C 'errno':251C 'event':283C 'everi':200C 'exact':238C 'fail':194C 'fb':117C,132C,170C,201C,213C,216C,221C,243C,265C,288C 'fbcon':124C,152C,227C,232C,299C 'fbdev':20B,96C 'ffff8880107b4480':354C 'ffff8880107b449c':277C 'ffff8880107b44e0':355C 'follow':91C 'fork':332C,337C 'framebuff':33B,106C,146C,166C 'free':6A,29B,42B,58B,113C,263C 'freed':76B,212C,350C 'function':156C 'hold':125C 'info':114C 'insid':348C 'instal':160C 'kasan':258C 'kernel':2A,23B,68B,89C 'kernel/kthread.c':328C 'kernel/workqueue.c':319C,323C,325C 'kthread':327C 'kworker/1':280C 'leav':199C 'linux':1A,22B,88C 'linux-kernel':21B 'list':8A,45B,103C,130C,177C,226C,248C 'locat':345C 'memori':70B,77B 'memory-safeti':69B 'mode':7A,44B,102C,112C,135C,149C,163C,204C 'modelist':115C,119C,154C 'new':162C 'next':61B,207C 'noth':137C 'one':317C 'open':233C 'point':50B,245C 'pointer':127C 'process':316C 'publish':140C 'raw':126C 'reach':181C 'read':75B,210C,271C 'rebuild':100C,121C 'redraw':303C 'refer':230C 'refus':158C 'region':353C 'resolv':95C 'ret':330C,335C 'return':252C 'runtim':24B 'safeti':71B 'screen':304C 'setup':111C 'size':273C 'slab':260C 'slab-use-after-fre':259C 'sourc':65B 'state':240C 'still':9A,49B,198C 'store':148C 'switch':63B,209C,300C 'sysf':36B,186C 'system':82B 'take':228C 'task':279C 'test':220C 'therefor':193C 'thread':322C 'touch':224C 'trace':287C 'udlfb':3A,25B,40B,97C 'un':139C 'un-publish':138C 'unchang':256C 'unprivileg':189C 'unregist':145C 'use':10A,27B,56B,109C,261C 'use-after-fre':26B,55B 'user':168C 'userspac':254C 'var':219C,268C,291C,296C 'videomod':214C,217C,266C,289C 'vulner':92C 'way':143C 'work':318C 'worker':321C 'workqueu':282C 'write':5A,30B,190C","nicknames":[],"mitigations":[],"who_affected":"Linux machines running the udlfb framebuffer driver with a DisplayLink USB 2.0 graphics adapter attached. An unprivileged write to /sys/class/graphics/fb0/edid frees the mode list while fbcon still points into it, and the next console switch reads freed memory (KASAN use-after-free). Systems without udlfb or a DisplayLink device can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["displaylink","fbdev","high","linuxkernel","runtime","udlfb","useafterfree"],"campaign_type":null,"search_a":"'-2026':14A,17A '-99305':15A,18A 'consol':12A 'cve':13A,16A 'edid':4A 'free':6A 'kernel':2A 'linux':1A 'list':8A 'mode':7A 'still':9A 'udlfb':3A 'use':10A 'write':5A","search_b":"'attribut':37B 'bug':72B 'caus':53B 'consol':48B,62B 'corrupt':84B 'could':79B 'crash':80B 'data':85B 'describ':66B 'displaylink':19B 'driver':41B 'edid':35B 'fbdev':20B 'framebuff':33B 'free':29B,42B,58B 'freed':76B 'kernel':23B,68B 'linux':22B 'linux-kernel':21B 'list':45B 'memori':70B,77B 'memory-safeti':69B 'mode':44B 'next':61B 'point':50B 'read':75B 'runtim':24B 'safeti':71B 'sourc':65B 'still':49B 'switch':63B 'sysf':36B 'system':82B 'udlfb':25B,40B 'use':27B,56B 'use-after-fre':26B,55B 'write':30B","search_c":"'/sys/class/graphics/fb0/edid':192C '0':172C '0666':184C '1/47':281C '1141':311C '158':334C '2182':302C '245':340C '28':346C '3358':315C '3396':320C '3479':324C '3560':326C '4':274C '436':329C '905':270C,293C '96':351C '994':306C '998':298C 'addr':276C 'address':343C 'alreadi':179C 'arch/x86/entry/entry_64.s':339C 'arch/x86/kernel/process.c':333C 'asm':338C 'attribut':187C 'bug':257C 'buggi':342C 'byte':347C,352C 'call':286C 'callback':285C,313C 'chang':308C 'complet':307C 'condit':236C 'consol':208C,284C,309C,312C 'count':171C,222C 'cover':237C 'dangl':205C 'delet':153C 'destroy':118C,180C 'display':133C,202C,244C,294C 'dlfb':110C,169C 'drivers/tty/vt/vt.c':305C,314C 'drivers/tty/vt/vt_ioctl.c':310C 'drivers/video/fbdev/core/fbcon.c':297C,301C 'drivers/video/fbdev/core/modedb.c':269C,292C 'edid':185C 'einval':196C 'errno':251C 'event':283C 'everi':200C 'exact':238C 'fail':194C 'fb':117C,132C,170C,201C,213C,216C,221C,243C,265C,288C 'fbcon':124C,152C,227C,232C,299C 'fbdev':96C 'ffff8880107b4480':354C 'ffff8880107b449c':277C 'ffff8880107b44e0':355C 'follow':91C 'fork':332C,337C 'framebuff':106C,146C,166C 'free':113C,263C 'freed':212C,350C 'function':156C 'hold':125C 'info':114C 'insid':348C 'instal':160C 'kasan':258C 'kernel':89C 'kernel/kthread.c':328C 'kernel/workqueue.c':319C,323C,325C 'kthread':327C 'kworker/1':280C 'leav':199C 'linux':88C 'list':103C,130C,177C,226C,248C 'locat':345C 'mode':102C,112C,135C,149C,163C,204C 'modelist':115C,119C,154C 'new':162C 'next':207C 'noth':137C 'one':317C 'open':233C 'point':245C 'pointer':127C 'process':316C 'publish':140C 'raw':126C 'reach':181C 'read':210C,271C 'rebuild':100C,121C 'redraw':303C 'refer':230C 'refus':158C 'region':353C 'resolv':95C 'ret':330C,335C 'return':252C 'screen':304C 'setup':111C 'size':273C 'slab':260C 'slab-use-after-fre':259C 'state':240C 'still':198C 'store':148C 'switch':209C,300C 'sysf':186C 'take':228C 'task':279C 'test':220C 'therefor':193C 'thread':322C 'touch':224C 'trace':287C 'udlfb':97C 'un':139C 'un-publish':138C 'unchang':256C 'unprivileg':189C 'unregist':145C 'use':109C,261C 'user':168C 'userspac':254C 'var':219C,268C,291C,296C 'videomod':214C,217C,266C,289C 'vulner':92C 'way':143C 'work':318C 'worker':321C 'workqueu':282C 'write':190C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T10:17:05+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-99305","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99305","severity":null,"published_at":"2026-11-16T10:17:05+00:00","modified_at":"2026-11-16T10:17:05+00:00","first_seen_at":"2026-11-16T10:39:27+00:00","fetched_at":"2026-11-16T10:39:27+00:00","note":null},{"source":"analyst","external_id":"CVE-2026-99305:4097","url":"https://ci.syzbot.org/patches/29e7da10-0c15-4f7a-b52d-50e323c7471f","severity":null,"published_at":"2026-11-16T10:40:59+00:00","modified_at":"2026-11-16T10:40:59+00:00","first_seen_at":"2026-11-16T10:40:59+00:00","fetched_at":"2026-11-16T10:40:59+00:00","note":"Fix is upstream commit ac9cfa552102b8e80e88c2872e80dc9cb5f07dda (Xiang Mei, via Helge Deller; Cc stable), seen as a 7.3-stable review patch. NVD page returned no content; no released fixed version read, so fix versions unknown. Nothing marked verified.","cites":["https://ci.syzbot.org/patches/29e7da10-0c15-4f7a-b52d-50e323c7471f","https://nvd.nist.gov/vuln/detail/CVE-2026-99305"]},{"source":"epss","external_id":"CVE-2026-99305","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99305","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":[{"id":168995,"url":"https://ci.syzbot.org/patches/29e7da10-0c15-4f7a-b52d-50e323c7471f","title":"udlfb: fix use-after-free in dlfb_setup_modes (7.3-stable review patch, upstream ac9cfa552102)","kind":"other","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"fix","confidence":null,"note":null},{"id":168996,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99305","title":"NVD CVE-2026-99305","kind":"advisory","source":"analyst","publisher":null,"text":null,"published_at":null,"relation":"mentions","confidence":null,"note":null}],"disclosures":[],"exploit_sources":[{"type":"epss","score":0.00209,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99305"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}