{"vuln_id":"CVE-2026-98061","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject tail calls directly from callback frames\n\nA tail call from a non-zero frame is modeled as a return from that frame.\nThe verifier makes R0 unknown and calls prepare_func_exit() for the taken\nbranch.\n\nWhen the current frame is a synchronous callback, prepare_func_exit()\nenforces the callback return-value contract and marks R0 precise. Since the\ntail-call path synthesized R0 rather than deriving it from an instruction,\nprecision backtracking reaches the callback-calling instruction with R0\nstill requested and triggers the \"callback unexpected regs\" verifier bug.\nA CAP_BPF task can therefore cause a WARN and an -EFAULT BPF_PROG_LOAD.\n\nTail calls reachable from callbacks are already rejected later by\ncheck_max_stack_depth(). Reject a tail call made directly by a callback\nbefore constructing the inconsistent return state, using the existing\ndiagnostic. Tail calls from ordinary subprograms keep their current\nbehavior.","published_at":"2026-09-25T11:17:35.110000Z","modified_at":"2026-11-18T13:11:54.927000Z","first_seen_at":"2026-11-21T19:15:46.891936Z","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":["CWE-670"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00153,"epss_percentile":0.04404,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98061"},"matched_alias":null,"items":[{"id":3613,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-98061: In the Linux kernel, the following vulnerability has been resolved: bpf: Reject tail calls directly from callback frames A tail call from a non-zero frame is m…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject tail calls directly from callback frames\n\nA tail call from a non-zero frame is modeled as a return from that frame.\nThe verifier makes R0 unknown and calls prepare_func_exit() for the taken\nbranch.\n\nWhen the current frame is a synchronous callback, prepare_func_exit()\nenforces the callback return-value contract and marks R0 precise. Since the\ntail-call path synthesized R0 rather than deriving it from an instruction,\nprecision backtracking reaches the callback-calling instruction with R0\nstill requested and triggers the \"callback unexpected regs\" verifier bug.\nA CAP_BPF task can therefore cause a WARN and an -EFAULT BPF_PROG_LOAD.\n\nTail calls reachable from callbacks are already rejected later by\ncheck_max_stack_depth(). Reject a tail call made directly by a callback\nbefore constructing the inconsistent return state, using the existing\ndiagnostic. Tail calls from ordinary subprograms keep their current\nbehavior.\n\nReferences:\nhttps://git.kernel.org/stable/c/266aa4ad0b2e82397cd9045752c9bff03d98eddd\nhttps://git.kernel.org/stable/c/617c8266e49f45747f71e74177646a63f72b7025\nhttps://git.kernel.org/stable/c/96d31b28263c429a56e4de85bcf744a5c320b3a3","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98061","published_at":"2026-09-25T11:17:35.110000Z","updated_at":"2026-11-18T13:11:54.927000Z","fetched_at":"2026-11-21T19:15:31.479164Z","severity":"medium","cvss_score":5.5,"epss":0.00153,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-98061","vuln_ids":["CVE-2026-98061"],"tags":["CWE-670"],"cluster_id":3912,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3613","html":"https://vulnwatch.ve1ve2.com/item/3613"}}]}