# CVE-2022-49375: rtc: mt6397: check return value after calling platform_get_resource()

- 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.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2025-02-26T02:11:15.627Z
- Modified: 2026-06-17T05:17:52.093Z
- 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:

rtc: mt6397: check return value after calling platform_get_resource()

It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

(As written by CVE List.)

## Affected

- Linux Linux: from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before 3867f0bbb94773d41e789257abec0d14f37da217; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before 79fa3f5758d8712df0678df98161f948fc4370e5; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before 6ecd4d5c28408df36a1a6f0b1973f633c949ac1f; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before d77f28c1bc9d3043a52069fe42e4a26fbf961ebd; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before 82bfea344e8f7e9a0e0b1bf9af27552baa756620; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before 865051de2d9eaa50630e055b73921ceaf3c4a7fc; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before 58a729c55ce3a432eb827fdaa24c7909cd3b0a6b; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before da38e86d6cf6dd3bc65c602d998f357145aa1a0b; from fc2979118f3f5193475cb53d5df7bdaa7e358a42 before d3b43eb505bffb8e4cdf6800c15660c001553fe6; 4.2 (not affected: before 4.2; from 4.9.318 up to 4.9.*; from 4.14.283 up to 4.14.*; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.122 up to 5.10.*; from 5.15.47 up to 5.15.*; from 5.17.15 up to 5.17.*; from 5.18.4 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.2 before 4.9.318; from 4.10 before 4.14.283; from 4.15 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.122; from 5.11 before 5.15.47; from 5.16 before 5.17.15; from 5.18 before 5.18.4

## 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/3867f0bbb94773d41e789257abec0d14f37da217> (patch)
- <https://git.kernel.org/stable/c/79fa3f5758d8712df0678df98161f948fc4370e5> (patch)
- <https://git.kernel.org/stable/c/6ecd4d5c28408df36a1a6f0b1973f633c949ac1f> (patch)
- <https://git.kernel.org/stable/c/d77f28c1bc9d3043a52069fe42e4a26fbf961ebd> (patch)
- <https://git.kernel.org/stable/c/82bfea344e8f7e9a0e0b1bf9af27552baa756620> (patch)
- <https://git.kernel.org/stable/c/865051de2d9eaa50630e055b73921ceaf3c4a7fc> (patch)
- <https://git.kernel.org/stable/c/58a729c55ce3a432eb827fdaa24c7909cd3b0a6b> (patch)
- <https://git.kernel.org/stable/c/da38e86d6cf6dd3bc65c602d998f357145aa1a0b> (patch)
- <https://git.kernel.org/stable/c/d3b43eb505bffb8e4cdf6800c15660c001553fe6> (patch)

## Sources

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

---

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