What’s Vulnerable › Vulnerabilities

CVE-2024-35903: x86/bpf: Fix IP after emitting call depth accounting

Description

In 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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.26, 6.8.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35903 or the next vulnerability affects your stack