CVE-2022-49375

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

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before 3867f0bbb94773d41e789257abec0d14f37da217Affected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before 79fa3f5758d8712df0678df98161f948fc4370e5Affected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before 6ecd4d5c28408df36a1a6f0b1973f633c949ac1fAffected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before d77f28c1bc9d3043a52069fe42e4a26fbf961ebdAffected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before 82bfea344e8f7e9a0e0b1bf9af27552baa756620Affected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before 865051de2d9eaa50630e055b73921ceaf3c4a7fcAffected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before 58a729c55ce3a432eb827fdaa24c7909cd3b0a6bAffected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before da38e86d6cf6dd3bc65c602d998f357145aa1a0bAffected
  • fc2979118f3f5193475cb53d5df7bdaa7e358a42 to before d3b43eb505bffb8e4cdf6800c15660c001553fe6Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 4.9.318 through 4.9.*Not affected
  • 4.14.283 through 4.14.*Not affected
  • 4.19.247 through 4.19.*Not affected
  • 5.4.198 through 5.4.*Not affected
  • 5.10.122 through 5.10.*Not affected
  • 5.15.47 through 5.15.*Not affected
  • 5.17.15 through 5.17.*Not affected
  • 5.18.4 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.