CVE-2025-37977 (GCVE-0-2025-37977)

Vulnerability from cvelistv5 – Published: 2025-05-20 16:58 – Updated: 2026-08-05 11:58
VLAI
Title
scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: exynos: Disable iocc if dma-coherent property isn't set If dma-coherent property isn't set then descriptors are non-cacheable and the iocc shareability bits should be disabled. Without this UFS can end up in an incompatible configuration and suffer from random cache related stability issues.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: cc52e15397cc5dc773d3c6792b98352d3209f93f , < 869749e48115ef944eeabec8e84138908471fa51 (git)
Affected: cc52e15397cc5dc773d3c6792b98352d3209f93f , < f0c6728a6f2e269ebb234a9b5bb6c2c24aafeb51 (git)
Affected: cc52e15397cc5dc773d3c6792b98352d3209f93f , < f92bb7436802f8eb7ee72dc911a33c8897fde366 (git)
Create a notification for this product.
Linux Linux Affected: 5.16
Unaffected: 0 , < 5.16 (semver)
Unaffected: 6.12.26 , ≤ 6.12.* (semver)
Unaffected: 6.14.4 , ≤ 6.14.* (semver)
Unaffected: 6.15 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/ufs/host/ufs-exynos.c",
            "drivers/ufs/host/ufs-exynos.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "869749e48115ef944eeabec8e84138908471fa51",
              "status": "affected",
              "version": "cc52e15397cc5dc773d3c6792b98352d3209f93f",
              "versionType": "git"
            },
            {
              "lessThan": "f0c6728a6f2e269ebb234a9b5bb6c2c24aafeb51",
              "status": "affected",
              "version": "cc52e15397cc5dc773d3c6792b98352d3209f93f",
              "versionType": "git"
            },
            {
              "lessThan": "f92bb7436802f8eb7ee72dc911a33c8897fde366",
              "status": "affected",
              "version": "cc52e15397cc5dc773d3c6792b98352d3209f93f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/ufs/host/ufs-exynos.c",
            "drivers/ufs/host/ufs-exynos.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.26",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.26",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.4",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: exynos: Disable iocc if dma-coherent property isn\u0027t set\n\nIf dma-coherent property isn\u0027t set then descriptors are non-cacheable\nand the iocc shareability bits should be disabled. Without this UFS can\nend up in an incompatible configuration and suffer from random cache\nrelated stability issues."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable code is an Exynos UFS host controller driver path programmed at probe time and exercised by ordinary block/filesystem I/O to the local storage device. There is no network-facing consumer, so reaching it requires local access to issue I/O.\nAC:L - The coherency configuration is systematically wrong on every transfer on affected platforms \u2014 not a narrow race the attacker must win \u2014 and a local process can reliably drive sustained UFS I/O plus cache pressure to surface the incoherency. No precondition lies outside the attacker\u0027s influence.\nPR:L - Any unprivileged local process can generate the UFS traffic that flows through the mismatched descriptor rings and streaming DMA mappings via normal file reads and writes. No capability or root access is needed.\nUI:N - The broken shareability programming is applied at driver probe and takes effect on all subsequent I/O; no victim action such as mounting a filesystem or opening a crafted file is required.\nS:U - The incoherent DMA is confined to buffers the kernel itself mapped for the UFS controller, so the impact stays within the kernel/OS security authority. It is a cache shareability attribute mismatch, not an IOMMU or DMA-boundary bypass.\nC:H - With DMA_FROM_DEVICE the post-transfer invalidate can discard the device-written line, leaving the CPU to read the physical page\u0027s prior contents \u2014 previously freed kernel or other-process memory \u2014 and return it to userspace as file data. The driver likewise consumes stale device-written response UPIU and sense data from non-cacheable descriptor memory.\nI:H - Device writes can be dropped and stale cache contents flushed to the storage device, corrupting file data and filesystem metadata on the primary boot medium, and the driver acts on stale descriptor/status fields it believes the controller wrote.\nA:H - The commit explicitly cites random cache-related stability issues; incoherent UTRD/UTMRD rings lead to misparsed completions, I/O timeouts, controller resets, hangs and kernel crashes on the root storage device."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:58:43.660Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/869749e48115ef944eeabec8e84138908471fa51"
        },
        {
          "url": "https://git.kernel.org/stable/c/f0c6728a6f2e269ebb234a9b5bb6c2c24aafeb51"
        },
        {
          "url": "https://git.kernel.org/stable/c/f92bb7436802f8eb7ee72dc911a33c8897fde366"
        }
      ],
      "title": "scsi: ufs: exynos: Disable iocc if dma-coherent property isn\u0027t set",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-37977",
    "datePublished": "2025-05-20T16:58:20.693Z",
    "dateReserved": "2025-04-16T04:51:23.975Z",
    "dateUpdated": "2026-08-05T11:58:43.660Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-37977",
      "date": "2026-08-06",
      "epss": "0.00161",
      "percentile": "0.05678"
    },
    "microsoft_vex": {
      "current_release_date": "2026-02-18T01:38:59.000Z",
      "cve": "CVE-2025-37977",
      "id": "msrc_CVE-2025-37977",
      "initial_release_date": "2025-05-02T00:00:00.000Z",
      "product_status:known_not_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "scsi: ufs: exynos: Disable iocc if dma-coherent property isn\u0027t set",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2025-37977.json",
      "version": "2"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-37977\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-20T17:15:48.320\",\"lastModified\":\"2026-07-30T06:22:41.270\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: ufs: exynos: Disable iocc if dma-coherent property isn\u0027t set\\n\\nIf dma-coherent property isn\u0027t set then descriptors are non-cacheable\\nand the iocc shareability bits should be disabled. Without this UFS can\\nend up in an incompatible configuration and suffer from random cache\\nrelated stability issues.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: ufs: exynos: Deshabilitar iocc si la propiedad dma-coherent no est\u00e1 establecida. Si la propiedad dma-coherent no est\u00e1 establecida, los descriptores no se pueden almacenar en cach\u00e9 y los bits de compartici\u00f3n de iocc deben estar deshabilitados. Sin esto, UFS puede terminar en una configuraci\u00f3n incompatible y sufrir problemas de estabilidad aleatorios relacionados con la cach\u00e9.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/ufs/host/ufs-exynos.c\",\"drivers/ufs/host/ufs-exynos.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"cc52e15397cc5dc773d3c6792b98352d3209f93f\",\"lessThan\":\"869749e48115ef944eeabec8e84138908471fa51\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"cc52e15397cc5dc773d3c6792b98352d3209f93f\",\"lessThan\":\"f0c6728a6f2e269ebb234a9b5bb6c2c24aafeb51\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"cc52e15397cc5dc773d3c6792b98352d3209f93f\",\"lessThan\":\"f92bb7436802f8eb7ee72dc911a33c8897fde366\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/ufs/host/ufs-exynos.c\",\"drivers/ufs/host/ufs-exynos.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.16\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.16\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.26\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.14.4\",\"lessThanOrEqual\":\"6.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.15\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.12.26\",\"matchCriteriaId\":\"5A259054-CC63-4AE5-8BEB-9ACF595750B1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.13\",\"versionEndExcluding\":\"6.14.4\",\"matchCriteriaId\":\"29FA1A8E-1C2A-4B0B-B397-2C915ECDEDEE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"8D465631-2980-487A-8E65-40AE2B9F8ED1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"4C9D071F-B28E-46EC-AC61-22B913390211\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/869749e48115ef944eeabec8e84138908471fa51\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f0c6728a6f2e269ebb234a9b5bb6c2c24aafeb51\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f92bb7436802f8eb7ee72dc911a33c8897fde366\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-07-30T09:22:51+00:00",
      "cve": "CVE-2025-37977",
      "id": "CVE-2025-37977",
      "initial_release_date": "2025-05-20T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: scsi: ufs: exynos: Disable iocc if dma-coherent property isn\u0027t set",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-37977.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-25T00:53:36Z",
      "cve": "CVE-2025-37977",
      "id": "CVE-2025-37977",
      "initial_release_date": "2025-05-21T00:46:00Z",
      "product_status:known_affected": "57",
      "product_status:known_not_affected": "226",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-37977",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-37977.json",
      "version": "20"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…