Commit 28ae3c0
drm/virtio: process virtgpu bo before bo free
during virtio_gpu_cleanup_object, bo is accessed after freeing bo.
this patch is to avoid buffer use-after-free.
Tracked-On: OAM-131753
Signed-off-by: Xue, Bosheng <bosheng.xue@intel.com>1 parent c8fcb93 commit 28ae3c0
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| |||
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
| |||
0 commit comments