Re: [PATCH 4.9 00/87] 4.9.62-stable review --> crash

From: Greg Kroah-Hartman
Date: Tue Nov 14 2017 - 03:01:11 EST


On Tue, Nov 14, 2017 at 08:46:25AM +0100, Sebastian Gottschall wrote:
> Am 14.11.2017 um 08:41 schrieb Greg Kroah-Hartman:
> > On Tue, Nov 14, 2017 at 07:48:47AM +0100, Sebastian Gottschall wrote:
> > > ahm it compiles well. but
> > >
> > > [   24.838120] Unable to handle kernel NULL pointer dereference at virtual
> > > address 00000055
> > > [   24.846193] pgd = c0004000
> > > [   24.848893] [00000055] *pgd=00000000
> > > [   24.852472] Internal error: Oops - BUG: 817 [#1] PREEMPT SMP ARM
> > > [   24.858463] Modules linked in: xhci_plat_hcd xhci_pci xhci_hcd ohci_hcd
> > > ehci_pci ehci_platform ehci_hcd usbcore usb_common nls_base qca_ssdk
> > > gpio_pca953x mii_gpio wil6210 ath10k_pci ath10k_core ath9k ath9k_common
> > > ath9k_hw ath mac80211 cfg80211 compat
> > > [   24.880852] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.62-rc1 #90
> > > [   24.887189] Hardware name: AnnapurnaLabs Alpine (Device Tree)
> > > [   24.892921] task: ef029ac0 task.stack: ef05a000
> > > [   24.897444] PC is at nf_nat_cleanup_conntrack+0x4c/0x74
> > > [   24.902657] LR is at nf_nat_cleanup_conntrack+0x38/0x74
> > > [   24.907869] pc : [<c04858c8>]    lr : [<c04858b4>]    psr: 60000153
> > > [   24.907869] sp : ef05bb58  ip : ef05bb58  fp : ef05bb6c
> > > [   24.919317] r10: ed230cc0  r9 : ed230c00  r8 : edf45800
> > > [   24.924529] r7 : ebcd2f00  r6 : ec33739e  r5 : c0892294  r4 : ebcd2f00
> > > [   24.931040] r3 : 00000000  r2 : 00000055  r1 : 00000000  r0 : c0892718
> > > [   24.937551] Flags: nZCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment
> > > user
> > > [   24.944755] Control: 10c5387d  Table: 2bd1006a  DAC: 00000055
> > > [   24.950486] Process swapper/2 (pid: 0, stack limit = 0xef05a210)
> > > [   24.956477] Stack: (0xef05bb58 to 0xef05c000)
> > >
> > >
> > > will dig into the code to find the reason
> > Can you run 'git bisect' or if you use quilt, do a manual bisect to find
> > the offending patch?
>
> already done
>
> netfilter: nat: Revert "netfilter: nat: convert nat bysrc hash to
> rhashtable"
>
> this one caused the crash. if i revert it, its working again

Ah nice. Do you also have the crash in 4.14 with that patch, as it is
in there too.

thanks,

greg k-h