CVE-2022-49435

MEDIUM

Linux Kernel 5.4-5.18.2 - Null Pointer Dereference in davinci_voicecodec Probe

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe() 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.

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 15.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (20)
linux/Kernel 5.11.0 - 5.15.46linux
linux/Kernel 5.16.0 - 5.17.14linux
linux/Kernel 5.18.0 - 5.18.3linux
linux/Kernel 5.4.0 - 5.4.198linux
linux/Kernel 5.5.0 - 5.10.121linux
Linux/Linux < 5.4
Linux/Linux 5.10.121 - 5.10.*
Linux/Linux 5.15.46 - 5.15.*
Linux/Linux 5.17.14 - 5.17.*
Linux/Linux 5.18.3 - 5.18.*
... and 10 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026