CVE-2022-50706 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net/ieee802154: don't warn zero-sized raw_sendmsg() syzbot is hitting skb_assert_len() warning at __dev_queue_xmit() [1], for PF_IEEE802154 socket's zero-sized raw_sendmsg() request is hitting __dev_queue_xmit() with skb->len == 0. Since PF_IEEE802154 socket's zero-sized raw_sendmsg() request was able to return 0, don't call __dev_queue_xmit() if packet length is 0. ---------- #include <sys/socket.h> #include <netinet/in.h> int main(int argc, char *argv[]) { struct sockaddr_in addr = { .sin_family = AF_INET, .sin_addr.s_addr = htonl(INADDR_LOOPBACK) }; struct iovec iov = { }; struct msghdr hdr = { .msg_name = &addr, .msg_namelen = sizeof(addr), .msg_iov = &iov, .msg_iovlen = 1 }; sendmsg(socket(PF_IEEE802154, SOCK_RAW, 0), &hdr, 0); return 0; } ---------- Note that this might be a sign that commit fd1894224407c484 ("bpf: Don't redirect packets with invalid pkt_len") should be reverted, for skb->len == 0 was acceptable for at least PF_IEEE802154 socket.
A vulnerability exists in the Linux kernel's handling of raw socket messages for the IEEE 802.15.4 protocol. When a zero-sized message is sent through a raw socket using the PF_IEEE802154 protocol, it triggers a warning in the kernel's transmission queue management, indicating an assertion failure due to the empty packet length. This issue arises because the socket's raw_sendmsg() function is allowed to return a zero length, which is then improperly processed by the __dev_queue_xmit() function, leading to the warning. The vulnerability can be reproduced by sending a zero-length message over a PF_IEEE802154 raw socket, which will cause the kernel to assert that the packet length is invalid, even though the socket is designed to handle such cases.
Users can update to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that resolves this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/34f31a2b667914ab701ca725554a0b447809d7ef | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4a36de8947794fa21435d1e916e089095f3246a8 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/791489a5c56396ddfed75fc525066d4738dace46 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/9974d220c5073d035b5469d1d8ecd71da86c7afd | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/b12e924a2f5b960373459c8f8a514f887adf5cac | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/df0da3fc131132b6c32a15c4da4ffa3a5aea1af2 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion