Bug 2347674 (CVE-2022-49448) - CVE-2022-49448 kernel: soc: bcm: Check for NULL return of devm_kzalloc()
Summary: CVE-2022-49448 kernel: soc: bcm: Check for NULL return of devm_kzalloc()
Keywords:
Status: NEW
Alias: CVE-2022-49448
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:02 UTC by OSIDB Bzimport
Modified: 2025-03-24 14:45 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:02:46 UTC
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.

Comment 1 Mauro Matteo Cascella 2025-02-26 10:20:47 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022658-CVE-2022-49448-0cec@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.