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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-43856— dma: fix call order in dmam_free_coherent

CVSS 7.8 · High EPSS 0.42% · P35

Possible ATT&CK Techniques 1AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinux9ac7849e35f705830f7b016ff272b0ff1f7ff759< fe2d246080f035e0af5793cb79067ba125e4fb63affected
9ac7849e35f705830f7b016ff272b0ff1f7ff759< 2f7bbdc744f2e7051d1cb47c8e082162df1923c9affected
9ac7849e35f705830f7b016ff272b0ff1f7ff759< 257193083e8f43907e99ea633820fc2b3bcd24c7affected
9ac7849e35f705830f7b016ff272b0ff1f7ff759< 87b34c8c94e29fa01d744e5147697f592998d954affected
9ac7849e35f705830f7b016ff272b0ff1f7ff759< f993a4baf6b622232e4c190d34c220179e5d61ebaffected
9ac7849e35f705830f7b016ff272b0ff1f7ff759< 1fe97f68fce1ba24bf823bfb0eb0956003473130affected
9ac7849e35f705830f7b016ff272b0ff1f7ff759< 22094f5f52e7bc16c5bf9613365049383650b02eaffected
9ac7849e35f705830f7b016ff272b0ff1f7ff759< 28e8b7406d3a1f5329a03aa25a43aa28e087cb20affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-43856

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
dma: fix call order in dmam_free_coherent
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: dma: fix call order in dmam_free_coherent dmam_free_coherent() frees a DMA allocation, which makes the freed vaddr available for reuse, then calls devres_destroy() to remove and free the data structure used to track the DMA allocation. Between the two calls, it is possible for a concurrent task to make an allocation with the same vaddr and add it to the devres list. If this happens, there will be two entries in the devres list with the same vaddr and devres_destroy() can free the wrong entry, triggering the WARN_ON() in dmam_match. Fix by destroying the devres entry before freeing the DMA allocation. kokonut //net/encryption http://sponge2/b9145fe6-0f72-4325-ac2f-a84d81075b03
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存在安全漏洞,该漏洞源于dmam_free_coherent中的调用顺序存在问题。
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 9ac7849e35f705830f7b016ff272b0ff1f7ff759 ~ fe2d246080f035e0af5793cb79067ba125e4fb63 -
LinuxLinux 2.6.21 -

II. Public POCs for CVE-2024-43856

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-43856

登录查看更多情报信息。

Other References for CVE-2024-43856 (8)

Same Patch Batch · Linux · 2024-08-17 · 109 CVEs total

CVE-2024-422859.8 CRITICALRDMA/iwcm: Fix a use-after-free related to destroying CM IDs
CVE-2024-422849.1 CRITICALtipc: Return non-zero value from tipc_udp_addr2str() on error
CVE-2024-423188.8 HIGHlandlock: Don't lose track of restrictions on cred_transfer
CVE-2024-438488.8 HIGHwifi: mac80211: fix TTLM teardown work
CVE-2024-438478.8 HIGHwifi: ath12k: fix invalid memory access while processing fragmented packets
CVE-2024-422878.8 HIGHscsi: qla2xxx: Complete command early within lock
CVE-2024-422967.8 HIGHf2fs: fix return value of f2fs_convert_inline_inode()
CVE-2024-438327.8 HIGHs390/uv: Don't call folio_wait_writeback() without a folio reference
CVE-2024-422977.8 HIGHf2fs: fix to don't dirty inode for readonly filesystem
CVE-2024-422807.8 HIGHmISDN: Fix a use after free in hfcmulti_tx()
CVE-2024-438467.8 HIGHlib: objagg: Fix general protection fault
CVE-2024-438457.8 HIGHudf: Fix bogus checksum computation in udf_rename()
CVE-2024-423147.8 HIGHbtrfs: fix extent map use-after-free when adding pages to compressed bio
CVE-2024-422797.8 HIGHspi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer
CVE-2024-438307.8 HIGHleds: trigger: Unregister sysfs attributes before calling deactivate()
CVE-2024-422997.8 HIGHfs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
CVE-2024-423007.8 HIGHerofs: fix race in z_erofs_get_gbuf()
CVE-2024-422937.8 HIGHarm64: mm: Fix lockless walks with static and dynamic page-table folding
CVE-2024-422887.8 HIGHscsi: qla2xxx: Fix for possible memory corruption
CVE-2024-438407.8 HIGHbpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-43856

No comments yet


Leave a comment