{"id":"CVE-2026-99674","aliases":[],"title":"can: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: dev: can_dropped_invalid_skb: drop CAN XL frames on non-CAN XL devices\n\nSending a PF_PACKET bypasses the CAN framework logic and can directly\nreach a CAN driver's xmit() function. The PF_PACKET framework only\nchecks that skb->len does not exceed the net_device MTU.\n\nFor a CAN device that is not CAN XL capable, anything above CANFD_MTU\n(72 bytes) is therefore dropped before it reaches the driver. However,\nCAN XL frames are variable length. can_is_canxl_skb() accepts lengths in\nthe range CANXL_HDR_SIZE + CANXL_MIN_DLEN up to CANXL_MTU, i.e. 13 to\n2060 bytes.\n\nAs a result, an ETH_P_CANXL skb with a length between 13 and 72 bytes\ncan pass both the MTU and the can_dropped_invalid_skb() checks.\n\nA driver that does not support CAN XL will interpret canxl_frame->flags\nas a length because of the overlap with can_frame->len. And because\nCANXL_XLF is set, the resulting length is between 128 and 255. For\ndrivers that do not check can_frame->len before copying can_frame->data,\nas most drivers do, this results in a buffer overflow of up to 247\nbytes.\n\nDrop ETH_P_CANXL skbs if the device does not have the CAN_CAP_XL\ncapability. Keep can_is_canxl_skb() for the validation of CAN XL skbs.","severity":{"cvss":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00178,"percentile":0.07727},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=6.1.0, <6.1.193","fixed":"6.1.193"},{"ecosystem":"Linux","name":"Kernel","range":">=6.1.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.65","fixed":"6.18.65"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.2.0, <6.6.163","fixed":"6.6.163"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.119","fixed":"6.12.119"},{"ecosystem":"vendor","name":"Linux","range":">=fb08cba12b52cba4366e858932307649dc5304e2, <0fce44e29fce4b07642491b098afb41bd571e4f2","fixed":"0fce44e29fce4b07642491b098afb41bd571e4f2"},{"ecosystem":"vendor","name":"Linux","range":">=fb08cba12b52cba4366e858932307649dc5304e2, <2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19","fixed":"2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19"},{"ecosystem":"vendor","name":"Linux","range":">=fb08cba12b52cba4366e858932307649dc5304e2, <2de9c3df452e159f82ef14ca497e5be407c66493","fixed":"2de9c3df452e159f82ef14ca497e5be407c66493"},{"ecosystem":"vendor","name":"Linux","range":">=fb08cba12b52cba4366e858932307649dc5304e2, <3b9a1de970054b31958cefc3ac870ce9be00a37f","fixed":"3b9a1de970054b31958cefc3ac870ce9be00a37f"},{"ecosystem":"vendor","name":"Linux","range":">=fb08cba12b52cba4366e858932307649dc5304e2, <561e44524ef1e0b62675b75c1fc57997ee49431d","fixed":"561e44524ef1e0b62675b75c1fc57997ee49431d"},{"ecosystem":"vendor","name":"Linux","range":">=fb08cba12b52cba4366e858932307649dc5304e2, <cf888ce290b79831a6029860d772fd128bc798f6","fixed":"cf888ce290b79831a6029860d772fd128bc798f6"}],"references":[{"url":"https://git.kernel.org/stable/c/2de9c3df452e159f82ef14ca497e5be407c66493","type":"other"},{"url":"https://git.kernel.org/stable/c/0fce44e29fce4b07642491b098afb41bd571e4f2","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99674.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99674","type":"advisory"},{"url":"https://git.kernel.org/stable/c/3b9a1de970054b31958cefc3ac870ce9be00a37f","type":"other"},{"url":"https://git.kernel.org/stable/c/cf888ce290b79831a6029860d772fd128bc798f6","type":"other"},{"url":"https://git.kernel.org/stable/c/2980a293b4d210ca7cfa89f7d4a9bab4f50ecc19","type":"other"},{"url":"https://git.kernel.org/stable/c/561e44524ef1e0b62675b75c1fc57997ee49431d","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.527Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99674","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.099Z"},{"name":"osv","at":"2026-11-23T10:26:23.789Z","url":"https://osv.dev/vulnerability/CVE-2026-99674","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:08.522Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:58.105Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99674","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:14.499Z"}],"firstSeenAt":"2026-11-20T06:28:14.499Z","publishedAt":"2026-11-20T05:50:22.677Z","modifiedAt":"2026-11-23T10:02:04.239Z"}