linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 5.3.18: BUG: kernel NULL pointer dereference
@ 2020-03-28  4:00 Udo van den Heuvel
  2020-03-28 11:00 ` Udo van den Heuvel
  0 siblings, 1 reply; 4+ messages in thread
From: Udo van den Heuvel @ 2020-03-28  4:00 UTC (permalink / raw)
  To: linux-kernel

Hello,

Is this dmesg below a known issue?
The core message is similar to the one in
https://bugzilla.kernel.org/show_bug.cgi?id=206191 but the trace is
different.

[222221.211818] BUG: kernel NULL pointer dereference, address:
0000000000000024
[222221.254073] #PF: supervisor read access in kernel mode
[222221.285375] #PF: error_code(0x0000) - not-present page
[222221.316678] PGD 0 P4D 0
[222221.332354] Oops: 0000 [#1] PREEMPT SMP NOPTI
[222221.358969] CPU: 2 PID: 2512 Comm: monit Tainted: G        W
5.3.18 #25
[222221.403285] Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS
PRO/X570 AORUS PRO, BIOS F11 12/06/2019
[222221.462197] RIP: 0010:pid_nr_ns+0xb/0x30
[222221.486201] Code: c0 74 0e 48 c1 e6 04 48 29 f0 48 2d 78 04 00 00 c3
31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 45 31 c0 48 85 ff 74 17 8b 46
48 <3b> 47 04 77 0f 48 c1 e0 04 48 8d 14 07 48 39 74 07 58 74 04 44 89
[222221.599270] RSP: 0018:ffffab684185fda0 EFLAGS: 00010202
[222221.631089] RAX: 0000000000000000 RBX: 0000000000041570 RCX:
0000000000000000
[222221.674370] RDX: 0000000000041571 RSI: ffffffff9e026000 RDI:
0000000000000020
[222221.717650] RBP: ffffab684185fdc8 R08: 0000000000000000 R09:
ffff9b0ace12b000
[222221.760925] R10: 0000000000041580 R11: 0000000000000000 R12:
0000000000000020
[222221.804208] R13: ffffffff9e026000 R14: 0000000000041570 R15:
ffff9b0931896dc0
[222221.847488] FS:  00007f19e41c0740(0000) GS:ffff9b0b9f080000(0000)
knlGS:0000000000000000
[222221.896496] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[222221.931440] CR2: 0000000000000024 CR3: 0000000407efe000 CR4:
00000000003406e0
[222221.974719] Call Trace:
[222221.989878]  next_tgid+0x4a/0xc0
[222222.009717]  proc_pid_readdir+0x11a/0x1fb
[222222.034251]  iterate_dir+0x147/0x1a0
[222222.056179]  ksys_getdents64+0x97/0x130
[222222.079669]  ? filldir+0x180/0x180
[222222.100548]  __x64_sys_getdents64+0x11/0x20
[222222.126126]  do_syscall_64+0x5f/0x2d0
[222222.148569]  ? schedule+0x48/0xc0
[222222.168934]  ? switch_fpu_return+0x24/0xc0
[222222.193986]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[222222.224763] RIP: 0033:0x7f19e42c957b
[222222.246687] Code: 0f 1e fa 48 8b 47 20 c3 0f 1f 80 00 00 00 00 f3 0f
1e fa 48 81 fa ff ff ff 7f b8 ff ff ff 7f 48 0f 47 d0 b8 d9 00 00 00 0f
05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 d9 88 0f 00 f7 d8
[222222.258517] [drm] Fence fallback timer expired on ring gfx
[222222.359755] RSP: 002b:00007fff0a192818 EFLAGS: 00000293 ORIG_RAX:
00000000000000d9
[222222.359758] RAX: ffffffffffffffda RBX: 000055d197c26530 RCX:
00007f19e42c957b
[222222.359759] RDX: 0000000000008000 RSI: 000055d197c26560 RDI:
0000000000000006
[222222.359760] RBP: 000055d197c26560 R08: 0000000000000030 R09:
00007f19e43c2e80
[222222.359761] R10: 0000000000000000 R11: 0000000000000293 R12:
ffffffffffffff80
[222222.359761] R13: 000055d197c26534 R14: 0000000000000002 R15:
00007fff0a192940
[222222.359764] Modules linked in: fuse mq_deadline xt_MASQUERADE
iptable_nat nf_nat ipt_REJECT nf_reject_ipv4 xt_u32 xt_multiport
iptable_filter nf_conntrack_netbios_ns nf_conntrack_broadcast
ip6t_REJECT nf_reject_ipv6 xt_tcpudp xt_state xt_conntrack nf_conntrack
it87 hwmon_vid nf_defrag_ipv6 nf_defrag_ipv4 msr ip6table_filter
ip6_tables uvcvideo videobuf2_vmalloc snd_usb_audio videobuf2_memops
videobuf2_v4l2 videodev snd_hwdep snd_hda_codec_realtek snd_usbmidi_lib
videobuf2_common snd_rawmidi snd_hda_codec_generic cdc_acm snd_hda_intel
snd_hda_codec snd_hda_core snd_seq snd_seq_device snd_pcm i2c_piix4
snd_timer k10temp snd bfq evdev acpi_cpufreq binfmt_misc ip_tables
x_tables amdgpu hid_generic backlight gpu_sched aesni_intel ttm sr_mod
cdrom usbhid i2c_dev autofs4
[222223.061704] CR2: 0000000000000024
[222223.082071] ---[ end trace 818f302d0488ec29 ]---
[222223.110249] RIP: 0010:pid_nr_ns+0xb/0x30
[222223.122491] [drm] Fence fallback timer expired on ring sdma0
[222223.134252] Code: c0 74 0e 48 c1 e6 04 48 29 f0 48 2d 78 04 00 00 c3
31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 45 31 c0 48 85 ff 74 17 8b 46
48 <3b> 47 04 77 0f 48 c1 e0 04 48 8d 14 07 48 39 74 07 58 74 04 44 89
[222223.134253] RSP: 0018:ffffab684185fda0 EFLAGS: 00010202
[222223.134254] RAX: 0000000000000000 RBX: 0000000000041570 RCX:
0000000000000000
[222223.134254] RDX: 0000000000041571 RSI: ffffffff9e026000 RDI:
0000000000000020
[222223.134254] RBP: ffffab684185fdc8 R08: 0000000000000000 R09:
ffff9b0ace12b000
[222223.134255] R10: 0000000000041580 R11: 0000000000000000 R12:
0000000000000020
[222223.134255] R13: ffffffff9e026000 R14: 0000000000041570 R15:
ffff9b0931896dc0
[222223.134256] FS:  00007f19e41c0740(0000) GS:ffff9b0b9f080000(0000)
knlGS:0000000000000000
[222223.134256] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[222223.134257] CR2: 0000000000000024 CR3: 0000000407efe000 CR4:
00000000003406e0

^ permalink raw reply	[flat|nested] 4+ messages in thread
* 5.3.18: general protection fault
@ 2020-03-25  5:07 Udo van den Heuvel
  2020-03-25  8:45 ` 5.3.18: BUG: kernel NULL pointer dereference Udo van den Heuvel
  0 siblings, 1 reply; 4+ messages in thread
From: Udo van den Heuvel @ 2020-03-25  5:07 UTC (permalink / raw)
  To: linux-kernel

Hello,

Due to the unusable 5.4.x and 5.5.x kernels, see
https://bugzilla.kernel.org/show_bug.cgi?id=206191, I am running 5,3,18.
This kernel crashes way less.
It did show the fault below:

[56279.400332] general protection fault: 0000 [#1] PREEMPT SMP NOPTI
[56279.436856] CPU: 1 PID: 233 Comm: kswapd0 Tainted: G        W
5.3.18 #25
[56279.481174] Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS
PRO/X570 AORUS PRO, BIOS F11 12/06/2019
[56279.539562] RIP: 0010:queued_spin_lock_slowpath+0x178/0x1d0
[56279.572948] Code: 8b 45 00 48 85 c0 74 f5 48 89 c2 eb e4 c1 ea 12 83
e0 03 ff ca 48 c1 e0 04 48 63 d2 48 05 c0 ed 01 00 48 03 04 d5 20 d5 e0
b1 <48> 89 28 8b 45 08 85 c0 75 09 f3 90 8b 45 08 85 c0 74 f7 48 8b 45
[56279.685489] RSP: 0018:ffffa85240747a88 EFLAGS: 00010002
[56279.716787] RAX: 0001812dff56fe58 RBX: ffffa2e9c6690350 RCX:
0000000000000000
[56279.759547] RDX: 0000000000003199 RSI: 00000000c6690300 RDI:
ffffa2e9c6690350
[56279.802302] RBP: ffffa2ea9f05edc0 R08: 0000000000000238 R09:
0000000000000002
[56279.845063] R10: ffffa2e9c6690348 R11: ffffa2ea8b08ed80 R12:
0000000000080000
[56279.887823] R13: 0000000000000001 R14: ffffa2e9c6690350 R15:
ffffddcf0c8ad008
[56279.930579] FS:  0000000000000000(0000) GS:ffffa2ea9f040000(0000)
knlGS:0000000000000000
[56279.979068] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[56280.013491] CR2: 00007f07ef659fe0 CR3: 00000003eaa7e000 CR4:
00000000003406e0
[56280.056253] Call Trace:
[56280.070891]  _raw_spin_lock_irqsave+0x33/0x40
[56280.096982]  __remove_mapping+0x4a/0x1e0
[56280.120469]  shrink_page_list+0xb12/0xe60
[56280.144477]  shrink_inactive_list+0x1ad/0x350
[56280.170573]  shrink_node_memcg.isra.0+0x46e/0x7b0
[56280.198747]  shrink_node+0x80/0x2e0
[56280.219631]  balance_pgdat+0x239/0x4a0
[56280.242078]  kswapd+0x165/0x2f0
[56280.260880]  ? wait_woken+0x70/0x70
[56280.281761]  kthread+0xfb/0x130
[56280.300562]  ? balance_pgdat+0x4a0/0x4a0
[56280.324052]  ? kthread_park+0x70/0x70
[56280.345980]  ret_from_fork+0x22/0x40
[56280.367383] Modules linked in: fuse mq_deadline ip6t_REJECT
nf_reject_ipv6 xt_state ip6table_filter ip6_tables
nf_conntrack_netbios_ns nf_conntrack_broadcast xt_MASQUERADE iptable_nat
nf_nat ipt_REJECT nf_reject_ipv4 xt_u32 xt_multiport xt_tcpudp
xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 it87 hwmon_vid
msr iptable_filter uvcvideo videobuf2_vmalloc videobuf2_memops
snd_usb_audio videobuf2_v4l2 snd_hwdep snd_usbmidi_lib videodev
snd_hda_codec_realtek videobuf2_common snd_rawmidi cdc_acm
snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_seq
snd_seq_device snd_pcm i2c_piix4 k10temp snd_timer snd bfq evdev
acpi_cpufreq binfmt_misc ip_tables x_tables amdgpu hid_generic backlight
sr_mod gpu_sched aesni_intel ttm cdrom usbhid i2c_dev autofs4
[56280.442646] [drm] Fence fallback timer expired on ring gfx
[56280.773148] ---[ end trace 76feac8f53a00048 ]---
[56280.773152] RIP: 0010:queued_spin_lock_slowpath+0x178/0x1d0
[56280.773154] Code: 8b 45 00 48 85 c0 74 f5 48 89 c2 eb e4 c1 ea 12 83
e0 03 ff ca 48 c1 e0 04 48 63 d2 48 05 c0 ed 01 00 48 03 04 d5 20 d5 e0
b1 <48> 89 28 8b 45 08 85 c0 75 09 f3 90 8b 45 08 85 c0 74 f7 48 8b 45
[56280.773155] RSP: 0018:ffffa85240747a88 EFLAGS: 00010002
[56280.773156] RAX: 0001812dff56fe58 RBX: ffffa2e9c6690350 RCX:
0000000000000000
[56280.773157] RDX: 0000000000003199 RSI: 00000000c6690300 RDI:
ffffa2e9c6690350
[56280.773157] RBP: ffffa2ea9f05edc0 R08: 0000000000000238 R09:
0000000000000002
[56280.773158] R10: ffffa2e9c6690348 R11: ffffa2ea8b08ed80 R12:
0000000000080000
[56280.773159] R13: 0000000000000001 R14: ffffa2e9c6690350 R15:
ffffddcf0c8ad008
[56280.773160] FS:  0000000000000000(0000) GS:ffffa2ea9f040000(0000)
knlGS:0000000000000000
[56280.773160] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[56280.773161] CR2: 00007f07ef659fe0 CR3: 00000003eaa7e000 CR4:
00000000003406e0
[56280.773163] note: kswapd0[233] exited with preempt_count 1



What happened here?
Please let me know.

Kind regards,
Udo

^ permalink raw reply	[flat|nested] 4+ messages in thread
* 5.3.18: BUG: kernel NULL pointer dereference
@ 2020-02-22  5:22 Udo van den Heuvel
  0 siblings, 0 replies; 4+ messages in thread
From: Udo van den Heuvel @ 2020-02-22  5:22 UTC (permalink / raw)
  To: linux-kernel

Hello,

Please find below a BUG in 5.3.18:


[481577.016513] Web Content[1254426]: segfault at 20 ip 00007fd9b8a3294b
sp 00007ffea3895e90 error 4 in libxul.so[7fd9b891c000+4b0d000]
[481577.088180] Code: 64 24 20 48 b8 00 00 00 00 01 00 02 00 4c 89 6c 24
20 48 89 44 24 28 f6 47 08 01 0f 85 16 02 00 00 48 85 ed 0f 84 a2 01 00
00 <48> 8b 45 00 4c 8d 74 24 18 48 89 ef 48 c7 44 24 18 00 00 00 00 4c
[482245.299834] BUG: kernel NULL pointer dereference, address:
0000000000000028
[482245.342065] #PF: supervisor read access in kernel mode
[482245.373364] #PF: error_code(0x0000) - not-present page
[482245.404662] PGD 0 P4D 0
[482245.420342] Oops: 0000 [#1] PREEMPT SMP NOPTI
[482245.446958] CPU: 3 PID: 4702 Comm: transmission-gt Tainted: G
W         5.3.18 #25
[482245.496500] Hardware name: Gigabyte Technology Co., Ltd. X570 AORUS
PRO/X570 AORUS PRO, BIOS F11 12/06/2019
[482245.555389] RIP: 0010:find_get_entry+0x80/0x130
[482245.583045] Code: 00 e8 f4 56 57 00 48 89 c2 48 3d 06 04 00 00 74 e4
48 3d 02 04 00 00 74 dc 48 85 c0 0f 84 a2 00 00 00 a8 01 0f 85 9f 00 00
00 <48> 8b 40 08 48 8d 78 ff a8 01 48 0f 44 fa 8b 47 34 85 c0 74 b6 8d
[482245.696112] RSP: 0018:ffffab0183b9bce8 EFLAGS: 00010246
[482245.727932] RAX: 0000000000000020 RBX: 0000000000000000 RCX:
ffff967bffdaa240
[482245.771211] RDX: 0000000000000020 RSI: 0000000000000000 RDI:
ffffab0183b9bce8
[482245.814489] RBP: ffff967cab6ad488 R08: 0000000000004000 R09:
0000000000000000
[482245.857770] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff967cab6ad488
[482245.901048] R13: 00000000000bbbe9 R14: 0000000000000000 R15:
00000000000bbbe9
[482245.944334] FS:  00007f1c5b7fe700(0000) GS:ffff967cdf0c0000(0000)
knlGS:0000000000000000
[482245.993336] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[482246.028286] CR2: 0000000000000028 CR3: 00000003ccde4000 CR4:
00000000003406e0
[482246.071564] Call Trace:
[482246.086725]  pagecache_get_page+0x22/0x220
[482246.111771]  generic_file_read_iter+0x175/0x7d0
[482246.139428]  new_sync_read+0x106/0x1a0
[482246.162399]  vfs_read+0x98/0x120
[482246.182243]  ksys_pread64+0x60/0xa0
[482246.203644]  do_syscall_64+0x5f/0x2d0
[482246.226093]  ? schedule+0x48/0xc0
[482246.246453]  ? switch_fpu_return+0x24/0xc0
[482246.271504]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[482246.302284] RIP: 0033:0x7f1c6faca1af
[482246.324213] Code: 08 89 3c 24 48 89 4c 24 18 e8 4d f3 ff ff 4c 8b 54
24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 11 00 00 00 0f
05 <48> 3d 00 f0 ff ff 77 2d 44 89 c7 48 89 04 24 e8 7d f3 ff ff 48 8b
[482246.437279] RSP: 002b:00007f1c5b7fc2a0 EFLAGS: 00000293 ORIG_RAX:
0000000000000011
[482246.483162] RAX: ffffffffffffffda RBX: 0000000000000000 RCX:
00007f1c6faca1af
[482246.526444] RDX: 0000000000004000 RSI: 00007f1c488373dd RDI:
000000000000003d
[482246.569721] RBP: 00007f1c5b7fc350 R08: 0000000000000000 R09:
00007f1c5b7fc350
[482246.613004] R10: 00000000bbbe7fe1 R11: 0000000000000293 R12:
0000000000004000
[482246.656284] R13: 0000000000000001 R14: 00007f1c4801ce18 R15:
00007f1c4806e6d0
[482246.699562] Modules linked in: nls_utf8 exfat usb_storage fuse
mq_deadline xt_MASQUERADE iptable_nat nf_nat ipt_REJECT nf_reject_ipv4
xt_u32 xt_multiport iptable_filter nf_conntrack_netbios_ns
nf_conntrack_broadcast ip6t_REJECT nf_reject_ipv6 xt_tcpudp xt_state
it87 xt_conntrack hwmon_vid nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4
msr ip6table_filter ip6_tables snd_hda_codec_realtek
snd_hda_codec_generic uvcvideo snd_usb_audio videobuf2_vmalloc
videobuf2_memops snd_hda_intel videobuf2_v4l2 snd_hwdep snd_usbmidi_lib
videodev snd_hda_codec snd_rawmidi videobuf2_common snd_hda_core snd_seq
snd_seq_device cdc_acm snd_pcm k10temp snd_timer i2c_piix4 snd bfq evdev
acpi_cpufreq binfmt_misc ip_tables x_tables amdgpu sr_mod backlight
gpu_sched cdrom aesni_intel ttm hid_generic usbhid i2c_dev autofs4
[482247.119959] CR2: 0000000000000028
[482247.140322] ---[ end trace 52775a3c267c2839 ]---
[482247.168503] RIP: 0010:find_get_entry+0x80/0x130
[482247.196154] Code: 00 e8 f4 56 57 00 48 89 c2 48 3d 06 04 00 00 74 e4
48 3d 02 04 00 00 74 dc 48 85 c0 0f 84 a2 00 00 00 a8 01 0f 85 9f 00 00
00 <48> 8b 40 08 48 8d 78 ff a8 01 48 0f 44 fa 8b 47 34 85 c0 74 b6 8d
[482247.309219] RSP: 0018:ffffab0183b9bce8 EFLAGS: 00010246
[482247.341043] RAX: 0000000000000020 RBX: 0000000000000000 RCX:
ffff967bffdaa240
[482247.384320] RDX: 0000000000000020 RSI: 0000000000000000 RDI:
ffffab0183b9bce8
[482247.427606] RBP: ffff967cab6ad488 R08: 0000000000004000 R09:
0000000000000000
[482247.470884] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff967cab6ad488
[482247.514161] R13: 00000000000bbbe9 R14: 0000000000000000 R15:
00000000000bbbe9
[482247.557441] FS:  00007f1c5b7fe700(0000) GS:ffff967cdf0c0000(0000)
knlGS:0000000000000000
[482247.606450] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[482247.641395] CR2: 0000000000000028 CR3: 00000003ccde4000 CR4:
00000000003406e0

Please fix if not already fixed.

Kind regards,
Udo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-28 11:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-28  4:00 5.3.18: BUG: kernel NULL pointer dereference Udo van den Heuvel
2020-03-28 11:00 ` Udo van den Heuvel
  -- strict thread matches above, loose matches on Subject: below --
2020-03-25  5:07 5.3.18: general protection fault Udo van den Heuvel
2020-03-25  8:45 ` 5.3.18: BUG: kernel NULL pointer dereference Udo van den Heuvel
2020-02-22  5:22 Udo van den Heuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).