Re: WARNING: kernel stack frame pointer at ffffffff82e03f40 in swapper:0 has bad value (null)
From: Borislav Petkov
Date: Mon Dec 12 2016 - 12:50:33 EST
On Mon, Dec 12, 2016 at 09:45:42AM -0600, Josh Poimboeuf wrote:
> Can you try with this?
That's alot of stack:
---
[ 0.000000] WARNING: kernel stack frame pointer at ffffffffbce03f40 in swapper:0 has bad value (null)
[ 0.000000] unwind stack type:0 next_sp: (null) mask:2 graph_idx:0
[ 0.000000] ffffffffbce03bc0: ffffffffbce03c40 (init_thread_union+0x3c40/0x4000)
[ 0.000000] ffffffffbce03bc8: ffffffffbc027643 (__save_stack_trace+0x73/0xd0)
[ 0.000000] ffffffffbce03bd0: 0000000000000000 ...
[ 0.000000] ffffffffbce03bd8: ffffffffbce00000 (__end_rodata+0x59000/0x59000)
[ 0.000000] ffffffffbce03be0: ffffffffbce04000 (init_thread_union+0x4000/0x4000)
[ 0.000000] ffffffffbce03be8: 0000000000000000 ...
[ 0.000000] ffffffffbce03bf0: 0000000000000002 (0x2)
[ 0.000000] ffffffffbce03bf8: ffffffffbce0e540 (root_mountflags+0x40/0x40)
[ 0.000000] ffffffffbce03c00: 0000000000000000 ...
[ 0.000000] ffffffffbce03c08: ffffffffbce03f40 (init_thread_union+0x3f40/0x4000)
[ 0.000000] ffffffffbce03c10: ffffffffbce03bc0 (init_thread_union+0x3bc0/0x4000)
[ 0.000000] ffffffffbce03c18: 0000000000000000 ...
[ 0.000000] ffffffffbce03c20: ffffffffbd7b4278 (lock_classes+0x158/0x35fe60)
[ 0.000000] ffffffffbce03c28: ffffffffbce0e540 (root_mountflags+0x40/0x40)
[ 0.000000] ffffffffbce03c30: ffffffffbcec9080 (primary_crng+0x60/0x80)
[ 0.000000] ffffffffbce03c38: 000000000000000c (0xc)
[ 0.000000] ffffffffbce03c40: ffffffffbce03c50 (init_thread_union+0x3c50/0x4000)
[ 0.000000] ffffffffbce03c48: ffffffffbc0276bb (save_stack_trace+0x1b/0x20)
[ 0.000000] ffffffffbce03c50: ffffffffbce03c68 (init_thread_union+0x3c68/0x4000)
[ 0.000000] ffffffffbce03c58: ffffffffbc0bf60b (save_trace+0x3b/0xc0)
[ 0.000000] ffffffffbce03c60: 000000000000000c (0xc)
[ 0.000000] ffffffffbce03c68: ffffffffbce03cb0 (init_thread_union+0x3cb0/0x4000)
[ 0.000000] ffffffffbce03c70: ffffffffbc0c1d78 (mark_lock+0x188/0x610)
[ 0.000000] ffffffffbce03c78: 0000000000000000 ...
[ 0.000000] ffffffffbce03c80: ffffffffbcec9080 (primary_crng+0x60/0x80)
[ 0.000000] ffffffffbce03c88: ffffffffbce0ed08 (init_task+0x7c8/0x2340)
[ 0.000000] ffffffffbce03c90: 0000000000000000 ...
[ 0.000000] ffffffffbce03c98: ffffffffbcec9080 (primary_crng+0x60/0x80)
[ 0.000000] ffffffffbce03ca0: ffffffffbce0e540 (root_mountflags+0x40/0x40)
[ 0.000000] ffffffffbce03ca8: 0000000000000001 (0x1)
[ 0.000000] ffffffffbce03cb0: ffffffffbce03d68 (init_thread_union+0x3d68/0x4000)
[ 0.000000] ffffffffbce03cb8: ffffffffbc0c2a6f (__lock_acquire+0x2ff/0x1760)
[ 0.000000] ffffffffbce03cc0: 0000000000000000 ...
[ 0.000000] ffffffffbce03cd0: 000000000000002d (0x2d)
[ 0.000000] ffffffffbce03cd8: ffffffff00000001 (0xffffffff00000001)
[ 0.000000] ffffffffbce03ce0: ffffffffbd7b4120 (classhash_table+0x8000/0x8000)
[ 0.000000] ffffffffbce03ce8: 0000000000000000 ...
[ 0.000000] ffffffffbce03cf0: ffffffffbce0ed08 (init_task+0x7c8/0x2340)
[ 0.000000] ffffffffbce03cf8: 0000000000000000 ...
[ 0.000000] ffffffffbce03d10: ffffffffbce03e0c (init_thread_union+0x3e0c/0x4000)
[ 0.000000] ffffffffbce03d18: ffffffffffffffff (0xffffffffffffffff)
[ 0.000000] ffffffffbce03d20: 00000000431fc205 (0x431fc205)
[ 0.000000] ffffffffbce03d28: ffffffffbcc881f4 (.LC9+0x10e9/0x1606)
[ 0.000000] ffffffffbce03d30: ffffffffbcc881f0 (.LC9+0x10e5/0x1606)
[ 0.000000] ffffffffbce03d38: ffffffffbce03d90 (init_thread_union+0x3d90/0x4000)
[ 0.000000] ffffffffbce03d40: 0000000000000096 (0x96)
[ 0.000000] ffffffffbce03d48: 0000000000000000 ...
[ 0.000000] ffffffffbce03d58: 0000000000000001 (0x1)
[ 0.000000] ffffffffbce03d60: 0000000000000000 ...
[ 0.000000] ffffffffbce03d68: ffffffffbce03dd8 (init_thread_union+0x3dd8/0x4000)
[ 0.000000] ffffffffbce03d70: ffffffffbc0c4537 (lock_acquire+0x107/0x210)
[ 0.000000] ffffffffbce03d78: 0000000000000000 ...
[ 0.000000] ffffffffbce03d80: ffffffffbc498ac0 (_extract_crng+0x40/0xb0)
[ 0.000000] ffffffffbce03d88: 0000000000000000 ...
[ 0.000000] ffffffffbce03d90: ffffffff00000000 (0xffffffff00000000)
[ 0.000000] ffffffffbce03d98: 0000000000000096 (0x96)
[ 0.000000] ffffffffbce03da0: 00000000bc3c8673 (0xbc3c8673)
[ 0.000000] ffffffffbce03da8: ffffffffbcec9080 (primary_crng+0x60/0x80)
[ 0.000000] ffffffffbce03db0: ffffffffbcec9068 (primary_crng+0x48/0x80)
[ 0.000000] ffffffffbce03db8: 0000000000000096 (0x96)
[ 0.000000] ffffffffbce03dc0: 0000000000000008 (0x8)
[ 0.000000] ffffffffbce03dc8: ffffffffbce03e50 (init_thread_union+0x3e50/0x4000)
[ 0.000000] ffffffffbce03dd0: ffffffff0000ffff (0xffffffff0000ffff)
[ 0.000000] ffffffffbce03dd8: ffffffffbce03e00 (init_thread_union+0x3e00/0x4000)
[ 0.000000] ffffffffbce03de0: ffffffffbc873466 (_raw_spin_lock_irqsave+0x46/0x60)
[ 0.000000] ffffffffbce03de8: ffffffffbc498ac0 (_extract_crng+0x40/0xb0)
[ 0.000000] ffffffffbce03df0: ffffffffbcec9020 (input_pool+0xc0/0xc0)
[ 0.000000] ffffffffbce03df8: ffffffffbcec9068 (primary_crng+0x48/0x80)
[ 0.000000] ffffffffbce03e00: ffffffffbce03e30 (init_thread_union+0x3e30/0x4000)
[ 0.000000] ffffffffbce03e08: ffffffffbc498ac0 (_extract_crng+0x40/0xb0)
[ 0.000000] ffffffffbce03e10: ffffffffbce03ec8 (init_thread_union+0x3ec8/0x4000)
[ 0.000000] ffffffffbce03e18: ffffffffbce03e50 (init_thread_union+0x3e50/0x4000)
[ 0.000000] ffffffffbce03e20: 0000000000000008 (0x8)
[ 0.000000] ffffffffbce03e28: ffffffffbcf67b66 (start_kernel+0x2b/0x3d9)
[ 0.000000] ffffffffbce03e30: ffffffffbce03e40 (init_thread_union+0x3e40/0x4000)
[ 0.000000] ffffffffbce03e38: ffffffffbc498b6f (extract_crng+0x3f/0x50)
[ 0.000000] ffffffffbce03e40: ffffffffbce03eb8 (init_thread_union+0x3eb8/0x4000)
[ 0.000000] ffffffffbce03e48: ffffffffbc49a6f5 (get_random_bytes+0x95/0x260)
[ 0.000000] ffffffffbce03e50: ffffffffbcf67155 (early_idt_handler_common+0x35/0x4c)
[ 0.000000] ffffffffbce03e58: ffffffff0000ffff (0xffffffff0000ffff)
[ 0.000000] ffffffffbce03e60: fffffff8ffffffff (0xfffffff8ffffffff)
[ 0.000000] ffffffffbce03e68: 0000000000055000 (0x55000)
[ 0.000000] ffffffffbce03e70: bcf68e0000107117 (0xbcf68e0000107117)
[ 0.000000] ffffffffbce03e78: ffffffffbce03f00 (init_thread_union+0x3f00/0x4000)
[ 0.000000] ffffffffbce03e80: ffffffffbcb00ef0 (_fw_end+0x4000/0x4000)
[ 0.000000] ffffffffbce03e88: 0000000000004400 (0x4400)
[ 0.000000] ffffffffbce03e90: 0000000000000000 ...
[ 0.000000] ffffffffbce03e98: bcf68e0000107117 (0xbcf68e0000107117)
[ 0.000000] ffffffffbce03ea0: bcf68e0000107117 (0xbcf68e0000107117)
[ 0.000000] ffffffffbce03ea8: 0000000000055000 (0x55000)
[ 0.000000] ffffffffbce03eb0: fffffff8ffffffff (0xfffffff8ffffffff)
[ 0.000000] ffffffffbce03eb8: ffffffffbce03ef0 (init_thread_union+0x3ef0/0x4000)
[ 0.000000] ffffffffbce03ec0: ffffffffbcf67b66 (start_kernel+0x2b/0x3d9)
[ 0.000000] ffffffffbce03ec8: 0000000000000000 ...
[ 0.000000] ffffffffbce03ed0: bcf68e0000107117 (0xbcf68e0000107117)
[ 0.000000] ffffffffbce03ed8: bcf68e0000107117 (0xbcf68e0000107117)
[ 0.000000] ffffffffbce03ee0: 0000000000055000 (0x55000)
[ 0.000000] ffffffffbce03ee8: fffffff8ffffffff (0xfffffff8ffffffff)
[ 0.000000] ffffffffbce03ef0: ffffffffbce03f00 (init_thread_union+0x3f00/0x4000)
[ 0.000000] ffffffffbce03ef8: ffffffffbcf67286 (x86_64_start_reservations+0x24/0x26)
[ 0.000000] ffffffffbce03f00: ffffffffbce03f40 (init_thread_union+0x3f40/0x4000)
[ 0.000000] ffffffffbce03f08: ffffffffbcf6740a (x86_64_start_kernel+0x182/0x193)
[ 0.000000] ffffffffbce03f10: 0000000000000000 ...
[ 0.000000] ffffffffbce03f18: ffffffffbce03f58 (init_thread_union+0x3f58/0x4000)
[ 0.000000] ffffffffbce03f20: 00000000000000f0 (0xf0)
[ 0.000000] ffffffffbce03f28: 00000000ac41fb60 (0xac41fb60)
[ 0.000000] ffffffffbce03f30: 00000000ac6c8364 (0xac6c8364)
[ 0.000000] ffffffffbce03f38: 00000000ac767740 (0xac767740)
[ 0.000000] ffffffffbce03f40: 0000000000000000 ...
[ 0.000000] ffffffffbce03f48: ffffffffbc0001b5 (start_cpu+0x5/0x14)
[ 0.000000] ffffffffbce03f50: ffffffffbc0001b5 (start_cpu+0x5/0x14)
[ 0.000000] ffffffffbce03f58: 0000000000000000 ...
[ 0.000000] Linux version 4.9.0-rc8+ (root@gondor) (gcc version 6.2.0 20161109 (Debian 6.2.0-13) ) #2 SMP PREEMPT Mon Dec 12 18:36:48 CET 2016
...
--
Regards/Gruss,
Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.