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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YEnIvMOComLaaVa5@infradead.org>
Date:   Thu, 11 Mar 2021 08:37:32 +0100
From:   Christoph Hellwig <hch@...radead.org>
To:     Felix Manlunas <felix.manlunas@...ium.com>,
        Derek Chickles <dchickles@...vell.com>,
        Satanand Burla <sburla@...vell.com>
Cc:     netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: module refcount issues in the liquidio driver

Hi all,

I just stumbled over the odd handling of module refcounts in the liquidio
driver.  The big red flag is the call to module_refcount in
liquidio_watchdog, which will do the wrong thing for any external module
refcount, like a userspace open.

But more importantly the whole concept of acquiring module refcounts from
inside the driver is pretty bogus.  What problem does this try to solve?


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ