New: Object freed twice in cleanup_net in net/core/net_namespace.c
Subsystems (2)
Begin forwarded message:
Date: Wed, 22 Apr 2020 12:47:34 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 207403] New: Object freed twice in cleanup_net in net/core/net_namespace.c
https://bugzilla.kernel.org/show_bug.cgi?id=207403
Bug ID: 207403
Summary: Object freed twice in cleanup_net in
net/core/net_namespace.c
Product: Networking
Version: 2.5
Kernel Version: At least between 4.14 and 5.4
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCreated attachment 288659
--> https://bugzilla.kernel.org/attachment.cgi?id=288659&action=edit
dmesg from qemu instance running openwrt
There is an issue regarding network namespaces on OpenWRT.
There is some locking wrong in kernel's netns subsystem. Starting docker with a bunch of containers is a game of luck, they can start cleanly, but there are good chances the bug is hit, often crashing the entire system. I attach a dmesg grabbed from a qemu instance which shows it clearly.
I have built OpenWRT with a vanilla kernel, and the issue still happens. It might have to do with the special user space tools not used in any other environment. It has been happening for at least between 4.14 and 5.4, and the issue is in the kernel.
I hit it with docker. Using docker-compose, with some image building, after some time I get the oops in the attached dmesg.
I have verified it happens on x86-64 both bare metal and under qemu, with and without preemption, with 1 or several CPUs.
Since I have not seen it in any other environment and you might want to play first hands with it, I am sharing a OpenWRT image ready to use, a little more packed than the official ones, with docker-compose, kgdb, ftrace,... It is for x86-64 efi systems and runs fine under qemu.
https://openwrt.marcet.info/latest/targets/x86/64/
If there is any more info I can provide, please ask.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.