{"id":"CVE-2024-40908","summary":"bpf: Set run context for rawtp test_run callback","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Set run context for rawtp test_run callback\n\nsyzbot reported crash when rawtp program executed through the\ntest_run interface calls bpf_get_attach_cookie helper or any\nother helper that touches task-\u003ebpf_ctx pointer.\n\nSetting the run context (task-\u003ebpf_ctx pointer) for test_run\ncallback.","modified":"2026-07-11T03:54:44.953733472Z","published":"2024-07-12T12:20:47.807Z","related":["SUSE-SU-2024:2802-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40908.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40908.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40908"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7adfc6c9b315e174cf8743b21b7b691c8766791b"},{"fixed":"789bd77c9342aa6125003871ae5c6034d0f6f9d2"},{"fixed":"3708b6c2546c9eb34aead8a34a17e8ae69004e4d"},{"fixed":"d387805d4b4a46ee01e3dae133c81b6d80195e5b"},{"fixed":"ae0ba0ab7475a129ef7d449966edf677367efeb4"},{"fixed":"d0d1df8ba18abc57f28fb3bc053b2bf319367f2c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40908.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.162"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.95"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.35"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40908.json"}}],"schema_version":"1.7.5"}