{"id":"CVE-2026-90300","aliases":["CVE-2026-90300"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Clear buf on error in __bpf_get_task_stack","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Clear buf on error in __bpf_get_task_stack\n\nBoth bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that\nuse __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM\nargument and we should initialize the buf on every return path.\n\nAdding missing buf memset for __bpf_get_task_stack fail paths. This\nprovides deterministic buffer contents, which is useful when the buffer\nis used directly as a map key.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Clear buf on error in __bpf_get_task_stack\n\nBoth bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that\nuse __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM\nargument and we should initialize the buf on every return path.\n\nAdding missing buf memset for __bpf_get_task_stack fail paths. This\nprovides deterministic buffer contents, which is useful when the buffer\nis used directly as a map key.","source":"cvelist"}],"published":"2026-09-17T16:08:24.515Z","modified":"2026-10-30T13:20:48.903Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df","fixed":"5c4c57a277a87ed235183d03b671d346f5101f62","status":"affected"},{"type":"git","introduced":"06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df","fixed":"4acc761b4e3feca1eb648d21fc4d665b23c5372d","status":"affected"},{"type":"git","introduced":"06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df","fixed":"6f5a7bcc049709af12e403111d5e73e80910dafc","status":"affected"},{"type":"git","introduced":"06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df","fixed":"1f0f61573ba4cb899105b5cef65be3ca02205f93","status":"affected"},{"type":"git","introduced":"06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df","fixed":"f523359c4789bb0396d2d642464a6e2fd4f2299d","status":"affected"},{"type":"git","introduced":"06ab134ce8ecfa5a69e850f88f81c8a4c3fa91df","fixed":"f5d242825ca417bb6afe35fde6e8880f97ca43fb","status":"affected"},{"type":"git","version":"d921baabd96445ef9c9c9410ca06164359c8a1a5","status":"affected"},{"type":"git","version":"9c020a533eaae1c2d41a7e3835c4c818a9b4b656","status":"affected"},{"type":"git","version":"ff6bdc205fd0a83bd365405d4e31fb5905826996","status":"affected"},{"type":"semver","introduced":"5.10.30","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.11.14","fixed":"5.12","status":"affected"},{"type":"semver","introduced":"5.10.96","fixed":"5.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","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/5c4c57a277a87ed235183d03b671d346f5101f62","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4acc761b4e3feca1eb648d21fc4d665b23c5372d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f5a7bcc049709af12e403111d5e73e80910dafc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f0f61573ba4cb899105b5cef65be3ca02205f93","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f523359c4789bb0396d2d642464a6e2fd4f2299d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5d242825ca417bb6afe35fde6e8880f97ca43fb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90300","url":"https://www.cve.org/CVERecord?id=CVE-2026-90300","licence":"CVE Terms of Use","modified":"2026-10-30T12:35:04.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90300","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90300","licence":"Public domain","modified":"2026-10-30T13:20:48.903Z"}],"updatedAt":"2026-11-25T22:59:39.375Z","epss":{"score":0.00212,"percentile":0.12209,"date":"2026-12-01T12:00:22.000Z"}}