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

bpf: Check params size before reading reserved fields

bpf_crypto_ctx_create() is a kfunc whose second argument is declared
with the __sz annotation, so the verifier only guarantees that
params__sz bytes of params are valid. The function nevertheless reads
params->reserved[0] and params->reserved[1] (offsets 14 and 15) before
comparing params__sz against the size of struct bpf_crypto_params, so a
BPF program can pass a shorter buffer and have the kernel read past the
region that was validated for it.

Move the size check in front of the reserved field reads.
Published: 2026-10-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel Buffer Overread
Action: Patch
AI Analysis

Impact

The Linux kernel function bpf_crypto_ctx_create validates the size of its input buffer only after reading two reserved fields at offsets 14 and 15. Because the size check runs too late, a caller can supply a buffer that meets the verifier’s size expectation yet is smaller than the full structure, causing the kernel to read past the supplied memory region. This out‑of‑bounds read (CWE‑125) could expose kernel memory contents that were not intended to be revealed. The description does not indicate that any kernel data is overwritten, only that an overread may be possible.

Affected Systems

All Linux kernel releases that do not include the commit that moves the size check before the reserved field reads are vulnerable. The advisory does not list exact kernel versions, so any kernel older than the fix remains affected. Systems that load BPF programs from untrusted sources are particularly at risk. Purchase or derive the exact kernel version from the commit list to determine applicability.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in CISA’s KEV catalog, while the CVSS score is 4.4. Based on the description, the likely attack vector is local: an attacker who can load a BPF program with CAP_BPF or root privileges can supply the crafted buffer to trigger the overread. The vulnerability does not appear to be publicly exploited, but the potential to read arbitrary kernel memory provides a foothold for further privilege escalation steps in a more complex attack chain.

Generated by OpenCVE AI on October 22, 2026 at 22:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Linux kernel update that includes the bpf: Check params size before reading reserved fields fix.
  • Reboot the system to ensure the updated kernel is running.
  • Limit or audit the loading of BPF programs from untrusted sources to reduce local exploitation risk.

Generated by OpenCVE AI on October 22, 2026 at 22:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Wed, 21 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Sun, 18 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Check params size before reading reserved fields bpf_crypto_ctx_create() is a kfunc whose second argument is declared with the __sz annotation, so the verifier only guarantees that params__sz bytes of params are valid. The function nevertheless reads params->reserved[0] and params->reserved[1] (offsets 14 and 15) before comparing params__sz against the size of struct bpf_crypto_params, so a BPF program can pass a shorter buffer and have the kernel read past the region that was validated for it. Move the size check in front of the reserved field reads.
Title bpf: Check params size before reading reserved fields
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-10-19T09:22:38.197Z

Reserved: 2026-09-25T10:25:14.360Z

Link: CVE-2026-98611

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:13.927

Modified: 2026-10-19T10:19:23.283

Link: CVE-2026-98611

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98611 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T22:45:13Z

Weaknesses