BUG: unable to handle page fault for address: fffffbc595befe06
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 6dfd0067 P4D 6dfd0067 PUD 6de44067 PMD 6de43067 PTE 0
Oops: 0000 [#1] PREEMPT SMP KASAN NOPTI
loop0: detected capacity change from 0 to 40
CPU: 0 PID: 6332 Comm: syz-executor.2 Not tainted 6.1.0-rc3-next-20221104 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:get_desc+0x128/0x460
Code: e2 02 00 00 83 e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 0f 85 cd 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <0f> b6 0c 10 48 8d 43 07 48 89 c6 48 c1 ee 03 0f b6 14 16 48 89 de
RSP: 0000:ffff888016d5fbf8 EFLAGS: 00010216
RAX: 1fffffc595befe06 RBX: fffffe2cadf7f030 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000006
RBP: ffff888016d5fcb8 R08: 0000000000000006 R09: 000000000000007f
R10: 0000000000000030 R11: 0000000000000001 R12: 1ffff11002dabf7f
R13: dffffc0000000000 R14: 0000000000000000 R15: 000000000000007f
FS: 00007fa460e2c700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbc595befe06 CR3: 000000004056c000 CR4: 0000000000350ef0
Call Trace:
insn_get_code_seg_params+0xa7/0x1a0
insn_decode_from_regs+0x6e/0x190
fixup_umip_exception+0xc7/0x6d0
exc_general_protection+0x15d/0x210
asm_exc_general_protection+0x22/0x30
RIP: 0033:0x7fa4638b6b21
Code: 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 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:00000000200000c0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fa4639c9f60 RCX: 00007fa4638b6b19
RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 000000002c920500
RBP: 00007fa463910f6d R08: 0000000020000200 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd79f4554f R14: 00007fa460e2c300 R15: 0000000000022000
Modules linked in:
CR2: fffffbc595befe06
---[ end trace 0000000000000000 ]---
RIP: 0010:get_desc+0x128/0x460
Code: e2 02 00 00 83 e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 0f 85 cd 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <0f> b6 0c 10 48 8d 43 07 48 89 c6 48 c1 ee 03 0f b6 14 16 48 89 de
RSP: 0000:ffff888016d5fbf8 EFLAGS: 00010216
RAX: 1fffffc595befe06 RBX: fffffe2cadf7f030 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000006
RBP: ffff888016d5fcb8 R08: 0000000000000006 R09: 000000000000007f
R10: 0000000000000030 R11: 0000000000000001 R12: 1ffff11002dabf7f
R13: dffffc0000000000 R14: 0000000000000000 R15: 000000000000007f
FS: 00007fa460e2c700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbc595befe06 CR3: 000000004056c000 CR4: 0000000000350ef0
BUG: unable to handle page fault for address: fffffbc595befe06
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 6dfd0067 P4D 6dfd0067 PUD 6de44067 PMD 6de43067 PTE 0
Oops: 0000 [#2] PREEMPT SMP KASAN NOPTI
CPU: 0 PID: 6352 Comm: syz-executor.2 Tainted: G D 6.1.0-rc3-next-20221104 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:get_desc+0x128/0x460
Code: e2 02 00 00 83 e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 0f 85 cd 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <0f> b6 0c 10 48 8d 43 07 48 89 c6 48 c1 ee 03 0f b6 14 16 48 89 de
RSP: 0000:ffff888042847bf8 EFLAGS: 00010216
RAX: 1fffffc595befe06 RBX: fffffe2cadf7f030 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000006
RBP: ffff888042847cb8 R08: 0000000000000006 R09: 000000000000007f
R10: 0000000000000030 R11: 0000000000000001 R12: 1ffff11008508f7f
R13: dffffc0000000000 R14: 0000000000000000 R15: 000000000000007f
FS: 00007fa460e2c700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbc595befe06 CR3: 000000004056c000 CR4: 0000000000350ef0
Call Trace:
insn_get_code_seg_params+0xa7/0x1a0
insn_decode_from_regs+0x6e/0x190
fixup_umip_exception+0xc7/0x6d0
exc_general_protection+0x15d/0x210
asm_exc_general_protection+0x22/0x30
RIP: 0033:0x7fa4638b6b21
Code: 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 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:00000000200000c0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fa4639c9f60 RCX: 00007fa4638b6b19
RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 000000002c920500
RBP: 00007fa463910f6d R08: 0000000020000200 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd79f4554f R14: 00007fa460e2c300 R15: 0000000000022000
Modules linked in:
CR2: fffffbc595befe06
---[ end trace 0000000000000000 ]---
RIP: 0010:get_desc+0x128/0x460
Code: e2 02 00 00 83 e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 0f 85 cd 02 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 d8 48 c1 e8 03 <0f> b6 0c 10 48 8d 43 07 48 89 c6 48 c1 ee 03 0f b6 14 16 48 89 de
RSP: 0000:ffff888016d5fbf8 EFLAGS: 00010216
RAX: 1fffffc595befe06 RBX: fffffe2cadf7f030 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000006
RBP: ffff888016d5fcb8 R08: 0000000000000006 R09: 000000000000007f
R10: 0000000000000030 R11: 0000000000000001 R12: 1ffff11002dabf7f
R13: dffffc0000000000 R14: 0000000000000000 R15: 000000000000007f
FS: 00007fa460e2c700(0000) GS:ffff88806d000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbc595befe06 CR3: 000000004056c000 CR4: 0000000000350ef0
audit: type=1400 audit(1667732555.707:12): avc: denied { write } for pid=6368 comm="syz-executor.1" name="task" dev="proc" ino=17058 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dir permissive=1
audit: type=1400 audit(1667732555.716:13): avc: denied { add_name } for pid=6368 comm="syz-executor.1" name="6379" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dir permissive=1
audit: type=1400 audit(1667732555.716:14): avc: denied { create } for pid=6368 comm="syz-executor.1" name="6379" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:kernel_t:s0 tclass=file permissive=1
syz-executor.0 (6334) used greatest stack depth: 24600 bytes left
loop0: detected capacity change from 0 to 40
syz-executor.0: attempt to access beyond end of device
loop0: rw=2049, sector=40, nr_sectors = 4 limit=40
Buffer I/O error on dev loop0, logical block 10, lost async page write
----------------
Code disassembly (best guess):
0: e2 02 loop 0x4
2: 00 00 add %al,(%rax)
4: 83 e0 07 and $0x7,%eax
7: 38 c2 cmp %al,%dl
9: 0f 9e c1 setle %cl
c: 84 d2 test %dl,%dl
e: 0f 95 c0 setne %al
11: 84 c1 test %al,%cl
13: 0f 85 cd 02 00 00 jne 0x2e6
19: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx
20: fc ff df
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 0f b6 0c 10 movzbl (%rax,%rdx,1),%ecx <-- trapping instruction
2e: 48 8d 43 07 lea 0x7(%rbx),%rax
32: 48 89 c6 mov %rax,%rsi
35: 48 c1 ee 03 shr $0x3,%rsi
39: 0f b6 14 16 movzbl (%rsi,%rdx,1),%edx
3d: 48 89 de mov %rbx,%rsi