CVE-2022-49445

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:12 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources() It will cause null-ptr-deref when using 'res', if platform_get_resource() returns NULL, so move using 'res' after devm_ioremap_resource() that will check it to avoid null-ptr-deref. And use devm_platform_get_and_ioremap_resource() to simplify code.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.3 ≤ v < 5.10.1214.3 ≤ v < 5.15.464.3 ≤ v < 5.17.144.3 ≤ v < 5.18.34.3 ≤ v < 5.195.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.34.3c7977ec4a33633c8e8d9267dd014356cf857351c
Vendor states this is fixed in 5376e3d904532e657fd7ca1a9b1ff3d351527b90 (fixed)
Vendor states this is fixed in 5ed0519d425619b435150372cce2ffeec71581fa (fixed)
Vendor states this is fixed in e3a1ad8fd0ac11f4fa1260c23b5db71a25473254 (fixed)
Vendor states this is fixed in f991879762392c19661af5b722578089a12b305f (fixed)
Vendor states this is fixed in fb4f022b3ad1f3ff3cafdbc7d51896090ae17701 (fixed)
Vendor states this is fixed in 4.3 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5376e3d904532e657fd7ca1a9b1ff3d351527b90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ed0519d425619b435150372cce2ffeec71581fa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e3a1ad8fd0ac11f4fa1260c23b5db71a25473254
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f991879762392c19661af5b722578089a12b305f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fb4f022b3ad1f3ff3cafdbc7d51896090ae17701

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card