CVE-2024-46699

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46699
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46699.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46699
Downstream
Published
2024-09-13T05:29:25Z
Modified
2025-10-17T11:51:11.652193Z
Summary
drm/v3d: Disable preemption while updating GPU stats
Details

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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6abe93b621ab12e93cf0eb7e42a609b36be32da1
Fixed
1e93467ef20308da5a94cde548ee17d523e8ba7b
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6abe93b621ab12e93cf0eb7e42a609b36be32da1
Fixed
9d824c7fce58f59982228aa85b0376b113cdfa35

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.10.3
v6.10.4
v6.10.5
v6.10.6
v6.10.7
v6.11-rc1
v6.9
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.8