[Bug 73931] rmmod radeon and kernel crash

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Fri Jun 8 10:41:05 UTC 2018


https://bugzilla.kernel.org/show_bug.cgi?id=73931

Mateusz Lenik (mlen at mlen.pl) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mlen at mlen.pl

--- Comment #11 from Mateusz Lenik (mlen at mlen.pl) ---
Same issue for amdgpu after unbind (not sure if this should be a separate bug):

rook ~ ➤ ls -l /sys/class/hwmon/hwmon1/device
lrwxrwxrwx 1 root root 0 cze  8 12:32 /sys/class/hwmon/hwmon1/device ->
../../../0000:03:00.0
rook ~ ➤ cat /sys/class/hwmon/hwmon1/fan1_input   
[1]    9145 killed     cat /sys/class/hwmon/hwmon1/fan1_input

Reading fan1_input causes an OOPS:
[  590.507564] BUG: unable to handle kernel NULL pointer dereference at
00000000000000b8
[  590.507584] IP: amdgpu_hwmon_get_fan1_input+0x33/0x84
[  590.507587] PGD 0 P4D 0 
[  590.507593] Oops: 0000 [#4] PREEMPT SMP PTI
[  590.507597] Modules linked in:
[  590.507610] CPU: 39 PID: 9222 Comm: cat Tainted: G      D         
4.16.14-gentoo #3
[  590.507613] Hardware name: ASUSTeK COMPUTER INC. Z10PE-D16 WS/Z10PE-D16 WS,
BIOS 3407 03/10/2017
[  590.507617] RIP: 0010:amdgpu_hwmon_get_fan1_input+0x33/0x84
[  590.507620] RSP: 0018:ffff97790d2dfd68 EFLAGS: 00010246
[  590.507624] RAX: 0000000000000000 RBX: ffff9147b5cd3000 RCX:
ffff9137b5428ac8
[  590.507627] RDX: ffff9137b5aa0000 RSI: ffffffffbbb3e1c0 RDI:
ffff9137b55f7008
[  590.507630] RBP: fffffffffffffffb R08: 0000000000000001 R09:
0000000000000000
[  590.507633] R10: ffff9137af38d400 R11: 0000000000000000 R12:
ffffffffbb30d000
[  590.507636] R13: ffff9147b590d400 R14: ffff91476a16db00 R15:
0000000000000001
[  590.507639] FS:  00007f3838cbe540(0000) GS:ffff9147bf400000(0000)
knlGS:0000000000000000
[  590.507641] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  590.507643] CR2: 00000000000000b8 CR3: 0000002023776005 CR4:
00000000003606e0
[  590.507645] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[  590.507647] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[  590.507649] Call Trace:
[  590.507660]  dev_attr_show+0x23/0x44
[  590.507668]  sysfs_kf_seq_show+0x7f/0xce
[  590.507676]  seq_read+0x1c1/0x3d1
[  590.507687]  __vfs_read+0x33/0xcc
[  590.507693]  vfs_read+0x9a/0xcf
[  590.507696]  SyS_read+0x5f/0xa3
[  590.507703]  do_syscall_64+0x79/0x88
[  590.507711]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[  590.507715] RIP: 0033:0x7f38387f8b75
[  590.507718] RSP: 002b:00007ffff2570970 EFLAGS: 00000246 ORIG_RAX:
0000000000000000
[  590.507721] RAX: ffffffffffffffda RBX: 0000000000020000 RCX:
00007f38387f8b75
[  590.507723] RDX: 0000000000020000 RSI: 00007f3838cd0000 RDI:
0000000000000003
[  590.507725] RBP: 0000000000020000 R08: 00000000ffffffff R09:
0000000000000000
[  590.507727] R10: 000000000000039b R11: 0000000000000246 R12:
00007f3838cd0000
[  590.507729] R13: 0000000000000003 R14: 00007f3838cd000f R15:
0000000000020000
[  590.507738] Code: d3 48 83 ec 10 48 8b 97 18 01 00 00 65 48 8b 04 25 28 00
00 00 48 89 44 24 08 31 c0 c7 44 24 04 00 00 00 00 48 8b 82 08 49 00 00 <48> 8b
80 b8 00 00 00 48 85 c0 74 15 48 8b ba f8 48 00 00 48 8d 
[  590.507821] RIP: amdgpu_hwmon_get_fan1_input+0x33/0x84 RSP: ffff97790d2dfd68
[  590.507824] CR2: 00000000000000b8
[  590.507830] ---[ end trace eaed7563e433ab4e ]---

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the dri-devel mailing list