CVE-2022-49487

Source
https://cve.org/CVERecord?id=CVE-2022-49487
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49487.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49487
Downstream
Related
Published
2025-02-26T02:13:25.464Z
Modified
2026-03-12T03:25:15.120325Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe()
Details

In the Linux kernel, the following vulnerability has been resolved:

mtd: rawnand: intel: fix possible null-ptr-deref in ebunandprobe()

It will cause null-ptr-deref when using 'res', if platformgetresource() returns NULL, so move using 'res' after devmioremapresource() that will check it to avoid null-ptr-deref.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49487.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0b1039f016e8a37c779a4aee362cb2100ebb1cfd
Fixed
e5b1e419cdb6dd8709eb05ed34039a3ded8e6003
Fixed
daa5166450b447415aeeaac0199e445bae7bd0f2
Fixed
f8e262eb7575a4a2412f30f7a1b293875aceba80
Fixed
ddf66aefd685fd46500b9917333e1b1e118276dc

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49487.json"