Bug 2554954 (CVE-2026-98611) - CVE-2026-98611 kernel: bpf: Check params size before reading reserved fields
Summary: CVE-2026-98611 kernel: bpf: Check params size before reading reserved fields
Keywords:
Status: NEW
Alias: CVE-2026-98611
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-18 15:35 UTC by OSIDB Bzimport
Modified: 2026-10-21 07:34 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-18 15:35:26 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.