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-prev] [day] [month] [year] [list]
Date: Wed, 06 Mar 2024 08:35:30 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Roman Smirnov <r.smirnov@....ru>
Cc: Sergey Shtylyov <s.shtylyov@....ru>, 
 Karina Yankevich <k.yankevich@....ru>, linux-block@...r.kernel.org, 
 linux-kernel@...r.kernel.org, lvc-project@...uxtesting.org
Subject: Re: [PATCH] block: prevent division by zero in blk_rq_stat_sum()


On Tue, 05 Mar 2024 16:45:09 +0300, Roman Smirnov wrote:
> The expression dst->nr_samples + src->nr_samples may
> have zero value on overflow. It is necessary to add
> a check to avoid division by zero.
> 
> Found by Linux Verification Center (linuxtesting.org) with Svace.
> 
> 
> [...]

Applied, thanks!

[1/1] block: prevent division by zero in blk_rq_stat_sum()
      commit: 93f52fbeaf4b676b21acfe42a5152620e6770d02

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ