Bug 2153054 (CVE-2022-3114) - CVE-2022-3114 kernel: clk: imx: NULL pointer dereference in imx_register_uart_clocks()
Summary: CVE-2022-3114 kernel: clk: imx: NULL pointer dereference in imx_register_uart...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-3114
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2153051
TreeView+ depends on / blocked
 
Reported: 2022-12-13 21:53 UTC by Sage McTaggart
Modified: 2023-07-11 18:09 UTC (History)
45 users (show)

Fixed In Version: kernel 5.19-rc1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-12 18:59:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Sage McTaggart 2022-12-13 21:53:48 UTC
[Suggested description]
An issue was discovered in the Linux kernel through 5.16-rc6.
imx_register_uart_clocks in drivers/clk/imx/clk.c lacks check of the
return value of kcalloc() and will cause the null pointer dereference.

------------------------------------------

[VulnerabilityType Other]
NULL Pointer Dereference

------------------------------------------

[Vendor of Product]
the development group

------------------------------------------

[Affected Product Code Base]
Linux kernel - 5.16-rc6

------------------------------------------

[Reference]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.19-rc2&id=ed713e2bc093239ccd380c2ce8ae9e4162f5c037

------------------------------------------

[Discoverer]
Jiasheng Jiang

Comment 6 Mauro Matteo Cascella 2023-06-12 08:20:02 UTC
Upstream commit:
https://github.com/torvalds/linux/commit/ed713e2bc093239ccd380c2ce8ae9e4162f5c037

Comment 7 Product Security DevOps Team 2023-06-12 18:59:55 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-3114


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