With https://github.com/fho/docker-samba-loop I was able to reproduce kernel Oopses on a clean Ubuntu 16.0.4 installation with:
- linux-image-4.10.0-32-generic=4.10.0-32.36~16.04.1 - linux-image-4.11.0-14-generic=4.11.0-14.20~16.04.1 On 4.11.0-14 it was much harder to reproduce. Sometimes only a warning happened, 1x time I was able to produce an Oops with https://github.com/fho/docker-samba-loop/commits/more_stress But I don't know if the changes in the branch made it more likely to happen or if it was only a coincidence. The kernel message: unregister_netdevice: waiting for lo to become free. Usage count = 1 shows up, some minutes later the oops and/or warning happens. In a different scenario were the Ubuntu 16.04 servers were running multiple docker containers with Nginx or small network applications in parallel, I was also able to reproduce the kernel Oopses also on: - linux-image-4.10.0-1004-gcp - linux-image-4.4.0-93-generic - linux-image-4.11.0-14-generic - linux-image-4.12.10-041210-generic=4.12.10-041210.20170830 I haven't tried again to reproduce it with those kernels on a clean Ubuntu installation and unfortunately didn't kept the kernel logs. Kernel logs can be found in the attached file. ** Attachment added: "kernel-logs.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1711407/+attachment/4941935/+files/kernel-logs.txt -- 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/1711407 Title: unregister_netdevice: waiting for lo to become free Status in linux package in Ubuntu: Confirmed Bug description: This is a "continuation" of bug 1403152, as that bug has been marked "fix released" and recent reports of failure may (or may not) be a new bug. Any further reports of the problem should please be reported here instead of that bug. -- [Impact] When shutting down and starting containers the container network namespace may experience a dst reference counting leak which results in this message repeated in the logs: unregister_netdevice: waiting for lo to become free. Usage count = 1 This can cause issues when trying to create net network namespace and thus block a user from creating new containers. [Test Case] ? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1711407/+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