{"id":"CVE-2022-49445","summary":"pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()\n\nIt will cause null-ptr-deref when using 'res', if platform_get_resource()\nreturns NULL, so move using 'res' after devm_ioremap_resource() that\nwill check it to avoid null-ptr-deref.\nAnd use devm_platform_get_and_ioremap_resource() to simplify code.","modified":"2026-04-11T12:44:04.149504Z","published":"2025-02-26T02:12:57.249Z","related":["SUSE-SU-2025:01983-1","SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49445.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5376e3d904532e657fd7ca1a9b1ff3d351527b90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ed0519d425619b435150372cce2ffeec71581fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3a1ad8fd0ac11f4fa1260c23b5db71a25473254"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f991879762392c19661af5b722578089a12b305f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb4f022b3ad1f3ff3cafdbc7d51896090ae17701"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49445.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49445"},{"type":"PACKAGE","url":"https://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":"c7977ec4a33633c8e8d9267dd014356cf857351c"},{"fixed":"f991879762392c19661af5b722578089a12b305f"},{"fixed":"5ed0519d425619b435150372cce2ffeec71581fa"},{"fixed":"e3a1ad8fd0ac11f4fa1260c23b5db71a25473254"},{"fixed":"fb4f022b3ad1f3ff3cafdbc7d51896090ae17701"},{"fixed":"5376e3d904532e657fd7ca1a9b1ff3d351527b90"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49445.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.3.0"},{"fixed":"5.10.121"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.46"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.17.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"5.18.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49445.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}