CVE-2025-24934
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedSoftware which sets SO_REUSEPORT_LB on a socket and then connects it to a host will not directly observe any problems. However, due to its membership in a load-balancing group, that socket will receive packets originating from any host. This breaks the contract of the connect(2) and implied connect via sendto(2), and may leave the application vulnerable to spoofing attacks. The kernel failed to check the connection state of sockets when adding them to load-balancing groups. Furthermore, when looking up the destination socket for an incoming packet, the kernel will match a socket belonging to a load-balancing group even if it is connected, in violation of the contract that connected sockets are only supposed to receive packets originating from the connected host.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Linux kernel fails to validate connection state when adding sockets to SO_REUSEPORT_LB load-balancing groups. When a connected socket is part of such a group, the kernel will route incoming packets from ANY host to that socket, violating the fundamental contract that connected sockets should only receive traffic from their explicitly connected peer. This allows remote spoofing attacks.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify SO_REUSEPORT_LB socket usageAudit running applications and server configurations for use of the SO_REUSEPORT_LB socket option (also known as SO_REUSEPORT with load balancing enabled). Search application code, configs, and running processes for this socket option.Affected if SO_REUSEPORT_LB is in use by any application on the system
-
Check for connected sockets in SO_REUSEPORT_LB groupsUse netstat or ss commands to examine sockets that have SO_REUSEPORT enabled and also have an established connection (state ESTABLISHED). Look for sockets participating in both reuseport groups and active connections.Affected if Any connected (ESTABLISHED) sockets are members of SO_REUSEPORT_LB groups
-
Examine SO_REUSEPORT group compositionInspect the reuseport group membership for each SO_REUSEPORT_LB socket using tools like ss -l -p or by examining /proc/net/sockopt. Identify if the group contains both connected and listening sockets.Affected if A single reuseport group contains both connected sockets and listening sockets that could receive traffic from any source
-
Verify kernel versionCheck the running kernel version with 'uname -r' or 'cat /proc/version' and compare against the version range that includes the fix for this vulnerability. The fix adds connection-state validation before allowing sockets in load-balancing groups.Affected if The kernel version is older than the patched version that adds connection-state validation for SO_REUSEPORT_LB groups
-
Monitor for anomalous incoming traffic routingUse packet capture (tcpdump) or network monitoring to observe if connected sockets are receiving packets from IP addresses other than their explicitly connected peer.Affected if Connected sockets in SO_REUSEPORT_LB groups receive traffic from sources other than their connected peer
A system is affected if it runs a vulnerable kernel version AND has applications using SO_REUSEPORT_LB with connected sockets in those load-balancing groups, allowing remote attackers to spoof traffic to those sockets.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataApply kernel patches that enforce connection-state validation before adding sockets to load-balancing groups and prevent connected sockets from being selected for incoming traffic from non-connected hosts. Until patched, avoid using SO_REUSEPORT_LB on sockets that will be connected.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-24934 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-24934 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data