5.5
MEDIUM
CVE-2021-46905
"Linux Kernel Net HSO NULL Pointer Dereference Vulnerability"
Description

In the Linux kernel, the following vulnerability has been resolved: net: hso: fix NULL-deref on disconnect regression Commit 8a12f8836145 ("net: hso: fix null-ptr-deref during tty device unregistration") fixed the racy minor allocation reported by syzbot, but introduced an unconditional NULL-pointer dereference on every disconnect instead. Specifically, the serial device table must no longer be accessed after the minor has been released by hso_serial_tty_unregister().

INFO

Published Date :

Feb. 26, 2024, 4:27 p.m.

Last Modified :

April 17, 2024, 7:30 p.m.

Source :

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

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2021-46905 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-46905 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-46905 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.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 28, 2024

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

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 17, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e No Types Assigned https://git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e Patch
    Changed Reference Type https://git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00 No Types Assigned https://git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00 Patch
    Changed Reference Type https://git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1 No Types Assigned https://git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1 Patch
    Changed Reference Type https://git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3 No Types Assigned https://git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3 Patch
    Changed Reference Type https://git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef No Types Assigned https://git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef Patch
    Changed Reference Type https://git.kernel.org/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554 No Types Assigned https://git.kernel.org/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554 Patch
    Changed Reference Type https://git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725 No Types Assigned https://git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725 Patch
    Changed Reference Type https://git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273 No Types Assigned https://git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273 Patch
    Changed Reference Type https://git.kernel.org/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e No Types Assigned https://git.kernel.org/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e Patch
    Added CWE NIST CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 4.19.189 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20.0 up to (excluding) 5.4.115 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (excluding) 5.10.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11.0 up to (excluding) 5.11.17 *cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.12:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.12:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.12:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.12:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.12:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:5.12:rc7:*:*:*:*:*:*
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 04, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://git.kernel.org/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1 [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 26, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: net: hso: fix NULL-deref on disconnect regression Commit 8a12f8836145 ("net: hso: fix null-ptr-deref during tty device unregistration") fixed the racy minor allocation reported by syzbot, but introduced an unconditional NULL-pointer dereference on every disconnect instead. Specifically, the serial device table must no longer be accessed after the minor has been released by hso_serial_tty_unregister().
    Added Reference Linux https://git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3 [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-46905 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-46905 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability