CVE-2022-49445

Source
https://cve.org/CVERecord?id=CVE-2022-49445
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49445.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49445
Downstream
Related
Published
2025-02-26T02:12:57.249Z
Modified
2026-04-11T12:44:04.149504Z
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
pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()
Details

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

pinctrl: renesas: core: Fix possible null-ptr-deref in shpfcmap_resources()

It will cause null-ptr-deref when using 'res', if platformgetresource() returns NULL, so move using 'res' after devmioremapresource() that will check it to avoid null-ptr-deref. And use devmplatformgetandioremap_resource() to simplify code.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49445.json",
    "cna_assigner": "Linux"
}
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
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"

Linux / Kernel

Package

Name
Kernel

Affected 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"