
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (CVE-2021-42008) affects the decode_data function in drivers/net/hamradio/6pack.c in the Linux kernel versions before 5.13.13. The flaw was discovered in October 2021 and involves a slab out-of-bounds write vulnerability. The issue affects the 6pack network protocol driver, where improper validation checks could allow privileged attackers with CAP_NET_ADMIN capability to potentially gain root access (MITRE CVE, Ubuntu Security).
The vulnerability stems from a missing validation check in the decode_data function of the 6pack driver. When malicious input is provided, it can trigger multiple calls to decode_data() in sixpack_decode(), potentially leading to a buffer overflow since rx_count_cooked is limited to 400 bytes. The issue was confirmed through syzbot testing which demonstrated the slab-out-of-bounds write at drivers/net/hamradio/6pack.c:843 (Kernel Commit).
The vulnerability can lead to privilege escalation, allowing an attacker with CAP_NET_ADMIN capability to potentially gain root access. Additionally, successful exploitation could result in denial of service through system crashes or memory corruption (Debian LTS, NetApp Security).
The vulnerability was fixed in Linux kernel version 5.13.13 by adding proper validation checks to prevent buffer overrun. The fix includes additional validation of the rx_count_cooked buffer size and appropriate error handling when malicious input is detected. Various Linux distributions have backported the fix to their supported kernel versions (Ubuntu Security, Debian LTS).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."