Kernel panic in may_open() function.
Issue
- Running a docker containers crashes the system.
- Kernel panic with below message:
[984619.805758] BUG: unable to handle kernel paging request at 0000000000001030
[984619.809074] IP: [<ffffffffb1c4d492>] may_open+0x12/0x120
[984619.809369] PGD 80000007fd342067 PUD 7fdb26067 PMD 0
[984619.809619] Oops: 0000 [#1] SMP
[984619.809838] Modules linked in: tcp_diag udp_diag inet_diag ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter xt_conntrack nf_nat nf_conntrack libcrc32c br_netfilter bridge stp llc overlay(T)
[984619.812323] CPU: 1 PID: 11654 Comm: dockerd-current Kdump: loaded Tainted: G ------------ T 3.10.0-957.5.1.el7.x86_64 #1
[984619.812792] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 04/05/2016
[984619.813245] task: ffff9de0f86cd140 ti: ffff9de0f8a94000 task.ti: ffff9de0f8a94000
[984619.813855] RIP: 0010:[<ffffffffb1c4d492>] [<ffffffffb1c4d492>] may_open+0x12/0x120
[984619.814328] RSP: 0018:ffff9de0f8a97cb8 EFLAGS: 00010202
[..]
[984619.819325] Call Trace:
[984619.820031] [<ffffffffb1c4fab7>] do_last+0x1b7/0x12a0
[984619.820663] [<ffffffffb1c529a7>] path_openat+0xd7/0x640
[984619.821520] [<ffffffffc0681374>] ? ovl_getattr+0x74/0x200 [overlay]
[984619.822555] [<ffffffffb1c3e5ea>] ? __check_object_size+0x1ca/0x250
[984619.823811] [<ffffffffb1c543ad>] do_filp_open+0x4d/0xb0
[984619.824873] [<ffffffffb1c61a37>] ? __alloc_fd+0x47/0x170
[984619.826039] [<ffffffffb1c404d7>] do_sys_open+0x137/0x240
[984619.827223] [<ffffffffb2174d15>] ? system_call_after_swapgs+0xa2/0x146
[984619.828399] [<ffffffffb1c40614>] SyS_openat+0x14/0x20
[984619.829544] [<ffffffffb2174ddb>] system_call_fastpath+0x22/0x27
[984619.830407] [<ffffffffb2174d21>] ? system_call_after_swapgs+0xae/0x146
[984619.831155] Code: 00 40 75 d8 b8 e2 ff ff ff 5d c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 85 f6 48 89 e5 41 54 53 48 8b 47 08 <48> 8b 58 30 0f 84 94 00 00 00 48 85 db 0f 84 e7 00 00 00 0f b7
[984619.832890] RIP [<ffffffffb1c4d492>] may_open+0x12/0x120
[984619.833701] RSP <ffff9de0f8a97cb8>
[984619.834496] CR2: 0000000000001030
Environment
- Red Hat Enterprise Linux 7
- OverlayFS
- Docker
- Containers
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.