{"id":"CVE-2026-93667","kind":"vulnerability","aliases":["CVE-2026-93667"],"related":[],"title":"Zephyr: VLAN frame on a down interface triggers a mistyped indirect call","description":"The Virtual L2 receive handler virtual_recv() in subsys/net/l2/virtual/virtual.c ends with a fall-through path meant for a virtual interface that has nothing attached below it: it takes net_if_get_device(iface)->api, treats it as a struct virtual_interface_api, and calls api->recv(iface, pkt). That handler is however also invoked with a non-virtual interface: ethernet_recv() in subsys/net/l2/ethernet/ethernet.c deliberately passes the Ethernet interface so that a tagged frame can be dispatched over the VLAN interfaces attached to it. For an Ethernet interface dev->api is a struct ethernet_api, whose layout only shares the leading struct net_if_api, so the slot read as recv is actually get_config() (default) or get_capabilities() (when CONFIG_NET_STATISTICS_ETHERNET is enabled).\n\nThe fall-through is reached whenever no attached virtual interface claims the frame - most simply when the VLAN interface owning the frame's tag exists but is administratively down, since net_eth_get_vlan_iface() resolves the tag without checking link state while virtual_recv() skips interfaces that are not up. Any host able to place an 802.1Q-tagged Ethernet frame on the same link can then trigger the mistyped indirect call; no authentication, IP reachability or user interaction is required, because the frame is consumed at L2 before any address check.\n\nThe resulting call passes a struct net_if  where the driver expects a struct device  and a struct net_pkt  where it expects a struct net_if , with the callee's remaining parameters left as whatever the call site happens to leave in the argument registers. Driver implementations dereference these values: get_capabilities() typically reads dev->config/dev->data (a wild read through a non-pointer field of struct net_if), and get_config() implementations write through the uninitialized struct ethernet_config * argument. The practical impact is undefined behaviour in the network RX path - crashes and uncontrolled memory corruption - plus mis-handling of the packet when a capability bitmask is returned as a net_verdict. The attacker controls neither the corrupted address nor the value written, so this is a denial-of-service and memory-corruption issue rather than a controllable write primitive.\n\nThe same defective fall-through is reachable through any_recv() in subsys/net/l2/dummy/any/any.c, which passes a dummy interface whose struct dummy_api is shorter than the offset read, producing an out-of-bounds read of the driver's API object followed by an indirect call. The fix drops any packet whose interface is not a Virtual L2 interface, closing both entry points.","summary":"Zephyr's virtual L2 receive handler falls through to an indirect call on the wrong structure when a tagged Ethernet frame arrives for a VLAN interface that is down. The call reads driver-side function pointers from the wrong type, leading to memory corruption and crashes in the network receive path.","severity":"medium","cvss":5.9,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["embedded","network-stack","runtime","vlan","zephyr"],"not_affected_if":["no-virtual-l2","no-vlan-interfaces"],"how_to_check":"- Check whether the device runs Zephyr with the Virtual L2 / VLAN networking layer enabled (`subsys/net/l2/virtual`, VLAN interfaces configured).\n- Check the Zephyr version against the fixed release (unknown from the sources).\n- Check whether `CONFIG_NET_STATISTICS_ETHERNET` is enabled, which changes which driver slot is read.","fix":null,"status":"open","published_at":"2026-11-16T22:18:26+00:00","first_seen_at":"2026-11-16T22:39:15+00:00","triaged_at":"2026-11-16T22:41:01+00:00","updated_at":"2026-11-16T22:41:01+00:00","category":"runtime","confidence":0.7,"triage":{"at":"2026-11-16T22:41:01Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"local","title":"Zephyr: VLAN frame on a down interface triggers a mistyped indirect call","impact":"medium","summary":"Zephyr's virtual L2 receive handler falls through to an indirect call on the wrong structure when a tagged Ethernet frame arrives for a VLAN interface that is down. The call reads driver-side function pointers from the wrong type, leading to memory corruption and crashes in the network receive path.","audience":"developers","category":"runtime","nicknames":[],"who_cares":["zephyr","embedded","vlan","network-stack"],"confidence":0.7,"fix_status":"unknown","needs_auth":"no","worst_case":"Memory corruption and crash in the network receive path","analyst_note":"Confirm the fixed Zephyr version and whether the patch link names the affected release line; the sources list only a fix and advisory link.","how_to_check":"- Check whether the device runs Zephyr with the Virtual L2 / VLAN networking layer enabled (`subsys/net/l2/virtual`, VLAN interfaces configured).\n- Check the Zephyr version against the fixed release (unknown from the sources).\n- Check whether `CONFIG_NET_STATISTICS_ETHERNET` is enabled, which changes which driver slot is read.","plain_action":"","product_name":"zephyr","needs_analyst":true,"not_affected_if":["no-vlan-interfaces","no-virtual-l2"],"who_is_affected":"Only Zephyr builds that use the virtual L2 layer with VLAN interfaces, or the dummy 'any' L2 interface, are exposed. Any host on the same Ethernet link that can send 802.1Q-tagged frames can reach the defect before any IP address check, with no authentication needed. Systems that do not use VLAN interfaces on Zephyr networking can skip it.","user_interaction":"no","product_ecosystem":"runtime","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000883,"input_tokens":5374,"output_tokens":691,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-2026':14A,17A '-93667':15A,18A '802.1':263C 'abl':259C 'actual':191C 'address':298C,422C 'administr':233C 'also':131C 'api':112C,120C,123C,168C,173C,183C,467C,485C 'argument':344C,382C 'arriv':47B 'attach':102C,160C,213C 'attack':417C 'authent':281C 'behaviour':388C 'bitmask':409C 'bound':479C 'call':12A,37B,56B,122C,279C,302C,337C,491C 'calle':329C 'capabl':197C,352C,408C 'check':245C,299C 'claim':216C 'close':505C 'config':193C,199C,373C,381C 'config/dev-':356C 'consum':293C 'control':418C,443C 'corrupt':70B,398C,421C,438C 'crash':72B,394C 'cve':13A,16A 'data':357C 'default':194C 'defect':448C 'deliber':143C 'denial':432C 'denial-of-servic':431C 'derefer':348C 'dev':167C,355C 'devic':110C,314C 'dispatch':155C 'driver':59B,310C,346C,483C 'driver-sid':58B 'drop':494C 'dummi':462C,466C 'embed':19B 'enabl':204C 'end':87C 'entri':507C 'eth':237C 'ethernet':45B,139C,146C,165C,172C,202C,267C,380C 'exist':230C 'expect':311C,322C 'fall':32B,91C,207C,450C 'fall-through':90C,206C,449C 'field':366C 'fix':493C 'follow':487C 'frame':3A,46B,152C,218C,227C,268C,291C 'function':61B 'get':109C,192C,196C,238C,351C,372C 'handl':402C 'handler':31B,82C,128C 'happen':339C 'host':258C 'howev':130C 'ifac':111C,125C,240C 'impact':385C 'implement':347C,374C 'indirect':11A,36B,278C,490C 'interact':286C 'interfac':7A,51B,98C,119C,138C,147C,159C,166C,215C,224C,252C,463C,498C,504C 'invok':132C 'ip':282C 'issu':439C 'l2':29B,80C,295C,503C 'layout':175C 'lead':67B,179C 'leav':341C 'left':333C 'link':246C,272C 'meant':94C 'memori':69B,397C,437C 'memory-corrupt':436C 'mis':401C 'mis-handl':400C 'mistyp':10A,277C 'neither':419C 'net':107C,181C,200C,236C,306C,318C,325C,369C,414C 'network':21B,75B,391C 'network-stack':20B 'non':136C,364C 'non-point':363C 'non-virtu':135C 'noth':101C 'object':486C 'offset':472C 'out-of-bound':476C 'own':225C 'packet':405C,496C 'paramet':332C 'pass':144C,303C,460C 'path':77B,93C,393C 'pkt':126C,319C 'place':261C 'plus':399C 'point':508C 'pointer':62B,365C 'practic':384C 'primit':445C 'produc':474C 'q':265C 'q-tag':264C 'rather':440C 'reach':210C 'reachabl':283C,453C 'read':57B,187C,354C,360C,473C,480C 'receiv':30B,76B,81C 'recv':84C,124C,140C,189C,250C,456C 'regist':345C 'remain':331C 'requir':288C 'resolv':241C 'result':301C 'return':411C 'runtim':23B 'rx':392C 'servic':434C 'share':177C 'shorter':469C 'side':60B 'simpli':220C 'sinc':235C 'site':338C 'skip':251C 'slot':186C 'stack':22B 'state':247C 'statist':201C 'struct':117C,171C,180C,305C,313C,317C,324C,368C,379C,465C 'structur':41B 'subsys/net/l2/dummy/any/any.c':458C 'subsys/net/l2/ethernet/ethernet.c':142C 'subsys/net/l2/virtual/virtual.c':86C 'tag':44B,151C,229C,243C,266C 'take':106C 'treat':113C 'trigger':8A,275C 'type':66B 'typic':353C 'uncontrol':396C 'undefin':387C 'uniniti':378C 'user':285C 'valu':350C,425C 'verdict':415C 'virtual':28B,79C,83C,97C,118C,137C,214C,249C,502C 'vlan':2A,24B,50B,158C,223C,239C 'whatev':335C 'whenev':211C 'whose':174C,464C,497C 'wild':359C 'without':244C 'write':375C,444C 'written':426C 'wrong':40B,65B 'zephyr':1A,25B,26B","nicknames":[],"mitigations":[],"who_affected":"Only Zephyr builds that use the virtual L2 layer with VLAN interfaces, or the dummy 'any' L2 interface, are exposed. Any host on the same Ethernet link that can send 802.1Q-tagged frames can reach the defect before any IP address check, with no authentication needed. Systems that do not use VLAN interfaces on Zephyr networking can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["embedded","medium","networkstack","runtime","vlan","zephyr"],"campaign_type":null,"search_a":"'-2026':14A,17A '-93667':15A,18A 'call':12A 'cve':13A,16A 'frame':3A 'indirect':11A 'interfac':7A 'mistyp':10A 'trigger':8A 'vlan':2A 'zephyr':1A","search_b":"'arriv':47B 'call':37B,56B 'corrupt':70B 'crash':72B 'driver':59B 'driver-sid':58B 'embed':19B 'ethernet':45B 'fall':32B 'frame':46B 'function':61B 'handler':31B 'indirect':36B 'interfac':51B 'l2':29B 'lead':67B 'memori':69B 'network':21B,75B 'network-stack':20B 'path':77B 'pointer':62B 'read':57B 'receiv':30B,76B 'runtim':23B 'side':60B 'stack':22B 'structur':41B 'tag':44B 'type':66B 'virtual':28B 'vlan':24B,50B 'wrong':40B,65B 'zephyr':25B,26B","search_c":"'802.1':263C 'abl':259C 'actual':191C 'address':298C,422C 'administr':233C 'also':131C 'api':112C,120C,123C,168C,173C,183C,467C,485C 'argument':344C,382C 'attach':102C,160C,213C 'attack':417C 'authent':281C 'behaviour':388C 'bitmask':409C 'bound':479C 'call':122C,279C,302C,337C,491C 'calle':329C 'capabl':197C,352C,408C 'check':245C,299C 'claim':216C 'close':505C 'config':193C,199C,373C,381C 'config/dev-':356C 'consum':293C 'control':418C,443C 'corrupt':398C,421C,438C 'crash':394C 'data':357C 'default':194C 'defect':448C 'deliber':143C 'denial':432C 'denial-of-servic':431C 'derefer':348C 'dev':167C,355C 'devic':110C,314C 'dispatch':155C 'driver':310C,346C,483C 'drop':494C 'dummi':462C,466C 'enabl':204C 'end':87C 'entri':507C 'eth':237C 'ethernet':139C,146C,165C,172C,202C,267C,380C 'exist':230C 'expect':311C,322C 'fall':91C,207C,450C 'fall-through':90C,206C,449C 'field':366C 'fix':493C 'follow':487C 'frame':152C,218C,227C,268C,291C 'get':109C,192C,196C,238C,351C,372C 'handl':402C 'handler':82C,128C 'happen':339C 'host':258C 'howev':130C 'ifac':111C,125C,240C 'impact':385C 'implement':347C,374C 'indirect':278C,490C 'interact':286C 'interfac':98C,119C,138C,147C,159C,166C,215C,224C,252C,463C,498C,504C 'invok':132C 'ip':282C 'issu':439C 'l2':80C,295C,503C 'layout':175C 'lead':179C 'leav':341C 'left':333C 'link':246C,272C 'meant':94C 'memori':397C,437C 'memory-corrupt':436C 'mis':401C 'mis-handl':400C 'mistyp':277C 'neither':419C 'net':107C,181C,200C,236C,306C,318C,325C,369C,414C 'network':391C 'non':136C,364C 'non-point':363C 'non-virtu':135C 'noth':101C 'object':486C 'offset':472C 'out-of-bound':476C 'own':225C 'packet':405C,496C 'paramet':332C 'pass':144C,303C,460C 'path':93C,393C 'pkt':126C,319C 'place':261C 'plus':399C 'point':508C 'pointer':365C 'practic':384C 'primit':445C 'produc':474C 'q':265C 'q-tag':264C 'rather':440C 'reach':210C 'reachabl':283C,453C 'read':187C,354C,360C,473C,480C 'receiv':81C 'recv':84C,124C,140C,189C,250C,456C 'regist':345C 'remain':331C 'requir':288C 'resolv':241C 'result':301C 'return':411C 'rx':392C 'servic':434C 'share':177C 'shorter':469C 'simpli':220C 'sinc':235C 'site':338C 'skip':251C 'slot':186C 'state':247C 'statist':201C 'struct':117C,171C,180C,305C,313C,317C,324C,368C,379C,465C 'subsys/net/l2/dummy/any/any.c':458C 'subsys/net/l2/ethernet/ethernet.c':142C 'subsys/net/l2/virtual/virtual.c':86C 'tag':151C,229C,243C,266C 'take':106C 'treat':113C 'trigger':275C 'typic':353C 'uncontrol':396C 'undefin':387C 'uniniti':378C 'user':285C 'valu':350C,425C 'verdict':415C 'virtual':79C,83C,97C,118C,137C,214C,249C,502C 'vlan':158C,223C,239C 'whatev':335C 'whenev':211C 'whose':174C,464C,497C 'wild':359C 'without':244C 'write':375C,444C 'written':426C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T16:48:23+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","cvss_by":"vulnerabilities@zephyrproject.org","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-93667","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93667","severity":null,"published_at":"2026-11-16T22:18:26+00:00","modified_at":"2026-11-16T22:18:26+00:00","first_seen_at":"2026-11-16T22:39:15+00:00","fetched_at":"2026-11-16T22:39:15+00:00","note":null}],"documents":[{"id":172952,"url":"https://github.com/zephyrproject-rtos/zephyr/commit/226e821d8587aaae955b9682234b0b44722c8a4e","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":172953,"url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-5q52-q965-fwp8","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-16T16:48:23+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}