5.3.18: BUG: kernel NULL pointer dereference

From: Udo van den Heuvel
Date: Sat Feb 22 2020 - 00:22:24 EST


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