{"id":"CVE-2024-40908","published":"2024-07-12T12:20:47Z","modified":"2026-05-11T20:22:09Z","title":"bpf: Set run context for rawtp test_run callback","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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->bpf_ctx pointer.\n\nSetting the run context (task->bpf_ctx pointer) for test_run\ncallback.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00277,"percentile":0.20627,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2","tags":[]},{"url":"https://git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d","tags":[]},{"url":"https://git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b","tags":[]},{"url":"https://git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4","tags":[]},{"url":"https://git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":4.13}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7adfc6c9b315e174cf8743b21b7b691c8766791b, < 789bd77c9342aa6125003871ae5c6034d0f6f9d2",">= 7adfc6c9b315e174cf8743b21b7b691c8766791b, < 3708b6c2546c9eb34aead8a34a17e8ae69004e4d",">= 7adfc6c9b315e174cf8743b21b7b691c8766791b, < d387805d4b4a46ee01e3dae133c81b6d80195e5b",">= 7adfc6c9b315e174cf8743b21b7b691c8766791b, < ae0ba0ab7475a129ef7d449966edf677367efeb4",">= 7adfc6c9b315e174cf8743b21b7b691c8766791b, < d0d1df8ba18abc57f28fb3bc053b2bf319367f2c"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:06:12.373504Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38719","exploited":false,"provenance":"source"}}