Menu

Star on GitHub · 3.4k

CVE-2026-98588

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Reject max_entries > INT_MAX in sock_map_alloc sock_map_alloc() only rejects max_entries == 0 and otherwise allow…

Published Oct 18, 2026EPSS 0.21%

Overview

CVE-2026-98588 is a known-severity vulnerability. It was published on October 18, 2026.

Technical description

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

bpf, sockmap: Reject max_entries > INT_MAX in sock_map_alloc

sock_map_alloc() only rejects max_entries == 0 and otherwise allows any

u32 value. sock_map_free() then walks the sks[] array with a signed int

iterator:

int i;

for (i = 0; i < stab->map.max_entries; i++)

struct sock **psk = &stab->sks[i];

When a SOCKMAP is created with max_entries = 0xffffffff (UINT_MAX), the

allocation of 32 GiB can succeed on large-memory hosts. During free the

counter reaches 0x80000000, wraps to INT_MIN, is sign-extended by movslq

and turned into a ~16 GiB negative offset from stab->sks, pointing far

below the allocation.

The faulting access is an xchg() write in sock_map_free(). Without

KASAN, the same out-of-bounds write can fault on an unmapped vmalloc page

or corrupt an unrelated allocation if that vmalloc address is populated.

On a KASAN kernel with CONFIG_KASAN_VMALLOC=y, the shadow check for that

address hits an unmapp

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-98588?

CVE-2026-98588 is a known-severity vulnerability. It was published on October 18, 2026.

How severe is CVE-2026-98588?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2026-98588?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-98588?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-98588 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

LiveWatch live →