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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-26680— net: atlantic: Fix DMA mapping for PTP hwts ring

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

I. Basic Information for CVE-2024-26680

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
net: atlantic: Fix DMA mapping for PTP hwts ring
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: atlantic: Fix DMA mapping for PTP hwts ring Function aq_ring_hwts_rx_alloc() maps extra AQ_CFG_RXDS_DEF bytes for PTP HWTS ring but then generic aq_ring_free() does not take this into account. Create and use a specific function to free HWTS ring to fix this issue. Trace: [ 215.351607] ------------[ cut here ]------------ [ 215.351612] DMA-API: atlantic 0000:4b:00.0: device driver frees DMA memory with different size [device address=0x00000000fbdd0000] [map size=34816 bytes] [unmap size=32768 bytes] [ 215.351635] WARNING: CPU: 33 PID: 10759 at kernel/dma/debug.c:988 check_unmap+0xa6f/0x2360 ... [ 215.581176] Call Trace: [ 215.583632] <TASK> [ 215.585745] ? show_trace_log_lvl+0x1c4/0x2df [ 215.590114] ? show_trace_log_lvl+0x1c4/0x2df [ 215.594497] ? debug_dma_free_coherent+0x196/0x210 [ 215.599305] ? check_unmap+0xa6f/0x2360 [ 215.603147] ? __warn+0xca/0x1d0 [ 215.606391] ? check_unmap+0xa6f/0x2360 [ 215.610237] ? report_bug+0x1ef/0x370 [ 215.613921] ? handle_bug+0x3c/0x70 [ 215.617423] ? exc_invalid_op+0x14/0x50 [ 215.621269] ? asm_exc_invalid_op+0x16/0x20 [ 215.625480] ? check_unmap+0xa6f/0x2360 [ 215.629331] ? mark_lock.part.0+0xca/0xa40 [ 215.633445] debug_dma_free_coherent+0x196/0x210 [ 215.638079] ? __pfx_debug_dma_free_coherent+0x10/0x10 [ 215.643242] ? slab_free_freelist_hook+0x11d/0x1d0 [ 215.648060] dma_free_attrs+0x6d/0x130 [ 215.651834] aq_ring_free+0x193/0x290 [atlantic] [ 215.656487] aq_ptp_ring_free+0x67/0x110 [atlantic] ... [ 216.127540] ---[ end trace 6467e5964dd2640b ]--- [ 216.132160] DMA-API: Mapped at: [ 216.132162] debug_dma_alloc_coherent+0x66/0x2f0 [ 216.132165] dma_alloc_attrs+0xf5/0x1b0 [ 216.132168] aq_ring_hwts_rx_alloc+0x150/0x1f0 [atlantic] [ 216.132193] aq_ptp_ring_alloc+0x1bb/0x540 [atlantic] [ 216.132213] aq_nic_init+0x4a1/0x760 [atlantic]
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存在安全漏洞,该漏洞源于 net: atlantic 中的函数 aq_ring_hwts_rx_alloc() 映射额外的 AQ_CFG_RXDS_DEF 字节。
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 94ad94558b0fbf18dd6fb0987540af1693157556 ~ 466ceebe48cbba3f4506f165fca7111f9eb8bb12 -
LinuxLinux 5.5 -

II. Public POCs for CVE-2024-26680

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26680

登录查看更多情报信息。

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

CVE-2024-26676af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
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-26672drm/amdgpu: Fix variable 'mca_funcs' dereferenced before NULL check in 'amdgpu_mca_smu_get
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-2023-52633um: time-travel: fix time corruption
CVE-2024-26677rxrpc: Fix delayed ACKs to not set the reference serial number
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-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 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-26680

No comments yet


Leave a comment