7.8high
dma-buf: insert memory barrier before updating num_fences
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: dma-buf: insert memory barrier before updating num_fences smp_store_mb() inserts memory barrier after storing operation. It is different with what the comment is originally aiming so Null pointer dereference can be happened if memory update is reordered.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a590d0fdbaa56f482ff515e1040b6d9b1b200d63 before 90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f, from a590d0fdbaa56f482ff515e1040b6d9b1b200d63 before d0b7f11dd68b593bd970e5735be00e8d89bace30, from a590d0fdbaa56f482ff515e1040b6d9b1b200d63 before 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f, from a590d0fdbaa56f482ff515e1040b6d9b1b200d63 before c9d2b9a80d06a58f37e0dc8c827075639b443927, from a590d0fdbaa56f482ff515e1040b6d9b1b200d63 before fe1bebd0edb22e3536cbc920ec713331d1367ad4, from a590d0fdbaa56f482ff515e1040b6d9b1b200d63 before 08680c4dadc6e736c75bc2409d833f03f9003c51, from a590d0fdbaa56f482ff515e1040b6d9b1b200d63 before 72c7d62583ebce7baeb61acce6057c361f73be4a, 5.0 Not affected: before 5.0, from 5.10.241 up to 5.10.*, from 5.15.192 up to 5.15.*, from 6.1.140 up to 6.1.*, from 6.6.92 up to 6.6.*, from 6.12.30 up to 6.12.* | CVE List |
| linux linux_kernel | from 5.0 before 5.10.241, from 5.11 before 5.15.192, from 5.16 before 6.1.140, from 6.2 before 6.6.92, from 6.7 before 6.12.30, from 6.13 before 6.14.8, 6.15 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: dma-buf: insert memory barrier before updating num_fences smp_store_mb() inserts memory barrier after storing operation. It is different with what the comment is originally aiming so Null pointer dereference can be happened if memory update is reordered.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dma-buf: inserta una barrera de memoria antes de actualizar num_fences. smp_store_mb() inserta una barrera de memoria después de la operación de almacenamiento. Esto difiere del objetivo original del comentario, por lo que puede producirse una desreferencia de puntero nulo si se reordena la actualización de memoria.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38095 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-38095 changed 2026-10-15 | Public domain |