CVE-2024-47747
Cisco Seeq Net Use After Free Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition In the ether3_probe function, a timer is initialized with a callback function ether3_ledoff, bound to &prev(dev)->timer. Once the timer is started, there is a risk of a race condition if the module or device is removed, triggering the ether3_remove function to perform cleanup. The sequence of operations that may lead to a UAF bug is as follows: CPU0 CPU1 | ether3_ledoff ether3_remove | free_netdev(dev); | put_devic | kfree(dev); | | ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); | // use dev Fix it by ensuring that the timer is canceled before proceeding with the cleanup in ether3_remove.
INFO
Published Date :
Oct. 21, 2024, 1:15 p.m.
Last Modified :
Nov. 8, 2024, 4:15 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.0
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-47747
.
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-47747
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-47747
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 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 08, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/25d559ed2beec9b34045886100dac46d1ad92eba [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b5a84b6c772564c8359a9a0fbaeb2a2944aa1ee9 [No types assigned] -
Reanalysis by [email protected]
Oct. 22, 2024
Action Type Old Value New Value Removed CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H -
Initial Analysis by [email protected]
Oct. 22, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/stable/c/1c57d61a43293252ad732007c7070fdb112545fd No Types Assigned https://git.kernel.org/stable/c/1c57d61a43293252ad732007c7070fdb112545fd Patch Changed Reference Type https://git.kernel.org/stable/c/338a0582b28e69460df03af50e938b86b4206353 No Types Assigned https://git.kernel.org/stable/c/338a0582b28e69460df03af50e938b86b4206353 Patch Changed Reference Type https://git.kernel.org/stable/c/516dbc6d16637430808c39568cbb6b841d32b55b No Types Assigned https://git.kernel.org/stable/c/516dbc6d16637430808c39568cbb6b841d32b55b Patch Changed Reference Type https://git.kernel.org/stable/c/77a77331cef0a219b8dd91361435eeef04cb741c No Types Assigned https://git.kernel.org/stable/c/77a77331cef0a219b8dd91361435eeef04cb741c Patch Changed Reference Type https://git.kernel.org/stable/c/822c7bb1f6f8b0331e8d1927151faf8db3b33afd No Types Assigned https://git.kernel.org/stable/c/822c7bb1f6f8b0331e8d1927151faf8db3b33afd Patch Changed Reference Type https://git.kernel.org/stable/c/b5109b60ee4fcb2f2bb24f589575e10cc5283ad4 No Types Assigned https://git.kernel.org/stable/c/b5109b60ee4fcb2f2bb24f589575e10cc5283ad4 Patch Changed Reference Type https://git.kernel.org/stable/c/d2abc379071881798d20e2ac1d332ad855ae22f3 No Types Assigned https://git.kernel.org/stable/c/d2abc379071881798d20e2ac1d332ad855ae22f3 Patch Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.54 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.2 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition In the ether3_probe function, a timer is initialized with a callback function ether3_ledoff, bound to &prev(dev)->timer. Once the timer is started, there is a risk of a race condition if the module or device is removed, triggering the ether3_remove function to perform cleanup. The sequence of operations that may lead to a UAF bug is as follows: CPU0 CPU1 | ether3_ledoff ether3_remove | free_netdev(dev); | put_devic | kfree(dev); | | ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); | // use dev Fix it by ensuring that the timer is canceled before proceeding with the cleanup in ether3_remove. Added Reference kernel.org https://git.kernel.org/stable/c/338a0582b28e69460df03af50e938b86b4206353 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/822c7bb1f6f8b0331e8d1927151faf8db3b33afd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1c57d61a43293252ad732007c7070fdb112545fd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d2abc379071881798d20e2ac1d332ad855ae22f3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/516dbc6d16637430808c39568cbb6b841d32b55b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/77a77331cef0a219b8dd91361435eeef04cb741c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b5109b60ee4fcb2f2bb24f589575e10cc5283ad4 [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-47747
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-47747
weaknesses.