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:25.995Z
Modified
2025-11-28T02:34:47.091843Z
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46699.json"
}
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
Fixed
9d824c7fce58f59982228aa85b0376b113cdfa35

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.8