CVE-2022-49448: soc: bcm: Check for NULL return of devm_kzalloc()

Published Feb 26, 2025
·
Updated

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

8 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.12<5.15.46
Linux Linux kernel>=5.16<5.17.14
Linux Linux kernel>=5.18<5.18.3
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
debian/linux
5.18.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.18.5-1
  2. Compensating control

    Check the return value of devm_kzalloc() for NULL before dereferencing pd->pmb or using subsequent code.

Event History

Feb 26, 2025
CVE Published
via MITRE·02:12 AM
Data Sourced
via MITRE·02:12 AM
Description
Data Sourced
via NVD·07:01 AM
Description
Data Sourced
via OSV·07:01 AM
DescriptionSeverityAffected Software
Mar 17, 2025
Data Sourced
via NVD·04:12 PM
RemedySeverityWeaknessAffected Software
Oct 1, 2025
Updated
via NVD·08:16 PM
SeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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().

3

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.

4

What type of vulnerability is CVE-2022-49448?

CVE-2022-49448 is a memory allocation vulnerability that can lead to a null pointer dereference.

5

Is CVE-2022-49448 remotely exploitable?

CVE-2022-49448 is not considered remotely exploitable; exploitation requires local access to the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203