CVE-2024-36484
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-36484 affects the Linux kernel's networking subsystem, specifically related to socket state checking during accept operations. The vulnerability was discovered when a warning was triggered in the _inetaccept function at net/ipv4/afinet.c. The issue occurs when shutdown() is called before entering listener status, causing the child socket to reach the accept syscall in FINWAIT1 status (Kernel Git).

Technical details

The vulnerability stems from an overly restrictive socket state check in the inetaccept function. The issue was introduced after commit 94062790aedb ("tcp: defer shutdown(SENDSHUTDOWN) for TCPSYNRECV sockets"), which caused the socket state validation to fail when a socket enters FIN_WAIT1 status. The fix involves relaxing the existing assertion in inetaccept() to allow additional valid socket states including FINWAIT1, FINWAIT2, CLOSING, CLOSEWAIT, and CLOSE (Kernel Git).

Impact

The vulnerability can trigger a kernel warning when specific socket operations are performed in a certain sequence. While this primarily affects system stability, it could potentially lead to denial of service conditions in networked applications that rely on specific socket state transitions (Ubuntu Security).

Mitigation and workarounds

The issue has been fixed in various Linux kernel versions through a patch that relaxes the socket state check at accept time. Users should update their systems to the patched kernel versions. For Ubuntu users, this includes updating to linux-image-5.15.0-1078-azure version 5.15.0-1078.87~20.04.1 for Ubuntu 20.04 LTS (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management