Bug 238646 - qlnx: qlnxe: Fix kernel address leakage in qlnx_rdma.c
Summary: qlnx: qlnxe: Fix kernel address leakage in qlnx_rdma.c
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-net mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-06-17 07:20 UTC by Fuqian
Modified: 2019-07-04 10:52 UTC (History)
0 users

See Also:


Attachments
The patch file (1.28 KB, patch)
2019-06-17 07:20 UTC, Fuqian
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fuqian 2019-06-17 07:20:16 UTC
Created attachment 205166 [details]
The patch file

In function qlnx_rdma_deregister_if,
the address of object rdma_if will be printed out.
rdma_if is the address of a global variable qlnxr_drv,
which is passed from dev/qlnx/qlnxr/qlnxr_os.c
A kernel address leakage happens.
Fix this by removing the printf statement.