
Cloud Vulnerability DB
A community-led vulnerabilities database
A null pointer dereference vulnerability was discovered in the Linux kernel's CALIPSO (Common Architecture Label IPv6 Security Option) implementation, specifically in the calipso_req_{set,del}attr() functions. The vulnerability was identified on July 4, 2025, and tracked as CVE-2025-38181. The issue affects the Linux kernel's network stack, particularly when handling CALIPSO options during TCP connections (NVD).
The vulnerability occurs when a null pointer dereference is triggered in sock_omalloc() while allocating a CALIPSO option. The NULL pointer is related to struct sock, which was fetched by sk_to_full_sk() in calipso_req_setattr(). The issue stems from a change introduced in commit a1a5344ddbe8 ("tcp: avoid two atomic ops for syncookies"), where reqsk->rsk_listener could be NULL when a SYN Cookie is returned to its client. The vulnerability can be triggered during TCP connection handling, particularly when SYN cookies are involved (Debian Security).
When exploited, this vulnerability can lead to a kernel crash through a general protection fault. This is particularly concerning as it can be triggered during network connection handling, potentially allowing for denial of service attacks. The issue is especially relevant when SYN cookies are in use, which is a common configuration for protecting against SYN flood attacks (NVD).
The fix involves returning an error in calipso_req_setattr() and calipso_req_delattr() in the SYN Cookie case, rather than attempting to access potentially NULL structures. This approach was chosen over alternatives like always setting rsk_listener or returning 0 in calipso_req_setattr(), as these would either impact DDoS protection mechanisms or bypass LSM (Linux Security Module) checks (Debian Security).
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."