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]
Date:   Fri, 12 Nov 2021 05:46:44 -0700
From:   Jens Axboe <axboe@...nel.dk>
To:     Laibin Qiu <qiulaibin@...wei.com>
Cc:     bo.liu@...ux.alibaba.com, dennis@...nel.org, tj@...nel.org,
        linux-block@...r.kernel.org, josef@...icpanda.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next -V2] blkcg: Remove extra blkcg_bio_issue_init

On Fri, 12 Nov 2021 17:33:54 +0800, Laibin Qiu wrote:
> KASAN reports a use-after-free report when doing block test:
> 
> ==================================================================
> [10050.967049] BUG: KASAN: use-after-free in
> submit_bio_checks+0x1539/0x1550
> 
> [10050.977638] Call Trace:
> [10050.978190]  dump_stack+0x9b/0xce
> [10050.979674]  print_address_description.constprop.6+0x3e/0x60
> [10050.983510]  kasan_report.cold.9+0x22/0x3a
> [10050.986089]  submit_bio_checks+0x1539/0x1550
> [10050.989576]  submit_bio_noacct+0x83/0xc80
> [10050.993714]  submit_bio+0xa7/0x330
> [10050.994435]  mpage_readahead+0x380/0x500
> [10050.998009]  read_pages+0x1c1/0xbf0
> [10051.002057]  page_cache_ra_unbounded+0x4c2/0x6f0
> [10051.007413]  do_page_cache_ra+0xda/0x110
> [10051.008207]  force_page_cache_ra+0x23d/0x3d0
> [10051.009087]  page_cache_sync_ra+0xca/0x300
> [10051.009970]  generic_file_buffered_read+0xbea/0x2130
> [10051.012685]  generic_file_read_iter+0x315/0x490
> [10051.014472]  blkdev_read_iter+0x113/0x1b0
> [10051.015300]  aio_read+0x2ad/0x450
> [10051.023786]  io_submit_one+0xc8e/0x1d60
> [10051.029855]  __se_sys_io_submit+0x125/0x350
> [10051.033442]  do_syscall_64+0x2d/0x40
> [10051.034156]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
> 
> [...]

Applied, thanks!

[1/1] blkcg: Remove extra blkcg_bio_issue_init
      commit: b781d8db580c058ecd54ed7d5dde7f8270b25f5b

Best regards,
-- 
Jens Axboe


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ