[moderation] [ntfs3?] BUG: unable to handle kernel paging request in ni_clear

8 views
Skip to first unread message

syzbot

unread,
Nov 1, 2023, 6:13:26 PM11/1/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2af9b20dbb39 Merge tag 'x86-urgent-2023-10-28' of git://gi..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17ba8a3b680000
kernel config: https://syzkaller.appspot.com/x/.config?x=7d1f30869bb78ec6
dashboard link: https://syzkaller.appspot.com/bug?extid=bd3df0015769159659e4
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: i386
CC: [almaz.ale...@paragon-software.com linux-...@vger.kernel.org linux-...@vger.kernel.org nt...@lists.linux.dev]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7bc7510fe41f/non_bootable_disk-2af9b20d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/1e66f0c379e2/vmlinux-2af9b20d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3732b6e62161/bzImage-2af9b20d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+bd3df0...@syzkaller.appspotmail.com

loop0: detected capacity change from 0 to 4096
ntfs3: loop0: Different NTFS sector size (2048) and media sector size (512).
BUG: unable to handle page fault for address: ffffffffc35b0443
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD c979067 P4D c979067 PUD c97b067 PMD 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 11702 Comm: syz-executor.0 Not tainted 6.6.0-rc7-syzkaller-00195-g2af9b20dbb39 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:kasan_set_track+0x24/0x30 mm/kasan/common.c:52
Code: 5b 5d 41 5c c3 90 66 0f 1f 00 53 48 89 fb 89 f7 be 01 00 00 00 65 48 8b 04 25 c0 bc 03 00 8b 80 a0 05 00 00 89 03 e8 8b ff ff <ff> 89 43 04 5b c3 66 0f 1f 44 00 00 66 0f 1f 00 31 d2 e9 c5 30 00
RSP: 0018:ffffc900276cf880 EFLAGS: 00010286
RAX: 000000000494032c RBX: ffff888023239708 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8a8cad20 RDI: 0000000000000000
RBP: ffff888012c42640 R08: 0000000000000001 R09: fffffbfff2338bfe
R10: ffffffff919c5ff7 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: ffffffff81dd7088 R15: ffffea00008c8e40
FS: 0000000000000000(0000) GS:ffff88802c600000(0063) knlGS:00000000f7fbfb40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffffffc35b0443 CR3: 000000004bd4a000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522
____kasan_slab_free mm/kasan/common.c:236 [inline]
____kasan_slab_free+0x15b/0x1b0 mm/kasan/common.c:200
kasan_slab_free include/linux/kasan.h:164 [inline]
slab_free_hook mm/slub.c:1800 [inline]
slab_free_freelist_hook+0x114/0x1e0 mm/slub.c:1826
slab_free mm/slub.c:3809 [inline]
__kmem_cache_free+0xb8/0x2f0 mm/slub.c:3822
kvfree+0x47/0x50 mm/util.c:653
run_close fs/ntfs3/ntfs_fs.h:946 [inline]
ni_clear+0x305/0x6a0 fs/ntfs3/frecord.c:123
evict+0x2ed/0x6b0 fs/inode.c:664
iput_final fs/inode.c:1775 [inline]
iput.part.0+0x55e/0x7a0 fs/inode.c:1801
iput+0x5c/0x80 fs/inode.c:1791
ntfs_fill_super+0x3835/0x4400 fs/ntfs3/super.c:1463
get_tree_bdev+0x3b5/0x650 fs/super.c:1577
vfs_get_tree+0x8c/0x370 fs/super.c:1750
do_new_mount fs/namespace.c:3335 [inline]
path_mount+0x1492/0x1ed0 fs/namespace.c:3662
do_mount fs/namespace.c:3675 [inline]
__do_sys_mount fs/namespace.c:3884 [inline]
__se_sys_mount fs/namespace.c:3861 [inline]
__ia32_sys_mount+0x291/0x310 fs/namespace.c:3861
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x61/0xe0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7fc4579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f7fbf3f0 EFLAGS: 00000296 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00000000f7fbf460 RCX: 0000000020000040
RDX: 0000000020000000 RSI: 0000000000000000 RDI: 00000000f7fbf4a0
RBP: 0000000020000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
</TASK>
Modules linked in:
CR2: ffffffffc35b0443
---[ end trace 0000000000000000 ]---
RIP: 0010:kasan_set_track+0x24/0x30 mm/kasan/common.c:52
Code: 5b 5d 41 5c c3 90 66 0f 1f 00 53 48 89 fb 89 f7 be 01 00 00 00 65 48 8b 04 25 c0 bc 03 00 8b 80 a0 05 00 00 89 03 e8 8b ff ff <ff> 89 43 04 5b c3 66 0f 1f 44 00 00 66 0f 1f 00 31 d2 e9 c5 30 00
RSP: 0018:ffffc900276cf880 EFLAGS: 00010286
RAX: 000000000494032c RBX: ffff888023239708 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8a8cad20 RDI: 0000000000000000
RBP: ffff888012c42640 R08: 0000000000000001 R09: fffffbfff2338bfe
R10: ffffffff919c5ff7 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: ffffffff81dd7088 R15: ffffea00008c8e40
FS: 0000000000000000(0000) GS:ffff88802c600000(0063) knlGS:00000000f7fbfb40
CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: ffffffffc35b0443 CR3: 000000004bd4a000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
0: 10 06 adc %al,(%rsi)
2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi
6: 10 07 adc %al,(%rdi)
8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi
c: 10 08 adc %cl,(%rax)
e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi
1e: 00 51 52 add %dl,0x52(%rcx)
21: 55 push %rbp
22: 89 e5 mov %esp,%ebp
24: 0f 34 sysenter
26: cd 80 int $0x80
* 28: 5d pop %rbp <-- trapping instruction
29: 5a pop %rdx
2a: 59 pop %rcx
2b: c3 ret
2c: 90 nop
2d: 90 nop
2e: 90 nop
2f: 90 nop
30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi
37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi


---
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

syzbot

unread,
Feb 17, 2024, 4:12:17 AMFeb 17
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages