What’s Vulnerable › Vulnerabilities

CVE-2024-40908: bpf: Set run context for rawtp test_run callback

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Set run context for rawtp test_run callback syzbot reported crash when rawtp program executed through the test_run interface calls bpf_get_attach_cookie helper or any other helper that touches task->bpf_ctx pointer. Setting the run context (task->bpf_ctx pointer) for test_run callback.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.162, 6.1.95, 6.6.35, 6.9.6. Check the vendor advisory for mitigations.

References

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