{"id":"CVE-2022-49375","aliases":["CVE-2022-49375"],"related":[],"kind":"vulnerability","state":"published","title":"rtc: mt6397: check return value after calling platform_get_resource()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: mt6397: check return value after calling platform_get_resource()\n\nIt will cause null-ptr-deref if platform_get_resource() returns NULL,\nwe need check the return value.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: mt6397: check return value after calling platform_get_resource()\n\nIt will cause null-ptr-deref if platform_get_resource() returns NULL,\nwe need check the return value.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rtc: mt6397: verificar el valor de retorno después de llamar a platform_get_resource() Causará null-ptr-deref si platform_get_resource() devuelve NULL, necesitamos verificar el valor de retorno.","source":"nvd"}],"published":"2025-02-26T02:11:15.627Z","modified":"2026-06-17T05:17:52.093Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"3867f0bbb94773d41e789257abec0d14f37da217","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"79fa3f5758d8712df0678df98161f948fc4370e5","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"6ecd4d5c28408df36a1a6f0b1973f633c949ac1f","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"d77f28c1bc9d3043a52069fe42e4a26fbf961ebd","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"82bfea344e8f7e9a0e0b1bf9af27552baa756620","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"865051de2d9eaa50630e055b73921ceaf3c4a7fc","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"58a729c55ce3a432eb827fdaa24c7909cd3b0a6b","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"da38e86d6cf6dd3bc65c602d998f357145aa1a0b","status":"affected"},{"type":"git","introduced":"fc2979118f3f5193475cb53d5df7bdaa7e358a42","fixed":"d3b43eb505bffb8e4cdf6800c15660c001553fe6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"4.9.318","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.283","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.122","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.47","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.15","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.4","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.2","fixed":"4.9.318"},{"status":"affected","introduced":"4.10","fixed":"4.14.283"},{"status":"affected","introduced":"4.15","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.122"},{"status":"affected","introduced":"5.11","fixed":"5.15.47"},{"status":"affected","introduced":"5.16","fixed":"5.17.15"},{"status":"affected","introduced":"5.18","fixed":"5.18.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3867f0bbb94773d41e789257abec0d14f37da217","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79fa3f5758d8712df0678df98161f948fc4370e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ecd4d5c28408df36a1a6f0b1973f633c949ac1f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d77f28c1bc9d3043a52069fe42e4a26fbf961ebd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82bfea344e8f7e9a0e0b1bf9af27552baa756620","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/865051de2d9eaa50630e055b73921ceaf3c4a7fc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58a729c55ce3a432eb827fdaa24c7909cd3b0a6b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da38e86d6cf6dd3bc65c602d998f357145aa1a0b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3b43eb505bffb8e4cdf6800c15660c001553fe6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:42:01.932Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49375","url":"https://www.cve.org/CVERecord?id=CVE-2022-49375","licence":"CVE Terms of Use","modified":"2026-05-11T18:58:28.549Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49375","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49375","licence":"Public domain","modified":"2026-06-17T05:17:52.093Z"}],"updatedAt":"2026-11-25T22:58:20.476Z","epss":{"score":0.00268,"percentile":0.20233,"date":"2026-12-02T12:00:21.000Z"}}