Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38515

MEDIUM 4.7EPSS 11%

drm/sched: Increment job count before swapping tail spsc queue

Mitigation

  • Upgrade Linux to 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee or later.

Who should check

  • Anyone running Linux >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e62f51d0ec8a9baf324caf9a564f8e318d36a551; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef841f8e4e1ff67817ca899bedc5ebb00847c0a7; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < f9a4f28a4fc4ee453a92a9abbe36e26224d17749; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < c64f5310530baf75328292f9b9f3f2961d185183; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e2d6547dc8b9b332f9bc00875197287a6a4db65a; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef58a95457466849fa7b31fd3953801a5af0f58b; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee
  • Anyone running Linux 4.16

Vulnerability facts

Affected
Linux >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e62f51d0ec8a9baf324caf9a564f8e318d36a551; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef841f8e4e1ff67817ca899bedc5ebb00847c0a7; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < f9a4f28a4fc4ee453a92a9abbe36e26224d17749; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < c64f5310530baf75328292f9b9f3f2961d185183; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e2d6547dc8b9b332f9bc00875197287a6a4db65a; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef58a95457466849fa7b31fd3953801a5af0f58b; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee; Linux 4.16
Fixed in
Linux 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0, Linux 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/sched: Increment job count before swapping tail spsc queue A small race exists between spsc_queue_push and the run-job worker, in which spsc_queue_push may return not-first while the run-job worker has already idled due to the job count being zero. If this race occurs, job scheduling stops, leading to hangs while waiting on the job’s DMA fences. Seal this race by incrementing the job count before appending to the SPSC queue. This race was observed on a drm-tip 6.16-rc1 build with the Xe driver in an SVM test case.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 27105db6c63a571b91d01e749d026105a1e63bcf, < 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e62f51d0ec8a9baf324caf9a564f8e318d36a551; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef841f8e4e1ff67817ca899bedc5ebb00847c0a7; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < f9a4f28a4fc4ee453a92a9abbe36e26224d17749; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < c64f5310530baf75328292f9b9f3f2961d185183; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e2d6547dc8b9b332f9bc00875197287a6a4db65a; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef58a95457466849fa7b31fd3953801a5af0f58b; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee—cvelist
Linux4.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38515. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38515.md
Affected: Linux >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e62f51d0ec8a9baf324caf9a564f8e318d36a551; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef841f8e4e1ff67817ca899bedc5ebb00847c0a7; >= 27105db6c63a571b91d01e7…
Fixed in: Linux 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0, Linux 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38515 being exploited?

There is no confirmed exploitation: CVE-2025-38515 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38515?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-38515?

Linux >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e62f51d0ec8a9baf324caf9a564f8e318d36a551; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef841f8e4e1ff67817ca899bedc5ebb00847c0a7; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < f9a4f28a4fc4ee453a92a9abbe36e26224d17749; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < c64f5310530baf75328292f9b9f3f2961d185183; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < e2d6547dc8b9b332f9bc00875197287a6a4db65a; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < ef58a95457466849fa7b31fd3953801a5af0f58b; >= 27105db6c63a571b91d01e749d026105a1e63bcf, < 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee; Linux 4.16.

Is there a fix for CVE-2025-38515?

Yes. Fixed in Linux 549a9c78c3ea6807d0dc4162a4f5ba59f217d5a0, Linux 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee. Upgrade Linux to 8af39ec5cf2be522c8eb43a3d8005ed59e4daaee or later.

How do I check if I'm affected by CVE-2025-38515?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors