CVE-2024-47143
MediumIn 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().
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-667CVE-2024-47143 is a Improper Locking vulnerability
What is Improper Locking?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. Learn more on MITRE CWE
Affected versions
Linux kernel versions
3.14
and later are affected. Fixed in
5.10.231,
5.15.174,
6.1.120,
6.6.66,
6.12.5,
6.13
and their respective stable series.
References
The following references provide additional information about CVE-2024-47143 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3ccce34a5c3f5c9541108a451657ade621524b32
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7543c3e3b9b88212fcd0aaf5cab5588797bdc7de
-
PatchKernel patch commithttps://git.kernel.org/stable/c/8c1b4fea8d62285f5e1a8194889b39661608bd8a
Frequently asked questions
-
What is CVE-2024-47143?
CVE-2024-47143 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as an Improper Locking flaw (CWE-667) . It affects Linux kernel versions from 3.14 onward and has been patched in 5.10.231, 5.15.174, 6.1.120 and others. CVE-2024-47143 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-47143?
CVE-2024-47143 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-47143?
Yes — CVE-2024-47143 has been patched. Fixed versions include 5.10.231, 5.15.174, 6.1.120 and others. If you are running Linux kernel 3.14 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-47143 actively exploited?
No — CVE-2024-47143 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Improper Locking (CWE-667)?
The product does not properly acquire or release a lock, which can lead to unexpected behaviour. View CWE-667 on MITRE CWE →