
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49142 is a vulnerability in the Linux kernel that affects the network subsystem. The issue was discovered when syzbot found a way to trigger a WARNONONCE(delta < len) assertion in the skbtrycoalesce() function. The vulnerability was introduced due to inconsistencies in memory allocation behavior when KFENCE (Kernel Electric-Fence) is active (Kernel Git).
The vulnerability stems from an assumption that kmalloc() calls with the same size parameter would return memory blocks of identical size. However, this assumption fails when kernel debugging features like KFENCE are enabled. The issue specifically affects the skbunclonekeeptruesize() function, where TCP could potentially shift data after the function has been called, notably from tcpretranstry_collapse(). This could lead to improper handling of network packet buffer sizes (Kernel Git).
When exploited, this vulnerability could trigger kernel warnings and potentially lead to system instability or denial of service conditions. The issue affects the network stack's ability to properly handle packet buffer operations, which could impact network performance and reliability (Kernel Git).
The issue has been fixed in the Linux kernel through a patch that splits skbunclonekeeptruesize() into two parts: an inline version for the common case when skb is not cloned, and an out-of-line _skbunclonekeeptruesize() for the 'slow path'. The fix ensures that both skb->truesize and skbend_offset() values are preserved when a new skb->head is needed (Kernel Git).
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."