lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 8 Nov 2019 16:40:21 +0100
From:   Markus Elfring <Markus.Elfring@....de>
To:     linux-rdma@...r.kernel.org, kernel-janitors@...r.kernel.org,
        Coccinelle <cocci@...teme.lip6.fr>,
        Dennis Dalessandro <dennis.dalessandro@...el.com>,
        Doug Ledford <dledford@...hat.com>,
        Gal Pressman <galpress@...zon.com>,
        Jason Gunthorpe <jgg@...pe.ca>,
        Leon Romanovsky <leonro@...lanox.com>,
        Lijun Ou <oulijun@...wei.com>, Wei Hu <xavier.huwei@...wei.com>
Cc:     LKML <linux-kernel@...r.kernel.org>
Subject: RDMA/hns: Checking two kfree() calls in hns_roce_v1_release_lp_qp()

Hello,

A coccicheck run provided information like the following.

./drivers/infiniband/hw/hns/hns_roce_hw_v1.c:901:1-6: ERROR: invalid free of structure field
./drivers/infiniband/hw/hns/hns_roce_hw_v1.c:903:1-6: ERROR: invalid free of structure field

Generated by: scripts/coccinelle/free/kfreeaddr.cocci

See also:
* Commit e39afe3d6dbd908d8fd189571a3c1561088a86c2
  ("RDMA: Convert CQ allocations to be under core responsibility" from 2019-06-11)

* Commit 619122be3d40c835eb5fad9e326780909926495d
  ("RDMA/hns: Fix PD memory leak for internal allocation" from 2019-05-21)


How would you like to handle such details further?

Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ