block: mtip32xx: synchronize ioctls with device removal - #1101
Open
blktests-ci[bot] wants to merge 1 commit into
Open
block: mtip32xx: synchronize ioctls with device removal#1101blktests-ci[bot] wants to merge 1 commit into
blktests-ci[bot] wants to merge 1 commit into
Conversation
Author
|
Upstream branch: 2d2338c |
blktests-ci
Bot
force-pushed
the
linus-master_base
branch
from
August 6, 2026 09:20
c0cc428 to
23d8cf0
Compare
Author
|
Upstream branch: 0d83957 |
blktests-ci
Bot
force-pushed
the
series/1141180=>linus-master
branch
from
August 6, 2026 09:46
086605b to
ed7e723
Compare
blktests-ci
Bot
force-pushed
the
linus-master_base
branch
from
August 9, 2026 06:23
23d8cf0 to
612ae31
Compare
Author
|
Upstream branch: 06cf618 |
blktests-ci
Bot
force-pushed
the
series/1141180=>linus-master
branch
from
August 9, 2026 07:20
ed7e723 to
c98d0d4
Compare
blktests-ci
Bot
force-pushed
the
linus-master_base
branch
from
August 9, 2026 07:24
612ae31 to
863d43a
Compare
Author
|
Upstream branch: 06cf618 |
blktests-ci
Bot
force-pushed
the
series/1141180=>linus-master
branch
from
August 9, 2026 07:38
c98d0d4 to
e2e5537
Compare
blktests-ci
Bot
force-pushed
the
linus-master_base
branch
from
August 10, 2026 22:28
863d43a to
29ac21d
Compare
Author
|
Upstream branch: d58772d |
The ioctl handlers only test REMOVE_PENDING before entering mtip_hw_ioctl(). Removal can set that bit immediately afterwards and free dd->port in mtip_hw_exit() while an ioctl still dereferences it. An already open block device can reach the handlers while del_gendisk() is in progress. Serialize both native and compat ioctls with removal. Set REMOVE_PENDING before taking the mutex so new callers fail after an in-flight ioctl has drained, and hold the mutex until the port has been torn down. Fixes: 88523a6 ("block: Add driver for Micron RealSSD pcie flash cards") Signed-off-by: Hongyan Xu <getshell@seu.edu.cn>
blktests-ci
Bot
force-pushed
the
series/1141180=>linus-master
branch
from
August 10, 2026 22:45
e2e5537 to
197be43
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request for series with
subject: block: mtip32xx: synchronize ioctls with device removal
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1141180