Hello,
syzbot found the following issue on:
HEAD commit: bee0e7762ad2 Merge tag 'for-linus-iommufd' of git://
git.ke..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=122a3c12e80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=ac34c1f29a8029df
dashboard link:
https://syzkaller.appspot.com/bug?extid=c5aa89e3c1dfe4c2c546
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
CC: [
ak...@linux-foundation.org linux-...@vger.kernel.org linu...@kvack.org]
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/233be5f65dd2/disk-bee0e776.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/94423738a289/vmlinux-bee0e776.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/0b977463fa9a/bzImage-bee0e776.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+c5aa89...@syzkaller.appspotmail.com
==================================================================
BUG: KCSAN: data-race in mas_state_walk / mas_wr_modify
write to 0xffff888102d55848 of 8 bytes by task 28514 on cpu 0:
mas_wr_slot_store lib/maple_tree.c:4028 [inline]
mas_wr_modify+0x1600/0x37d0 lib/maple_tree.c:4226
mas_wr_store_entry+0x235/0x350 lib/maple_tree.c:4269
mas_store_prealloc+0x155/0x2b0 lib/maple_tree.c:5460
vma_iter_store mm/internal.h:1198 [inline]
vma_expand+0x4ad/0x520 mm/mmap.c:666
mmap_region+0x87f/0x16e0 mm/mmap.c:2822
do_mmap+0x67e/0xa90 mm/mmap.c:1379
vm_mmap_pgoff+0x12e/0x240 mm/util.c:556
ksys_mmap_pgoff+0xc5/0x330 mm/mmap.c:1425
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x63/0x6b
read to 0xffff888102d55848 of 8 bytes by task 28517 on cpu 1:
mtree_range_walk lib/maple_tree.c:2817 [inline]
mas_state_walk+0x328/0x5d0 lib/maple_tree.c:3712
mas_walk+0x31/0x120 lib/maple_tree.c:4888
lock_vma_under_rcu+0x8d/0x2a0 mm/memory.c:5496
do_user_addr_fault arch/x86/mm/fault.c:1356 [inline]
handle_page_fault arch/x86/mm/fault.c:1505 [inline]
exc_page_fault+0x164/0x6c0 arch/x86/mm/fault.c:1561
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
value changed: 0x00007f082bc95fff -> 0x00007f082bc74fff
Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 28517 Comm: syz-executor.1 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
==================================================================
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup