CVE-2021-47357
atm: iphase: fix possible use-after-free in ia_module_exit()
Check your servers for CVE-2021-47357
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-47357 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
atm: iphase: fix possible use-after-free in ia_module_exit()
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, 10 Sep 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.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 9e161687855175334ca93c6c3ccb221731194479 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a832ee2f2145f57443b2d565f8cb5490e8339f42 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before bcdd2be48edd8c6867fb44112cb8d18086beae29 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 89ce0b0747f319eb70f85bc820dcc43cebbd5417 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c9172498d4d62c9b64e5fb37c1ee0343e65fe51b affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e759ff76ebbbfcdcf83b6634c54dc47828573d8b affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b58d246a058ae88484758cd4ab27b3180fd5ecf8 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d1fb12412874c94ad037e11d0ecdd1140a439297 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1c72e6ab66b9598cac741ed397438a52065a8f1f
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-47357 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47357
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-47357
trivy image --scanners vuln IMAGE | grep CVE-2021-47357
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
- https://git.kernel.org/stable/c/9e161687855175334ca93c6c3ccb221731194479 git.kernel.org
- https://git.kernel.org/stable/c/a832ee2f2145f57443b2d565f8cb5490e8339f42 git.kernel.org
- https://git.kernel.org/stable/c/bcdd2be48edd8c6867fb44112cb8d18086beae29 git.kernel.org
- https://git.kernel.org/stable/c/89ce0b0747f319eb70f85bc820dcc43cebbd5417 git.kernel.org
- https://git.kernel.org/stable/c/c9172498d4d62c9b64e5fb37c1ee0343e65fe51b git.kernel.org
- https://git.kernel.org/stable/c/e759ff76ebbbfcdcf83b6634c54dc47828573d8b git.kernel.org
- https://git.kernel.org/stable/c/b58d246a058ae88484758cd4ab27b3180fd5ecf8 git.kernel.org
- https://git.kernel.org/stable/c/d1fb12412874c94ad037e11d0ecdd1140a439297 git.kernel.org
- https://git.kernel.org/stable/c/1c72e6ab66b9598cac741ed397438a52065a8f1f git.kernel.org
Source: the record CVE-2021-47357 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.
Vulnpocalypse