Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1656874 > unrolled thread

NULL pointer dereference BUG in check_preempt_wakeup

Started by"Sowadski. Craig" <sowadski@miner.mst.edu>
First post2017-06-03 19:50 +0200
Last post2017-06-06 10:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  NULL pointer dereference BUG in check_preempt_wakeup "Sowadski. Craig" <sowadski@miner.mst.edu> - 2017-06-03 19:50 +0200
    Re: NULL pointer dereference BUG in check_preempt_wakeup Borislav Petkov <bp@alien8.de> - 2017-06-06 10:20 +0200

#1656874 — NULL pointer dereference BUG in check_preempt_wakeup

From"Sowadski. Craig" <sowadski@miner.mst.edu>
Date2017-06-03 19:50 +0200
SubjectNULL pointer dereference BUG in check_preempt_wakeup
Message-ID<tOllw-1zC-7@gated-at.bofh.it>
Hello,

I have been having random lockups with my new Ryzen build. I have
finally setup a serial console and received the Oops info below. I
have had the problem with 4.10, 4.11, 4.11.2, and 4.11.3, but this is
the only trap of info I have so I do not know that all my lockups are
of the same nature. I'm not sure what to investigate to further help
debug this. Please let me know if there is anything I can provide.

Thanks,

Craig Sowadski (sowadski@miner.mst.edu)


[391216.417126] BUG: unable to handle kernel NULL pointer dereference at 0000000
[391216.464610] IP: check_preempt_wakeup+0xcb/0x230
[391216.492253] PGD 401fd0067
[391216.492254] PUD 407e88067
[391216.508969] PMD 0
[391216.525685]
[391216.547658] Oops: 0000 [#1] SMP
[391216.566975] Modules linked in: iptable_filter ip_tables x_tables
cdc_acm nlswmi sparse_keymap video irqbypass crct10dif_pclmul
crc32_pclmul ghash_clmulni_ind snd_seq glue_helper cryptd
snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_are_core mac_hid
parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq dm_mirro
[391216.990926]  ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fop
[391217.070692] CPU: 1 PID: 2 Comm: kthreadd Not tainted 4.11.3-041103-generic #
[391217.119686] Hardware name: System manufacturer System Product Name/PRIME B35
[391217.175985] task: ffff98010ce11680 task.stack: ffffc043818c0000
[391217.211969] RIP: 0010:check_preempt_wakeup+0xcb/0x230
[391217.242746] RSP: 0018:ffffc043818c3d70 EFLAGS: 00010006
[391217.274566] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000000
[391217.317843] RDX: 0000000000000000 RSI: ffff9801071b1680 RDI: ffff98011ec1b22
[391217.361118] RBP: ffffc043818c3da8 R08: 0000000000000000 R09: 000000000000000
[391217.404392] R10: ffffc043818c3d20 R11: 0000000000800711 R12: 000000000000000
[391217.447667] R13: 0000000000000008 R14: ffff980104149680 R15: 000000000000000
[391217.490940] FS:  0000000000000000(0000) GS:ffff98011ec40000(0000) knlGS:0000
[391217.539937] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[391217.574880] CR2: 0000000000000150 CR3: 000000040b13b000 CR4: 00000000003406e
[391217.618156] Call Trace:
[391217.633311]  check_preempt_curr+0x79/0x90
[391217.657839]  wake_up_new_task+0x12d/0x240
[391217.682367]  _do_fork+0x131/0x390
[391217.702726]  kernel_thread+0x29/0x30
[391217.724648]  kthreadd+0x29f/0x2f0
[391217.745012]  ? kthread_create_on_cpu+0xc0/0xc0
[391217.772138]  ret_from_fork+0x2c/0x40
[391217.794060] Code: 00 00 39 c2 75 f2 48 8b bb 50 01 00 00 49 39 bc
24 50 01 085 ff
[391217.907685] RIP: check_preempt_wakeup+0xcb/0x230 RSP: ffffc043818c3d70
[391217.947311] CR2: 0000000000000150
[391217.979880] ---[ end trace a770376e6c998367 ]---

[toc] | [next] | [standalone]


#1658472

FromBorislav Petkov <bp@alien8.de>
Date2017-06-06 10:20 +0200
Message-ID<tPhSx-6bR-1@gated-at.bofh.it>
In reply to#1656874
On Sat, Jun 03, 2017 at 12:45:08PM -0500, Sowadski. Craig wrote:
> Hello,
> 
> I have been having random lockups with my new Ryzen build. I have
> finally setup a serial console and received the Oops info below. I
> have had the problem with 4.10, 4.11, 4.11.2, and 4.11.3, but this is
> the only trap of info I have so I do not know that all my lockups are
> of the same nature. I'm not sure what to investigate to further help
> debug this. Please let me know if there is anything I can provide.

You can try to catch a couple more of those. Please use (it
probably won't matter but still) the tip's master branch here:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Also, each time, send the whole console output from boot to lockup.
Privately is fine too.

Thanks.

-- 
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web