{
  "id": "CVE-2025-38095",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38095",
  "published_at": "2025-07-03T07:44:18.214Z",
  "title": "dma-buf: insert memory barrier before updating num_fences",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 originally aiming so Null\npointer dereference can be happened if memory update is reordered.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a590d0fdbaa56f482ff515e1040b6d9b1b200d63, \u003c 90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f",
          "\u003e= a590d0fdbaa56f482ff515e1040b6d9b1b200d63, \u003c d0b7f11dd68b593bd970e5735be00e8d89bace30",
          "\u003e= a590d0fdbaa56f482ff515e1040b6d9b1b200d63, \u003c 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f",
          "\u003e= a590d0fdbaa56f482ff515e1040b6d9b1b200d63, \u003c c9d2b9a80d06a58f37e0dc8c827075639b443927",
          "\u003e= a590d0fdbaa56f482ff515e1040b6d9b1b200d63, \u003c fe1bebd0edb22e3536cbc920ec713331d1367ad4",
          "\u003e= a590d0fdbaa56f482ff515e1040b6d9b1b200d63, \u003c 08680c4dadc6e736c75bc2409d833f03f9003c51",
          "\u003e= a590d0fdbaa56f482ff515e1040b6d9b1b200d63, \u003c 72c7d62583ebce7baeb61acce6057c361f73be4a"
        ],
        "fixed_in": [
          "90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f",
          "d0b7f11dd68b593bd970e5735be00e8d89bace30",
          "3becc659f9cb76b481ad1fb71f54d5c8d6332d3f",
          "c9d2b9a80d06a58f37e0dc8c827075639b443927",
          "fe1bebd0edb22e3536cbc920ec713331d1367ad4",
          "08680c4dadc6e736c75bc2409d833f03f9003c51",
          "72c7d62583ebce7baeb61acce6057c361f73be4a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.0"
        ],
        "fixed_in": [
          "0",
          "5.10.241",
          "5.15.192",
          "6.1.140",
          "6.6.92",
          "6.12.30",
          "6.14.8",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 90eb79c4ed98a4e24a62ccf61c199ab0f680fa8f or d0b7f11dd68b593bd970e5735be00e8d89bace30 or 3becc659f9cb76b481ad1fb71f54d5c8d6332d3f or c9d2b9a80d06a58f37e0dc8c827075639b443927 or fe1bebd0edb22e3536cbc920ec713331d1367ad4 or 08680c4dadc6e736c75bc2409d833f03f9003c51 or 72c7d62583ebce7baeb61acce6057c361f73be4a or later.",
      "Upgrade Linux to 0 or 5.10.241 or 5.15.192 or 6.1.140 or 6.6.92 or 6.12.30 or 6.14.8 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
