Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-31504

7.8 · HIGH
Published Apr 22, 2026 linux CWE-416 EPSS 0.14% (3th pctl)

Overview

CVE-2026-31504 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 22, 2026 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

net: fix fanout UAF in packet_release() via NETDEV_UP race

`packet_release()` has a race window where `NETDEV_UP` can re-register a

socket into a fanout group's `arr[]` array. The re-registration is not

cleaned up by `fanout_release()`, leaving a dangling pointer in the fanout

array.

`packet_release()` does NOT zero `po->num` in its `bind_lock` section.

After releasing `bind_lock`, `po->num` is still non-zero and `po->ifindex`

still matches the bound device. A concurrent `packet_notifier(NETDEV_UP)`

that already found the socket in `sklist` can re-register the hook.

For fanout sockets, this re-registration calls `__fanout_link(sk, po)`

which adds the socket back into `f->arr[]` and increments `f->num_members`,

but does NOT increment `f->sk_ref`.

The fix sets `po->num` to zero in `packet_release` while `bind_lock` is

held to prevent NETDEV_UP from linking, preventing the race window.

This bug was found following an

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 3.1.1, < 5.10.253 Affected

Frequently Asked Questions

What is CVE-2026-31504?

CVE-2026-31504 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 22, 2026 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2026-31504?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-31504?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-31504 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.