[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2019-07-24 Thread Brad Figg
** Tags added: cscc -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1793753 Title: kernel panic - null pointer dereference on ipset operations Status in linux package in Ubuntu: Fix

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-10-08 Thread Joel Sing
I've tested the proposed kernel under the previous test environment - after two hours the host was still up, where as it would have previously crashed within 30 minutes or so. As such, this appears to prevent the panic. -- You received this bug notification because you are a member of Kernel

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-10-08 Thread Laurent Sesques
** Tags removed: verification-needed-xenial ** Tags added: verification-done-xenial -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1793753 Title: kernel panic - null pointer dereference

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-10-08 Thread Laurent Sesques
I could reproduce the panic with a loop of ipset destroys / swaps / restores and then saves in another. Standard xenial machines consistently panic within a few minutes max. With the same loops and the proposed kernel, I got them running overnight without any issues. I'll check with Joel and if

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-10-04 Thread Brad Figg
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- xenial' to 'verification-done-xenial'. If the problem still exists, change the tag

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-10-03 Thread Joseph Salisbury
** Changed in: linux (Ubuntu Xenial) Status: Fix Committed => Fix Released ** Changed in: linux (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-27 Thread Kamal Mostafa
** Changed in: linux (Ubuntu Xenial) Status: In Progress => Fix Committed ** Changed in: linux (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-27 Thread Joseph Salisbury
SRU request submitted: https://lists.ubuntu.com/archives/kernel-team/2018-September/095673.html ** Description changed: - Hi, - We've experienced crashes on machines running iptables using ipsets. - We could get a trace from the console on one of them (attached file kernel-trace.txt). + ==

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-27 Thread Joseph Salisbury
A combination of two commits seems to resolve this bug: 596cf3fe5854 ("netfilter: ipset: fix race condition in ipset save, swap and delete") e5173418ac59 ("netfilter: ipset: Fix race between dump and swap") I built a Xenial test kernel with these two commits. The test kernel can be downloaded

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-27 Thread Joseph Salisbury
I believe this is the fix that landed in mainline as of v4.14-rc5: e517341 netfilter: ipset: Fix race between dump and swap I'm testing now and will post a test kernel for others to test as well. -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-27 Thread Joseph Salisbury
I can reproduce this bug now as well as cking. Thanks for the assistance cking! This bug has actually been around prior 4.4.0, but it fixed in 4.15.0 or newer. Commit 596cf3fe5854fe does not actually fix this bug, but it does provide a test case to reproduce this. I will now perform a

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-27 Thread Joseph Salisbury
I've been trying variations of this in a loop but have been unable to reproduce: ipset create hash_ip1 hash:ip family inet hashsize 1024 maxelem 50 counters ipset create hash_ip2 hash:ip family inet hashsize 30 maxelem 50 counters ipset create hash_ip3 hash:ip family inet hashsize

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-27 Thread Joseph Salisbury
Just to confirm, this is a regression? This bug did not happen with 4.4.0-116, and started with 4.4.0-135? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1793753 Title: kernel panic -

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-26 Thread Joseph Salisbury
Note, for the test kernel, you need to install both the linux-image and linux-image-extra .deb packages. ** Changed in: linux (Ubuntu Xenial) Status: Triaged => In Progress ** Changed in: linux (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-26 Thread Joseph Salisbury
I built a Xenial test kernel with commit 596cf3fe5854fe2b1703b0466ed6bf9cfb83c91e. The test kernel can be downloaded from: http://kernel.ubuntu.com/~jsalisbury/lp1793753 Can you test this kernel and see if it resolves this bug? If you are unable to test, could you provide the commands that

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-26 Thread Joseph Salisbury
I'll try to reproduce this bug. @joel Sing do you happen to have the reproducer script available? In parallel, I'll also build a Xenial test kernel with the commit posted by @Haw Loeung in comment 4 ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed ** Changed in: linux

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-26 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.19 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-21 Thread Haw Loeung
Maybe it's fixed in this commit which landed in Linux 4.6-rc2: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=596cf3fe5854fe2b1703b0466ed6bf9cfb83c91e -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-21 Thread Joel Sing
I've been able to reproduce this panic by running Ubuntu Xenial under qemu, with a script that effectively does ipset restore/swap/destroy in a loop, while also running ipset save in a separate loop. ** Attachment added: "ipset-panic.txt"

[Kernel-packages] [Bug 1793753] Re: kernel panic - null pointer dereference on ipset operations

2018-09-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1793753