Philip Yang
d7eff46c21
drm/amdgpu: fix fdinfo race with process exit
...
Get process vm root BO ref in case process is exiting and root BO is
freed, to avoid NULL pointer dereference backtrace:
BUG: unable to handle kernel NULL pointer dereference at
0000000000000000
Call Trace:
amdgpu_show_fdinfo+0xfe/0x2a0 [amdgpu]
seq_show+0x12c/0x180
seq_read+0x153/0x410
vfs_read+0x91/0x140[ 3427.206183] ksys_read+0x4f/0xb0
do_syscall_64+0x5b/0x1a0
entry_SYSCALL_64_after_hwframe+0x65/0xca
Signed-off-by: Philip Yang <Philip.Yang@amd.com >
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-08-31 14:20:40 -04:00
..
2021-07-05 14:08:24 -07:00
2021-08-11 08:47:08 +10:00
2021-07-21 11:53:42 +02:00
2021-07-10 09:22:44 -07:00
2021-06-30 15:51:09 -07:00
2021-08-11 08:47:08 +10:00
2021-07-21 11:53:42 +02:00
2021-07-21 17:20:43 +02:00
2021-07-05 14:08:24 -07:00
2021-08-11 08:47:08 +10:00
2021-06-30 15:34:19 -06:00
2021-07-13 19:21:41 -05:00
2021-07-12 10:52:03 +02:00
2021-07-01 13:26:16 -07:00
2021-07-05 14:01:53 -07:00
2021-06-13 17:00:18 +01:00
2021-07-13 11:53:07 -05:00
2021-06-30 14:56:51 +02:00
2021-07-10 09:22:44 -07:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-06-24 10:37:35 +09:00
2021-07-21 11:53:42 +02:00
2021-08-12 09:27:22 +02:00
2021-07-15 11:59:59 -07:00
2021-07-05 13:42:16 -07:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-07-21 11:53:42 +02:00
2021-07-05 12:10:34 -07:00
2021-08-31 14:20:40 -04:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-07-05 13:42:16 -07:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-07-21 11:53:42 +02:00
2021-07-05 14:01:53 -07:00
2021-07-03 11:13:22 -07:00
2021-07-21 11:53:42 +02:00
2021-06-22 22:03:25 +02:00
2021-07-15 13:57:31 -07:00
2021-07-21 11:53:42 +02:00
2021-07-09 15:35:13 +02:00
2021-07-05 14:08:24 -07:00
2021-07-03 11:57:42 -07:00
2021-07-21 11:53:42 +02:00
2021-06-26 12:06:48 -05:00
2021-07-21 11:53:42 +02:00
2021-06-30 18:19:39 -07:00
2021-08-11 08:47:08 +10:00
2021-06-16 17:36:30 -07:00
2021-07-21 11:53:42 +02:00
2021-06-22 23:00:01 -04:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-08-11 08:47:08 +10:00
2021-07-12 11:15:28 -05:00
2021-08-11 08:47:08 +10:00
2021-06-18 12:57:30 -07:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-24 12:57:06 -07:00
2021-07-05 13:42:16 -07:00
2021-07-03 10:54:08 -07:00
2021-06-18 09:00:55 +05:30
2021-07-01 11:06:04 -07:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-06-17 19:45:24 +01:00
2021-07-05 14:16:22 -07:00
2021-07-01 16:57:14 -07:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-13 14:50:47 -05:00
2021-07-08 12:33:10 -07:00
2021-07-08 16:09:30 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 12:37:49 -07:00
2021-07-07 10:50:03 -07:00
2021-07-10 09:46:20 -07:00
2021-07-21 11:53:42 +02:00
2021-07-10 16:19:10 -07:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-05 13:42:16 -07:00
2021-08-11 08:47:08 +10:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-06-28 20:03:38 -07:00
2021-07-10 11:43:25 -07:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-07-21 11:53:42 +02:00
2021-08-11 08:47:08 +10:00
2021-07-08 07:49:01 -04:00
2021-07-27 17:18:26 +02:00
2021-06-24 15:48:27 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-07-07 12:57:46 -07:00
2021-07-21 11:53:42 +02:00
2021-07-21 11:53:42 +02:00
2021-06-16 08:53:58 -06:00
2021-06-29 11:21:35 -07:00