5.5
MEDIUM
CVE-2022-49494
Linux Kernel MTD Rawnand Cadence Null Pointer Dereference Vulnerability
Description

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_probe() It will cause null-ptr-deref when using 'res', if platform_get_resource() returns NULL, so move using 'res' after devm_ioremap_resource() that will check it to avoid null-ptr-deref. And use devm_platform_get_and_ioremap_resource() to simplify code.

INFO

Published Date :

Feb. 26, 2025, 7:01 a.m.

Last Modified :

March 17, 2025, 4:52 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-2022-49494 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-49494 vulnerability anywhere in the article.

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

    Mar. 17, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.121 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.46 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.17.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.18 up to (excluding) 5.18.3
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/069af5e27c1b0f7677ef76d8d3102e503ca4f80b Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/0cfee868b89ffa945f3d535ee5c985cb40c5a0f8 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/13b60d3dc84b47307669edb66b633b18466014b4 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/81f1ddffdc22ca5789e33b9d4712914e302090c1 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/a28ed09dafee20da51eb26452950839633afd824 Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 26, 2025

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_probe() It will cause null-ptr-deref when using 'res', if platform_get_resource() returns NULL, so move using 'res' after devm_ioremap_resource() that will check it to avoid null-ptr-deref. And use devm_platform_get_and_ioremap_resource() to simplify code.
    Added Reference https://git.kernel.org/stable/c/069af5e27c1b0f7677ef76d8d3102e503ca4f80b
    Added Reference https://git.kernel.org/stable/c/0cfee868b89ffa945f3d535ee5c985cb40c5a0f8
    Added Reference https://git.kernel.org/stable/c/13b60d3dc84b47307669edb66b633b18466014b4
    Added Reference https://git.kernel.org/stable/c/81f1ddffdc22ca5789e33b9d4712914e302090c1
    Added Reference https://git.kernel.org/stable/c/a28ed09dafee20da51eb26452950839633afd824
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-49494 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-49494 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 24, 2025 2:28