{"id":"CVE-2026-99066","aliases":["CVE-2026-99066"],"related":[],"kind":"vulnerability","state":"published","title":"can: dev: init_can_skb(): restore skb header initialization","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: dev: init_can_skb(): restore skb header initialization\n\nCommit 9f10374bb024 (\"can: remove private CAN skb headroom infrastructure\")\nremoved the skb_reset_mac_header()/skb_reset_network_header()/\nskb_reset_transport_header() calls from init_can_skb(). As a result, RX\nskbs from alloc_can_skb() and friends again carry mac_header = 0xFFFF.\nWhen such an skb reaches packet_rcv_spkt() (SOCK_PACKET), the push length\ncalculation overflows and triggers skb_under_panic -> kernel BUG -> full\nmachine panic.\n\nThe same issue was originally reported in 2014 on linux-can and fixed by\ncommit 969439016d2c (\"can: add missing initialisations in CAN related\nskbuffs\"). packet_rcv_spkt() itself has never been hardened: only\npacket_rcv() and tpacket_rcv() gained dev_has_header() checks in\ncommit d549699048b4 (\"net/packet: fix packet receive on L3 devices\nwithout visible hard header\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: dev: init_can_skb(): restore skb header initialization\n\nCommit 9f10374bb024 (\"can: remove private CAN skb headroom infrastructure\")\nremoved the skb_reset_mac_header()/skb_reset_network_header()/\nskb_reset_transport_header() calls from init_can_skb(). As a result, RX\nskbs from alloc_can_skb() and friends again carry mac_header = 0xFFFF.\nWhen such an skb reaches packet_rcv_spkt() (SOCK_PACKET), the push length\ncalculation overflows and triggers skb_under_panic -> kernel BUG -> full\nmachine panic.\n\nThe same issue was originally reported in 2014 on linux-can and fixed by\ncommit 969439016d2c (\"can: add missing initialisations in CAN related\nskbuffs\"). packet_rcv_spkt() itself has never been hardened: only\npacket_rcv() and tpacket_rcv() gained dev_has_header() checks in\ncommit d549699048b4 (\"net/packet: fix packet receive on L3 devices\nwithout visible hard header\").","source":"cvelist"}],"published":"2026-10-23T12:23:09.516Z","modified":"2026-10-23T13:17:30.477Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9f10374bb024593a611e6845847f0444841a231b","fixed":"8078375dfd0baecd9f1b7b06bb2d6f88d7cb8632","status":"affected"},{"type":"git","introduced":"9f10374bb024593a611e6845847f0444841a231b","fixed":"0a04c0cb8606ff88399489d03ef255afe90d0d5f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/8078375dfd0baecd9f1b7b06bb2d6f88d7cb8632","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a04c0cb8606ff88399489d03ef255afe90d0d5f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99066","url":"https://www.cve.org/CVERecord?id=CVE-2026-99066","licence":"CVE Terms of Use","modified":"2026-10-23T12:23:09.516Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99066","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99066","licence":"Public domain","modified":"2026-10-23T13:17:30.477Z"}],"updatedAt":"2026-11-25T22:59:46.966Z","epss":{"score":0.00156,"percentile":0.04983,"date":"2026-12-01T12:00:22.000Z"}}