8.4
HIGH
CVE-2021-47456
Linux Peak PCI Use-After-Free (UAF) Vulnerability
Description

In the Linux kernel, the following vulnerability has been resolved: can: peak_pci: peak_pci_remove(): fix UAF When remove the module peek_pci, referencing 'chan' again after releasing 'dev' will cause UAF. Fix this by releasing 'dev' later. The following log reveals it: [ 35.961814 ] BUG: KASAN: use-after-free in peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.963414 ] Read of size 8 at addr ffff888136998ee8 by task modprobe/5537 [ 35.965513 ] Call Trace: [ 35.965718 ] dump_stack_lvl+0xa8/0xd1 [ 35.966028 ] print_address_description+0x87/0x3b0 [ 35.966420 ] kasan_report+0x172/0x1c0 [ 35.966725 ] ? peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.967137 ] ? trace_irq_enable_rcuidle+0x10/0x170 [ 35.967529 ] ? peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.967945 ] __asan_report_load8_noabort+0x14/0x20 [ 35.968346 ] peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.968752 ] pci_device_remove+0xa9/0x250

INFO

Published Date :

May 22, 2024, 7:15 a.m.

Last Modified :

April 2, 2025, 3:11 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

2.5
Affected Products

The following products are affected by CVE-2021-47456 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-47456 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-47456 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 02, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.4 up to (excluding) 4.4.290 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.288 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.253 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.214 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.156 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.76 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.14.15
    Added Reference Type CVE: https://git.kernel.org/stable/c/0e5afdc2315b0737edcf55bede4ee1640d2d464d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/0e5afdc2315b0737edcf55bede4ee1640d2d464d Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/1248582e47a9f7ce0ecd156c39fc61f8b6aa3699 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1248582e47a9f7ce0ecd156c39fc61f8b6aa3699 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/1c616528ba4aeb1125a06b407572ab7b56acae38 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1c616528ba4aeb1125a06b407572ab7b56acae38 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/28f28e4bc3a5e0051faa963f10b778ab38c1db69 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/28f28e4bc3a5e0051faa963f10b778ab38c1db69 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/34914971bb3244db4ce2be44e9438a9b30c56250 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/34914971bb3244db4ce2be44e9438a9b30c56250 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/447d44cd2f67a20b596ede3ca3cd67086dfd9ca9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/447d44cd2f67a20b596ede3ca3cd67086dfd9ca9 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/949fe9b35570361bc6ee2652f89a0561b26eec98 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/949fe9b35570361bc6ee2652f89a0561b26eec98 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/adbda14730aacce41c0d3596415aa39ad63eafd9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/adbda14730aacce41c0d3596415aa39ad63eafd9 Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/0e5afdc2315b0737edcf55bede4ee1640d2d464d
    Added Reference https://git.kernel.org/stable/c/1248582e47a9f7ce0ecd156c39fc61f8b6aa3699
    Added Reference https://git.kernel.org/stable/c/1c616528ba4aeb1125a06b407572ab7b56acae38
    Added Reference https://git.kernel.org/stable/c/28f28e4bc3a5e0051faa963f10b778ab38c1db69
    Added Reference https://git.kernel.org/stable/c/34914971bb3244db4ce2be44e9438a9b30c56250
    Added Reference https://git.kernel.org/stable/c/447d44cd2f67a20b596ede3ca3cd67086dfd9ca9
    Added Reference https://git.kernel.org/stable/c/949fe9b35570361bc6ee2652f89a0561b26eec98
    Added Reference https://git.kernel.org/stable/c/adbda14730aacce41c0d3596415aa39ad63eafd9
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 03, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-416
    Added CWE CISA-ADP CWE-467
    Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 28, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 22, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: can: peak_pci: peak_pci_remove(): fix UAF When remove the module peek_pci, referencing 'chan' again after releasing 'dev' will cause UAF. Fix this by releasing 'dev' later. The following log reveals it: [ 35.961814 ] BUG: KASAN: use-after-free in peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.963414 ] Read of size 8 at addr ffff888136998ee8 by task modprobe/5537 [ 35.965513 ] Call Trace: [ 35.965718 ] dump_stack_lvl+0xa8/0xd1 [ 35.966028 ] print_address_description+0x87/0x3b0 [ 35.966420 ] kasan_report+0x172/0x1c0 [ 35.966725 ] ? peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.967137 ] ? trace_irq_enable_rcuidle+0x10/0x170 [ 35.967529 ] ? peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.967945 ] __asan_report_load8_noabort+0x14/0x20 [ 35.968346 ] peak_pci_remove+0x16f/0x270 [peak_pci] [ 35.968752 ] pci_device_remove+0xa9/0x250
    Added Reference kernel.org https://git.kernel.org/stable/c/1c616528ba4aeb1125a06b407572ab7b56acae38 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/447d44cd2f67a20b596ede3ca3cd67086dfd9ca9 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/34914971bb3244db4ce2be44e9438a9b30c56250 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/adbda14730aacce41c0d3596415aa39ad63eafd9 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/1248582e47a9f7ce0ecd156c39fc61f8b6aa3699 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/28f28e4bc3a5e0051faa963f10b778ab38c1db69 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/0e5afdc2315b0737edcf55bede4ee1640d2d464d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/949fe9b35570361bc6ee2652f89a0561b26eec98 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-47456 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-47456 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: May. 14, 2025 16:08