CVE-2024-40908: bpf: Set run context for rawtp test_run callback
Vulnerability summary
CVE-2024-40908 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 20.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 21Timeline
- 12-07-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.28% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu116 products
- linux< 5.15.0-121.131 | < 6.8.0-44.44
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1069.75 | < 6.8.0-1015.16
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 7adfc6c9b315e174cf8743b21b7b691c8766791b, < 789bd77c9342aa6125003871ae5c6034d0f6f9d2 | ≥ 7adfc6c9b315e174cf8743b21b7b691c8766791b, < 3708b6c2546c9eb34aead8a34a17e8ae69004e4d | ≥ 7adfc6c9b315e174cf8743b21b7b691c8766791b, < d387805d4b4a46ee01e3dae133c81b6d80195e5b | ≥ 7adfc6c9b315e174cf8743b21b7b691c8766791b, < ae0ba0ab7475a129ef7d449966edf677367efeb4 | ≥ 7adfc6c9b315e174cf8743b21b7b691c8766791b, < d0d1df8ba18abc57f28fb3bc053b2bf319367f2c | 5.15
- linux_kernel≥ 5.15, < 5.15.162 | ≥ 5.16, < 6.1.95 | ≥ 6.2, < 6.6.35 | ≥ 6.7, < 6.9.6 | 6.10:rc1 | 6.10:rc2
Debian1 product
- linux< 6.1.99-1 | < 6.9.7-1
3 vendors · 119 products