CVE-2021-46973
net: qrtr: Avoid potential use after free in MHI send
Description
In the Linux kernel, the following vulnerability has been resolved: net: qrtr: Avoid potential use after free in MHI send It is possible that the MHI ul_callback will be invoked immediately following the queueing of the skb for transmission, leading to the callback decrementing the refcount of the associated sk and freeing the skb. As such the dereference of skb and the increment of the sk refcount must happen before the skb is queued, to avoid the skb to be used after free and potentially the sk to drop its last refcount..
INFO
Published Date :
Feb. 27, 2024, 7:04 p.m.
Last Modified :
March 14, 2025, 6:44 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- There is no known solution at this time.
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-2021-46973.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-46973 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-2021-46973
weaknesses.
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-2021-46973 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-46973 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.
-
Initial Analysis by [email protected]
Mar. 14, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 from (including) 5.11.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12 from (including) 5.12.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.8 from (including) 5.10.35 Added Reference Type CVE: https://git.kernel.org/stable/c/03c649dee8b1eb5600212a249542a70f47a5ab40 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/03c649dee8b1eb5600212a249542a70f47a5ab40 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/47a017f33943278570c072bc71681809b2567b3a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/47a017f33943278570c072bc71681809b2567b3a Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/48ec949ac979b4b42d740f67b6177797af834f80 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/48ec949ac979b4b42d740f67b6177797af834f80 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/ea474054c2cc6e1284604b21361f475c7cc8c0a0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ea474054c2cc6e1284604b21361f475c7cc8c0a0 Types: Patch -
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/03c649dee8b1eb5600212a249542a70f47a5ab40 Added Reference https://git.kernel.org/stable/c/47a017f33943278570c072bc71681809b2567b3a Added Reference https://git.kernel.org/stable/c/48ec949ac979b4b42d740f67b6177797af834f80 Added Reference https://git.kernel.org/stable/c/ea474054c2cc6e1284604b21361f475c7cc8c0a0 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 01, 2024
Action Type Old Value New Value Added CWE CISA-ADP CWE-416 Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 27, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: qrtr: Avoid potential use after free in MHI send It is possible that the MHI ul_callback will be invoked immediately following the queueing of the skb for transmission, leading to the callback decrementing the refcount of the associated sk and freeing the skb. As such the dereference of skb and the increment of the sk refcount must happen before the skb is queued, to avoid the skb to be used after free and potentially the sk to drop its last refcount.. Added Reference Linux https://git.kernel.org/stable/c/48ec949ac979b4b42d740f67b6177797af834f80 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/ea474054c2cc6e1284604b21361f475c7cc8c0a0 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/03c649dee8b1eb5600212a249542a70f47a5ab40 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/47a017f33943278570c072bc71681809b2567b3a [No types assigned]