{"id":"CVE-2025-38095","title":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf: insert memory barrier before updating num_fences\n\nsmp_store_mb() inserts memory barrier after storing operation.\nIt is different with what the comment is origi…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf: insert memory barrier before updating num_fences\n\nsmp_store_mb() inserts memory barrier after storing operation.\nIt is different with what the comment is origi…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-476","CWE-821"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 5.0, < 5.10.241","linux_kernel >= 5.11, < 5.15.192","linux_kernel >= 5.16, < 6.1.140","linux_kernel >= 6.2, < 6.6.92","linux_kernel >= 6.7, < 6.12.30","linux_kernel >= 6.13, < 6.14.8","linux_kernel = 6.15","debian_linux = 11.0"],"patched":["linux_kernel 6.14.8"],"published":"2025-07-03","updated":"2026-10-15","sourceUpdated":"2026-10-15T22:18:26.540","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-38095","references":[{"url":"https://git.kernel.org/stable/c/08680c4dadc6e736c75bc2409d833f03f9003c51","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3becc659f9cb76b481ad1fb71f54d5c8d6332d3f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/72c7d62583ebce7baeb61acce6057c361f73be4a","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c9d2b9a80d06a58f37e0dc8c827075639b443927","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d0b7f11dd68b593bd970e5735be00e8d89bace30","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fe1bebd0edb22e3536cbc920ec713331d1367ad4","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-38095.json"},{"url":"https://access.redhat.com/security/cve/CVE-2025-38095"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2376026"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-38095"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38095"},{"url":"https://lore.kernel.org/linux-cve-announce/2025070340-CVE-2025-38095-6596@gregkh/T"}],"tags":["nvd","csaf","vex","red-hat","cve.org","score-dispute"],"epss":0.0021,"epssPercentile":0.1115,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:47:18.378470Z"},"scores":{"nvd":7.8,"vendor":5.5,"cna":7.8},"ingestedAt":"2026-10-15T22:48:25.492Z","slug":"CVE-2025-38095","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf: insert memory barrier before updating num_fences\n\nsmp_store_mb() inserts memory barrier after storing operation.\nIt is different with what the comment is originally aiming so Null\npointer dereference can be happened if memory update is reordered.\n\n## Affected\n\n- `linux_kernel >= 5.0, < 5.10.241`\n- `linux_kernel >= 5.11, < 5.15.192`\n- `linux_kernel >= 5.16, < 6.1.140`\n- `linux_kernel >= 6.2, < 6.6.92`\n- `linux_kernel >= 6.7, < 6.12.30`\n- `linux_kernel >= 6.13, < 6.14.8`\n- `linux_kernel = 6.15`\n- `debian_linux = 11.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.14.8`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-38095.json)","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":230039,"id":"CVE-2025-38095","ts":1793124773251,"field":"cvss","old":"5.5","new":"7.8"},{"seq":230038,"id":"CVE-2025-38095","ts":1793124773251,"field":"severity","old":"medium","new":"high"},{"seq":223731,"id":"CVE-2025-38095","ts":1792238379098,"field":"cvss","old":"7.8","new":"5.5"},{"seq":223730,"id":"CVE-2025-38095","ts":1792238379098,"field":"severity","old":"high","new":"medium"}]}