CVE-2024-47143
Last modified
CVE-2024-47143 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: dma-debug: fix a possible deadlock on radix_lock radix_lock() shouldn't be held while holding dma_hash_entry[idx].lock otherwise, there's a possible deadlock scenario when dma debug API is called holding rq_lock(): CPU0 CPU1 CPU2 dma_free_attrs() check_unmap() add_dma_entry() __schedule() //out (A) rq_lock() get_hash_bucket() (A) dma_entry_hash check_sync() (A) radix_lock() (W) dma_entry_hash dma_entry_free() (W) radix_lock() // CPU2's one (W) rq_lock() CPU1 situation can happen when it extending radix tree and it tries to wake up kswapd via wake_all_kswapd(). CPU2 situation can happen while perf_event_task_sched_out() (i.e. dma sync operation is called while deleting perf_event using etm and etr tmc which are Arm Coresight hwtracing driver backends). To remove this possible situation, call dma_entry_free() after put_hash_bucket() in check_unmap().. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: dma-debug: fix a possible deadlock on radix_lock radix_lock() shouldn't be held while holding dma_hash_entry[idx].lock otherwise, there's a possible deadlock scenario when dma debug API is called holding rq_lock(): CPU0 CPU1 CPU2 dma_free_attrs() check_unmap() add_dma_entry() __schedule() //out (A) rq_lock() get_hash_bucket() (A) dma_entry_hash check_sync() (A) radix_lock() (W) dma_entry_hash dma_entry_free() (W) radix_lock() // CPU2's one (W) rq_lock() CPU1 situation can happen when it extending radix tree and it tries to wake up kswapd via wake_all_kswapd(). CPU2 situation can happen while perf_event_task_sched_out() (i.e. dma sync operation is called while deleting perf_event using etm and etr tmc which are Arm Coresight hwtracing driver backends). To remove this possible situation, call dma_entry_free() after put_hash_bucket() in check_unmap().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.10.231 |
| Linux | Linux Kernel | >= 5.11, < 5.15.174 |
| Linux | Linux Kernel | >= 5.16, < 6.1.120 |
| Linux | Linux Kernel | >= 6.2, < 6.6.66 |
| Linux | Linux Kernel | >= 6.7, < 6.12.5 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-47143?
How severe is CVE-2024-47143?
How do I fix CVE-2024-47143?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-47138The administrative interface listens by default on all inter…9.8
- CVE-2024-47139A stored cross-site scripting (XSS) vulnerability exists in …6.8
- CVE-2024-4714A vulnerability, which was classified as problematic, has be…6.1
- CVE-2024-47140A cross-site scripting (xss) vulnerability exists in the add…5.4
- CVE-2024-47141In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-47142AIPHONE IXG SYSTEM IXG-2C7 firmware Ver.2.03 and earlier and…5.5
- CVE-2024-47145Mattermost versions 9.5.x <= 9.5.8 fail to properly authoriz…4.3
- CVE-2024-47146Ruijie Reyee OS versions 2.206.x up to but not including 2.3…6.5
- CVE-2024-47148Some Honor products are affected by incorrect privilege assi…5.5
- CVE-2024-47149Some Honor products are affected by incorrect privilege assi…5.5
- CVE-2024-4715A vulnerability, which was classified as problematic, was fo…6.1
- CVE-2024-47150Some Honor products are affected by information leak vulnera…5.5
Are you affected by CVE-2024-47143?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
