Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Daniel Hodges

Researcher fromMeta
#38016of 61,044
7.8Total CVSS
Vulnerabilities · 1
PT-2024-31374
2024-08-12
7.8
CVE-2024-45020
Linux
Linux Kernel
The issue is related to a kernel verifier crash in the `stacksafe()` function due to invalid memory access. This occurs when `cur->allocated stack` is less than `old->allocated stack`, causing an out-of-bound access. The crash was reported by Daniel Hodges while working with sched-ext. The vulnerable code is in the `stacksafe()` function, specifically in the condition `if (exact != NOT EXACT && old->stack[spi].slot type[i % BPF REG SIZE] != cur->stack[spi].slot type[i % BPF REG SIZE])`. To fix the issue, an `i >= cur->allocated stack` check should be added to prevent the out-of-bound access.