In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Disable preemption while updating GPU stats
We forgot to disable preemption around the writeseqcountbegin/end() pair while updating GPU stats:
[ ] WARNING: CPU: 2 PID: 12 at include/linux/seqlock.h:221 _seqpropassert.isra.0+0x128/0x150 [v3d] [ ] Workqueue: v3dbin drmschedrunjobwork [gpusched] <...snip...> [ ] Call trace: [ ] _seqpropassert.isra.0+0x128/0x150 [v3d] [ ] v3djobstartstats.isra.0+0x90/0x218 [v3d] [ ] v3dbinjobrun+0x23c/0x388 [v3d] [ ] drmschedrunjobwork+0x520/0x6d0 [gpusched] [ ] processonework+0x62c/0xb48 [ ] workerthread+0x468/0x5b0 [ ] kthread+0x1c4/0x1e0 [ ] retfromfork+0x10/0x20
Fix it.