{"vuln_id":"CVE-2026-98084","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: backtracking shouldn't clear outer frame R1-R5 for callbacks\n\nWhen processing calls to bpf_loop() verifier marks R1 (and R4) as\nprecise. R1 tracks loop iterations number and because of the\n'callback_depth < R1' mechanics in check_helper_call() must be marked\nprecise. However, precision propagation for R1 was broken,\nwhen bpf_loop() call was verified on a second iteration.\n\nConsider the following verification trace:\n- main: bpf_loop(nr_loops, callback ...)\n- callback: BPF_EXIT\n- main: bpf_loop(nr_loops, callback ...)\n- ...\n\nWhile the first visit of the call to bpf_loop() propagated R1\nprecision as expected, the second call to mark_chain_precision() in\nthe check_helper_call() set R1, but it was immediately reset when\nbacktrack_insn() processed preceding BPF_EXIT in the loop deleted in\nthis patch.\n\nBecause of that, the second visit of the call to bpf_loop() injected\ncheckpoint with R1 not marked as precise. Which could trick the\nverifier into accepting unsafe programs. See the next patch for an\nexample of such program.\n\nCommit is structured in a way to minimize conflicts when\n'bpf' would be eventually merged with 'bpf-next'.","published_at":"2026-09-25T11:17:37.980000Z","modified_at":"2026-11-17T20:23:15.893000Z","first_seen_at":"2026-11-21T19:15:46.903313Z","severity":"medium","severity_source":"nvd","cvss_score":5.5,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00122,"epss_percentile":0.01973,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98084"},"matched_alias":null,"items":[{"id":3631,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-98084: In the Linux kernel, the following vulnerability has been resolved: bpf: backtracking shouldn't clear outer frame R1-R5 for callbacks When processing calls to…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: backtracking shouldn't clear outer frame R1-R5 for callbacks\n\nWhen processing calls to bpf_loop() verifier marks R1 (and R4) as\nprecise. R1 tracks loop iterations number and because of the\n'callback_depth < R1' mechanics in check_helper_call() must be marked\nprecise. However, precision propagation for R1 was broken,\nwhen bpf_loop() call was verified on a second iteration.\n\nConsider the following verification trace:\n- main: bpf_loop(nr_loops, callback ...)\n- callback: BPF_EXIT\n- main: bpf_loop(nr_loops, callback ...)\n- ...\n\nWhile the first visit of the call to bpf_loop() propagated R1\nprecision as expected, the second call to mark_chain_precision() in\nthe check_helper_call() set R1, but it was immediately reset when\nbacktrack_insn() processed preceding BPF_EXIT in the loop deleted in\nthis patch.\n\nBecause of that, the second visit of the call to bpf_loop() injected\ncheckpoint with R1 not marked as precise. Which could trick the\nverifier into accepting unsafe programs. See the next patch for an\nexample of such program.\n\nCommit is structured in a way to minimize conflicts when\n'bpf' would be eventually merged with 'bpf-next'.\n\nReferences:\nhttps://git.kernel.org/stable/c/1ac58dab0a83d2c64e3b807a3a0b399f17a74110\nhttps://git.kernel.org/stable/c/3a39bc9707fbd1bef4df7318a9d02222741dda5b\nhttps://git.kernel.org/stable/c/cdc93c6370f792d0649df2a145ac0cdcd430e411\nhttps://git.kernel.org/stable/c/e3e4f66cc4b72333d0886ae2673c360248987889\nhttps://git.kernel.org/stable/c/f83890dfed9efc5e19df1dbc1ad707a142936923","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98084","published_at":"2026-09-25T11:17:37.980000Z","updated_at":"2026-11-17T20:23:15.893000Z","fetched_at":"2026-11-21T19:15:31.479178Z","severity":"medium","cvss_score":5.5,"epss":0.00122,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-98084","vuln_ids":["CVE-2026-98084"],"tags":[],"cluster_id":3930,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3631","html":"https://vulnwatch.ve1ve2.com/item/3631"}}]}