CVE-2022-49375

Source
https://cve.org/CVERecord?id=CVE-2022-49375
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49375.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49375
Downstream
Related
Published
2025-02-26T02:11:15.627Z
Modified
2026-03-12T03:25:06.026566Z
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
rtc: mt6397: check return value after calling platform_get_resource()
Details

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

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

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49375.json"
}
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
fc2979118f3f5193475cb53d5df7bdaa7e358a42
Fixed
3867f0bbb94773d41e789257abec0d14f37da217
Fixed
79fa3f5758d8712df0678df98161f948fc4370e5
Fixed
6ecd4d5c28408df36a1a6f0b1973f633c949ac1f
Fixed
d77f28c1bc9d3043a52069fe42e4a26fbf961ebd
Fixed
82bfea344e8f7e9a0e0b1bf9af27552baa756620
Fixed
865051de2d9eaa50630e055b73921ceaf3c4a7fc
Fixed
58a729c55ce3a432eb827fdaa24c7909cd3b0a6b
Fixed
da38e86d6cf6dd3bc65c602d998f357145aa1a0b
Fixed
d3b43eb505bffb8e4cdf6800c15660c001553fe6

Database specific

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