DEBIAN-CVE-2024-45020

Source
https://security-tracker.debian.org/tracker/DEBIAN-CVE-2024-45020
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-45020.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-45020
Upstream
Published
2024-09-11T16:15:07Z
Modified
2025-09-19T06:17:02Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a kernel verifier crash in stacksafe() Daniel Hodges reported a kernel verifier crash when playing with sched-ext. Further investigation shows that the crash is due to invalid memory access in stacksafe(). More specifically, it is the following code: if (exact != NOTEXACT && old->stack[spi].slottype[i % BPFREGSIZE] != cur->stack[spi].slottype[i % BPFREGSIZE]) return false; The 'i' iterates old->allocatedstack. If cur->allocatedstack < old->allocatedstack the out-of-bound access will happen. To fix the issue add 'i >= cur->allocatedstack' check such that if the condition is true, stacksafe() should fail. Otherwise, cur->stack[spi].slottype[i % BPFREGSIZE] memory access is legal.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.10.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.10.7-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}