ieee802154: 6lowpan: only accept IPv6 packets in lowpan_xmit()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: ieee802154: 6lowpan: only accept IPv6 packets in lowpan_xmit() The aoe driver (or similar) generates a non-IPv6 packet (e.g., ETH_P_AOE) and queues it for transmission via dev_queue_xmit() on a 6LoWPAN interface (configured by the user or test case). Since the packet is not IPv6, the 6LoWPAN header_ops->create function (lowpan_header_create or header_create) returns early without initializing the lowpan_addr_info structure in the skb headroom. In the transmit function (lowpan_xmit), the driver calls lowpan_header (or setup_header) which unconditionally copies and uses the lowpan_addr_info from the headroom, which contains uninitialized data. Fix this by dropping non IPv6 packets. A similar fix is needed in net/bluetooth/6lowpan.c bt_xmit().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in af07fffbd53ddc3ec3c2a4ca914f27899fa89bca; From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in 3150e6d3223dfc356308125cabf9c34169842d2a; From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in 8da95cb6ad7d656c871e776a9c7b77e894d6d89c; From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in 1a827b95e62b4cbe851ae7cc9c961cdfa769cca4; From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in c1819c8defa235c7beda859bc185b1c429a55ecd; From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in 285b0842f2e01c3edf805f1fd64da11d9b7f6b4c; From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in 87172cc8dc49aaf54407a31edffb0232f8cb93ab; From 4dc315e267fe4a3c863fec21f26aa0a418c3f07a · fixed in 3a5f3f7aff18bcc36a57839cf50cf0cc8de707f3
- Linux Linux
4.0
- KernelLinux
From 4.0.0 · fixed in 5.10.259; From 5.11.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.143; From 6.7.0 · fixed in 6.12.94; From 6.13.0 · fixed in 6.18.36; From 6.19.0 · fixed in 7.0.13
References 8
git.kernel.org
- stable/c/af07fffbd53ddc3ec3c2a4ca914f27899fa89bca
- stable/c/3150e6d3223dfc356308125cabf9c34169842d2a
- stable/c/8da95cb6ad7d656c871e776a9c7b77e894d6d89c
- stable/c/1a827b95e62b4cbe851ae7cc9c961cdfa769cca4
- stable/c/c1819c8defa235c7beda859bc185b1c429a55ecd
- stable/c/285b0842f2e01c3edf805f1fd64da11d9b7f6b4c
- stable/c/87172cc8dc49aaf54407a31edffb0232f8cb93ab
- stable/c/3a5f3f7aff18bcc36a57839cf50cf0cc8de707f3