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

bpf: Limit bpf program signature size

Practical BPF signatures are significantly smaller than
KMALLOC_MAX_CACHE_SIZE

Allowing larger sizes opens the door for abuse by passing excessive
size values and forcing the kernel into expensive allocation paths (via
kmalloc_large or vmalloc).
Published: 2026-05-27
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel lacks a limit on the size of BPF program signatures, allowing an attacker who can load BPF programs to specify an arbitrarily large signature bound. When such a large signature is requested, the kernel allocates memory through kmalloc_large or vmalloc, which can consume significant kernel memory resources. The resulting allocation overhead can strain system memory, potentially degrading overall performance or triggering OOM conditions, thereby enabling a denial‑of‑service attack.

Affected Systems

All Linux kernel releases prior to the commit that introduces the signature‑size cap are affected. The vulnerability is vendor‑agnostic within the Linux ecosystem and applies to any distribution packaging a kernel that lacks this limit enforcement.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score is not available, with no inclusion in the CISA KEV catalog. Attackers who have the ability to submit BPF programs to the kernel—typically users with BPF loading privileges—can trigger the oversized allocation path, potentially exhausting kernel memory or impeding normal operation. This risk does not require network exposure and can be exercised from local user space when BPF capabilities are granted.

Generated by OpenCVE AI on May 28, 2026 at 05:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the upstream kernel patch that limits BPF program signature size (commit 5835a077c6f5c...), updating the running kernel to a version that includes the size restriction.
  • Reboot the system or reload the kernel modules so that the new signature‑size constraint takes effect.
  • Configure kernel logs or monitoring to detect attempts to load oversized BPF signatures, and ensure that any such attempts are denied and reported.

Generated by OpenCVE AI on May 28, 2026 at 05:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 16 Jun 2026 06:30:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo

Thu, 28 May 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-789

Thu, 28 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 27 May 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-789

Wed, 27 May 2026 14:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Limit bpf program signature size Practical BPF signatures are significantly smaller than KMALLOC_MAX_CACHE_SIZE Allowing larger sizes opens the door for abuse by passing excessive size values and forcing the kernel into expensive allocation paths (via kmalloc_large or vmalloc).
Title bpf: Limit bpf program signature size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-27T12:18:30.651Z

Reserved: 2026-05-13T15:03:33.089Z

Link: CVE-2026-45971

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-27T14:17:14.073

Modified: 2026-06-16T02:42:22.223

Link: CVE-2026-45971

cve-icon Redhat

Severity : Low

Publid Date: 2026-05-27T00:00:00Z

Links: CVE-2026-45971 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T06:00:11Z

Weaknesses