CVE-2022-50706
Unknown Unknown - Not Provided

Denial of Service via Zero-Length Packet in Linux IEEE802154 Socket

Vulnerability report for CVE-2022-50706, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-07-06
AI Q&A
2025-12-24
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the Linux kernel's handling of zero-sized raw_sendmsg() requests on PF_IEEE802154 sockets. Specifically, when a zero-length packet is sent, the kernel incorrectly calls __dev_queue_xmit() with a packet length of zero, which triggers a warning (skb_assert_len()) and is unintended behavior. The fix prevents __dev_queue_xmit() from being called if the packet length is zero, avoiding this warning and potential issues.

Impact Analysis

The impact of this vulnerability is related to kernel stability and reliability. Sending zero-sized packets on PF_IEEE802154 sockets could cause warnings and potentially unexpected behavior in the kernel's packet transmission function. This could lead to instability or crashes in systems using these sockets, affecting network communication reliability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50706. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart