CVE-2021-47311Published May 21, 2024 · May 21Updated Oct 29
net: qcom/emac: fix UAF in emac_remove
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 54e19bc74f3380d414681762ceed9f7245bc6a6e · < 8a225a6e07a57a1538d53637cb3d82bd3e477839| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: qcom/emac: fix UAF in emac_remove
adpt is netdev private data and it cannot be used after free_netdev() call. Using adpt after free_netdev() can cause UAF bug. Fix it by moving free_netdev() at the end of the function.
From the CVE record · Linux
The Linux kernel's qcom/emac removal function can use network-device private data after it has been freed. This can cause a use-after-free; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running Linux kernels with the qcom/emac driver should check their installations; affected versions are not specified.