Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-45020— bpf: Fix a kernel verifier crash in stacksafe()

EPSS 0.02% · P7
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-45020

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
bpf: Fix a kernel verifier crash in stacksafe()
Source: NVD (National Vulnerability Database)
Vulnerability Description
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 != NOT_EXACT && old->stack[spi].slot_type[i % BPF_REG_SIZE] != cur->stack[spi].slot_type[i % BPF_REG_SIZE]) return false; The 'i' iterates old->allocated_stack. If cur->allocated_stack < old->allocated_stack the out-of-bound access will happen. To fix the issue add 'i >= cur->allocated_stack' check such that if the condition is true, stacksafe() should fail. Otherwise, cur->stack[spi].slot_type[i % BPF_REG_SIZE] memory access is legal.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于bpf组件存在内核验证器崩溃问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux ab470fefce2837e66b771c60858118d50bb5bb10 ~ 7cad3174cc79519bf5f6c4441780264416822c08 -
LinuxLinux 6.7 -

II. Public POCs for CVE-2024-45020

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-45020

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-09-11 · 23 CVEs total

CVE-2024-45019net/mlx5e: Take state lock during tx timeout reporter
CVE-2024-45010mptcp: pm: only mark 'subflow' endp as available
CVE-2024-45009mptcp: pm: only decrement add_addr_accepted for MPJ req
CVE-2024-45011char: xillybus: Check USB endpoints when probing device
CVE-2024-45013nvme: move stopping keep-alive into nvme_uninit_ctrl()
CVE-2024-45012nouveau/firmware: use dma non-coherent allocator
CVE-2024-45015drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()
CVE-2024-45014s390/boot: Avoid possible physmem_info segment corruption
CVE-2024-45016netem: fix return value if duplicate enqueue fails
CVE-2024-45018netfilter: flowtable: initialise extack before use
CVE-2024-45017net/mlx5: Fix IPsec RoCE MPV trace call
CVE-2024-46672wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion
CVE-2024-45021memcg_write_event_control(): fix a user-triggerable oops
CVE-2024-45023md/raid1: Fix data corruption for degraded array with slow disk
CVE-2024-45022mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
CVE-2024-45024mm/hugetlb: fix hugetlb vs. core-mm PT locking
CVE-2024-45026s390/dasd: fix error recovery leading to data corruption on ESE devices
CVE-2024-45025fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
CVE-2024-45027usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()
CVE-2024-45029i2c: tegra: Do not mark ACPI devices as irq safe

Showing top 20 of 23 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-45020

No comments yet


Leave a comment