Skip to content

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Nov 14, 2025

Pull request for series with
subject: loop: don't change loop device under exclusive opener in loop_set_status
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1023584

@blktests-ci
Copy link
Author

blktests-ci bot commented Nov 14, 2025

Upstream branch: 6da43bb
series: https://patchwork.kernel.org/project/linux-block/list/?series=1023584
version: 1

@blktests-ci
Copy link
Author

blktests-ci bot commented Nov 16, 2025

Upstream branch: f824272
series: https://patchwork.kernel.org/project/linux-block/list/?series=1023584
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1023584=>linus-master branch from 228b41d to 3f0b192 Compare November 16, 2025 07:44
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 00d5e5c to d782508 Compare November 17, 2025 00:45
@blktests-ci
Copy link
Author

blktests-ci bot commented Nov 17, 2025

Upstream branch: f824272
series: https://patchwork.kernel.org/project/linux-block/list/?series=1023584
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1023584=>linus-master branch from 3f0b192 to 453e2ab Compare November 17, 2025 00:54
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from d782508 to 6099a4d Compare November 17, 2025 23:44
@blktests-ci
Copy link
Author

blktests-ci bot commented Nov 17, 2025

Upstream branch: e7c375b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1023584
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1023584=>linus-master branch from 453e2ab to 77c08d7 Compare November 17, 2025 23:55
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 6099a4d to 5121c4d Compare November 18, 2025 02:19
@blktests-ci
Copy link
Author

blktests-ci bot commented Nov 18, 2025

Upstream branch: e7c375b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1023584
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1023584=>linus-master branch from 77c08d7 to 5dd6b10 Compare November 18, 2025 02:29
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 5121c4d to 4458758 Compare November 19, 2025 00:24
@blktests-ci
Copy link
Author

blktests-ci bot commented Nov 19, 2025

Upstream branch: 8b69055
series: https://patchwork.kernel.org/project/linux-block/list/?series=1023584
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1023584=>linus-master branch from 5dd6b10 to ee40552 Compare November 19, 2025 00:32
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 4458758 to 6f43942 Compare November 21, 2025 09:45
loop_set_status() is allowed to change the loop device while there
are other openers of the device, even exclusive ones.

In this case, it causes a KASAN: slab-out-of-bounds Read in
ext4_search_dir(), since when looking for an entry in an inlined
directory, e_value_offs is changed underneath the filesystem by
loop_set_status().

Fix the problem by forbidding loop_set_status() from modifying the loop
device while there are exclusive openers of the device. This is similar
to the fix in loop_configure() by commit 33ec3e5 ("loop: Don't
change loop device under exclusive opener") alongside commit ecbe6bc
("block: use bd_prepare_to_claim directly in the loop driver").

Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=3ee481e21fd75e14c397
Tested-by: [email protected]
Signed-off-by: Raphael Pinsonneault-Thibeault <[email protected]>
@blktests-ci
Copy link
Author

blktests-ci bot commented Nov 21, 2025

Upstream branch: fd95357
series: https://patchwork.kernel.org/project/linux-block/list/?series=1023584
version: 1

@blktests-ci blktests-ci bot force-pushed the series/1023584=>linus-master branch from ee40552 to 3fad0ca Compare November 21, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants