
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-52701 affects the Linux kernel's networking subsystem, specifically related to the handling of socket buffer (skb) marks. The vulnerability was discovered when syzbot found that arm64 builds would crash in sock_recv_mark() when CONFIG_HARDENED_USERCOPY=y is enabled (NVD).
The vulnerability occurs in the Linux kernel's networking code where x86 and PowerPC architectures do not detect the issue because they define user_access_begin. The issue manifests when copying skb->mark, where only data from skb->cb[] can be copied directly to/from user space, as explained in commit 79a8a642bf05. The vulnerability triggers a kernel BUG at mm/usercopy.c:102 when attempting to perform invalid read operations from SLUB object 'skbuff_head_cache' (CVE Mitre).
When exploited, this vulnerability can lead to kernel crashes on arm64 systems, particularly when attempting to access invalid memory regions. The issue specifically affects systems with CONFIG_HARDENED_USERCOPY enabled, potentially causing system instability and denial of service conditions (NVD).
The vulnerability is triggered during normal system operations when attempting to copy skb->mark data, specifically in the sock_recv_mark() function. The issue is particularly relevant for arm64 architectures with hardened usercopy enabled (CVE Mitre).
The vulnerability has been resolved by implementing a bounce buffer for copying skb->mark. This solution prevents direct copying of unauthorized memory regions and ensures proper handling of socket buffer marks (NVD).
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."