Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe0676f5078 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fe067c91f80 RCX: 00007fe067b72899
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fe0676f5120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 000000000000000b R14: 00007fe067c91f80 R15: 00007ffcdf8cb108
==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
BUG: KASAN: null-ptr-deref in atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:167 [inline]
BUG: KASAN: null-ptr-deref in __refcount_sub_and_test include/linux/refcount.h:272 [inline]
BUG: KASAN: null-ptr-deref in __refcount_dec_and_test include/linux/refcount.h:315 [inline]
BUG: KASAN: null-ptr-deref in refcount_dec_and_test include/linux/refcount.h:333 [inline]
BUG: KASAN: null-ptr-deref in kref_put include/linux/kref.h:64 [inline]
BUG: KASAN: null-ptr-deref in anon_vma_name_put include/linux/mm_inline.h:365 [inline]
BUG: KASAN: null-ptr-deref in free_anon_vma_name include/linux/mm_inline.h:396 [inline]
BUG: KASAN: null-ptr-deref in vm_area_free_no_check+0x7e/0x130 kernel/fork.c:405
Write of size 4 at addr 0000000000000001 by task syz-executor.0/367
CPU: 1 PID: 367 Comm: syz-executor.0 Not tainted 5.15.138-syzkaller-1068886-gb1355f1607d5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
__kasan_report mm/kasan/report.c:431 [inline]
kasan_report+0x16f/0x1c0 mm/kasan/report.c:444
kasan_check_range+0x293/0x2a0 mm/kasan/generic.c:189
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:167 [inline]
__refcount_sub_and_test include/linux/refcount.h:272 [inline]
__refcount_dec_and_test include/linux/refcount.h:315 [inline]
refcount_dec_and_test include/linux/refcount.h:333 [inline]
kref_put include/linux/kref.h:64 [inline]
anon_vma_name_put include/linux/mm_inline.h:365 [inline]
free_anon_vma_name include/linux/mm_inline.h:396 [inline]
vm_area_free_no_check+0x7e/0x130 kernel/fork.c:405
vm_area_free kernel/fork.c:418 [inline]
dup_mmap kernel/fork.c:681 [inline]
dup_mm kernel/fork.c:1521 [inline]
copy_mm+0xefb/0x13e0 kernel/fork.c:1573
copy_process+0x12bc/0x3260 kernel/fork.c:2264
kernel_clone+0x21e/0x9e0 kernel/fork.c:2662
__do_sys_clone kernel/fork.c:2788 [inline]
__se_sys_clone kernel/fork.c:2772 [inline]
__x64_sys_clone+0x23f/0x290 kernel/fork.c:2772
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fe067b72899
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe0676f5078 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fe067c91f80 RCX: 00007fe067b72899
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fe0676f5120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 000000000000000b R14: 00007fe067c91f80 R15: 00007ffcdf8cb108
==================================================================
BUG: kernel NULL pointer dereference, address: 0000000000000001
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 11cec4067 P4D 11cec4067 PUD 10cbc9067 PMD 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 367 Comm: syz-executor.0 Tainted: G B 5.15.138-syzkaller-1068886-gb1355f1607d5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:168 [inline]
RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:272 [inline]
RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:315 [inline]
RIP: 0010:refcount_dec_and_test include/linux/refcount.h:333 [inline]
RIP: 0010:kref_put include/linux/kref.h:64 [inline]
RIP: 0010:anon_vma_name_put include/linux/mm_inline.h:365 [inline]
RIP: 0010:free_anon_vma_name include/linux/mm_inline.h:396 [inline]
RIP: 0010:vm_area_free_no_check+0x83/0x130 kernel/fork.c:405
Code: 03 42 80 3c 38 00 74 08 48 89 df e8 f7 71 71 00 4c 8b 3b 4d 85 ff 74 37 4c 89 ff be 04 00 00 00 e8 e2 73 71 00 bb ff ff ff ff 41 0f c1 1f bf 01 00 00 00 89 de e8 fc 83 2f 00 83 fb 01 75 16
RSP: 0018:ffffc90000e07988 EFLAGS: 00010246
RAX: ffff88810cc5a700 RBX: 00000000ffffffff RCX: ffff88810cc5a780
RDX: 0000000000000000 RSI: 0000000000000286 RDI: 00000000ffffffff
RBP: ffffc90000e079b0 R08: ffffffff81416b8b R09: 0000000000000003
R10: fffffbfff0d9204c R11: dffffc0000000001 R12: 1ffff11021a20fab
R13: ffff88810d107d58 R14: ffff88810d107cb8 R15: 0000000000000001
FS: 00007fe0676f56c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000001 CR3: 000000011cc82000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vm_area_free kernel/fork.c:418 [inline]
dup_mmap kernel/fork.c:681 [inline]
dup_mm kernel/fork.c:1521 [inline]
copy_mm+0xefb/0x13e0 kernel/fork.c:1573
copy_process+0x12bc/0x3260 kernel/fork.c:2264
kernel_clone+0x21e/0x9e0 kernel/fork.c:2662
__do_sys_clone kernel/fork.c:2788 [inline]
__se_sys_clone kernel/fork.c:2772 [inline]
__x64_sys_clone+0x23f/0x290 kernel/fork.c:2772
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fe067b72899
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe0676f5078 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007fe067c91f80 RCX: 00007fe067b72899
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007fe0676f5120 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 000000000000000b R14: 00007fe067c91f80 R15: 00007ffcdf8cb108
Modules linked in:
CR2: 0000000000000001
---[ end trace 94c76a8ff3277a4b ]---
RIP: 0010:atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:168 [inline]
RIP: 0010:__refcount_sub_and_test include/linux/refcount.h:272 [inline]
RIP: 0010:__refcount_dec_and_test include/linux/refcount.h:315 [inline]
RIP: 0010:refcount_dec_and_test include/linux/refcount.h:333 [inline]
RIP: 0010:kref_put include/linux/kref.h:64 [inline]
RIP: 0010:anon_vma_name_put include/linux/mm_inline.h:365 [inline]
RIP: 0010:free_anon_vma_name include/linux/mm_inline.h:396 [inline]
RIP: 0010:vm_area_free_no_check+0x83/0x130 kernel/fork.c:405
Code: 03 42 80 3c 38 00 74 08 48 89 df e8 f7 71 71 00 4c 8b 3b 4d 85 ff 74 37 4c 89 ff be 04 00 00 00 e8 e2 73 71 00 bb ff ff ff ff 41 0f c1 1f bf 01 00 00 00 89 de e8 fc 83 2f 00 83 fb 01 75 16
RSP: 0018:ffffc90000e07988 EFLAGS: 00010246
RAX: ffff88810cc5a700 RBX: 00000000ffffffff RCX: ffff88810cc5a780
RDX: 0000000000000000 RSI: 0000000000000286 RDI: 00000000ffffffff
RBP: ffffc90000e079b0 R08: ffffffff81416b8b R09: 0000000000000003
R10: fffffbfff0d9204c R11: dffffc0000000001 R12: 1ffff11021a20fab
R13: ffff88810d107d58 R14: ffff88810d107cb8 R15: 0000000000000001
FS: 00007fe0676f56c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000001 CR3: 000000011cc82000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 28 00 sub %al,(%rax)
2: 00 00 add %al,(%rax)
4: 75 05 jne 0xb
6: 48 83 c4 28 add $0x28,%rsp
a: c3 ret
b: e8 e1 20 00 00 call 0x20f1
10: 90 nop
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
* 2a: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 ret
33: 48 c7 c1 b0 ff ff ff mov $0xffffffffffffffb0,%rcx
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W