Bug 1731784 - kernel: check null return when calling pci_ioremap_bar
Summary: kernel: check null return when calling pci_ioremap_bar
Keywords:
Status: CLOSED NOTABUG
Alias: None
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: 1731785
TreeView+ depends on / blocked
 
Reported: 2019-07-22 04:24 UTC by Dhananjay Arunesh
Modified: 2020-01-11 08:33 UTC (History)
37 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-11 08:33:06 UTC


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-07-22 04:24:23 UTC
A vulnerability was discovered in Kernel, where pci_ioremap_bar may return null. This is eventually de-referenced at drivers/dma/dw/core.c:1154 and drivers/dma/dw/core.c:1168. A null check is needed to prevent null de-reference.

Reference:
https://lore.kernel.org/patchwork/patch/1102343/


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