CVE-2022-49448: soc: bcm: Check for NULL return of devm_kzalloc()
In the Linux kernel, the following vulnerability has been resolved:
soc: bcm: Check for NULL return of devmkzalloc()
As the potential failure of allocation, devmkzalloc() may return NULL. Then the 'pd->pmb' and the follow lines of code may bring null pointer dereference.
Therefore, it is better to check the return value of devmkzalloc() to avoid this confusion.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.18.5-1 - Compensating control
Check the return value of devm_kzalloc() for NULL before dereferencing pd->pmb or using subsequent code.
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49448?
CVE-2022-49448 is classified as a medium severity vulnerability due to potential null pointer dereference issues.
How do I fix CVE-2022-49448?
To fix CVE-2022-49448, update the Linux kernel to a version that incorporates the patch addressing the null return of devm_kzalloc().
What systems are affected by CVE-2022-49448?
CVE-2022-49448 affects the Linux kernel versions between 5.12 and 5.15.46, as well as several 5.16.x and 5.18.x versions.
What type of vulnerability is CVE-2022-49448?
CVE-2022-49448 is a memory allocation vulnerability that can lead to a null pointer dereference.
Is CVE-2022-49448 remotely exploitable?
CVE-2022-49448 is not considered remotely exploitable; exploitation requires local access to the affected system.