{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49445","id":"CVE-2022-49445","title":"pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()","description":"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.","descriptionLong":"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.","published":"2025-02-26T02:12:57.249Z","updated":"2026-10-28T02:30:48.093809361Z","reserved":"2025-02-26T02:08:31.571Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c7977ec4a33633c8e8d9267dd014356cf857351c","lessThan":"f991879762392c19661af5b722578089a12b305f","status":"affected","versionType":"git"},{"version":"c7977ec4a33633c8e8d9267dd014356cf857351c","lessThan":"5ed0519d425619b435150372cce2ffeec71581fa","status":"affected","versionType":"git"},{"version":"c7977ec4a33633c8e8d9267dd014356cf857351c","lessThan":"e3a1ad8fd0ac11f4fa1260c23b5db71a25473254","status":"affected","versionType":"git"},{"version":"c7977ec4a33633c8e8d9267dd014356cf857351c","lessThan":"fb4f022b3ad1f3ff3cafdbc7d51896090ae17701","status":"affected","versionType":"git"},{"version":"c7977ec4a33633c8e8d9267dd014356cf857351c","lessThan":"5376e3d904532e657fd7ca1a9b1ff3d351527b90","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.3","status":"affected"},{"version":"0","lessThan":"4.3","status":"unaffected","versionType":"semver"},{"version":"5.10.121","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.46","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.14","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.3","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f991879762392c19661af5b722578089a12b305f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5ed0519d425619b435150372cce2ffeec71581fa","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e3a1ad8fd0ac11f4fa1260c23b5db71a25473254","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fb4f022b3ad1f3ff3cafdbc7d51896090ae17701","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5376e3d904532e657fd7ca1a9b1ff3d351527b90","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49445.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49445","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00261,"epssPercentile":0.18078,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49445","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49445","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49445","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49445","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}