<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BAT][BRW] NULL pointer dereference in snd_hda_codec_generic"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101246">101246</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BAT][BRW] NULL pointer dereference in snd_hda_codec_generic
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>DRI git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>martin.peres@free.fr
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Here is the full trace:

[  292.165356] BUG: unable to handle kernel NULL pointer dereference at
0000000000000a20
[  292.165393] IP: call_hp_automute+0xb/0x30 [snd_hda_codec_generic]
[  292.165407] PGD 0 
[  292.165409] P4D 0 

[  292.165426] Oops: 0000 [#1] PREEMPT SMP
[  292.165437] Modules linked in: snd_hda_intel i915 vgem coretemp tg3 ptp
pps_core lpc_ich snd_hda_codec_analog snd_hda_codec_generic snd_hda_codec
snd_hwdep snd_hda_core snd_pcm prime_numbers [last unloaded: i915]
[  292.165501] CPU: 0 PID: 148 Comm: kworker/0:3 Tainted: G     U         
4.12.0-rc3-CI-CI_DRM_2673+ #1
[  292.165520] Hardware name: Dell Inc.                 OptiPlex 745           
     /0GW726, BIOS 2.3.1  05/21/2007
[  292.165550] Workqueue: events process_unsol_events [snd_hda_core]
[  292.165566] task: ffff88003b29a600 task.stack: ffffc900001e0000
[  292.165582] RIP: 0010:call_hp_automute+0xb/0x30 [snd_hda_codec_generic]
[  292.165598] RSP: 0018:ffffc900001e3dc8 EFLAGS: 00010286
[  292.165613] RAX: 0000000000000000 RBX: ffff88002e3f19e8 RCX:
0000000000000005
[  292.165630] RDX: ffff8800314f2550 RSI: ffff88002e3f19e8 RDI:
ffff8800316c33f8
[  292.165647] RBP: ffffc900001e3dc8 R08: ffff88003b29ae38 R09:
0000000000000000
[  292.165664] R10: ffffc900001e3dc8 R11: 0000000000000001 R12:
ffff8800316c33f8
[  292.165684] R13: ffff8800314f2550 R14: ffff88002e2aa5a0 R15:
ffff88002e2aa5a8
[  292.165704] FS:  0000000000000000(0000) GS:ffff88003f200000(0000)
knlGS:0000000000000000
[  292.165727] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  292.165744] CR2: 0000000000000a20 CR3: 000000003a091000 CR4:
00000000000006f0
[  292.165763] Call Trace:
[  292.165786]  call_jack_callback.isra.2+0x20/0xa0 [snd_hda_codec]
[  292.165809]  snd_hda_jack_unsol_event+0x62/0x70 [snd_hda_codec]
[  292.165829]  hda_codec_unsol_event+0x12/0x20 [snd_hda_codec]
[  292.165848]  process_unsol_events+0x5e/0x70 [snd_hda_core]
[  292.165867]  process_one_work+0x1fe/0x670
[  292.165883]  worker_thread+0x49/0x3b0
[  292.165898]  kthread+0x10f/0x150
[  292.165910]  ? process_one_work+0x670/0x670
[  292.165924]  ? kthread_create_on_node+0x40/0x40
[  292.165940]  ret_from_fork+0x27/0x40
[  292.165955] Code: 48 8d 93 0a 05 00 00 be 04 00 00 00 eb c8 4c 89 e7 e8 3a
ff ff ff 5b 41 5c 5d c3 0f 1f 44 00 00 48 8b 87 68 05 00 00 55 48 89 e5 <48> 8b
80 20 0a 00 00 48 85 c0 74 04 ff d0 5d c3 e8 70 ff ff ff 
[  292.166091] RIP: call_hp_automute+0xb/0x30 [snd_hda_codec_generic] RSP:
ffffc900001e3dc8
[  292.166112] CR2: 0000000000000a20
[  292.166125] ---[ end trace 65ddd10cfd482602 ]---
[  292.166141] BUG: sleeping function called from invalid context at
./include/linux/percpu-rwsem.h:33
[  292.166165] in_atomic(): 0, irqs_disabled(): 1, pid: 148, name: kworker/0:3
[  292.166182] INFO: lockdep is turned off.
[  292.166194] irq event stamp: 3264388
[  292.166207] hardirqs last  enabled at (3264387): [<ffffffff8187bd73>]
restore_regs_and_iret+0x0/0x1d
[  292.166232] hardirqs last disabled at (3264388): [<ffffffff8187d2af>]
error_entry+0x6f/0xc0
[  292.166256] softirqs last  enabled at (3263952): [<ffffffff810839f9>]
__do_softirq+0x1d9/0x4a0
[  292.166279] softirqs last disabled at (3263931): [<ffffffff81083e39>]
irq_exit+0xa9/0xc0
[  292.166301] CPU: 0 PID: 148 Comm: kworker/0:3 Tainted: G     UD        
4.12.0-rc3-CI-CI_DRM_2673+ #1
[  292.166325] Hardware name: Dell Inc.                 OptiPlex 745           
     /0GW726, BIOS 2.3.1  05/21/2007
[  292.166356] Workqueue: events process_unsol_events [snd_hda_core]
[  292.166374] Call Trace:
[  292.166388]  dump_stack+0x67/0x97
[  292.166401]  ___might_sleep+0x162/0x250
[  292.166415]  __might_sleep+0x45/0x80
[  292.166429]  exit_signals+0x1f/0x2a0
[  292.166443]  do_exit+0x90/0xcc0
[  292.166456]  ? kthread+0x10f/0x150
[  292.166469]  ? process_one_work+0x670/0x670
[  292.166483]  rewind_stack_do_exit+0x17/0x20
[  292.166545] do_IRQ: 0.35 No irq handler for vector

And the full IGT logs:
<a href="https://intel-gfx-ci.01.org/CI/CI_DRM_2673/fi-bwr-2160/igt@drv_module_reload@basic-reload-inject.html">https://intel-gfx-ci.01.org/CI/CI_DRM_2673/fi-bwr-2160/igt@drv_module_reload@basic-reload-inject.html</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>