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: <170299940902.460104.1563250346911093809.b4-ty@kernel.dk>
Date: Tue, 19 Dec 2023 08:23:29 -0700
From: Jens Axboe <axboe@...nel.dk>
To: penguin-kernel@...ove.sakura.ne.jp, linan666@...weicloud.com
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org, 
 yukuai3@...wei.com, yi.zhang@...wei.com, houtao1@...wei.com, 
 yangerkun@...wei.com
Subject: Re: [PATCH] block: add check of 'minors' and 'first_minor' in
 device_add_disk()


On Tue, 19 Dec 2023 15:59:42 +0800, linan666@...weicloud.com wrote:
> 'first_minor' represents the starting minor number of disks, and
> 'minors' represents the number of partitions in the device. Neither
> of them can be greater than MINORMASK + 1.
> 
> Commit e338924bd05d ("block: check minor range in device_add_disk()")
> only added the check of 'first_minor + minors'. However, their sum might
> be less than MINORMASK but their values are wrong. Complete the checks now.
> 
> [...]

Applied, thanks!

[1/1] block: add check of 'minors' and 'first_minor' in device_add_disk()
      commit: 4c434392c4777881d01beada6701eff8c76b43fe

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ