[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <000000000000a063d8060c9b7b1d@google.com>
Date: Fri, 15 Dec 2023 23:29:53 -0800
From: syzbot <syzbot+8b23309d5788a79d3eea@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] [block?] general protection fault in bio_first_folio
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: [block?] general protection fault in bio_first_folio
Author: eadavis@...com
please test general protection fault in bio_first_folio
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git abb240f7a2bd
diff --git a/block/blk-map.c b/block/blk-map.c
index 8584babf3ea0..6c6f0ef1407b 100644
--- a/block/blk-map.c
+++ b/block/blk-map.c
@@ -344,7 +344,8 @@ static int bio_map_user_iov(struct request *rq, struct iov_iter *iter,
return 0;
out_unmap:
- bio_release_pages(bio, false);
+ if (bio->bi_vcnt)
+ bio_release_pages(bio, false);
blk_mq_map_bio_put(bio);
return ret;
}
Powered by blists - more mailing lists