exFAT-fs (loop1): failed to load upcase table (idx : 0x00010000, chksum : 0x1a9973fb, utbl_chksum : 0xe619d30d)
==================================================================
BUG: KASAN: out-of-bounds in instrument_read include/linux/instrumented.h:26 [inline]
BUG: KASAN: out-of-bounds in copy_from_kernel_nofault+0x6f/0x2f0 mm/maccess.c:35
Read of size 8 at addr ffffffffffffffff by task syz.1.228/6042
CPU: 0 UID: 0 PID: 6042 Comm: syz.1.228 Not tainted 6.12.0-rc1-next-20241003-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:377 [inline]
print_report+0x169/0x550 mm/kasan/report.c:488
kasan_report+0x143/0x180 mm/kasan/report.c:601
kasan_check_range+0x282/0x290 mm/kasan/generic.c:189
instrument_read include/linux/instrumented.h:26 [inline]
copy_from_kernel_nofault+0x6f/0x2f0 mm/maccess.c:35
bpf_probe_read_kernel_common include/linux/bpf.h:2960 [inline]
____bpf_probe_read_kernel kernel/trace/bpf_trace.c:239 [inline]
bpf_probe_read_kernel+0x2a/0x70 kernel/trace/bpf_trace.c:236
bpf_prog_9edfaa51e2548b5e+0x43/0x45
bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline]
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run include/linux/filter.h:708 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2318 [inline]
bpf_trace_run4+0x334/0x590 kernel/trace/bpf_trace.c:2361
trace_mm_page_alloc include/trace/events/kmem.h:177 [inline]
__alloc_pages_noprof+0x694/0x6c0 mm/page_alloc.c:4791
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
folio_alloc_mpol_noprof+0x36/0x50 mm/mempolicy.c:2283
shmem_alloc_folio mm/shmem.c:1793 [inline]
shmem_alloc_and_add_folio+0x49b/0x13d0 mm/shmem.c:1832
shmem_get_folio_gfp+0x5a9/0x20a0 mm/shmem.c:2354
shmem_fault+0x253/0x6f0 mm/shmem.c:2555
__do_fault+0x135/0x460 mm/memory.c:4893
do_read_fault mm/memory.c:5299 [inline]
do_fault mm/memory.c:5433 [inline]
do_pte_missing mm/memory.c:3973 [inline]
handle_pte_fault+0x2d57/0x6830 mm/memory.c:5778
__handle_mm_fault mm/memory.c:5921 [inline]
handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6089
faultin_page mm/gup.c:1187 [inline]
__get_user_pages+0x1b16/0x48d0 mm/gup.c:1485
populate_vma_page_range+0x264/0x330 mm/gup.c:1923
__mm_populate+0x27a/0x460 mm/gup.c:2026
mm_populate include/linux/mm.h:3374 [inline]
vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f432517dff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4325f9c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f4325335f80 RCX: 00007f432517dff9
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 00007f43251f0296 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f4325335f80 R15: 00007ffc8b5db6c8
Memory state around the buggy address:
fffffffffffffe80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffffffffffffff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffffffffffffff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 6042 Comm: syz.1.228 Not tainted 6.12.0-rc1-next-20241003-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:kasan_metadata_fetch_row+0x12/0x30 mm/kasan/report_generic.c:186
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <48> 8b 0c 06 48 8b 44 06 08 48 89 47 08 48 89 0f c3 cc cc cc cc 66
RSP: 0018:ffffc90016956a98 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: a7534eda6db40400
RDX: ffffc900042c9000 RSI: 0000000000000000 RDI: ffffc90016956ad0
RBP: ffffc90016956b18 R08: ffffffff8bc102d3 R09: 0000000000000020
R10: dffffc0000000000 R11: fffff52002d2ad59 R12: ffffc90016956ad0
R13: 0000000000000080 R14: ffffffffffffff80 R15: ffffc90016956ab0
FS: 00007f4325f9c6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f431a9ffe00 CR3: 000000007ebd8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
print_memory_metadata mm/kasan/report.c:464 [inline]
print_report+0x4df/0x550 mm/kasan/report.c:489
kasan_report+0x143/0x180 mm/kasan/report.c:601
kasan_check_range+0x282/0x290 mm/kasan/generic.c:189
instrument_read include/linux/instrumented.h:26 [inline]
copy_from_kernel_nofault+0x6f/0x2f0 mm/maccess.c:35
bpf_probe_read_kernel_common include/linux/bpf.h:2960 [inline]
____bpf_probe_read_kernel kernel/trace/bpf_trace.c:239 [inline]
bpf_probe_read_kernel+0x2a/0x70 kernel/trace/bpf_trace.c:236
bpf_prog_9edfaa51e2548b5e+0x43/0x45
bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline]
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run include/linux/filter.h:708 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2318 [inline]
bpf_trace_run4+0x334/0x590 kernel/trace/bpf_trace.c:2361
trace_mm_page_alloc include/trace/events/kmem.h:177 [inline]
__alloc_pages_noprof+0x694/0x6c0 mm/page_alloc.c:4791
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
folio_alloc_mpol_noprof+0x36/0x50 mm/mempolicy.c:2283
shmem_alloc_folio mm/shmem.c:1793 [inline]
shmem_alloc_and_add_folio+0x49b/0x13d0 mm/shmem.c:1832
shmem_get_folio_gfp+0x5a9/0x20a0 mm/shmem.c:2354
shmem_fault+0x253/0x6f0 mm/shmem.c:2555
__do_fault+0x135/0x460 mm/memory.c:4893
do_read_fault mm/memory.c:5299 [inline]
do_fault mm/memory.c:5433 [inline]
do_pte_missing mm/memory.c:3973 [inline]
handle_pte_fault+0x2d57/0x6830 mm/memory.c:5778
__handle_mm_fault mm/memory.c:5921 [inline]
handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6089
faultin_page mm/gup.c:1187 [inline]
__get_user_pages+0x1b16/0x48d0 mm/gup.c:1485
populate_vma_page_range+0x264/0x330 mm/gup.c:1923
__mm_populate+0x27a/0x460 mm/gup.c:2026
mm_populate include/linux/mm.h:3374 [inline]
vm_mmap_pgoff+0x2c3/0x3d0 mm/util.c:593
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f432517dff9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4325f9c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f4325335f80 RCX: 00007f432517dff9
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000
RBP: 00007f43251f0296 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f4325335f80 R15: 00007ffc8b5db6c8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:kasan_metadata_fetch_row+0x12/0x30 mm/kasan/report_generic.c:186
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <48> 8b 0c 06 48 8b 44 06 08 48 89 47 08 48 89 0f c3 cc cc cc cc 66
RSP: 0018:ffffc90016956a98 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: a7534eda6db40400
RDX: ffffc900042c9000 RSI: 0000000000000000 RDI: ffffc90016956ad0
RBP: ffffc90016956b18 R08: ffffffff8bc102d3 R09: 0000000000000020
R10: dffffc0000000000 R11: fffff52002d2ad59 R12: ffffc90016956ad0
R13: 0000000000000080 R14: ffffffffffffff80 R15: ffffc90016956ab0
FS: 00007f4325f9c6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f431a9ffe00 CR3: 000000007ebd8000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1)
7: 00
8: 90 nop
9: 90 nop
a: 90 nop
b: 90 nop
c: 90 nop
d: 90 nop
e: 90 nop
f: 90 nop
10: 90 nop
11: 90 nop
12: 90 nop
13: 90 nop
14: 90 nop
15: 90 nop
16: 90 nop
17: 90 nop
18: 66 0f 1f 00 nopw (%rax)
1c: 48 c1 ee 03 shr $0x3,%rsi
20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
27: fc ff df
* 2a: 48 8b 0c 06 mov (%rsi,%rax,1),%rcx <-- trapping instruction
2e: 48 8b 44 06 08 mov 0x8(%rsi,%rax,1),%rax
33: 48 89 47 08 mov %rax,0x8(%rdi)
37: 48 89 0f mov %rcx,(%rdi)
3a: c3 ret
3b: cc int3
3c: cc int3
3d: cc int3
3e: cc int3
3f: 66 data16