CVE-2025-37907

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37907
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37907.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37907
Downstream
Published
2025-05-20T15:21:40Z
Modified
2025-10-10T10:29:23.183153Z
Summary
accel/ivpu: Fix locking order in ivpu_job_submit
Details

In the Linux kernel, the following vulnerability has been resolved:

accel/ivpu: Fix locking order in ivpujobsubmit

Fix deadlock in job submission and abort handling. When a thread aborts currently executing jobs due to a fault, it first locks the global lock protecting submitted_jobs (#1).

After the last job is destroyed, it proceeds to release the related context and locks filepriv (#2). Meanwhile, in the job submission thread, the filepriv lock (#2) is taken first, and then the submitted_jobs lock (#1) is obtained when a job is added to the submitted jobs list.

   CPU0                            CPU1
   ----                            ----

(for example due to a fault) (jobs submissions keep coming)

lock(&vdev->submittedjobslock) #1 ivpujobsabortall() jobdestroy() lock(&filepriv->lock) #2 lock(&vdev->submittedjobslock) #1 fileprivrelease() lock(&vdev->contextlistlock) lock(&filepriv->lock) #2

This order of locking causes a deadlock. To resolve this issue, change the order of locking in ivpujobsubmit().

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
35b137630f08d913fc2e33df33ccc2570dff3f7d
Fixed
079d2622f8c9e0c380149645fff21d35c59ce6ff
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
35b137630f08d913fc2e33df33ccc2570dff3f7d
Fixed
b9b70924a272c2d72023306bc56f521c056212ee
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
35b137630f08d913fc2e33df33ccc2570dff3f7d
Fixed
ab680dc6c78aa035e944ecc8c48a1caab9f39924

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.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rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.12.28
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.6