CVE-2021-47294
Linux Netrom SOCK Reference Count UnbalanceUAGE
Description
In the Linux kernel, the following vulnerability has been resolved: netrom: Decrease sock refcount when sock timers expire Commit 63346650c1a9 ("netrom: switch to sock timer API") switched to use sock timer API. It replaces mod_timer() by sk_reset_timer(), and del_timer() by sk_stop_timer(). Function sk_reset_timer() will increase the refcount of sock if it is called on an inactive timer, hence, in case the timer expires, we need to decrease the refcount ourselves in the handler, otherwise, the sock refcount will be unbalanced and the sock will never be freed.
INFO
Published Date :
May 21, 2024, 3:15 p.m.
Last Modified :
Nov. 21, 2024, 6:35 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-2021-47294
.
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-47294
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47294
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/25df44e90ff5959b5c24ad361b648504a7e39ef3 Added Reference https://git.kernel.org/stable/c/48866fd5c361ea417ed24b43fc2a7dc2f5b060ef Added Reference https://git.kernel.org/stable/c/517a16b1a88bdb6b530f48d5d153478b2552d9a8 Added Reference https://git.kernel.org/stable/c/6811744bd0efb9e472cb15d066cdb460beb8cb8a Added Reference https://git.kernel.org/stable/c/853262355518cd1247515b74e83fabf038aa6c29 Added Reference https://git.kernel.org/stable/c/9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950 Added Reference https://git.kernel.org/stable/c/a01634bf91f2b6c42583770eb6815fb6d1e251cf Added Reference https://git.kernel.org/stable/c/bc1660206c3723c37ed4d622ad81781f1e987250 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: netrom: Decrease sock refcount when sock timers expire Commit 63346650c1a9 ("netrom: switch to sock timer API") switched to use sock timer API. It replaces mod_timer() by sk_reset_timer(), and del_timer() by sk_stop_timer(). Function sk_reset_timer() will increase the refcount of sock if it is called on an inactive timer, hence, in case the timer expires, we need to decrease the refcount ourselves in the handler, otherwise, the sock refcount will be unbalanced and the sock will never be freed. Added Reference kernel.org https://git.kernel.org/stable/c/853262355518cd1247515b74e83fabf038aa6c29 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a01634bf91f2b6c42583770eb6815fb6d1e251cf [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/48866fd5c361ea417ed24b43fc2a7dc2f5b060ef [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9619cc7d97c3aa8ed3cfd2b8678b74fb6d6c7950 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/25df44e90ff5959b5c24ad361b648504a7e39ef3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6811744bd0efb9e472cb15d066cdb460beb8cb8a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bc1660206c3723c37ed4d622ad81781f1e987250 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/517a16b1a88bdb6b530f48d5d153478b2552d9a8 [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-2021-47294
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-47294
weaknesses.