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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-02)
- Published: 2025-02-26T02:12:59.203Z
- Modified: 2026-06-17T05:18:04.820Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

soc: bcm: Check for NULL return of devm_kzalloc()

As the potential failure of allocation, devm_kzalloc() 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 devm_kzalloc() to avoid
this confusion.

(As written by CVE List.)

## Affected

- Linux Linux: from 8bcac4011ebe0dbdd46fd55b036ee855c95702d3 before 5650e103bfc70156001615861fb8aafb3947da6e; from 8bcac4011ebe0dbdd46fd55b036ee855c95702d3 before 36339ea7bae4943be01c8e9545e46e334591fecd; from 8bcac4011ebe0dbdd46fd55b036ee855c95702d3 before b48b98743b568bb219152ba2e15af6ef0d3d8a9b; from 8bcac4011ebe0dbdd46fd55b036ee855c95702d3 before b4bd2aafacce48db26b0a213d849818d940556dd; 5.12 (not affected: before 5.12; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.12 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/5650e103bfc70156001615861fb8aafb3947da6e> (patch)
- <https://git.kernel.org/stable/c/36339ea7bae4943be01c8e9545e46e334591fecd> (patch)
- <https://git.kernel.org/stable/c/b48b98743b568bb219152ba2e15af6ef0d3d8a9b> (patch)
- <https://git.kernel.org/stable/c/b4bd2aafacce48db26b0a213d849818d940556dd> (patch)

## Sources

- CVE List: [CVE-2022-49448](https://www.cve.org/CVERecord?id=CVE-2022-49448), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49448](https://nvd.nist.gov/vuln/detail/CVE-2022-49448), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49448 · Whole record: https://cve.day/CVE-2022-49448.json · Rebuilt by cve.day 2026-11-25T22:58:20.664Z
