Cloudanix VulnDB

CVE-2025-39990

None

CVSS

—

EPSS

0.2%

Published

Oct 15, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A Linux kernel bug could let certain networking or security programs behave unexpectedly when specific optional features are turned off, potentially causing crashes until the system is updated.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Theoretical
Impact
Full Compromise
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A NULL function pointer can be returned from get_helper_proto when a config option disables a helper, allowing invalid access during BPF verification; tail_call helpers are explicitly marked with BPF_PTR_POISON to prevent use.

Why it matters to the business

Unpatched kernels on affected Linux distributions may experience verifier instability or crashes under custom BPF configurations, increasing operational risk and patch urgency for high-dependency systems.

How an attack unfolds

An attacker crafts a BPF program that exercises get_helper_proto under a configuration where the helper table entry is disabled, causing the verifier to dereference a NULL pointer and potentially corrupt memory or crash the kernel.

How to fix it

Apply the upstream fix at commit 3d429cb1278e995e22995ef117fa96d223a67e93 or the equivalent SUSE kgraft-patch-SLE12_Update_32 update that resolves the issue in get_helper_proto.

How to confirm the fix worked

Confirm the running kernel contains commit 3d429cb1278e995e22995ef117fa96d223a67e93 or the matching SUSE patch; re-run BPF verifier test cases that previously triggered the NULL pointer condition.

Typical attack path

  1. Identify or force a kernel build with selected BPF helpers disabled
  2. Load a crafted BPF program that triggers the affected helper lookup path
  3. Trigger verifier execution to reach the unchecked NULL return
  4. Exploit resulting invalid pointer for memory corruption or denial of service

How to detect it

Review kernel logs for verifier warnings or NULL pointer dereferences originating from get_helper_proto; inspect BPF program load failures tied to helper function validation.

What your security team should do

  • Prioritize kernel upgrades to the listed fixed versions on all production systems
  • Audit custom BPF programs and configurations for reliance on disabled helpers
  • Monitor EPSS trend and re-evaluate exploit maturity after 30 days

The record

In the Linux kernel, the following vulnerability has been resolved: bpf: Check the helper function is valid in get_helper_proto kernel test robot reported verifier bug [1] where the helper func pointer could be NULL due to disabled config option. As Alexei suggested we could check on that in get_helper_proto directly. Marking tail_call helper func with BPF_PTR_POISON, because it is unused by design. [1] https://lore.kernel.org/oe-lkp/202507160818.68358831-lkp@intel.com

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 0 6.12.50
Linux Kernel 5.8.0 6.12.50
openSUSE:Leap 16.0 dtb-aarch64 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-64kb 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-default 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-default-base 0 6.12.0-160000.8.1.160000.2.5
openSUSE:Leap 16.0 kernel-docs 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-kvmsmall 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-obs-build 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-obs-qa 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-rt 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-source 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-syms 0 6.12.0-160000.8.1
openSUSE:Leap 16.0 kernel-zfcpdump 0 6.12.0-160000.8.1

Related vulnerabilities