Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #74578

Bug#1006645: aoe: removing aoe devices with flush (implicit in rmmod aoe) leads to page fault

From Valentin Kleibel <valentin@vrvis.at>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1006645: aoe: removing aoe devices with flush (implicit in rmmod aoe) leads to page fault
Date 2022-03-01 12:10 +0100
Message-ID <DW8yd-57U6-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: linux-image-amd64
Version: 5.10.92
Source: linux

Dear Maintainers,

while trying to fix #986837 we found another issue in the aoe driver:
Removal of an active aoe device leads to a page fault and inhibits the 
removal of the aoe module.
The issue affects all kernels from v4.20-rc1 up to v5.14-rc1 including 
5.10 currently in debian bullseye.
The code in freedev() calls blk_mq_free_tag_set() before running 
blk_cleanup_queue() which leads to this issue (drivers/block/aoedev.c 
L281ff).
The attached patch for affected kernel versions just changes the order 
of function calls to match the one introduced with blk_cleanup_disk() to 
mitigate this issue.
See also https://bugzilla.kernel.org/show_bug.cgi?id=215647

Cheers,
Valentin

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1006645: aoe: removing aoe devices with flush (implicit in rmmod aoe) leads to page fault Valentin Kleibel <valentin@vrvis.at> - 2022-03-01 12:10 +0100

csiph-web