目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2024-53058— Linux kernel 安全漏洞

AI 预测 5.5 利用难度: 中等 EPSS 0.24% · P16

可能的 ATT&CK 技术 1AI

T1564.008 · Email Hiding Rules

影响版本矩阵 12

厂商产品版本范围状态
LinuxLinuxf748be531d7012c456b97f66091d86b3675c5fef< ece593fc9c00741b682869d3f3dc584d37b7c9dfaffected
f748be531d7012c456b97f66091d86b3675c5fef< a3ff23f7c3f0e13f718900803e090fd3997d6bc9affected
f748be531d7012c456b97f66091d86b3675c5fef< 07c9c26e37542486e34d767505e842f48f29c3f6affected
f748be531d7012c456b97f66091d86b3675c5fef< 58d23d835eb498336716cca55b5714191a309286affected
f748be531d7012c456b97f66091d86b3675c5fef< 66600fac7a984dea4ae095411f644770b2561edeaffected
4.7affected
< 4.7unaffected
5.15.171≤ 5.15.*unaffected
… +4 条更多
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2024-53058 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data In case the non-paged data of a SKB carries protocol header and protocol payload to be transmitted on a certain platform that the DMA AXI address width is configured to 40-bit/48-bit, or the size of the non-paged data is bigger than TSO_MAX_BUFF_SIZE on a certain platform that the DMA AXI address width is configured to 32-bit, then this SKB requires at least two DMA transmit descriptors to serve it. For example, three descriptors are allocated to split one DMA buffer mapped from one piece of non-paged data: dma_desc[N + 0], dma_desc[N + 1], dma_desc[N + 2]. Then three elements of tx_q->tx_skbuff_dma[] will be allocated to hold extra information to be reused in stmmac_tx_clean(): tx_q->tx_skbuff_dma[N + 0], tx_q->tx_skbuff_dma[N + 1], tx_q->tx_skbuff_dma[N + 2]. Now we focus on tx_q->tx_skbuff_dma[entry].buf, which is the DMA buffer address returned by DMA mapping call. stmmac_tx_clean() will try to unmap the DMA buffer _ONLY_IF_ tx_q->tx_skbuff_dma[entry].buf is a valid buffer address. The expected behavior that saves DMA buffer address of this non-paged data to tx_q->tx_skbuff_dma[entry].buf is: tx_q->tx_skbuff_dma[N + 0].buf = NULL; tx_q->tx_skbuff_dma[N + 1].buf = NULL; tx_q->tx_skbuff_dma[N + 2].buf = dma_map_single(); Unfortunately, the current code misbehaves like this: tx_q->tx_skbuff_dma[N + 0].buf = dma_map_single(); tx_q->tx_skbuff_dma[N + 1].buf = NULL; tx_q->tx_skbuff_dma[N + 2].buf = NULL; On the stmmac_tx_clean() side, when dma_desc[N + 0] is closed by the DMA engine, tx_q->tx_skbuff_dma[N + 0].buf is a valid buffer address obviously, then the DMA buffer will be unmapped immediately. There may be a rare case that the DMA engine does not finish the pending dma_desc[N + 1], dma_desc[N + 2] yet. Now things will go horribly wrong, DMA is going to access a unmapped/unreferenced memory region, corrupted data will be transmited or iommu fault will be triggered :( In contrast, the for-loop that maps SKB fragments behaves perfectly as expected, and that is how the driver should do for both non-paged data and paged frags actually. This patch corrects DMA map/unmap sequences by fixing the array index for tx_q->tx_skbuff_dma[entry].buf when assigning DMA buffer address. Tested and verified on DWXGMAC CORE 3.20a
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Linux kernel 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于存在非页SKB数据的不平衡DMA映射或取消映射问题。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
LinuxLinux f748be531d7012c456b97f66091d86b3675c5fef ~ ece593fc9c00741b682869d3f3dc584d37b7c9df -
LinuxLinux 4.7 -

二、漏洞 CVE-2024-53058 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-53058 的情报信息

登录查看更多情报信息。

CVE-2024-53058 补丁与修复 (1)

同批安全公告 · Linux · 2024-11-19 · 共 88 条

CVE-2024-53056Linux kernel 安全漏洞
CVE-2024-53052Linux kernel 安全漏洞
CVE-2024-53053Linux kernel 安全漏洞
CVE-2024-53050Linux kernel 安全漏洞
CVE-2024-53049Linux kernel 安全漏洞
CVE-2024-53047Linux kernel 安全漏洞
CVE-2024-53045Linux kernel 安全漏洞
CVE-2024-53046Linux kernel 安全漏洞
CVE-2024-53044Linux kernel 安全漏洞
CVE-2024-53048Linux kernel 安全漏洞
CVE-2024-53055Linux kernel 安全漏洞
CVE-2024-53057Linux kernel 安全漏洞
CVE-2024-53059Linux kernel 安全漏洞
CVE-2024-53060Linux kernel 安全漏洞
CVE-2024-53061Linux kernel 安全漏洞
CVE-2024-53062Linux kernel 安全漏洞
CVE-2024-53064Linux kernel 安全漏洞
CVE-2024-53063Linux kernel 安全漏洞
CVE-2024-53066Linux kernel 安全漏洞
CVE-2024-53065Linux kernel 安全漏洞

显示前 20 条,共 88 条。 查看全部 &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-53058

暂无评论


发表评论