CVE-2021-47356
What it is
In the Linux kernel, the following vulnerability has been resolved: mISDN: fix possible use-after-free in HFC_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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data tampering, service disruption.
- Exploit odds
- 0.3% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.3% in the next 30 days (EPSS).
- Severity: 7.7 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-416 · Use after free
- Record status
- Analyzed
Affected
- Linux Kernel < 4.4.276
- Linux Kernel < 4.9.276
- Linux Kernel < 4.14.240
- Linux Kernel < 4.19.198
- Linux Kernel < 5.4.133
- Linux Kernel < 5.10.51
- Linux Kernel < 5.12.18
- Linux Kernel < 5.13.3
Attack profile CVSS 3.1 · 7.7
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-47356.md and follow it. Check whether this project is affected by CVE-2021-47356. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/009fc857c5f6fda81f2f7dd851b2d54193a8e733
- https://git.kernel.org/stable/c/3ecd228c636ee17c14662729737fa07242a93cb0
- https://git.kernel.org/stable/c/49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe
- https://git.kernel.org/stable/c/54ff3202928952a100c477248e65ac6db01258a7
- https://git.kernel.org/stable/c/5f2818185da0fe82a932f0856633038b66faf124
- https://git.kernel.org/stable/c/61370ff07e0acc657559a8fac02551dfeb9d3020
- https://git.kernel.org/stable/c/7867ddc5f3de7f289aee63233afc0df4b62834c5
- https://git.kernel.org/stable/c/b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d
- https://git.kernel.org/stable/c/ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda
- https://git.kernel.org/stable/c/009fc857c5f6fda81f2f7dd851b2d54193a8e733
References
- https://git.kernel.org/stable/c/009fc857c5f6fda81f2f7dd851b2d54193a8e733
- https://git.kernel.org/stable/c/3ecd228c636ee17c14662729737fa07242a93cb0
- https://git.kernel.org/stable/c/49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe
- https://git.kernel.org/stable/c/54ff3202928952a100c477248e65ac6db01258a7
- https://git.kernel.org/stable/c/5f2818185da0fe82a932f0856633038b66faf124
- https://git.kernel.org/stable/c/61370ff07e0acc657559a8fac02551dfeb9d3020
- https://git.kernel.org/stable/c/7867ddc5f3de7f289aee63233afc0df4b62834c5
- https://git.kernel.org/stable/c/b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d
- https://git.kernel.org/stable/c/ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda
- https://git.kernel.org/stable/c/009fc857c5f6fda81f2f7dd851b2d54193a8e733
- https://git.kernel.org/stable/c/3ecd228c636ee17c14662729737fa07242a93cb0
- https://git.kernel.org/stable/c/49331c07ef0f8fdfa42b30ba6a83a657b29d7fbe
- https://git.kernel.org/stable/c/54ff3202928952a100c477248e65ac6db01258a7
- https://git.kernel.org/stable/c/5f2818185da0fe82a932f0856633038b66faf124
- https://git.kernel.org/stable/c/61370ff07e0acc657559a8fac02551dfeb9d3020
- https://git.kernel.org/stable/c/7867ddc5f3de7f289aee63233afc0df4b62834c5
- https://git.kernel.org/stable/c/b7ee9ae1e0cf55a037c4a99af2acc5d78cb7802d
- https://git.kernel.org/stable/c/ed7c3739d0a07e2ec3ccbffe7e93cea01c438cda