CVE-2022-50706
Last modified
CVE-2022-50706 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 8b68e53d56697a59b5c53893b53f508bbdf272a0, < 4a36de8947794fa21435d1e916e089095f3246a8; >= 6204bf78b2a903b96ba43afff6abc0b04d6e0462, < 791489a5c56396ddfed75fc525066d4738dace46; >= a75987714bd2d8e59840667a28e15c1fa5c47554, < 34f31a2b667914ab701ca725554a0b447809d7ef; >= 72f2dc8993f10262092745a88cb2dd0fef094f23, < df0da3fc131132b6c32a15c4da4ffa3a5aea1af2; >= fd1894224407c484f652ad456e1ce423e89bb3eb, < 9974d220c5073d035b5469d1d8ecd71da86c7afd; >= fd1894224407c484f652ad456e1ce423e89bb3eb, < b12e924a2f5b960373459c8f8a514f887adf5cac; >= 5.4.212, < 5.4.220; >= 5.10.141, < 5.10.150; >= 5.15.65, < 5.15.75; >= 5.19.7, < 5.19.17 |
| Linux | Linux | 6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2022-50706?
How severe is CVE-2022-50706?
How do I fix CVE-2022-50706?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50700In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2022-50701In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-50702In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50703In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50704In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50705In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50707In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50708In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50709In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50710In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50711In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50712In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2022-50706?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
