v2 SRU request for Artful: https://lists.ubuntu.com/archives/kernel-team/2018-April/092024.html
-- 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/1746474 Title: unregister_netdevice: waiting for eth0 to become free. Usage count = 5 Status in linux package in Ubuntu: In Progress Status in linux source package in Artful: In Progress Status in linux source package in Bionic: In Progress Bug description: == SRU Justification == Commit 52df157f17e5 introduced a regression in v4.13-rc1. This regression causes a stack trace to occur when tearing down an LXD container. The process hangs with the following message: "unregister_netdevice: waiting for eth0 to become free. Usage count = 5" This regression is fixed by commit 510c321b5571, which is in mainline as of v4.16-rc7. The fix is needed in Artful and Bionic. However, Artful needs a prereq commit, so it's SRU request will be sent separately. == Fix == 510c321b5571 ("xfrm: reuse uncached_list to track xdsts") == Regression Potential == Low. This commit is to fix a current regression. == Test Case == A test kernel was built with this patch and tested by the original bug reporter. The bug reporter states the test kernel resolved the bug. This occurs when tearing down an LXD container. LXD monitor process hangs with the following stack: $ sudo cat /proc/27043/stack [<ffffffff8af0022e>] msleep+0x2e/0x40 [<ffffffff8b5dc9cf>] netdev_run_todo+0x11f/0x310 [<ffffffff8b5e9d4d>] rtnetlink_rcv+0x2d/0x30 [<ffffffff8b612cdc>] netlink_unicast+0x18c/0x240 [<ffffffff8b61306d>] netlink_sendmsg+0x2dd/0x3c0 [<ffffffff8b5b8f08>] sock_sendmsg+0x38/0x50 [<ffffffff8b5b99c3>] ___sys_sendmsg+0x2e3/0x2f0 [<ffffffff8b5ba354>] __sys_sendmsg+0x54/0x90 [<ffffffff8b5ba3a2>] SyS_sendmsg+0x12/0x20 [<ffffffff8ae03a7b>] do_syscall_64+0x5b/0xc0 [<ffffffff8b800257>] entry_SYSCALL64_slow_path+0x8/0x8 [<ffffffffffffffff>] 0xffffffffffffffff Issue submitted to LXD as well ([1]), though as indicated there, it seems to be a kernel bug. [1] https://github.com/lxc/lxd/issues/4208 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.13.0-32-generic 4.13.0-32.35~16.04.1 ProcVersionSignature: Ubuntu 4.13.0-32.35~16.04.1-generic 4.13.13 Uname: Linux 4.13.0-32-generic x86_64 NonfreeKernelModules: zfs zunicode zavl zcommon znvpair ApportVersion: 2.20.1-0ubuntu2.15 Architecture: amd64 Date: Wed Jan 31 11:42:59 2018 InstallationDate: Installed on 2016-11-09 (447 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) SourcePackage: linux-hwe UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746474/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp