CVE-2022-49449

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

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

pinctrl: renesas: rzn1: 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-49449.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
4e53b5004745ef26a37bca4933b2d3ea71313f2a
Fixed
b646e0cfeb38bf5f1944fd548f1dfa9b129fa00c
Fixed
c16b59d445135c8026a04e388d8b2762feaa3b3b
Fixed
34c719b8fdfbd0c7c54cae56e6b0f16e9f8bf03e
Fixed
01f9e02e0f13df3fd291676dc80054e977be1601
Fixed
2f661477c2bb8068194dbba9738d05219f111c6e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49449.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.20.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-49449.json"