# CVE-2022-49487: mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-02)
- Published: 2025-02-26T02:13:25.464Z
- Modified: 2026-06-17T05:18:12.473Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0b1039f016e8a37c779a4aee362cb2100ebb1cfd before e5b1e419cdb6dd8709eb05ed34039a3ded8e6003; from 0b1039f016e8a37c779a4aee362cb2100ebb1cfd before daa5166450b447415aeeaac0199e445bae7bd0f2; from 0b1039f016e8a37c779a4aee362cb2100ebb1cfd before f8e262eb7575a4a2412f30f7a1b293875aceba80; from 0b1039f016e8a37c779a4aee362cb2100ebb1cfd before ddf66aefd685fd46500b9917333e1b1e118276dc; 5.11 (not affected: before 5.11; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e5b1e419cdb6dd8709eb05ed34039a3ded8e6003> (patch)
- <https://git.kernel.org/stable/c/daa5166450b447415aeeaac0199e445bae7bd0f2> (patch)
- <https://git.kernel.org/stable/c/f8e262eb7575a4a2412f30f7a1b293875aceba80> (patch)
- <https://git.kernel.org/stable/c/ddf66aefd685fd46500b9917333e1b1e118276dc> (patch)

## Sources

- CVE List: [CVE-2022-49487](https://www.cve.org/CVERecord?id=CVE-2022-49487), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49487](https://nvd.nist.gov/vuln/detail/CVE-2022-49487), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49487 · Whole record: https://cve.day/CVE-2022-49487.json · Rebuilt by cve.day 2026-11-25T22:58:20.684Z
