CVE-2024-47747CWE-416

CVE-2024-47747

High · published October 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
12.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00227 · 12.7th percentile
Weakness
CWE-416 · Use After Free
Published
2024-10-21T17:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 4.15, < 5.10.2275.10.227
linux/linux_kernel≥ 5.11, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.546.6.54
linux/linux_kernel≥ 6.7, < 6.10.136.10.13
linux/linux_kernel≥ 6.11, < 6.11.26.11.2
References (12)
EPSS history
Timeline
  • 21 OCT 12:14Z
    net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
    cvelistv5