kernel BUG at mm/mmap.c:2360!
Issue
- Seeing "kernel BUG at mm/mmap.c:2360!" followed by backtrace. Here is an example from a system that experienced this issue:
[456560.691223] kernel BUG at mm/mmap.c:2360!
[456560.740140] invalid opcode: 0000 [#1] SMP
[456560.790315] last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.1/net/eth1/ifalias
[456560.895304] CPU 5
[456560.918259] Modules linked in: <snip>
[456561.608459]
[456561.627260] Pid: 9526, comm: java Tainted: G W ---------------- 2.6.32-220.2.1.el6.x86_64 #1
[456561.812539] RIP: 0010:[<ffffffff8113f184>] [<ffffffff8113f184>] exit_mmap+0x154/0x170
[456561.908295] RSP: 0018:ffff880c394fdc38 EFLAGS: 00010202
[456561.972786] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88060e6cfdc8
[456562.059084] RDX: 000000000000000a RSI: ffff88060e6cfdc8 RDI: 0000000000000282
[456562.145382] RBP: ffff880c394fdc78 R08: 6038000000000000 R09: f9a78d2eecfbec07
[456562.231681] R10: 0000000000000000 R11: 0000000000000002 R12: ffff880637ee7800
[456562.317980] R13: ffff88065548e4e0 R14: ffff880637ee7868 R15: ffff880c3a3c7540
[456562.404278] FS: 00007f6d81966700(0000) GS:ffff880655480000(0000) knlGS:0000000000000000
[456562.501998] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[456562.571682] CR2: 00007f6da8c38000 CR3: 0000000001a85000 CR4: 00000000000006e0
[456562.657981] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[456562.744281] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[456562.830579] Process java (pid: 9526, threadinfo ffff880c394fc000, task ffff880c3a3c7540)
[456562.928298] Stack:
[456562.953333] ffff880600000001 ffff880637ee7800 00000000000b8505 ffff88065548e4e0
[456563.041000] <0> ffff880c394fdc78 ffff880637ee7800 ffff880637ee7890 ffff880637ee7800
[456563.134067] <0> ffff880c394fdc98 ffffffff81066cac ffff880c3a3c7540 ffff880c3a3c7d38
[456563.229316] Call Trace:
[456563.259544] [<ffffffff81066cac>] mmput+0x6c/0x120
[456563.317805] [<ffffffff8106e24b>] exit_mm+0x12b/0x180
[456563.379180] [<ffffffff8106e5ff>] do_exit+0x15f/0x860
[456563.440560] [<ffffffff810ef7c3>] ? trace_nowake_buffer_unlock_commit+0x43/0x60
[456563.528938] [<ffffffff8106ed58>] do_group_exit+0x58/0xd0
[456563.594470] [<ffffffff81084096>] get_signal_to_deliver+0x1f6/0x460
[456563.670385] [<ffffffff8100a2d5>] do_signal+0x75/0x800
[456563.732798] [<ffffffff810ea922>] ? ring_buffer_lock_reserve+0xa2/0x160
[456563.812866] [<ffffffff810ea922>] ? ring_buffer_lock_reserve+0xa2/0x160
[456563.892932] [<ffffffff810ef7c3>] ? trace_nowake_buffer_unlock_commit+0x43/0x60
[456563.981310] [<ffffffff810164d9>] ? ftrace_raw_event_sys_exit+0xb9/0xc0
[456564.061378] [<ffffffff8100aaf0>] do_notify_resume+0x90/0xc0
[456564.130021] [<ffffffff8100b3c1>] int_signal+0x12/0x17
[456564.425956] RIP [<ffffffff8113f184>] exit_mmap+0x154/0x170
[456564.493674] RSP <ffff880c394fdc38>
Environment
- Red Hat Enterprise Linux (RHEL) 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.