Security mailing lists by PureSourceCode

CVE-2026-98084

MEDIUM 5.5CVSS 3.1

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 bpf_loop() verifier marks R1 (and R4) as
precise. R1 tracks loop iterations number and because of the
'callback_depth < R1' mechanics in check_helper_call() must be marked
precise. However, precision propagation for R1 was broken,
when bpf_loop() call was verified on a second iteration.

Consider the following verification trace:

  • main: bpf_loop(nr_loops, callback ...)
  • callback: BPF_EXIT
  • main: bpf_loop(nr_loops, callback ...)
  • ...

While the first visit of the call to bpf_loop() propagated R1
precision as expected, the second call to mark_chain_precision() in
the check_helper_call() set R1, but it was immediately reset when
backtrack_insn() processed preceding BPF_EXIT in the loop deleted in
this patch.

Because of that, the second visit of the call to bpf_loop() injected
checkpoint with R1 not marked as precise. Which could trick the
verifier into accepting unsafe programs. See the next patch for an
example of such program.

Commit is structured in a way to minimize conflicts when
'bpf' would be eventually merged with 'bpf-next'.

Published
25 Sep 2026
Last modified
17 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Analyzed
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.6.15, < 6.6.160 6.6.160
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7.1, < 6.12.114 6.12.114
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.13, < 6.18.57 6.18.57
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.19, < 7.2.7 7.2.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:-:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc3:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc4:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc5:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc6:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc7:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.7:rc8:*:*:*:*:*:*
= 6.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
= 7.3

References

History

  • 25 Nov 2026 21:21 UTC · NVD: first stored (published 25 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.