7.8
HIGH
CVE-2022-48742
Linux kernel rtnetlink Use After Free Vulnerability
Description

In the Linux kernel, the following vulnerability has been resolved: rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink() While looking at one unrelated syzbot bug, I found the replay logic in __rtnl_newlink() to potentially trigger use-after-free. It is better to clear master_dev and m_ops inside the loop, in case we have to replay it.

INFO

Published Date :

June 20, 2024, 12:15 p.m.

Last Modified :

Aug. 20, 2024, 1:44 p.m.

Source :

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

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

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

The following table lists the changes that have been made to the CVE-2022-48742 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]

    Aug. 20, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/2cf180360d66bd657e606c1217e0e668e6faa303 No Types Assigned https://git.kernel.org/stable/c/2cf180360d66bd657e606c1217e0e668e6faa303 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/36a9a0aee881940476b254e0352581401b23f210 No Types Assigned https://git.kernel.org/stable/c/36a9a0aee881940476b254e0352581401b23f210 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/3bbe2019dd12b8d13671ee6cda055d49637b4c39 No Types Assigned https://git.kernel.org/stable/c/3bbe2019dd12b8d13671ee6cda055d49637b4c39 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/7d9211678c0f0624f74cdff36117ab8316697bb8 No Types Assigned https://git.kernel.org/stable/c/7d9211678c0f0624f74cdff36117ab8316697bb8 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/a01e60a1ec6bef9be471fb7182a33c6d6f124e93 No Types Assigned https://git.kernel.org/stable/c/a01e60a1ec6bef9be471fb7182a33c6d6f124e93 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/bd43771ee9759dd9dfae946bff190e2c5a120de5 No Types Assigned https://git.kernel.org/stable/c/bd43771ee9759dd9dfae946bff190e2c5a120de5 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/c6f6f2444bdbe0079e41914a35081530d0409963 No Types Assigned https://git.kernel.org/stable/c/c6f6f2444bdbe0079e41914a35081530d0409963 Mailing List, Patch
    Changed Reference Type https://git.kernel.org/stable/c/def5e7070079b2a214b3b1a2fbec623e6fbfe34a No Types Assigned https://git.kernel.org/stable/c/def5e7070079b2a214b3b1a2fbec623e6fbfe34a Mailing List, Patch
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.14 up to (excluding) 4.9.300 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.265 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.228 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.177 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.97 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.20 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.6
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 20, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: rtnetlink: make sure to refresh master_dev/m_ops in __rtnl_newlink() While looking at one unrelated syzbot bug, I found the replay logic in __rtnl_newlink() to potentially trigger use-after-free. It is better to clear master_dev and m_ops inside the loop, in case we have to replay it.
    Added Reference kernel.org https://git.kernel.org/stable/c/2cf180360d66bd657e606c1217e0e668e6faa303 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/7d9211678c0f0624f74cdff36117ab8316697bb8 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/a01e60a1ec6bef9be471fb7182a33c6d6f124e93 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/bd43771ee9759dd9dfae946bff190e2c5a120de5 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/3bbe2019dd12b8d13671ee6cda055d49637b4c39 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/def5e7070079b2a214b3b1a2fbec623e6fbfe34a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/36a9a0aee881940476b254e0352581401b23f210 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/c6f6f2444bdbe0079e41914a35081530d0409963 [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-2022-48742 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-2022-48742 weaknesses.

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