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: <163457764524.392122.9390950005139028238.b4-ty@kernel.dk>
Date:   Mon, 18 Oct 2021 11:20:48 -0600
From:   Jens Axboe <axboe@...nel.dk>
To:     hch@...radead.org, sunhao.th@...il.com, hch@....de,
        willy@...radead.org, Zqiang <qiang.zhang1211@...il.com>
Cc:     Jens Axboe <axboe@...nel.dk>, linux-block@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] block: fix incorrect references to disk objects

On Mon, 18 Oct 2021 18:34:22 +0800, Zqiang wrote:
> When adding partitions to the disk, the reference count of the disk
> object is increased. then alloc partition device and called
> device_add(), if the device_add() return error, the reference
> count of the disk object will be reduced twice, at put_device(pdev)
> and put_disk(disk). this leads to the end of the object's life cycle
> prematurely, and trigger following calltrace.
> 
> [...]

Applied, thanks!

[1/1] block: fix incorrect references to disk objects
      commit: 9fbfabfda25d8774c5a08634fdd2da000a924890

Best regards,
-- 
Jens Axboe


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ