CVE-2021-47355

atm: nicstar: Fix possible use-after-free in nicstar_cleanup()

No CVSS score yet EPSS 0.25%

Published 21 May 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47355

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47355 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.0% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 17 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 99779c9d9ffc7775da6f7fd8a7c93ac61657bed5
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 4e2a0848ea2cab0716d46f85a8ccd5fa9a493e51
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c471569632654e57c83512e0fc1ba0dbb4544ad6
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a7a7b2848312cc4c3a42b6e42a8ab2e441857aba
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before bdf5334250c69fabf555b7322c75249ea7d5f148
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a7f7c42e31157d1f0871d6a8e1a0b73a6b4ea785
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2f958b6f6ba0854b39be748d21dfe71e0fe6580f
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5b991df8881088448cb223e769e37cab8dd40706
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 34e7434ba4e97f4b85c1423a59b2922ba7dff2ea
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 4.4.276 up to and including 4.4.*
unaffected from 4.9.276 up to and including 4.9.*
unaffected from 4.14.240 up to and including 4.14.*
unaffected from 4.19.198 up to and including 4.19.*
unaffected from 5.4.133 up to and including 5.4.*
unaffected from 5.10.51 up to and including 5.10.*
unaffected from 5.12.18 up to and including 5.12.*
unaffected from 5.13.3 up to and including 5.13.*
unaffected 5.14 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47355 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47355

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47355
trivy image --scanners vuln IMAGE | grep CVE-2021-47355

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47355 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.