2023-10-22 15:27:24

by Julian Wollrath

[permalink] [raw]
Subject: Oops with v6.6-rc6+

Dear maintainers,

on v6.6-rc6+ (git commit hash 1acfd2bd3f0d) I got the following oops:

BUG: unable to handle page fault for address: fffffffffffffff8
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 343212067 P4D 343212067 PUD 343214067 PMD 0
Oops: 0000 [#1] PREEMPT SMP NOPTI
CPU: 2 PID: 13243 Comm: colord-sane Not tainted 6.6.0-rc6+ #9
Hardware name: LENOVO 21K4S07400/21K4S07400, BIOS R2FET31W (1.11 ) 08/03/2023
RIP: 0010:klist_next+0x6e/0x150
Code: 18 83 f8 01 0f 84 84 00 00 00 85 c0 0f 8e ce 00 00 00 48 8b 45 00 45 31 ed 48 c7 45 08 00 00 00 00 48 39 c3 0f 84 cc 00 00 00 <f6> 03 01 75 7d 48 8d 7b 18 b8 01 00 00 00 f0 0f c1 43 18 85 c0 0f
RSP: 0018:ffffb8b907f6fcc8 EFLAGS: 00010002
RAX: ffff9c0aaba218a0 RBX: fffffffffffffff8 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffb8b907f6fcf8 RDI: ffff9c0aaba218a0
RBP: ffffb8b907f6fcf8 R08: ffffb8b907f6fce0 R09: 0000000000000000
R10: 0000000000030680 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000246 R15: 0000000000000000
FS: 00007f12a5c77940(0000) GS:ffff9c10fec80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 00000001cb102000 CR4: 0000000000750ee0
PKRU: 55555554
Call Trace:
<TASK>
? __die+0x23/0x70
? page_fault_oops+0x181/0x4b0
? srso_alias_return_thunk+0x5/0x7f
? exc_page_fault+0x11c/0x130
? asm_exc_page_fault+0x26/0x30
? klist_next+0x6e/0x150
? klist_next+0x1f/0x150
? device_match_devt+0x20/0x20
bus_find_device+0x75/0xe0
scsi_seq_start+0x42/0x60 [scsi_mod]
seq_read_iter+0xfc/0x480
seq_read+0xd4/0x100
proc_reg_read+0x59/0xa0
vfs_read+0xaa/0x370
? srso_alias_return_thunk+0x5/0x7f
? __do_sys_newfstatat+0x4e/0x80
? srso_alias_return_thunk+0x5/0x7f
? __fget_light+0x99/0x100
ksys_read+0x6f/0xf0
do_syscall_64+0x3c/0x90
entry_SYSCALL_64_after_hwframe+0x4b/0xb5
RIP: 0033:0x7f12a680fa9c
Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 d9 cf f8 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f d0 f8 ff 48
RSP: 002b:00007ffd3ea95490 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 000055c0b2164cb0 RCX: 00007f12a680fa9c
RDX: 0000000000000400 RSI: 000055c0b214f4a0 RDI: 000000000000000c
RBP: 00007f12a68e8600 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000246 R12: 000000000000000a
R13: 0000000000000a68 R14: 00007f12a68e7d00 R15: 0000000000000a68
</TASK>
CR2: fffffffffffffff8
---[ end trace 0000000000000000 ]---
RIP: 0010:klist_next+0x6e/0x150
Code: 18 83 f8 01 0f 84 84 00 00 00 85 c0 0f 8e ce 00 00 00 48 8b 45 00 45 31 ed 48 c7 45 08 00 00 00 00 48 39 c3 0f 84 cc 00 00 00 <f6> 03 01 75 7d 48 8d 7b 18 b8 01 00 00 00 f0 0f c1 43 18 85 c0 0f
RSP: 0018:ffffb8b907f6fcc8 EFLAGS: 00010002
RAX: ffff9c0aaba218a0 RBX: fffffffffffffff8 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffb8b907f6fcf8 RDI: ffff9c0aaba218a0
RBP: ffffb8b907f6fcf8 R08: ffffb8b907f6fce0 R09: 0000000000000000
R10: 0000000000030680 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000246 R15: 0000000000000000
FS: 00007f12a5c77940(0000) GS:ffff9c10fec80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 00000001cb102000 CR4: 0000000000750ee0
PKRU: 55555554



Best regards,
Julian Wollrath

--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments


2023-10-22 16:19:19

by Borislav Petkov

[permalink] [raw]
Subject: Re: Oops with v6.6-rc6+

+ linux-scsi

On Sun, Oct 22, 2023 at 05:27:00PM +0200, Julian Wollrath wrote:
> Dear maintainers,
>
> on v6.6-rc6+ (git commit hash 1acfd2bd3f0d) I got the following oops:
>
> BUG: unable to handle page fault for address: fffffffffffffff8
> #PF: supervisor read access in kernel mode
> #PF: error_code(0x0000) - not-present page
> PGD 343212067 P4D 343212067 PUD 343214067 PMD 0
> Oops: 0000 [#1] PREEMPT SMP NOPTI
> CPU: 2 PID: 13243 Comm: colord-sane Not tainted 6.6.0-rc6+ #9
> Hardware name: LENOVO 21K4S07400/21K4S07400, BIOS R2FET31W (1.11 ) 08/03/2023
> RIP: 0010:klist_next+0x6e/0x150
> Code: 18 83 f8 01 0f 84 84 00 00 00 85 c0 0f 8e ce 00 00 00 48 8b 45 00 45 31 ed 48 c7 45 08 00 00 00 00 48 39 c3 0f 84 cc 00 00 00 <f6> 03 01 75 7d 48 8d 7b 18 b8 01 00 00 00 f0 0f c1 43 18 85 c0 0f
> RSP: 0018:ffffb8b907f6fcc8 EFLAGS: 00010002
> RAX: ffff9c0aaba218a0 RBX: fffffffffffffff8 RCX: 0000000000000000
> RDX: 0000000000000001 RSI: ffffb8b907f6fcf8 RDI: ffff9c0aaba218a0
> RBP: ffffb8b907f6fcf8 R08: ffffb8b907f6fce0 R09: 0000000000000000
> R10: 0000000000030680 R11: 0000000000000000 R12: 0000000000000000
> R13: 0000000000000000 R14: 0000000000000246 R15: 0000000000000000
> FS: 00007f12a5c77940(0000) GS:ffff9c10fec80000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: fffffffffffffff8 CR3: 00000001cb102000 CR4: 0000000000750ee0
> PKRU: 55555554
> Call Trace:
> <TASK>
> ? __die+0x23/0x70
> ? page_fault_oops+0x181/0x4b0
> ? srso_alias_return_thunk+0x5/0x7f
> ? exc_page_fault+0x11c/0x130
> ? asm_exc_page_fault+0x26/0x30
> ? klist_next+0x6e/0x150
> ? klist_next+0x1f/0x150
> ? device_match_devt+0x20/0x20
> bus_find_device+0x75/0xe0
> scsi_seq_start+0x42/0x60 [scsi_mod]
> seq_read_iter+0xfc/0x480
> seq_read+0xd4/0x100
> proc_reg_read+0x59/0xa0
> vfs_read+0xaa/0x370
> ? srso_alias_return_thunk+0x5/0x7f
> ? __do_sys_newfstatat+0x4e/0x80
> ? srso_alias_return_thunk+0x5/0x7f
> ? __fget_light+0x99/0x100
> ksys_read+0x6f/0xf0
> do_syscall_64+0x3c/0x90
> entry_SYSCALL_64_after_hwframe+0x4b/0xb5
> RIP: 0033:0x7f12a680fa9c
> Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 d9 cf f8 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 2f d0 f8 ff 48
> RSP: 002b:00007ffd3ea95490 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
> RAX: ffffffffffffffda RBX: 000055c0b2164cb0 RCX: 00007f12a680fa9c
> RDX: 0000000000000400 RSI: 000055c0b214f4a0 RDI: 000000000000000c
> RBP: 00007f12a68e8600 R08: 0000000000000000 R09: 0000000000000000
> R10: 0000000000001000 R11: 0000000000000246 R12: 000000000000000a
> R13: 0000000000000a68 R14: 00007f12a68e7d00 R15: 0000000000000a68
> </TASK>
> CR2: fffffffffffffff8
> ---[ end trace 0000000000000000 ]---
> RIP: 0010:klist_next+0x6e/0x150
> Code: 18 83 f8 01 0f 84 84 00 00 00 85 c0 0f 8e ce 00 00 00 48 8b 45 00 45 31 ed 48 c7 45 08 00 00 00 00 48 39 c3 0f 84 cc 00 00 00 <f6> 03 01 75 7d 48 8d 7b 18 b8 01 00 00 00 f0 0f c1 43 18 85 c0 0f
> RSP: 0018:ffffb8b907f6fcc8 EFLAGS: 00010002
> RAX: ffff9c0aaba218a0 RBX: fffffffffffffff8 RCX: 0000000000000000
> RDX: 0000000000000001 RSI: ffffb8b907f6fcf8 RDI: ffff9c0aaba218a0
> RBP: ffffb8b907f6fcf8 R08: ffffb8b907f6fce0 R09: 0000000000000000
> R10: 0000000000030680 R11: 0000000000000000 R12: 0000000000000000
> R13: 0000000000000000 R14: 0000000000000246 R15: 0000000000000000
> FS: 00007f12a5c77940(0000) GS:ffff9c10fec80000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: fffffffffffffff8 CR3: 00000001cb102000 CR4: 0000000000750ee0
> PKRU: 55555554
>
>
>
> Best regards,
> Julian Wollrath
>
> --
> () ascii ribbon campaign - against html e-mail
> /\ - against proprietary attachments

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

2023-10-22 17:07:08

by James Bottomley

[permalink] [raw]
Subject: Re: Oops with v6.6-rc6+

On Sun, 2023-10-22 at 18:18 +0200, Borislav Petkov wrote:
> + linux-scsi
>
> On Sun, Oct 22, 2023 at 05:27:00PM +0200, Julian Wollrath wrote:
> > Dear maintainers,
> >
> > on v6.6-rc6+ (git commit hash 1acfd2bd3f0d) I got the following
> > oops:

How to reproduce would be helpful. Was this a cat of /proc/scsi/scsi?

Regards,

James

2023-10-22 17:23:19

by Borislav Petkov

[permalink] [raw]
Subject: Re: Oops with v6.6-rc6+

On Sun, Oct 22, 2023 at 01:06:25PM -0400, James Bottomley wrote:
> How to reproduce would be helpful. Was this a cat of /proc/scsi/scsi?

Probably some tool did something weird:

CPU: 2 PID: 13243 Comm: colord-sane Not tainted 6.6.0-rc6+ #9
^^^^^^^^^^^

judging by https://www.freedesktop.org/software/colord/intro.html

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

2023-10-22 18:19:44

by Julian Wollrath

[permalink] [raw]
Subject: Re: Oops with v6.6-rc6+

Hi,

Am Sun, 22 Oct 2023 19:22:40 +0200
schrieb Borislav Petkov <[email protected]>:

> On Sun, Oct 22, 2023 at 01:06:25PM -0400, James Bottomley wrote:
> > How to reproduce would be helpful. Was this a cat of
> > /proc/scsi/scsi?

% cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Samsung Model: Portable SSD T5 Rev: 0
Type: Direct-Access ANSI SCSI revision: 06

and as far as I can reconstruct the oops correlated with attaching that
drive via USB. But attaching the drive again, does not reproduce it.

>
> Probably some tool did something weird:
>
> CPU: 2 PID: 13243 Comm: colord-sane Not tainted 6.6.0-rc6+ #9
> ^^^^^^^^^^^
>
> judging by https://www.freedesktop.org/software/colord/intro.html

Maybe, right after the part of the log in my mail before I see

note: colord-sane[13243] exited with irqs disabled
note: colord-sane[13243] exited with preempt_count
usbcore: registered new interface driver usb-storage
scsi host0: uas
usbcore: registered new interface driver uas
scsi 0:0:0:0: Direct-Access Samsung Portable SSD T5 0 PQ: 0 ANSI: 6


Cheers,
Julian


--
() ascii ribbon campaign - against html e-mail
/\ - against proprietary attachments