Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ieee802154: 6lowpan: fix NULL dereference in lowpan_newlink TUNSETLINK allows a TUN device to change its link-layer type to ARPHRD_IEEE802154 without initializing ieee802154_ptr. lowpan_newlink() checks only the device type before dereferencing the pointer, so an RTM_NEWLINK request can trigger a NULL pointer dereference. Reject devices without ieee802154_ptr along with devices of the wrong type.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before a1760f21c32adce41af5ed5687200865d8feaaeb; affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before 5063b9354e6e285dae61e530b30458498444a914; affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before 16d8e0b560d50cd1a9e6d77a9a154a94c4d6021e; affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before 543994fa03c36a91d967a12c5c99cae74899504c; affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before 1c7710af7ad9532b534f1c134c11b04dbe4e0e0f; affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before 98ce5a42cde780ee0e40378607d4428c8fc12ec1; affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before 8528da2333ce05cf627f93425f9d05efb08b3146; affected 51e0e5d8124ece158927a4c2288c0929d3b53aa3 before bf79662bc85e820ac3b846e2f347da29fbf6ac95 |
| Linux / Linux | affected 4.3; unaffected 0 before 4.3; unaffected 5.10.271 through 5.10.*; unaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a1760f21c32adce41af5ed5687200865d8feaaeb
- https://git.kernel.org/stable/c/5063b9354e6e285dae61e530b30458498444a914
- https://git.kernel.org/stable/c/16d8e0b560d50cd1a9e6d77a9a154a94c4d6021e
- https://git.kernel.org/stable/c/543994fa03c36a91d967a12c5c99cae74899504c
- https://git.kernel.org/stable/c/1c7710af7ad9532b534f1c134c11b04dbe4e0e0f
- https://git.kernel.org/stable/c/98ce5a42cde780ee0e40378607d4428c8fc12ec1
- https://git.kernel.org/stable/c/8528da2333ce05cf627f93425f9d05efb08b3146
- https://git.kernel.org/stable/c/bf79662bc85e820ac3b846e2f347da29fbf6ac95