Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
aoe: fix the potential use-after-free problem in more places
For fixing CVE-2023-6270, f98364e92662 (“aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts”) makes tx() calling dev_put() instead of doing in aoecmd_cfg_pkts(). It avoids that the tx() runs into use-after-free.
Then Nicolai Stange found more places in aoe have potential use-after-free problem with tx(). e.g. revalidate(), aoecmd_ata_rw(), resend(), probe() and aoecmd_cfg_rsp(). Those functions also use aoenet_xmit() to push packet to tx queue. So they should also use dev_hold() to increase the refcnt of skb->dev.
On the other hand, moving dev_put() to tx() causes that the refcnt of skb->dev be reduced to a negative value, because corresponding dev_hold() are not called in revalidate(), aoecmd_ata_rw(), resend(), probe(), and aoecmd_cfg_rsp(). This patch fixed this issue.
Details
- Affected product:
- Ubuntu 16.04 ELS , Ubuntu 18.04 ELS
- Affected packages:
- linux @ 4.4.0 (+2 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Debian 11 | Released |
33 kernels
|
| Debian 11 cloud | Released |
13 kernels
|
| Debian 12 | Released |
6 kernels
|
| Oracle Linux 7 UEK 6 | Released |
110 kernels
|
| Oracle Linux 8 UEK 6 | Released |
111 kernels
|
| Oracle Linux 8 UEK 7 | Released |
46 kernels
|
| Oracle Linux 9 UEK 7 | Released |
46 kernels
|
| Proxmox VE 7 5.15 | Released |
47 kernels
|
| Ubuntu 18.04 AWS Focal | Released |
56 kernels
|
| Ubuntu 18.04 HWE Focal | Released |
69 kernels
|
| Ubuntu 20.04 | Released |
121 kernels
|
| Ubuntu 20.04 AWS | Released |
104 kernels
|
| Ubuntu 20.04 Azure | Released |
94 kernels
|
| Ubuntu 20.04 GCP | Released |
27 kernels
|
| Ubuntu 20.04 HWE AWS | Released |
49 kernels
|
| Ubuntu 20.04 HWE Azure | Released |
32 kernels
|
| Ubuntu 22.04 | Released |
63 kernels
|
| Ubuntu 22.04 AWS | Released |
56 kernels
|
| Ubuntu 22.04 Azure | Released |
52 kernels
|
| Ubuntu 24.04 | Released |
15 kernels
|