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  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]
Date:   Sat, 3 Nov 2018 16:20:02 -0400
From:   "Theodore Y. Ts'o" <>
To:     Vasily Averin <>
        Andreas Dilger <>,,
        Yongqiang Yang <>,
        Yongqiang Yang <>
Subject: Re: [PATCH v2 01/11] ext4 resise: extra brelse in

On Wed, Oct 31, 2018 at 12:57:37AM +0300, Vasily Averin wrote:
> currently bh is set to NULL only during first iteration of for cycle,
> then this pointer is not cleared after end of using.
> Therefore rollback after errors can lead to extra brelse(bh) call,
> decrements bh counter and later trigger an unexpected warning in __brelse()
> Patch moves brelse() calls in body of cycle to exclude requirement of
> brelse() call in rollback.
> Fixes 33afdcc5402d ("ext4: add a function which sets up group blocks ...") # 3.3+
> Signed-off-by: Vasily Averin <>

Thanks, applied.  I addjusted the patch summary to read:

    ext4: avoid potential extra brelse in setup_new_flex_group_blocks()

(Note that resise should have been spelled as "resize", by the way.)

						- Ted

Powered by blists - more mailing lists