{
  "id": "CVE-2025-38078",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38078",
  "published_at": "2025-06-18T09:33:52.644Z",
  "title": "ALSA: pcm: Fix race of buffer access at PCM OSS layer",
  "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\nALSA: pcm: Fix race of buffer access at PCM OSS layer\n\nThe PCM OSS layer tries to clear the buffer with the silence data at\ninitialization (or reconfiguration) of a stream with the explicit call\nof snd_pcm_format_set_silence() with runtime-\u003edma_area.  But this may\nlead to a UAF because the accessed runtime-\u003edma_area might be freed\nconcurrently, as it's performed outside the PCM ops.\n\nFor avoiding it, move the code into the PCM core and perform it inside\nthe buffer access lock, so that it won't be changed during the\noperation.",
  "cwe": "CWE-362",
  "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:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 4.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c c0e05a76fc727929524ef24a19c302e6dd40233f",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 8170d8ec4efd0be352c14cb61f374e30fb0c2a25",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 10217da9644ae75cea7330f902c35fc5ba78bbbf",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c f3e14d706ec18faf19f5a6e75060e140fea05d4a",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 74d90875f3d43f3eff0e9861c4701418795d3455",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c bf85e49aaf3a3c5775ea87369ea5f159c2148db4",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c afa56c960fcb4db37f2e3399f28e9402e4e1f470",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 93a81ca0657758b607c3f4ba889ae806be9beb73"
        ],
        "fixed_in": [
          "c0e05a76fc727929524ef24a19c302e6dd40233f",
          "8170d8ec4efd0be352c14cb61f374e30fb0c2a25",
          "10217da9644ae75cea7330f902c35fc5ba78bbbf",
          "f3e14d706ec18faf19f5a6e75060e140fea05d4a",
          "74d90875f3d43f3eff0e9861c4701418795d3455",
          "bf85e49aaf3a3c5775ea87369ea5f159c2148db4",
          "afa56c960fcb4db37f2e3399f28e9402e4e1f470",
          "93a81ca0657758b607c3f4ba889ae806be9beb73"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "5.4.294",
          "5.10.238",
          "5.15.185",
          "6.1.141",
          "6.6.93",
          "6.12.31",
          "6.14.9",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c0e05a76fc727929524ef24a19c302e6dd40233f or 8170d8ec4efd0be352c14cb61f374e30fb0c2a25 or 10217da9644ae75cea7330f902c35fc5ba78bbbf or f3e14d706ec18faf19f5a6e75060e140fea05d4a or 74d90875f3d43f3eff0e9861c4701418795d3455 or bf85e49aaf3a3c5775ea87369ea5f159c2148db4 or afa56c960fcb4db37f2e3399f28e9402e4e1f470 or 93a81ca0657758b607c3f4ba889ae806be9beb73 or later.",
      "Upgrade Linux to 0 or 5.4.294 or 5.10.238 or 5.15.185 or 6.1.141 or 6.6.93 or 6.12.31 or 6.14.9 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
