CVE-2026-98611
Full vulnerability record from the local CVENow database.
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.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:13.927000
Last modified
2026-10-19 10:19:23.283000
View original CVE JSON
{
"id": "CVE-2026-98611",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:13.927",
"lastModified": "2026-10-19T10:19:23.283",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Check params size before reading reserved fields\n\nbpf_crypto_ctx_create() is a kfunc whose second argument is declared\nwith the __sz annotation, so the verifier only guarantees that\nparams__sz bytes of params are valid. The function nevertheless reads\nparams->reserved[0] and params->reserved[1] (offsets 14 and 15) before\ncomparing params__sz against the size of struct bpf_crypto_params, so a\nBPF program can pass a shorter buffer and have the kernel read past the\nregion that was validated for it.\n\nMove the size check in front of the reserved field reads."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"kernel/bpf/crypto.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "3e1c6f35409f9e447bf37f64840f5b65576bfb78",
"lessThan": "e03253f5d65ebcd2a6d479f140c3bd9c7e4fb84a",
"versionType": "git",
"status": "affected"
},
{
"version": "3e1c6f35409f9e447bf37f64840f5b65576bfb78",
"lessThan": "cd12d3e08620257fbcaa262785d7f4b9473afc7a",
"versionType": "git",
"status": "affected"
},
{
"version": "3e1c6f35409f9e447bf37f64840f5b65576bfb78",
"lessThan": "86a0e945fb645ea90233fde239cd2de79f01974c",
"versionType": "git",
"status": "affected"
},
{
"version": "3e1c6f35409f9e447bf37f64840f5b65576bfb78",
"lessThan": "a11212910cf09b2fe8db9afa41ef60c4f81879c5",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"kernel/bpf/crypto.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.10",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.112",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.55",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.9",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/86a0e945fb645ea90233fde239cd2de79f01974c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a11212910cf09b2fe8db9afa41ef60c4f81879c5",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/cd12d3e08620257fbcaa262785d7f4b9473afc7a",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e03253f5d65ebcd2a6d479f140c3bd9c7e4fb84a",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}