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: <23531d29-9d96-6744-bab9-797e65379037@kernel.dk>
Date:   Sun, 17 Oct 2021 16:03:39 -0600
From:   Jens Axboe <axboe@...nel.dk>
To:     syzbot <syzbot+005b78d4c45263d656dd@...kaller.appspotmail.com>,
        hch@....de, linux-block@...r.kernel.org,
        linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] general protection fault in hctx_lock

On 10/17/21 3:40 PM, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    7c832d2f9b95 Add linux-next specific files for 20211015
> git tree:       linux-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=10e9df10b00000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=f6ac42766a768877
> dashboard link: https://syzkaller.appspot.com/bug?extid=005b78d4c45263d656dd
> compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1154f80cb00000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1750eeecb00000
> 
> The issue was bisected to:
> 
> commit f328476e373a7ce4b4d16c48fe85571044e025f5
> Author: Christoph Hellwig <hch@....de>
> Date:   Tue Oct 12 10:40:45 2021 +0000
> 
>     blk-mq: cleanup blk_mq_submit_bio

It's a potential use-after-free using rq->mq_hctx after inserting a flush.
I'll fold in a fix, as I'm shuffling things around anyway.

-- 
Jens Axboe

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ