CVE-2024-35819
Linux Kernel soc fsl qbman Raw Spinlock sleeps in IRQ Context
Description
In the Linux kernel, the following vulnerability has been resolved: soc: fsl: qbman: Use raw spinlock for cgr_lock smp_call_function always runs its callback in hard IRQ context, even on PREEMPT_RT, where spinlocks can sleep. So we need to use a raw spinlock for cgr_lock to ensure we aren't waiting on a sleeping task. Although this bug has existed for a while, it was not apparent until commit ef2a8d5478b9 ("net: dpaa: Adjust queue depth on rate change") which invokes smp_call_function_single via qman_update_cgr_safe every time a link goes up or down.
INFO
Published Date :
May 17, 2024, 2:15 p.m.
Last Modified :
Nov. 21, 2024, 9:20 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-35819
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-35819
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-35819
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/2b3fede8225133671ce837c0d284804aa3bc7a02 Added Reference https://git.kernel.org/stable/c/32edca2f03a6cc42c650ddc3ad83d086e3f365d1 Added Reference https://git.kernel.org/stable/c/54d26adf64c04f186098b39dba86b86037084baa Added Reference https://git.kernel.org/stable/c/9a3ca8292ce9fdcce122706c28c3f07bc857fe5e Added Reference https://git.kernel.org/stable/c/cd53a8ae5aacb4ecd25088486dea1cd02e74b506 Added Reference https://git.kernel.org/stable/c/d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14 Added Reference https://git.kernel.org/stable/c/f39d36b7540cf0088ed7ce2de2794f2aa237f6df Added Reference https://git.kernel.org/stable/c/fbec4e7fed89b579f2483041fabf9650fb0dd6bc Added Reference https://git.kernel.org/stable/c/ff50716b7d5b7985979a5b21163cd79fb3d21d59 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 17, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: soc: fsl: qbman: Use raw spinlock for cgr_lock smp_call_function always runs its callback in hard IRQ context, even on PREEMPT_RT, where spinlocks can sleep. So we need to use a raw spinlock for cgr_lock to ensure we aren't waiting on a sleeping task. Although this bug has existed for a while, it was not apparent until commit ef2a8d5478b9 ("net: dpaa: Adjust queue depth on rate change") which invokes smp_call_function_single via qman_update_cgr_safe every time a link goes up or down. Added Reference kernel.org https://git.kernel.org/stable/c/2b3fede8225133671ce837c0d284804aa3bc7a02 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ff50716b7d5b7985979a5b21163cd79fb3d21d59 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/32edca2f03a6cc42c650ddc3ad83d086e3f365d1 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9a3ca8292ce9fdcce122706c28c3f07bc857fe5e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d6b5aac451c9cc12e43ab7308e0e2ddc52c62c14 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/54d26adf64c04f186098b39dba86b86037084baa [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f39d36b7540cf0088ed7ce2de2794f2aa237f6df [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/cd53a8ae5aacb4ecd25088486dea1cd02e74b506 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/fbec4e7fed89b579f2483041fabf9650fb0dd6bc [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-35819
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-35819
weaknesses.