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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170818.102919.1311901104192299250.davem@davemloft.net>
Date:   Fri, 18 Aug 2017 10:29:19 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     colin.king@...onical.com
Cc:     simon.horman@...ronome.com, daniel@...earbox.net,
        oss-drivers@...ronome.com, netdev@...r.kernel.org,
        jakub.kicinski@...ronome.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nfp: fix infinite loop on umapping cleanup

From: Colin King <colin.king@...onical.com>
Date: Fri, 18 Aug 2017 12:11:50 +0100

> From: Colin Ian King <colin.king@...onical.com>
> 
> The while loop that performs the dma page unmapping never decrements
> index counter f and hence loops forever. Fix this with a pre-decrement
> on f.
> 
> Detected by CoverityScan, CID#1357309 ("Infinite loop")
> 
> Fixes: 4c3523623dc0 ("net: add driver for Netronome NFP4000/NFP6000 NIC VFs")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>

Applied and queued up for -stable.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ