{"id":"CVE-2026-98611","aliases":["CVE-2026-98611"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Check params size before reading reserved fields","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-18T15:19:26.922Z","modified":"2026-10-19T10:19:23.283Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3e1c6f35409f9e447bf37f64840f5b65576bfb78","fixed":"e03253f5d65ebcd2a6d479f140c3bd9c7e4fb84a","status":"affected"},{"type":"git","introduced":"3e1c6f35409f9e447bf37f64840f5b65576bfb78","fixed":"cd12d3e08620257fbcaa262785d7f4b9473afc7a","status":"affected"},{"type":"git","introduced":"3e1c6f35409f9e447bf37f64840f5b65576bfb78","fixed":"86a0e945fb645ea90233fde239cd2de79f01974c","status":"affected"},{"type":"git","introduced":"3e1c6f35409f9e447bf37f64840f5b65576bfb78","fixed":"a11212910cf09b2fe8db9afa41ef60c4f81879c5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e03253f5d65ebcd2a6d479f140c3bd9c7e4fb84a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd12d3e08620257fbcaa262785d7f4b9473afc7a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86a0e945fb645ea90233fde239cd2de79f01974c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a11212910cf09b2fe8db9afa41ef60c4f81879c5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98611","url":"https://www.cve.org/CVERecord?id=CVE-2026-98611","licence":"CVE Terms of Use","modified":"2026-10-19T09:22:38.197Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98611","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98611","licence":"Public domain","modified":"2026-10-19T10:19:23.283Z"}],"updatedAt":"2026-11-25T22:59:45.244Z","epss":{"score":0.00168,"percentile":0.0638,"date":"2026-12-01T12:00:22.000Z"}}