On Wed, Sep 5, 2018 at 4:06 AM Sami Farin <hvtaifwkbgefb...@gmail.com> wrote: > > 4.17 worked ok, this with 32 GB Ryzen system. > > BUG: unable to handle kernel NULL pointer dereference at 0000000000000050 > PGD 0 P4D 0 > Oops: 0000 [#1] PREEMPT SMP NOPTI > CPU: 0 PID: 6303 Comm: grep Tainted: G T 4.18.6+ #16 > Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X370 Taichi, > BIOS P4.60 03/02/2018 > RIP: 0010:dl_seq_start+0x11/0x60 [xt_hashlimit]
Looks like we need to do a s/s->private/s->file/. > Code: ff 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 > 00 0f 1f 44 00 00 55 48 89 f5 53 48 8b 87 d8 00 00 00 <48> 8b 78 50 e8 36 3b > 6f de 48 89 c3 48 8d 78 48 e8 ca e6 0a df 8b > RSP: 0018:ffffa79e88befde0 EFLAGS: 00010246 > RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 > RDX: 0000000000000000 RSI: ffffa79e88befe18 RDI: ffff9a64733417a0 > RBP: ffffa79e88befe18 R08: 0000000000000000 R09: 00000000657547bf > R10: ffffffff9f2bf98a R11: ffff9a6470f5a6c0 R12: ffffa79e88befeb0 > R13: ffff9a6471879200 R14: ffff9a6471879200 R15: ffff9a64733417a0 > FS: 00007f6798784740(0000) GS:ffff9a649ea00000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 0000000000000050 CR3: 00000007f335c000 CR4: 00000000003406f0 > Call Trace: > seq_read+0xc0/0x470 > proc_reg_read+0x49/0x70 > vfs_read+0x8a/0x140 > ksys_read+0x52/0xc0 > do_syscall_64+0x6f/0x353 > ? trace_hardirqs_off_thunk+0x1a/0x1c > entry_SYSCALL_64_after_hwframe+0x49/0xbe > RIP: 0033:0x7f67980eee21 > Code: fe ff ff 50 48 8d 3d 46 b6 09 00 e8 f9 04 02 00 66 0f 1f 84 00 00 00 00 > 00 48 8d 05 c1 3b 2d 00 8b 00 85 c0 75 13 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 > 57 c3 66 0f 1f 44 00 00 41 54 49 89 d4 55 48 > RSP: 002b:00007ffc314f7a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 > RAX: ffffffffffffffda RBX: 0000000000008000 RCX: 00007f67980eee21 > RDX: 0000000000008000 RSI: 000055f0d317f000 RDI: 0000000000000003 > RBP: 0000000000008000 R08: 0000000000000000 R09: 0000000000009008 > R10: 0000000000000000 R11: 0000000000000246 R12: 000055f0d317f000 > R13: 0000000000000003 R14: 000055f0d317e830 R15: 0000000000000003 > Modules linked in: arptable_filter arp_tables nfnetlink_acct ip6table_mangle > nf_log_ipv6 xt_hl ip6t_REJECT nf_reject_ipv6 ip6t_rt ip6table_filter > ip6_tables ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat iptable_raw xt_mark > xt_connmark iptable_mangle nf_log_ipv4 nf_log_common xt_LOG xt_length > xt_limit ipt_REJECT nf_reject_ipv4 nf_conntrack_ipv4 nf_defrag_ipv4 > xt_connlimit nf_conncount xt_multiport xt_hashlimit xt_owner xt_set > xt_conntrack iptable_filter ip_set_bitmap_port ip_set_hash_mac > ip_set_hash_net ip_set nf_conntrack_netlink nfnetlink bnep hwmon_vid iwlmvm > snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi mac80211 iwlwifi btusb > btrtl kvm_amd btbcm btintel bluetooth kvm cfg80211 ecdh_generic irqbypass > sp5100_tco wmi_bmof k10temp i2c_piix4 snd_hda_codec_realtek rfkill > snd_hda_codec_generic > snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core rtc_cmos > acpi_cpufreq binfmt_misc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device > snd_pcm tcp_cubic tcp_westwood br_netfilter bridge stp llc ip_tables > scsi_transport_iscsi algif_skcipher af_alg uas usb_storage usbhid mxm_wmi ccp > igb xhci_pci xhci_hcd usbcore usb_common wmi button 8021q mrp sunrpc > snd_timer snd soundcore fuse tun xt_tcpudp x_tables tcp_bbr nf_conntrack_ipv6 > nf_defrag_ipv6 nf_conntrack sch_fq_codel sch_htb sch_pie analog gameport > joydev i2c_dev ecryptfs autofs4 amdkfd amd_iommu_v2 [last unloaded: pcspkr] > CR2: 0000000000000050 > ---[ end trace 0e097a943554aa36 ]--- > > > -- > Do what you love because life is too short for anything else. > https://samifar.in/ >