CVE-2024-47747 net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
14 packages: 14 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.115-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +27 more | 6.1.115-1 | Fixed |
| debian/linux(Debian 13) | < 6.11.2-1 | 6.11.2-1 | Fixed |
| debian/linux(Debian 14) | < 6.11.2-1 | 6.11.2-1 | Fixed |
| Linux kernel | < 4.19.323; < 5.4.285; < 5.10.227; < 5.15.168 +21 more | 1c57d61a43293252ad732007c7070fdb112545fd, 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113, 6.6.54, 6.10.13, 6.11.2, 6.12, 25d559ed2beec9b34045886100dac46d1ad92eba, 77a77331cef0a219b8dd91361435eeef04cb741c, 338a0582b28e69460df03af50e938b86b4206353, 516dbc6d16637430808c39568cbb6b841d32b55b, 822c7bb1f6f8b0331e8d1927151faf8db3b33afd, b5a84b6c772564c8359a9a0fbaeb2a2944aa1ee9, b5109b60ee4fcb2f2bb24f589575e10cc5283ad4, d2abc379071881798d20e2ac1d332ad855ae22f3 | Fixed |
| Microsoft azure linux | < 6.6.56.1-5 | 6.6.56.1-5 | Fixed |
| Siemens RUGGEDCOM RST2428P | < V3.2 | V3.2 | Fixed |
| Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.2 | V3.2 | Fixed |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.2 | V3.2 | Fixed |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-127.137 | 5.15.0-127.137 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-54.56 | 6.8.0-54.56 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1070.75 | 5.15.0-1070.75 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1066.69 | 5.15.0-1066.69 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 6.6.56.1-5 | 6.6.56.1-5 |
| debian/linux(Debian:12) | < 6.1.115-1 | 6.1.115-1 |
| debian/linux(Debian:12) | = 6.1.106-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.106-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.112-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
Show 43 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.98-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.99-1 | No fix listed |
| debian/linux(Debian:13) | < 6.11.2-1 | 6.11.2-1 |
| debian/linux(Debian:14) | < 6.11.2-1 | 6.11.2-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-127.137 | 5.15.0-127.137 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1070.75 | 5.15.0-1070.75 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1066.69 | 5.15.0-1066.69 |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < 25d559ed2beec9b34045886100dac46d1ad92eba | 25d559ed2beec9b34045886100dac46d1ad92eba |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < b5a84b6c772564c8359a9a0fbaeb2a2944aa1ee9 | b5a84b6c772564c8359a9a0fbaeb2a2944aa1ee9 |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < 338a0582b28e69460df03af50e938b86b4206353 | 338a0582b28e69460df03af50e938b86b4206353 |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < 822c7bb1f6f8b0331e8d1927151faf8db3b33afd | 822c7bb1f6f8b0331e8d1927151faf8db3b33afd |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < 1c57d61a43293252ad732007c7070fdb112545fd | 1c57d61a43293252ad732007c7070fdb112545fd |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < d2abc379071881798d20e2ac1d332ad855ae22f3 | d2abc379071881798d20e2ac1d332ad855ae22f3 |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < 516dbc6d16637430808c39568cbb6b841d32b55b | 516dbc6d16637430808c39568cbb6b841d32b55b |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < 77a77331cef0a219b8dd91361435eeef04cb741c | 77a77331cef0a219b8dd91361435eeef04cb741c |
| Linux kernel | >= 6fd9c53f71862a4797b7ed8a5de80e2c64829f56, < b5109b60ee4fcb2f2bb24f589575e10cc5283ad4 | b5109b60ee4fcb2f2bb24f589575e10cc5283ad4 |
| Linux kernel | = 4.15 | No fix listed |
| Linux kernel | < 4.19.323 | 4.19.323 |
| Linux kernel | < 5.4.285 | 5.4.285 |
| Linux kernel | < 5.10.227 | 5.10.227 |
| Linux kernel | < 5.15.168 | 5.15.168 |
| Linux kernel | < 6.1.113 | 6.1.113 |
| Linux kernel | < 6.6.54 | 6.6.54 |
| Linux kernel | < 6.10.13 | 6.10.13 |
| Linux kernel | < 6.11.2 | 6.11.2 |
| Linux kernel | < 6.12 | 6.12 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1.1 | V1.1.1 |
| Siemens RUGGEDCOM RST2428P | < V3.2 | V3.2 |
| Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | < V3.2 | V3.2 |
| Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family | < V3.2 | V3.2 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-54.56 | 6.8.0-54.56 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1019.23 | 6.8.0-1019.23 |
| Linux kernel | >= 4.15, < 5.10.227 | 5.10.227 |
| Linux kernel | >= 5.11, < 5.15.168 | 5.15.168 |
| Linux kernel | >= 5.16, < 6.1.113 | 6.1.113 |
| Linux kernel | >= 6.2, < 6.6.54 | 6.6.54 |
| Linux kernel | >= 6.7, < 6.10.13 | 6.10.13 |
| Linux kernel | >= 6.11, < 6.11.2 | 6.11.2 |
References
- MSRC Security Update Guide vendor-advisory
- kernel vendor-advisory
- Debian Security Tracker CVE-2024-47747 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7166-1 vendor-advisory
- USN-7166-2 vendor-advisory
- USN-7166-3 vendor-advisory
- USN-7186-1 vendor-advisory
- USN-7186-2 vendor-advisory
- USN-7194-1 vendor-advisory
- USN-7166-4 vendor-advisory
- USN-7276-1 vendor-advisory
- USN-7277-1 vendor-advisory
- USN-7293-1 vendor-advisory
- USN-7294-1 vendor-advisory
- USN-7295-1 vendor-advisory
- USN-7301-1 vendor-advisory
- USN-7303-1 vendor-advisory
- USN-7304-1 vendor-advisory
- USN-7294-2 vendor-advisory
- USN-7294-3 vendor-advisory
- USN-7303-2 vendor-advisory
- USN-7310-1 vendor-advisory
- USN-7311-1 vendor-advisory
- USN-7303-3 vendor-advisory
- USN-7294-4 vendor-advisory
- USN-7384-1 vendor-advisory
- USN-7385-1 vendor-advisory
- USN-7386-1 vendor-advisory
- USN-7393-1 vendor-advisory
- USN-7384-2 vendor-advisory
- USN-7401-1 vendor-advisory
- USN-7403-1 vendor-advisory
- USN-7413-1 vendor-advisory
- USN-7468-1 vendor-advisory
- USN-7539-1 vendor-advisory
- USN-7540-1 vendor-advisory
- www.cve.org
- git.kernel.org
- git.kernel.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org
- cert-portal.siemens.com
- cert-portal.siemens.com
- ENISA EUVD EUVD-2024-42663 third-party-advisory