4.5 regression - [drm/vmwgfx] BUG: unable to handle kernel NULL pointer dereference at (null)

From: Jongman Heo
Date: Mon Feb 15 2016 - 21:42:46 EST



Hi all,

With Linux 4.5-rc4, I still have a problem what I had reported, on VMWare workstation 10 (Linux guest, Windows 7 host);

[drm/vmwgfx] BUG: unable to handle kernel NULL pointer dereference at (null)
http://linux-kernel.2935.n7.nabble.com/drm-vmwgfx-BUG-unable-to-handle-kernel-NULL-pointer-dereference-at-null-td1283153.html

First bad commit was d56f57ac "drm/gma500: Move to private save/restore hooks."

[ 74.569484] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 74.569490] IP: [< (null)>] (null)
[ 74.569493] *pde = 00000000
[ 74.569495] Oops: 0010 [#1] SMP
[ 74.569498] Modules linked in:
[ 74.569502] CPU: 5 PID: 900 Comm: gnome-shell Not tainted 4.5.0-rc4+ #216
[ 74.569505] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 07/31/2013
[ 74.569507] task: f677d580 ti: efad0000 task.ti: efad0000
[ 74.569509] EIP: 0060:[<00000000>] EFLAGS: 00210246 CPU: 5
[ 74.569511] EIP is at 0x0
[ 74.569513] EAX: f6e08358 EBX: f6d90000 ECX: 00002000 EDX: 00002000
[ 74.569514] ESI: f6e0836c EDI: c0d2bac0 EBP: efad1dbc ESP: efad1d34
[ 74.569516] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 74.569518] CR0: 80050033 CR2: 00000000 CR3: 2f97b000 CR4: 001406d0
[ 74.569581] Stack:
[ 74.569583] c09619ed ffff0a00 efad1d64 c0841138 ffffff04 00000001 ffff0a00 f6d9012c
[ 74.569588] ffffffff efa38e00 c0f4abd8 f0e930bc efad1e04 00000000 00000000 00000000
[ 74.569591] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 74.569595] Call Trace:
[ 74.569601] [<c09619ed>] ? drm_mode_getconnector+0x28d/0x320
[ 74.569605] [<c0841138>] ? string+0x78/0x90
[ 74.569608] [<c0961760>] ? drm_mode_getcrtc+0x140/0x140
[ 74.569611] [<c0953819>] drm_ioctl+0x149/0x4f0
[ 74.569613] [<c0961760>] ? drm_mode_getcrtc+0x140/0x140
[ 74.569617] [<c05064a7>] ? prepare_reply+0x17/0xc0
[ 74.569620] [<c04d21ed>] ? futex_wake+0x7d/0x180
[ 74.569625] [<c0981f7e>] vmw_unlocked_ioctl+0x16e/0x270
[ 74.569627] [<c04d42b2>] ? do_futex+0x102/0x930
[ 74.569629] [<c04c64a7>] ? timekeeping_inject_offset+0x2b7/0x2c0
[ 74.569632] [<c0981e10>] ? vmw_pm_suspend+0x50/0x50
[ 74.569635] [<c05babec>] do_vfs_ioctl+0x8c/0x730
[ 74.569639] [<c05753ea>] ? handle_mm_fault+0x99a/0x1440
[ 74.569642] [<c04d4b73>] ? SyS_futex+0x93/0x160
[ 74.569645] [<c05bb2f8>] SyS_ioctl+0x68/0x80
[ 74.569647] [<c04c64a7>] ? timekeeping_inject_offset+0x2b7/0x2c0
[ 74.569649] [<c0401c4d>] do_fast_syscall_32+0x8d/0x150
[ 74.569651] [<c04c64a7>] ? timekeeping_inject_offset+0x2b7/0x2c0
[ 74.569653] [<c04c64a7>] ? timekeeping_inject_offset+0x2b7/0x2c0
[ 74.569655] [<c04c64a7>] ? timekeeping_inject_offset+0x2b7/0x2c0
[ 74.569658] [<c0c850d8>] sysenter_past_esp+0x3d/0x5d
[ 74.569660] [<c04c64a7>] ? timekeeping_inject_offset+0x2b7/0x2c0
[ 74.569662] [<c04c64a7>] ? timekeeping_inject_offset+0x2b7/0x2c0
[ 74.569663] Code: Bad EIP value.
[ 74.569667] EIP: [<00000000>] 0x0 SS:ESP 0068:efad1d34
[ 74.569669] CR2: 0000000000000000
[ 74.569729] ---[ end trace c16827c10f10024e ]---

Thanks,
Jongman.