[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-09-01 Thread Mauricio Faria de Oliveira
Marking X/F/G as Fix Released. X/F got the patch via stable updates, thus no LP tag / bot messages. Xenial version: 4.4.0-189.219 Focal version: 5.4.0-45.49 Groovy version: 5.8 and later. ** Changed in: linux (Ubuntu Xenial) Status: Fix Committed => Fix Released ** Changed in: linux

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-09-01 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 4.15.0-115.116 --- linux (4.15.0-115.116) bionic; urgency=medium * bionic/linux: 4.15.0-115.116 -proposed tracker (LP: #1893055) * [Potential Regression] dscr_inherit_exec_test from powerpc in ubuntu_kernel_selftests failed on B/E/F

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-08-18 Thread Brian Murray
The Eoan Ermine has reached end of life, so this bug will not be fixed for that release ** Changed in: linux (Ubuntu Eoan) Status: Fix Committed => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-08-17 Thread Mauricio Faria de Oliveira
Oh, and for "Eoan" (5.3/linux-hwe on Bionic), all good with stress-ng as well. $ uname -rv 5.3.0-66-generic #60-Ubuntu SMP Tue Aug 11 08:42:43 UTC 2020 $ ./stress-ng --version && ./stress-ng --af-alg 0 --timeout 2h 2>&1 | tee ../stress-ng.log.eoan-bionic-proposed stress-ng, version 0.11.14 (gcc

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-08-17 Thread Mauricio Faria de Oliveira
I've also ran stress-ng as in comment #1 (below) on 4 CPUs for 8 hours on X/B/F. No signs of issues: it finishes successfully and no weird messages in the kernel logs. $ sudo modprobe -a \ $(modinfo \ /lib/modules/$(uname -r)/kernel/crypto/*.ko \

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-08-17 Thread Mauricio Faria de Oliveira
Verification done for bionic-proposed. The reporter user confirmed that the organic reproducer (Varnish Cache Plus with the Crypto vmod) ran successfully over the weekend with the 4.15.0-114-generic kernel, to approximately 3 days (2d 20h runtime.) The same workload used to trigger the bug with

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-08-10 Thread Ubuntu Kernel Bot
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- bionic' to 'verification-done-bionic'. If the problem still exists, change the tag

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-08-03 Thread Kelsey Margarete Skunberg
** Changed in: linux (Ubuntu Focal) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1884766 Title: use-after-free in af_alg_accept() due to bh_lock_sock()

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-07-30 Thread Kelsey Margarete Skunberg
** Changed in: linux (Ubuntu Bionic) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1884766 Title: use-after-free in af_alg_accept() due to bh_lock_sock()

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-07-22 Thread Kelsey Margarete Skunberg
** Changed in: linux (Ubuntu Eoan) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1884766 Title: use-after-free in af_alg_accept() due to bh_lock_sock()

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-07-20 Thread Kelsey Margarete Skunberg
** Changed in: linux (Ubuntu Xenial) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1884766 Title: use-after-free in af_alg_accept() due to bh_lock_sock()

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
Bionic: testing == original: $ uname -rv 4.15.0-107-generic #108-Ubuntu SMP Mon Jun 8 17:51:33 UTC 2020 $ ./stress-ng --version stress-ng, version 0.11.14 (gcc 7.5, x86_64 Linux 4.15.0-107-generic)  $ ./stress-ng --af-alg 0 --timeout 1h

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
Eoan: testing original: $ uname -rv 5.3.0-62-generic #56-Ubuntu SMP Tue Jun 23 11:20:52 UTC 2020 $ ./stress-ng --version stress-ng, version 0.11.14 (gcc 9.2, x86_64 Linux 5.3.0-62-generic)  $ ./stress-ng --af-alg 0 --timeout 1h 2>&1 | tee

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
Xenial == original: $ uname -rv 4.4.0-185-generic #215-Ubuntu SMP Mon Jun 8 21:53:19 UTC 2020 $ ./stress-ng --version stress-ng, version 0.11.14 (gcc 5.4, x86_64 Linux 4.4.0-185-generic)  $ ./stress-ng --af-alg 0 --timeout 30m 2>&1 | tee

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
Common to all test runs: stress-ng version, and command to load as many crypto modules as found/possible in the system. $ ./stress-ng --version stress-ng, version 0.11.14 ()  $ sudo modprobe -a \ $(modinfo \ /lib/modules/$(uname -r)/kernel/crypto/*.ko \

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
[E/F/Unstable][PATCH 0/1] crypto: fix regression/use-after-free in af_alg_accept() https://lists.ubuntu.com/archives/kernel-team/2020-June/111620.html [E/F/Unstable][PATCH 1/1] crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
Disco: testing = original: $ uname -rv 5.0.0-38-generic #41-Ubuntu SMP Tue Dec 3 00:27:35 UTC 2019 $ ./stress-ng --version stress-ng, version 0.11.14 (gcc 8.3, x86_64 Linux 5.0.0-38-generic)  $ ./stress-ng --af-alg 0

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
Focal: testing = $ ./stress-ng --version stress-ng, version 0.11.14 (gcc 9.3, x86_64 Linux 5.4.0-38-generic)  $ sudo modprobe -a \ $(modinfo \ /lib/modules/$(uname -r)/kernel/crypto/*.ko \ /lib/modules/$(uname -r)/kernel/arch/*/crypto/*.ko \

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
** Changed in: linux (Ubuntu Xenial) Status: New => In Progress ** Changed in: linux (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: linux (Ubuntu Xenial) Assignee: (unassigned) => Mauricio Faria de Oliveira (mfo) ** Changed in: linux (Ubuntu Bionic) Status:

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
** Description changed: [Impact] - * Users of the Linux kernel's crypto userspace API -reported BUG() / kernel NULL pointer dereference -errors after kernel upgrades. +  * Users of the Linux kernel's crypto userspace API +    reported BUG() / kernel NULL pointer dereference +    

[Bug 1884766] Re: use-after-free in af_alg_accept() due to bh_lock_sock()

2020-06-30 Thread Mauricio Faria de Oliveira
** Description changed: - This bug is for tracking and submitting this commit [1] once it lands in - v5.8-rcN. + [Impact] - [1] - https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git/commit/?id=34c86f4c4a7be3b3e35aa48bd18299d4c756064d + * Users of the Linux kernel's crypto