Vulnerability · Published May 21, 2024 · Assigned by Linux
CVE-2021-47355atm: nicstar: Fix possible use-after-free in nicstar_cleanup()
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: atm: nicstar: Fix possible use-after-free in nicstar_cleanup() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47355 |
| Debian:13 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47355 |
| Debian:14 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2021-47355 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2021-47355 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 99779c9d9ffc7775da6f7fd8a7c93ac61657bed51da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e511da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before c471569632654e57c83512e0fc1ba0dbb4544ad61da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before a7a7b2848312cc4c3a42b6e42a8ab2e441857aba1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before bdf5334250c69fabf555b7322c75249ea7d5f1481da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before a7f7c42e31157d1f0871d6a8e1a0b73a6b4ea7851da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 2f958b6f6ba0854b39be748d21dfe71e0fe6580f1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 5b991df8881088448cb223e769e37cab8dd40706 |
| Linux | Linux | 2.6.12 |
References
- https://git.kernel.org/stable/c/99779c9d9ffc7775da6f7fd8a7c93ac61657bed5
- https://git.kernel.org/stable/c/4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51
- https://git.kernel.org/stable/c/c471569632654e57c83512e0fc1ba0dbb4544ad6
- https://git.kernel.org/stable/c/a7a7b2848312cc4c3a42b6e42a8ab2e441857aba
- https://git.kernel.org/stable/c/bdf5334250c69fabf555b7322c75249ea7d5f148
- https://git.kernel.org/stable/c/a7f7c42e31157d1f0871d6a8e1a0b73a6b4ea785
- https://git.kernel.org/stable/c/2f958b6f6ba0854b39be748d21dfe71e0fe6580f
- https://git.kernel.org/stable/c/5b991df8881088448cb223e769e37cab8dd40706
- https://git.kernel.org/stable/c/34e7434ba4e97f4b85c1423a59b2922ba7dff2ea