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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-56719— net: stmmac: fix TSO DMA API usage causing oops

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存在安全漏洞,该漏洞源于net:stmmac子系统中TSO DMA API的使用问题。

CVSS 10.0 · Critical EPSS 0.54% · P45

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 17

VendorProduct Version RangeStatus
Linux Linux ece593fc9c00741b682869d3f3dc584d37b7c9df< 05968b6dd0ffc65d7386608b11a11fb4fdfc9f36 affected
a3ff23f7c3f0e13f718900803e090fd3997d6bc9< 6abcdc9a73274052a9e96a1926994ecf9aedad82 affected
07c9c26e37542486e34d767505e842f48f29c3f6< db3667c9bbfbbf5de98e6c9542f7e03fb5243286 affected
66600fac7a984dea4ae095411f644770b2561ede< 9d5dd7ccea1b46a9a7c6b3c2b9e5ed8864e185e2 affected
66600fac7a984dea4ae095411f644770b2561ede< 4c49f38e20a57f8abaebdf95b369295b153d1f8e affected
58d23d835eb498336716cca55b5714191a309286 affected
5.15.171< 5.15.209 affected
6.1.116< 6.1.167 affected
… +9 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-56719

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: stmmac: fix TSO DMA API usage causing oops
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: stmmac: fix TSO DMA API usage causing oops Commit 66600fac7a98 ("net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data") moved the assignment of tx_skbuff_dma[]'s members to be later in stmmac_tso_xmit(). The buf (dma cookie) and len stored in this structure are passed to dma_unmap_single() by stmmac_tx_clean(). The DMA API requires that the dma cookie passed to dma_unmap_single() is the same as the value returned from dma_map_single(). However, by moving the assignment later, this is not the case when priv->dma_cap.addr64 > 32 as "des" is offset by proto_hdr_len. This causes problems such as: dwc-eth-dwmac 2490000.ethernet eth0: Tx DMA map failed and with DMA_API_DEBUG enabled: DMA-API: dwc-eth-dwmac 2490000.ethernet: device driver tries to +free DMA memory it has not allocated [device address=0x000000ffffcf65c0] [size=66 bytes] Fix this by maintaining "des" as the original DMA cookie, and use tso_des to pass the offset DMA cookie to stmmac_tso_allocator(). Full details of the crashes can be found at: https://lore.kernel.org/all/d8112193-0386-4e14-b516-37c2d838171a@nvidia.com/ https://lore.kernel.org/all/klkzp5yn5kq5efgtrow6wbvnc46bcqfxs65nz3qy77ujr5turc@bwwhelz2l4dw/
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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存在安全漏洞,该漏洞源于net:stmmac子系统中TSO DMA API的使用问题。
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 ece593fc9c00741b682869d3f3dc584d37b7c9df ~ 05968b6dd0ffc65d7386608b11a11fb4fdfc9f36 -
Linux Linux 6.12 -

II. Public POCs for CVE-2024-56719

# 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-56719

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

Patches & Fixes for CVE-2024-56719 (5)

Same Patch Batch · Linux · 2024-12-29 · 39 CVEs total

CVE-2024-56718 9.8 CRITICAL net/smc: protect link down work from execute after lgr freed
CVE-2024-56740 7.8 HIGH nfs/localio: must clear res.replen in nfs_local_read_done
CVE-2024-56709 7.8 HIGH io_uring: check if iowq is killed before queuing
CVE-2024-56715 7.8 HIGH ionic: Fix netdev notifier unregister on failure
CVE-2024-56720 7.8 HIGH bpf, sockmap: Several fixes to bpf_msg_pop_data
CVE-2024-56717 7.5 HIGH net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
CVE-2024-56749 7.5 HIGH dlm: fix dlm_recover_members refcount on error
CVE-2024-56721 7.1 HIGH x86/CPU/AMD: Terminate the erratum_1386_microcode array
CVE-2024-56742 vfio/mlx5: Fix an unwind issue in mlx5vf_add_migration_pages()
CVE-2024-56729 smb: Initialize cfid->tcon before performing network ops
CVE-2024-56743 nfs_common: must not hold RCU while calling nfsd_file_put_local
CVE-2024-56745 PCI: Fix reset_method_store() memory leak
CVE-2024-56744 f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason()
CVE-2024-56746 fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
CVE-2024-56748 scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
CVE-2024-56747 scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
CVE-2024-56750 erofs: fix blksize < PAGE_SIZE for file-backed mounts
CVE-2024-56751 ipv6: release nexthop on device removal
CVE-2024-56752 drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
CVE-2024-56753 drm/amdgpu/gfx9: Add Cleaner Shader Deinitialization in gfx_v9_0 Module

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-56719

No comments yet


Leave a comment