CVE-2023-52509
ravb: Fix use-after-free issue in ravb_tx_timeout_work()
Description
In the Linux kernel, the following vulnerability has been resolved: ravb: Fix use-after-free issue in ravb_tx_timeout_work() The ravb_stop() should call cancel_work_sync(). Otherwise, ravb_tx_timeout_work() is possible to use the freed priv after ravb_remove() was called like below: CPU0 CPU1 ravb_tx_timeout() ravb_remove() unregister_netdev() free_netdev(ndev) // free priv ravb_tx_timeout_work() // use priv unregister_netdev() will call .ndo_stop() so that ravb_stop() is called. And, after phy_stop() is called, netif_carrier_off() is also called. So that .ndo_tx_timeout() will not be called after phy_stop().
INFO
Published Date :
March 2, 2024, 10:15 p.m.
Last Modified :
Dec. 11, 2024, 3:07 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 | [email protected] |
Solution
- Update the affected Linux kernel packages.
- Reboot the system.
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-2023-52509.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52509 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-2023-52509
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-2023-52509 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52509 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]
Dec. 11, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.2 up to (excluding) 5.4.259 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.199 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.136 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.59 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.8 *cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 No Types Assigned https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 Patch Changed Reference Type https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 No Types Assigned https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 Patch Changed Reference Type https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 No Types Assigned https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 Patch Changed Reference Type https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 No Types Assigned https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 Patch Changed Reference Type https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 No Types Assigned https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 Patch Changed Reference Type https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 No Types Assigned https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 Patch Changed Reference Type https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 No Types Assigned https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 Patch Changed Reference Type https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 No Types Assigned https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 Patch Changed Reference Type https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 No Types Assigned https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 Patch Changed Reference Type https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 No Types Assigned https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 Patch Changed Reference Type https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 No Types Assigned https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 Patch Changed Reference Type https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 No Types Assigned https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 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/105abd68ad8f781985113aee2e92e0702b133705 Added Reference https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 Added Reference https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 Added Reference https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 Added Reference https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 Added Reference https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 -
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
Mar. 02, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ravb: Fix use-after-free issue in ravb_tx_timeout_work() The ravb_stop() should call cancel_work_sync(). Otherwise, ravb_tx_timeout_work() is possible to use the freed priv after ravb_remove() was called like below: CPU0 CPU1 ravb_tx_timeout() ravb_remove() unregister_netdev() free_netdev(ndev) // free priv ravb_tx_timeout_work() // use priv unregister_netdev() will call .ndo_stop() so that ravb_stop() is called. And, after phy_stop() is called, netif_carrier_off() is also called. So that .ndo_tx_timeout() will not be called after phy_stop(). Added Reference Linux https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 [No types assigned]