{"id":"CVE-2026-98048","state":"PUBLISHED","title":"bpf: don't rewrite bpf_fastcall patterns entered by a jump","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: don't rewrite bpf_fastcall patterns entered by a jump\n\nmark_fastcall_pattern_for_call() must ensure that matched\n\"spill; call; fill\" instruction series is not interrupted by a jump.\nOtherwise the rewrite applied by bpf_remove_fastcall_spills_fills()\nis not sound.\n\nRecord the instructions targeted by jumps in\ninsn_aux_data[*].jump_target when the CFG is built and use this flag\nto stop growing a pattern at such an instruction. Jumps to the first\nspill are fine.\n\nNote that existing insn_aux_data[*].jmp_point field can't be reused,\nas it marks subprogram return instructions.","publishedAt":"2026-09-25T10:23:57.956Z","updatedAt":"2026-10-21T12:54:15.043Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"a0cd1c3ac63504ba3c50c01a00c11812919b619f","versionType":"git"},{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"c4d3bdb3ab211dcfad734b02e06fcb12adb4757f","versionType":"git"},{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"24adbc2c3bbe3385ce922587e1f8e837a68b3e25","versionType":"git"},{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"0b1c83dc3c4401cd7e846548f62e3caf3d06742e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/bpf_verifier.h","kernel/bpf/cfg.c","kernel/bpf/verifier.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/bpf_verifier.h","kernel/bpf/cfg.c","kernel/bpf/verifier.c"]}],"references":["https://git.kernel.org/stable/c/a0cd1c3ac63504ba3c50c01a00c11812919b619f","https://git.kernel.org/stable/c/c4d3bdb3ab211dcfad734b02e06fcb12adb4757f","https://git.kernel.org/stable/c/24adbc2c3bbe3385ce922587e1f8e837a68b3e25","https://git.kernel.org/stable/c/0b1c83dc3c4401cd7e846548f62e3caf3d06742e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98048.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98048","state":"PUBLISHED","datePublished":"2026-09-25T10:23:57.956Z","dateUpdated":"2026-10-21T12:54:15.043Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:19:56.072Z"},"containers":{"cna":{"title":"bpf: don't rewrite bpf_fastcall patterns entered by a jump","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: don't rewrite bpf_fastcall patterns entered by a jump\n\nmark_fastcall_pattern_for_call() must ensure that matched\n\"spill; call; fill\" instruction series is not interrupted by a jump.\nOtherwise the rewrite applied by bpf_remove_fastcall_spills_fills()\nis not sound.\n\nRecord the instructions targeted by jumps in\ninsn_aux_data[*].jump_target when the CFG is built and use this flag\nto stop growing a pattern at such an instruction. Jumps to the first\nspill are fine.\n\nNote that existing insn_aux_data[*].jmp_point field can't be reused,\nas it marks subprogram return instructions."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"a0cd1c3ac63504ba3c50c01a00c11812919b619f","versionType":"git"},{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"c4d3bdb3ab211dcfad734b02e06fcb12adb4757f","versionType":"git"},{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"24adbc2c3bbe3385ce922587e1f8e837a68b3e25","versionType":"git"},{"version":"5b5f51bff1b66cedb62b5ba74a1878341204e057","status":"affected","lessThan":"0b1c83dc3c4401cd7e846548f62e3caf3d06742e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/bpf_verifier.h","kernel/bpf/cfg.c","kernel/bpf/verifier.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/linux/bpf_verifier.h","kernel/bpf/cfg.c","kernel/bpf/verifier.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a0cd1c3ac63504ba3c50c01a00c11812919b619f"},{"url":"https://git.kernel.org/stable/c/c4d3bdb3ab211dcfad734b02e06fcb12adb4757f"},{"url":"https://git.kernel.org/stable/c/24adbc2c3bbe3385ce922587e1f8e837a68b3e25"},{"url":"https://git.kernel.org/stable/c/0b1c83dc3c4401cd7e846548f62e3caf3d06742e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:54:15.043Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}