Wind River Support Network

HomeDefectsLIN6-11065
Fixed

LIN6-11065 : NULL pointer dereference while searching futex waiter list

Created: Apr 10, 2016    Updated: Dec 3, 2018
Resolved Date: Apr 15, 2016
Found In Version: 6.0.0.23
Fix Version: 6.0.0.30
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP, Kernel

Description

Printer/Photocopier Device froze while performing server fax job.
UI stuck on scanning screen. Heartbeat LED (driven by kernel timer) stopped blinking. Console reported kernel error (BUG and Oops):

 BUG: unable to handle kernel NULL pointer dereference at           (null)
 IP: [<ffffffff810d4a88>] futex_wake+0x98/0x140
 PGD 253fc2067 PUD 253ef7067 PMD 0 
 Oops: 0000 [#1] PREEMPT SMP 
Modules linked in: 8192cu cfg80211 par_ld pixcir_i2c_ts g_ether libcomposite ip6table_filter ip6_tables beControl_siamese(O) transferControl_siamese(O) ImageBufferModule(O) imagemem_sysmem(O) cipsBase(O) ctgmemdrv xrxsipi videobuf2_dma_sg atomisp videobuf2_dma_contig videobuf2_memops videobuf2_core xerox_cifax ipv6 moc_memdrv(O) moc_ipsec(O) loopMocana(O) moc_crypto(PO) [last unloaded: phy_alloc]
 CPU: 1 PID: 8117 Comm: Logger Tainted: P           O 3.10.62 #1
...
 Call Trace:
  [<ffffffff810d67a2>] do_futex+0x102/0xa90
  [<ffffffff810ba438>] ? cpuacct_account_field+0xa8/0xc0
  [<ffffffff810ba390>] ? cpuacct_charge+0xb0/0xb0
  [<ffffffff816847ec>] ? _raw_spin_unlock+0x2c/0x60
  [<ffffffff810d75bf>] compat_SyS_futex+0x6f/0x140
  [<ffffffff8100e561>] ? syscall_trace_enter+0x11/0x160
  [<ffffffff8168696d>] sysenter_dispatch+0x7/0x23
 Code: 5a 00 49 8b 85 80 00 00 00 4d 8d bd 80 00 00 00 48 89 c7 48 83 ef 18 48 8b 08 48 89 cb 48 83 eb 18 49 39 c7 75 1f eb 6b 0f 1f 00 <48> 8b 43 18 48 89 c2 48 8d 43 18 48 83 ea 18 49 39 c7 74 54 48 
 RIP  [<ffffffff810d4a88>] futex_wake+0x98/0x140
  RSP <ffff880228777df8>
 CR2: 0000000000000000
 ---[ end trace 0000000000000002 ]---

This particular failure only occurred once, not reproducible.

Steps to Reproduce

Project configure line is as follows:

--enable-rootfs=glibc-std --enable-board=intel-x86-64 --enable-kernel=preempt-rt --with-template=feature/intel-atomisp --enable-reconfig --with-layer=wr-mcafee,wr-ma --with-rcpl-version=0023

Other Downloads


Live chat
Online