{"id":"CVE-2026-98044","aliases":["CVE-2026-98044"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Reject legacy packet loads from callbacks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject legacy packet loads from callbacks\n\ncheck_ld_abs() models a failed BPF_LD_ABS or BPF_LD_IND in a\nsubprogram as an implicit return with R0 set to zero. It calls\nprepare_func_exit() to explore this synthesized path.\n\nWhen the load is reached directly from a synchronous callback,\nprepare_func_exit() enforces the callback return contract and marks R0\nprecise. R0 is not derived from a real instruction on this path, so\nprecision backtracking reaches the callback call with R0 still requested\nand triggers the \"callback unexpected regs\" verifier bug. A privileged\nprogram loader can therefore cause a verifier warning and an -EFAULT\nBPF_PROG_LOAD.\n\nThese legacy packet-load instructions are deprecated. Reject them from\ncallbacks rather than complicating their implicit-return model. Check all\nactive frames before constructing the implicit return so nested static\nsubprograms cannot hide the callback context.\n\nGlobal functions are verified independently with a fresh frame zero, so\nan active-frame check cannot identify a global function called from a\ncallback. Also check the complete subprogram call graph during stack-depth\nvalidation and reject a function containing a legacy load when any caller\nis a callback. This covers global and static descendants without making\nhas_ld_abs transitive, preserving its per-function BTF return-type check.\nOrdinary uses outside callbacks remain supported.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject legacy packet loads from callbacks\n\ncheck_ld_abs() models a failed BPF_LD_ABS or BPF_LD_IND in a\nsubprogram as an implicit return with R0 set to zero. It calls\nprepare_func_exit() to explore this synthesized path.\n\nWhen the load is reached directly from a synchronous callback,\nprepare_func_exit() enforces the callback return contract and marks R0\nprecise. R0 is not derived from a real instruction on this path, so\nprecision backtracking reaches the callback call with R0 still requested\nand triggers the \"callback unexpected regs\" verifier bug. A privileged\nprogram loader can therefore cause a verifier warning and an -EFAULT\nBPF_PROG_LOAD.\n\nThese legacy packet-load instructions are deprecated. Reject them from\ncallbacks rather than complicating their implicit-return model. Check all\nactive frames before constructing the implicit return so nested static\nsubprograms cannot hide the callback context.\n\nGlobal functions are verified independently with a fresh frame zero, so\nan active-frame check cannot identify a global function called from a\ncallback. Also check the complete subprogram call graph during stack-depth\nvalidation and reject a function containing a legacy load when any caller\nis a callback. This covers global and static descendants without making\nhas_ld_abs transitive, preserving its per-function BTF return-type check.\nOrdinary uses outside callbacks remain supported.","source":"cvelist"}],"published":"2026-09-25T10:23:55.454Z","modified":"2026-10-21T13:21:20.053Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8674e2db06cff6b50f2216eed9a761d15425bb34","fixed":"cebda2a2bb4183550eae9dcf888c16407b4fffda","status":"affected"},{"type":"git","introduced":"ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337","fixed":"3484a99303912db62428494a9061212049027e57","status":"affected"},{"type":"git","introduced":"ee861486e377edc55361c08dcbceab3f6b6577bd","fixed":"bc489c0c9b8c86bd7fac42cfd1bb152f042fca56","status":"affected"},{"type":"git","introduced":"ee861486e377edc55361c08dcbceab3f6b6577bd","fixed":"e7d28823c662128caae63f14e16bd394916c139b","status":"affected"},{"type":"git","version":"928d354ae3557e8f755a227e67be88034eb3cd7f","status":"affected"},{"type":"git","version":"8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe","status":"affected"},{"type":"git","version":"de1055e7f9e67af32b1f3376066272b04e5223c0","status":"affected"},{"type":"git","version":"37ad2bb11e9de92cb7b94548705eeedd87f7d392","status":"affected"},{"type":"git","version":"d846d83bdacbd8f14fc45c63b8c1d22608452e1c","status":"affected"},{"type":"semver","introduced":"6.12.101","fixed":"6.12.114","status":"affected"},{"type":"semver","introduced":"6.18.42","fixed":"6.18.53","status":"affected"},{"type":"semver","introduced":"5.10.265","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.216","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"6.1.183","fixed":"6.2","status":"affected"},{"type":"semver","introduced":"6.6.148","fixed":"6.7","status":"affected"},{"type":"semver","introduced":"7.0.10","fixed":"7.1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","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/cebda2a2bb4183550eae9dcf888c16407b4fffda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3484a99303912db62428494a9061212049027e57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bc489c0c9b8c86bd7fac42cfd1bb152f042fca56","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7d28823c662128caae63f14e16bd394916c139b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98044","url":"https://www.cve.org/CVERecord?id=CVE-2026-98044","licence":"CVE Terms of Use","modified":"2026-10-21T12:54:12.833Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98044","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98044","licence":"Public domain","modified":"2026-10-21T13:21:20.053Z"}],"updatedAt":"2026-11-25T22:59:41.034Z","epss":{"score":0.00168,"percentile":0.06384,"date":"2026-12-01T12:00:22.000Z"}}