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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-26672— drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL check in 'amdgpu_mca_smu_get_mca_entry()'

EPSS 0.01% · P1
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-26672

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
drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL check in 'amdgpu_mca_smu_get_mca_entry()'
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL check in 'amdgpu_mca_smu_get_mca_entry()' Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c:377 amdgpu_mca_smu_get_mca_entry() warn: variable dereferenced before check 'mca_funcs' (see line 368) 357 int amdgpu_mca_smu_get_mca_entry(struct amdgpu_device *adev, enum amdgpu_mca_error_type type, 358 int idx, struct mca_bank_entry *entry) 359 { 360 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; 361 int count; 362 363 switch (type) { 364 case AMDGPU_MCA_ERROR_TYPE_UE: 365 count = mca_funcs->max_ue_count; mca_funcs is dereferenced here. 366 break; 367 case AMDGPU_MCA_ERROR_TYPE_CE: 368 count = mca_funcs->max_ce_count; mca_funcs is dereferenced here. 369 break; 370 default: 371 return -EINVAL; 372 } 373 374 if (idx >= count) 375 return -EINVAL; 376 377 if (mca_funcs && mca_funcs->mca_get_mca_entry) ^^^^^^^^^ Checked too late!
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 存在安全漏洞,该漏洞源于amdgpu_mca_smu_get_mca_entry()存在安全漏洞。
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 d38ceaf99ed015f2a0b9af3499791bd3a3daae21 ~ 7b5d58c07024516c0e81b95e98f37710cf402c53 -
LinuxLinux 4.2 -

II. Public POCs for CVE-2024-26672

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26672

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-04-02 · 35 CVEs total

CVE-2024-26677rxrpc: Fix delayed ACKs to not set the reference serial number
CVE-2023-52634drm/amd/display: Fix disable_otg_wa logic
CVE-2023-52635PM / devfreq: Synchronize devfreq_monitor_[start/stop]
CVE-2024-26671blk-mq: fix IO hang from sbitmap wakeup race
CVE-2024-26673netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
CVE-2023-52636libceph: just wait for more data to be available on the socket
CVE-2024-26674x86/lib: Revert to _ASM_EXTABLE_UA() for {get,put}_user() fixups
CVE-2024-26675ppp_async: limit MRU to 64K
CVE-2024-26676af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
CVE-2023-52633um: time-travel: fix time corruption
CVE-2024-26678x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section
CVE-2024-26679inet: read sk->sk_family once in inet_recv_error()
CVE-2024-26680net: atlantic: Fix DMA mapping for PTP hwts ring
CVE-2024-26681netdevsim: avoid potential loop in nsim_dev_trap_report_work()
CVE-2024-26682wifi: mac80211: improve CSA/ECSA connection refusal
CVE-2024-26683wifi: cfg80211: detect stuck ECSA element in probe resp
CVE-2024-26684net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
CVE-2024-26664hwmon: (coretemp) Fix out-of-bounds memory access
CVE-2024-26657drm/sched: fix null-ptr-deref in init entity
CVE-2023-52631fs/ntfs3: Fix an NULL dereference bug

Showing top 20 of 35 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2024-26672

No comments yet


Leave a comment