[BUG] 4.4.7 af_unix, wakeup
From: Mika PenttilÃ
Date: Thu Apr 21 2016 - 09:35:44 EST
Have hit this same looking oops every now and then since at least 4.2 or so.. Not easy to reproduce systematically.
--Mika
[10973.891726] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[10973.899839] pgd = a8ce4000
[10973.902549] [00000000] *pgd=38c38831, *pte=00000000, *ppte=00000000
[10973.908866] Internal error: Oops: 80000007 [#1] PREEMPT SMP ARM
[10973.914787] Modules linked in: btwilink radio_quantek st_drv
[10973.920507] CPU: 1 PID: 310 Comm: compositor Not tainted 4.4.7 #1
[10973.926602] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[10973.933133] task: a82dc740 ti: a8dd2000 task.ti: a8dd2000
[10973.938534] PC is at 0x0
[10973.941080] LR is at __wake_up_common+0x4c/0x80
[10973.945615] pc : [<00000000>] lr : [<80058584>] psr: 800f00b3
[10973.945615] sp : a8dd3d98 ip : a9077d48 fp : 00000001
[10973.957093] r10: 00000001 r9 : 00000001 r8 : 000000c3
[10973.962320] r7 : a9041c84 r6 : 011e6ebc r5 : 00000001 r4 : ab712074
[10973.968849] r3 : 000000c3 r2 : 00000001 r1 : 00000001 r0 : a9077d48
[10973.975380] Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA Thumb Segment user
[10973.982777] Control: 10c5387d Table: 38ce404a DAC: 00000055
[10973.988525] Process compositor (pid: 310, stack limit = 0xa8dd2210)
[10973.994793] Stack: (0xa8dd3d98 to 0xa8dd4000)
[10973.999153] 3d80: 00000001 a9041c80
[10974.007335] 3da0: 00000001 000000c3 00000001 a00f0013 00000030 a88dd080 a88df64c 80058b68
[10974.015517] 3dc0: 000000c3 806e28e0 a88df440 00000000 a88df440 a9c3ac00 00000001 8051b7ac
[10974.023698] 3de0: 00000030 805c392c a8dd3e08 00000003 7e9e25d8 00000030 a64d8c00 00000001
[10974.031879] 3e00: a8dd3f74 a8dd3f6c 00000000 00000000 00000000 00000000 ffffffff ffffffff
[10974.040060] 3e20: a8dd3e54 a8dd3f6c 00004040 00000000 a64d8c00 00000000 a8dd3e58 00000000
[10974.048240] 3e40: 00000170 80518634 a8dd3f6c 80518fb8 00000000 00000000 00000005 757d2b98
[10974.056421] 3e60: 00000000 00000000 00000000 00c5e2dc 00c5d724 75750310 00deeaac 00000030
[10974.064602] 3e80: 00000000 00afd9c4 00c5e2dc 00000000 758057e0 7e9e22a8 757fa4c8 757782e8
[10974.072783] 3ea0: 75805790 00000000 00000068 00e364b8 00000000 00afd9c4 00e364e0 00000003
[10974.080963] 3ec0: 758057f0 00000000 000000d4 75791b0c 000004a6 00000001 00aff83c 00afd9c4
[10974.089145] 3ee0: 00000034 00e2c374 00e364c4 00e1b634 00000000 00000001 000000d4 00000300
[10974.097325] 3f00: 000004a6 75763790 00e364e0 00000000 00000000 00000001 3fffffff a84b3a98
[10974.105506] 3f20: a8dfc9c0 800fd2e8 a8dd3f68 a8dd3f64 00004040 00000128 8000f6a4 a64d8c00
[10974.113686] 3f40: 7e9e25e8 00004040 00000128 8000f6a4 a8dd2000 80519c14 00000000 7e9e2730
[10974.121867] 3f60: 00000107 00000001 fffffff7 00000000 00000000 00000001 00000000 00000000
[10974.130047] 3f80: a8dd3e80 00000000 00000000 00000000 00004040 00000000 00000001 00df0a30
[10974.138228] 3fa0: 00deea20 8000f500 00000001 00df0a30 0000001e 7e9e25e8 00004040 00000000
[10974.146409] 3fc0: 00000001 00df0a30 00deea20 00000128 00df1a18 000b308c 7e9e25e8 00000170
[10974.154590] 3fe0: 00000000 7e9e25d0 76ef54c0 75b568f8 800f0010 0000001e 00000000 00000000
[10974.162783] [<80058584>] (__wake_up_common) from [<80058b68>] (__wake_up_sync_key+0x44/0x60)
[10974.171236] [<80058b68>] (__wake_up_sync_key) from [<8051b7ac>] (sock_def_readable+0x3c/0x6c)
[10974.179779] [<8051b7ac>] (sock_def_readable) from [<805c392c>] (unix_stream_sendmsg+0x154/0x340)
[10974.188572] [<805c392c>] (unix_stream_sendmsg) from [<80518634>] (sock_sendmsg+0x14/0x24)
[10974.196757] [<80518634>] (sock_sendmsg) from [<80518fb8>] (___sys_sendmsg+0x1d0/0x1d8)
[10974.204680] [<80518fb8>] (___sys_sendmsg) from [<80519c14>] (__sys_sendmsg+0x3c/0x6c)
[10974.212521] [<80519c14>] (__sys_sendmsg) from [<8000f500>] (ret_fast_syscall+0x0/0x34)
[10974.220441] Code: bad PC value
[10974.223502] ---[ end trace 7f5c4ba07462311f ]---