{"schema":"threatline.record/2","record":{"id":"CVE-2026-98599","aliases":[],"summary":"bpf: Reject non-negative offsets in stack_slot_obj_get_spi()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject non-negative offsets in stack_slot_obj_get_spi()\n\nbpf_get_spi() computes (-off - 1) / BPF_REG_SIZE using C division,\nwhich truncates toward zero. For off == 0, this produces spi 0, the\nsame index used by the valid stack slot at fp-8.\n\nstack_slot_obj_get_spi() currently checks alignment and the resulting\nspi bounds, but does not reject the non-negative offset itself. It can\ntherefore validate a PTR_TO_STACK register holding fp+0 against an\niterator stored at fp-8 even though the runtime receives the actual fp+0\npointer. An effectful iterator kfunc can then interpret memory outside\nthe BPF stack as iterator state.\n\nReject non-negative offsets before converting the offset to an spi. All\nvalid stack objects begin at a negative offset from the frame pointer.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98599","source_modified_at":"2026-10-19T09:22:25.359Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"06accc8779c1d558a5b5a21f2ac82b0c95827ddd","lessThan":"89a7241fc7ecc1b5e47c3f071081e314523b8d9d","status":"affected","versionType":"git"},{"version":"06accc8779c1d558a5b5a21f2ac82b0c95827ddd","lessThan":"79a9172f3ab4ad8392c5e5c8944b9b7710ade620","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98599","source_modified_at":"2026-10-19T09:22:25.359Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.4","status":"affected"},{"version":"0","lessThan":"6.4","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98599","source_modified_at":"2026-10-19T09:22:25.359Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"89a7241fc7ecc1b5e47c3f071081e314523b8d9d","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98599","source_modified_at":"2026-10-19T09:22:25.359Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"79a9172f3ab4ad8392c5e5c8944b9b7710ade620","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00189,"percentile":0.08115,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:19:11.941Z","modified_at":"2026-10-19T09:22:25.359Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98599","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:22:25.359Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98599","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/89a7241fc7ecc1b5e47c3f071081e314523b8d9d"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/79a9172f3ab4ad8392c5e5c8944b9b7710ade620"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:22:25.359Z","content_hash":"5aed5b5f48ac15758239b56fc8ff7c727ae53349636b31eb7f2b926d4f2840f6"}}
