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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于bpf组件存在内核验证器崩溃问题。

CVSS 7.8 · High EPSS 0.23% · P13

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 9

VendorProduct Version RangeStatus
Linux Linux ab470fefce2837e66b771c60858118d50bb5bb10< 7cad3174cc79519bf5f6c4441780264416822c08 affected
2793a8b015f7f1caadb9bce9c63dc659f7522676< 6e3987ac310c74bb4dd6a2fa8e46702fe505fb2b affected
2793a8b015f7f1caadb9bce9c63dc659f7522676< bed2eb964c70b780fb55925892a74f26cb590b25 affected
6.6.15< 6.6.48 affected
6.7 affected
< 6.7 unaffected
6.6.48≤ 6.6.* unaffected
6.10.7≤ 6.10.* unaffected
… +1 more rows
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux ab470fefce2837e66b771c60858118d50bb5bb10 ~ 7cad3174cc79519bf5f6c4441780264416822c08 -
Linux Linux 6.7 -

II. Public POCs for CVE-2024-45020

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-45020

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-45020 (1)

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

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

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