CVE-2022-49435

Source
https://cve.org/CVERecord?id=CVE-2022-49435
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49435.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49435
Downstream
Related
Published
2025-02-26T02:12:51.554Z
Modified
2026-03-20T12:22:25.711004Z
Summary
mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()
Details

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

mfd: davincivoicecodec: Fix possible null-ptr-deref davincivc_probe()

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
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49435.json"
}
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
b5e29aa880be84c271be8d0726cec4018bfbfd74
Fixed
49c1e32e7b3f301642a60448700ec531df981269
Fixed
a1d4941d9a24999f680799f9bbde7f57351ca637
Fixed
5289795824b77489803b0802cd9edc13824a2d0b
Fixed
2d00158a06efe6bbcd020108634ea0f2ed8b32f7
Fixed
579944b9f38727d9ff570b58f83bc424e8af8398
Fixed
311242c7703df0da14c206260b7e855f69cb0264

Database specific

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