# CVE-2021-47355: atm: nicstar: Fix possible use-after-free in nicstar\_cleanup()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-05-21T14:35:58.434Z
- **Modified:** 2026-06-17T04:17:16.670Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 99779c9d9ffc7775da6f7fd8a7c93ac61657bed5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c471569632654e57c83512e0fc1ba0dbb4544ad6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7a7b2848312cc4c3a42b6e42a8ab2e441857aba; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bdf5334250c69fabf555b7322c75249ea7d5f148; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7f7c42e31157d1f0871d6a8e1a0b73a6b4ea785; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2f958b6f6ba0854b39be748d21dfe71e0fe6580f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5b991df8881088448cb223e769e37cab8dd40706; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea
- Anyone running Linux 2.6.12

## 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 and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 99779c9d9ffc7775da6f7fd8a7c93ac61657bed5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c471569632654e57c83512e0fc1ba0dbb4544ad6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7a7b2848312cc4c3a42b6e42a8ab2e441857aba; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bdf5334250c69fabf555b7322c75249ea7d5f148; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7f7c42e31157d1f0871d6a8e1a0b73a6b4ea785; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2f958b6f6ba0854b39be748d21dfe71e0fe6580f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5b991df8881088448cb223e769e37cab8dd40706; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47355. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47355.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 99779c9d9ffc7775da6f7fd8a7c93ac61657bed5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c471569632654e57c83512e0fc1ba0dbb4544ad6; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 99779c9d9ffc7775da6f7fd8a7c93ac61657bed5, Linux 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51, Linux 2f958b6f6ba0854b39be748d21dfe71e0fe6580f, Linux 5b991df8881088448cb223e769e37cab8dd40706, Linux 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47355 being exploited?

There is no confirmed exploitation: CVE-2021-47355 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47355?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47355?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 99779c9d9ffc7775da6f7fd8a7c93ac61657bed5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c471569632654e57c83512e0fc1ba0dbb4544ad6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7a7b2848312cc4c3a42b6e42a8ab2e441857aba; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bdf5334250c69fabf555b7322c75249ea7d5f148; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a7f7c42e31157d1f0871d6a8e1a0b73a6b4ea785; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2f958b6f6ba0854b39be748d21dfe71e0fe6580f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5b991df8881088448cb223e769e37cab8dd40706; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea; Linux 2.6.12.

### Is there a fix for CVE-2021-47355?

Yes. Fixed in Linux 99779c9d9ffc7775da6f7fd8a7c93ac61657bed5, Linux 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51, Linux 2f958b6f6ba0854b39be748d21dfe71e0fe6580f, Linux 5b991df8881088448cb223e769e37cab8dd40706, Linux 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea. Upgrade Linux to 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea or later.

### How do I check if I'm affected by CVE-2021-47355?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/99779c9d9ffc7775da6f7fd8a7c93ac61657bed5>
- patch: <https://git.kernel.org/stable/c/4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51>
- patch: <https://git.kernel.org/stable/c/c471569632654e57c83512e0fc1ba0dbb4544ad6>
- patch: <https://git.kernel.org/stable/c/a7a7b2848312cc4c3a42b6e42a8ab2e441857aba>
- patch: <https://git.kernel.org/stable/c/bdf5334250c69fabf555b7322c75249ea7d5f148>
- patch: <https://git.kernel.org/stable/c/a7f7c42e31157d1f0871d6a8e1a0b73a6b4ea785>
- patch: <https://git.kernel.org/stable/c/2f958b6f6ba0854b39be748d21dfe71e0fe6580f>
- patch: <https://git.kernel.org/stable/c/5b991df8881088448cb223e769e37cab8dd40706>
- patch: <https://git.kernel.org/stable/c/34e7434ba4e97f4b85c1423a59b2922ba7dff2ea>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47355>

HTML: <https://flawdb.com/CVE-2021-47355> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47355>
