High severity · published Oct 21, 2024
CVE-2024-47747
net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
7.0
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 13% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.15 before 5.10.227; 5.11 before 5.15.168; 5.16 before 6.1.113; 6.2 before 6.6.54; 6.7 before 6.10.13; 6.11 before 6.11.2 · source: NVD
LI
Linux · Linux
6fd9c53f71862a4797b7ed8a5de80e2c64829f56 before 25d559ed2beec9b34045886100dac46d1ad92eba; 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 before b5a84b6c772564c8359a9a0fbaeb2a2944aa1ee9; 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 before 338a0582b28e69460df03af50e938b86b4206353; 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 before 822c7bb1f6f8b0331e8d1927151faf8db3b33afd; 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 before 1c57d61a43293252ad732007c7070fdb112545fd; 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 before d2abc379071881798d20e2ac1d332ad855ae22f3; +4 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.2 · source: CISA
SX
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family · Siemens
before V3.2 · source: CISA
SX
SCALANCE XCM-/XRM-/XCH-/XRH-300 family · Siemens
before V3.2 · source: CISA
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-47747
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-47747
Patch
https://git.kernel.org/stable/c/1c57d61a43293252ad732007c7070fdb112545fd
git.kernel.org
https://git.kernel.org/stable/c/25d559ed2beec9b34045886100dac46d1ad92eba
Patch
https://git.kernel.org/stable/c/338a0582b28e69460df03af50e938b86b4206353
Patch
https://git.kernel.org/stable/c/516dbc6d16637430808c39568cbb6b841d32b55b
Patch
https://git.kernel.org/stable/c/77a77331cef0a219b8dd91361435eeef04cb741c
Patch
https://git.kernel.org/stable/c/822c7bb1f6f8b0331e8d1927151faf8db3b33afd
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
