[Bug 238646] qlnx: qlnxe: Fix kernel address leakage in qlnx_rdma.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 17 07:20:34 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238646

            Bug ID: 238646
           Summary: qlnx: qlnxe: Fix kernel address leakage in qlnx_rdma.c
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: huangfq.daxian at gmail.com

Created attachment 205166
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205166&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list