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: <172615242499.556162.4004565592803835809.b4-ty@kernel.dk>
Date: Thu, 12 Sep 2024 08:47:04 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Riyan Dhiman <riyandhiman14@...il.com>
Cc: hch@....de, linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] block: fix potential invalid pointer dereference in
 blk_add_partition


On Wed, 11 Sep 2024 18:59:54 +0530, Riyan Dhiman wrote:
> The blk_add_partition() function initially used a single if-condition
> (IS_ERR(part)) to check for errors when adding a partition. This was
> modified to handle the specific case of -ENXIO separately, allowing the
> function to proceed without logging the error in this case. However,
> this change unintentionally left a path where md_autodetect_dev()
> could be called without confirming that part is a valid pointer.
> 
> [...]

Applied, thanks!

[1/1] block: fix potential invalid pointer dereference in blk_add_partition
      commit: 26e197b7f9240a4ac301dd0ad520c0c697c2ea7d

Best regards,
-- 
Jens Axboe




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ