{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49449","id":"CVE-2022-49449","title":"pinctrl: renesas: rzn1: Fix possible null-ptr-deref in sh_pfc_map_resources()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: renesas: rzn1: 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: rzn1: 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:59.709Z","updated":"2026-10-28T02:30:42.786124796Z","reserved":"2025-02-26T02:08:31.572Z","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":"4e53b5004745ef26a37bca4933b2d3ea71313f2a","lessThan":"b646e0cfeb38bf5f1944fd548f1dfa9b129fa00c","status":"affected","versionType":"git"},{"version":"4e53b5004745ef26a37bca4933b2d3ea71313f2a","lessThan":"c16b59d445135c8026a04e388d8b2762feaa3b3b","status":"affected","versionType":"git"},{"version":"4e53b5004745ef26a37bca4933b2d3ea71313f2a","lessThan":"34c719b8fdfbd0c7c54cae56e6b0f16e9f8bf03e","status":"affected","versionType":"git"},{"version":"4e53b5004745ef26a37bca4933b2d3ea71313f2a","lessThan":"01f9e02e0f13df3fd291676dc80054e977be1601","status":"affected","versionType":"git"},{"version":"4e53b5004745ef26a37bca4933b2d3ea71313f2a","lessThan":"2f661477c2bb8068194dbba9738d05219f111c6e","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.20","status":"affected"},{"version":"0","lessThan":"4.20","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/b646e0cfeb38bf5f1944fd548f1dfa9b129fa00c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c16b59d445135c8026a04e388d8b2762feaa3b3b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/34c719b8fdfbd0c7c54cae56e6b0f16e9f8bf03e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/01f9e02e0f13df3fd291676dc80054e977be1601","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2f661477c2bb8068194dbba9738d05219f111c6e","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49449.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49449","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.00268,"epssPercentile":0.19192,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49449","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49449","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49449","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-49449","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}