x86/bpf: Fix IP after emitting call depth accounting
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.266.8.56.9In the Linux kernel, the following vulnerability has been resolved:
x86/bpf: Fix IP after emitting call depth accounting
Adjust the IP passed to `emit_patch` so it calculates the correct offset for the CALL instruction if `x86_call_depth_emit_accounting` emits code. Otherwise we will skip some instructions and most likely crash.
From the CVE record · Linux
The Linux kernel’s x86 BPF code can calculate the wrong offset for a CALL instruction when call-depth accounting emits code. This can skip instructions and likely cause a crash. The input does not specify an attacker action, access requirements, or user interaction.
Engineers running the Linux kernel should check their versions against the vendor advisory; affected versions are not specified.