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]
Message-Id: <168728706526.3766608.418595838646923782.b4-ty@kernel.dk>
Date:   Tue, 20 Jun 2023 12:51:05 -0600
From:   Jens Axboe <axboe@...nel.dk>
To:     willy@...radead.org, hch@....de, dlemoal@...nel.org,
        gregkh@...uxfoundation.org, wsa@...nel.org, vkoul@...nel.org,
        Min Li <min15.li@...sung.com>
Cc:     linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] block: add capacity validation in
 bdev_add_partition()


On Mon, 19 Jun 2023 09:12:14 +0000, Min Li wrote:
> In the function bdev_add_partition(),there is no check that the start
> and end sectors exceed the size of the disk before calling add_partition.
> When we call the block's ioctl interface directly to add a partition,
> and the capacity of the disk is set to 0 by driver,the command will
> continue to execute.
> 
> 
> [...]

Applied, thanks!

[1/1] block: add capacity validation in bdev_add_partition()
      commit: 6d4e80db4ebe76c4a4b6ffb6547cb168275204ef

Best regards,
-- 
Jens Axboe



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ