CVE-2022-50706

net/ieee802154: don't warn zero-sized raw_sendmsg()

No CVSS score yet EPSS 0.22%

Published 24 Dec 2025 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2022-50706

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50706 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8b68e53d56697a59b5c53893b53f508bbdf272a0, before 4a36de8947794fa21435d1e916e089095f3246a8
affected from 6204bf78b2a903b96ba43afff6abc0b04d6e0462, before 791489a5c56396ddfed75fc525066d4738dace46
affected from a75987714bd2d8e59840667a28e15c1fa5c47554, before 34f31a2b667914ab701ca725554a0b447809d7ef
affected from 72f2dc8993f10262092745a88cb2dd0fef094f23, before df0da3fc131132b6c32a15c4da4ffa3a5aea1af2
affected from fd1894224407c484f652ad456e1ce423e89bb3eb, before 9974d220c5073d035b5469d1d8ecd71da86c7afd
affected from fd1894224407c484f652ad456e1ce423e89bb3eb, before b12e924a2f5b960373459c8f8a514f887adf5cac
affected from 5.4.212, before 5.4.220
affected from 5.10.141, before 5.10.150
affected from 5.15.65, before 5.15.75
affected from 5.19.7, before 5.19.17
Other versions: unaffected
Linux
affected 6.0
unaffected before 6.0
unaffected from 5.4.220 up to and including 5.4.*
unaffected from 5.10.150 up to and including 5.10.*
unaffected from 5.15.75 up to and including 5.15.*
unaffected from 5.19.17 up to and including 5.19.*
unaffected from 6.0.3 up to and including 6.0.*
unaffected 6.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50706 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50706

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50706
trivy image --scanners vuln IMAGE | grep CVE-2022-50706

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50706 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.