Skip to main content

Linux Kernel CVE-2026-31503

| EUVDEUVD-2026-24880 MEDIUM
2026-04-22 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-8g49-x5x5-4c9c
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Create UDP socket
  2. Delivery
    Bind to specific IPv6 address on port X
  3. Exploit
    Repeat 10 more times with different addresses
  4. Install
    Trigger hash2 table switch
  5. C2
    Attempt wildcard bind to port X
  6. Execute
    Bypass conflict check
  7. Impact
    Cause port unavailability

Vulnerability Assessment

Exploitation Conditions

Exploitation requires: (1) local system access with ability to create UDP sockets (PR:L), (2) at least 11 existing UDP socket bindings to distinct addresses on the same destination port (to trigger hslot->count > 10 threshold), and (3) subsequent attempt to bind a wildcard address (IPv6 [::], IPv4 0.0.0.0, or IPv4-mapped ::ffff:0.0.0.0) to that same port. The vulnerability is not exploitable against the default configuration of a fresh system; it manifests only in multi-socket scenarios. No special kernel configuration or non-default settings are required; the flaw exists in standard UDP bind logic for all Linux distributions using affected kernel versions. Authentication is required (standard user privileges suffice), remote exploitation is not possible, and no user interaction is needed beyond normal socket API calls.

Impact

This vulnerability presents a low-to-moderate real-world risk despite the CVSS score of 5.5. EPSS score of 0.02% (7th percentile) indicates very low exploitation probability in the wild, consistent with the local-only attack vector (AV:L) and requirement for local authenticated user privileges (PR:L). The impact is confidentiality-neutral (C:N) and integrity-neutral (I:N), with availability impact limited to denial of service through port exhaustion rather than system compromise. The threshold requirement (hslot->count > 10) makes exploitation scenario-dependent: only systems with many UDP sockets bound to the same port will exhibit the flaw. No public exploit code is known. The practical threat is primarily relevant in containerized or multi-tenant environments where local users might intentionally cause port binding failures. SSVC framework: exploitation status is unconfirmed (not in CISA KEV), automatable via standard socket APIs (socket/bind syscalls), and technical impact is low (denial of service only, no code execution or privilege escalation). Patch availability from vendor further reduces operational risk.

Exploit ScenarioDerived

A local authenticated user creates 11 or more UDP sockets, each bound to a different IPv6 address (e.g., fd00::1 through fd00::11) on the same port (e.g., 8888). Once the hash table collision count exceeds 10, the attacker attempts to bind a wildcard socket [::]:8888. Due to the bug, this bind succeeds despite the conflict with existing specific-address bindings. The attacker can repeat this to exhaust available ports or interfere with legitimate services expecting exclusive port bindings.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 28, 2026

Linux kernel UDP socket binding fails to properly detect wildcard address conflicts when hash table collision count exceeds 10, allowing a socket to bind to a wildcard address (such as [::]:8888 or 0.0.0.0:8888) even when specific addresses on that port are already in use. This denial-of-service vulnerability affects local authenticated users who can create UDP sockets, bypassing port conflict checks that should prevent duplicate bindings. The issue stems from improper hash table selection logic in UDP's bind path, which switches from a port-only hash to an address-port hash at a threshold, creating a window where wildcard bindings are incorrectly permitted.

RemediationAI

Update to a patched Linux kernel version: 6.1.168 or later for the 6.1.x series, 6.6.131 or later for 6.6.x, 6.12.80 or later for 6.12.x, 6.18.21 or later for 6.18.x, 6.19.11 or later for 6.19.x, or 7.0 final release. Obtain patches from https://git.kernel.org/stable/ or your Linux distribution's security advisory. No workarounds are available; kernel upgrade is required. Systems can reduce exposure by minimizing the number of local users with socket creation privileges and monitoring for unexpected port binding failures via netstat or ss commands, though these are compensating controls only and do not address the root cause.

Affected VersionsENISA

Linux 30fff9231fad757c061285e347b33c5149c2c2e4 <f1bed05a832ae79be5f7a105da56810eaa59a5f1
Linux patch: 0
Linux 30fff9231fad757c061285e347b33c5149c2c2e4 <0a360f7f73a06ac88f18917055fbcc79694252d7
Linux patch: 6.6.131
Linux patch: 6.12.80
Linux patch: 7.0
Linux 2.6.33
Linux 30fff9231fad757c061285e347b33c5149c2c2e4 <18d84c45def3671d5c89fbdd5d4ab8a3217fe4b4
Linux 30fff9231fad757c061285e347b33c5149c2c2e4 <d6ace0dbcbb7fd285738bb87b42b71b01858c952
Linux patch: 6.1.168
Linux patch: 6.19.11
Linux 30fff9231fad757c061285e347b33c5149c2c2e4 <2297e38114316b26ae02f2d205c49b5511c5ed55
Linux 30fff9231fad757c061285e347b33c5149c2c2e4 <e537dd15d0d4ad989d56a1021290f0c674dd8b28
Linux patch: 6.18.21

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel's UDP implementation uses two separate hash tables for socket collision detection: hash (keyed by local port only) and hash2 (keyed by local address and local port). The bind code path switches from hash to hash2 when hslot->count exceeds 10, intending to improve lookup performance under high collision scenarios. However, the wildcard bind conflict check does not account for this transition correctly. When checking if a wildcard address (IPv6 [::], IPv4 0.0.0.0, or IPv4-mapped ::ffff:0.0.0.0) can bind to a port, the kernel should reject the bind if any specific address on that port is already bound. Before hash2 adoption (count ≤ 10), hash-based lookups correctly detect these conflicts. After the transition (count > 10), hash2-based lookups fail because they only match (address, port) pairs, not the broad wildcard case. The fix involves adopting TCP's inet_use_bhash2_on_bind() logic (renamed to inet_use_hash2_on_bind()) to ensure consistent conflict detection across both hash tables.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Apr 28, 2026 - 15:22 NVD
5.5 (MEDIUM)
Patch released
Apr 28, 2026 - 15:07 nvd
Patch available
Patch available
Apr 22, 2026 - 16:33 EUVD
CVE Published
Apr 22, 2026 - 14:16 nvd
MEDIUM 5.5

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

udp: Fix wildcard bind conflict check when using hash2

When binding a udp_sock to a local address and port, UDP uses two hashes (udptable->hash and udptable->hash2) for collision detection. The current code switches to "hash2" when hslot->count > 10.

"hash2" is keyed by local address and local port. "hash" is keyed by local port only.

The issue can be shown in the following bind sequence (pseudo code):

bind(fd1, "[fd00::1]:8888") bind(fd2, "[fd00::2]:8888") bind(fd3, "[fd00::3]:8888") bind(fd4, "[fd00::4]:8888") bind(fd5, "[fd00::5]:8888") bind(fd6, "[fd00::6]:8888") bind(fd7, "[fd00::7]:8888") bind(fd8, "[fd00::8]:8888") bind(fd9, "[fd00::9]:8888") bind(fd10, "[fd00::10]:8888")

/* Correctly return -EADDRINUSE because "hash" is used

  • instead of "hash2". udp_lib_lport_inuse() detects the
  • conflict.

*/ bind(fail_fd, "[::]:8888")

/* After one more socket is bound to "[fd00::11]:8888",

  • hslot->count exceeds 10 and "hash2" is used instead.

*/ bind(fd11, "[fd00::11]:8888") bind(fail_fd, "[::]:8888") /* succeeds unexpectedly */

The same issue applies to the IPv4 wildcard address "0.0.0.0" and the IPv4-mapped wildcard address "::ffff:0.0.0.0". For example, if there are existing sockets bound to "192.168.1.[1-11]:8888", then binding "0.0.0.0:8888" or "[::ffff:0.0.0.0]:8888" can also miss the conflict when hslot->count > 10.

TCP inet_csk_get_port() already has the correct check in inet_use_bhash2_on_bind(). Rename it to inet_use_hash2_on_bind() and move it to inet_hashtables.h so udp.c can reuse it in this fix.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
2
1 source
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: +10
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy