{"id":"CVE-2026-80839","aliases":["CVE-2026-80839"],"related":[],"kind":"vulnerability","state":"published","title":"batman-adv: reject unrepresentable multicast TVLV offsets","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: reject unrepresentable multicast TVLV offsets\n\nThe network and transport header fields in struct sk_buff are 16-bit\noffsets from skb->head, and U16_MAX is reserved as the unset transport\nheader value. batadv_tvlv_call_handler() sets both fields from a received\nmulticast TVLV without checking whether the TVLV end is representable.\n\nIf the end offset exceeds the field's range, skb_set_transport_header()\ntruncates it so that the transport header precedes the network header.\nThe negative difference is then returned by skb_network_header_len() as\na large u32. batadv_mcast_forw_packet() consequently accepts an oversized\nmulticast tracker and accesses memory beyond the skb data.\n\nAdd skb_set_transport_header_careful(), an offset-aware counterpart to\nskb_reset_transport_header_careful(), which validates the final\nhead-relative offset before assigning it. Use the new helper in\nbatadv_tvlv_call_handler() and reject unrepresentable TVLVs before\nsetting the network header.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: reject unrepresentable multicast TVLV offsets\n\nThe network and transport header fields in struct sk_buff are 16-bit\noffsets from skb->head, and U16_MAX is reserved as the unset transport\nheader value. batadv_tvlv_call_handler() sets both fields from a received\nmulticast TVLV without checking whether the TVLV end is representable.\n\nIf the end offset exceeds the field's range, skb_set_transport_header()\ntruncates it so that the transport header precedes the network header.\nThe negative difference is then returned by skb_network_header_len() as\na large u32. batadv_mcast_forw_packet() consequently accepts an oversized\nmulticast tracker and accesses memory beyond the skb data.\n\nAdd skb_set_transport_header_careful(), an offset-aware counterpart to\nskb_reset_transport_header_careful(), which validates the final\nhead-relative offset before assigning it. Use the new helper in\nbatadv_tvlv_call_handler() and reject unrepresentable TVLVs before\nsetting the network header.","source":"cvelist"}],"published":"2026-09-04T15:54:49.378Z","modified":"2026-10-19T09:17:19.223Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"07afe1ba288c04280622fa002ed385f1ac0b6fe6","fixed":"da1f5aa7ec93f2cc17f5cd30efc54f62af433cf2","status":"affected"},{"type":"git","introduced":"07afe1ba288c04280622fa002ed385f1ac0b6fe6","fixed":"916ec741e65af072b98e475feaad98c063da1b7c","status":"affected"},{"type":"git","introduced":"07afe1ba288c04280622fa002ed385f1ac0b6fe6","fixed":"1b466746fe109127fd983100a228cdd1f1f6ece2","status":"affected"},{"type":"git","introduced":"07afe1ba288c04280622fa002ed385f1ac0b6fe6","fixed":"2b46baa591d0a7c16b62f150917187e70d053be6","status":"affected"},{"type":"git","introduced":"07afe1ba288c04280622fa002ed385f1ac0b6fe6","fixed":"f12c2de4f542e3220e17e0606f492110064f04cb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.108","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.49","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.13","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.3","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/da1f5aa7ec93f2cc17f5cd30efc54f62af433cf2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/916ec741e65af072b98e475feaad98c063da1b7c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b466746fe109127fd983100a228cdd1f1f6ece2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b46baa591d0a7c16b62f150917187e70d053be6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f12c2de4f542e3220e17e0606f492110064f04cb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80839","url":"https://www.cve.org/CVERecord?id=CVE-2026-80839","licence":"CVE Terms of Use","modified":"2026-10-19T08:44:32.478Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80839","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80839","licence":"Public domain","modified":"2026-10-19T09:17:19.223Z"}],"updatedAt":"2026-11-25T22:59:36.345Z","epss":{"score":0.00168,"percentile":0.06351,"date":"2026-12-01T12:00:22.000Z"}}