{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-39788",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-39788",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-11T16:56:37.173Z",
    "updatedAt": "2026-05-12T12:07:01.964Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE\n\nOn Google gs101, the number of UTP transfer request slots (nutrs) is 32,\nand in this case the driver ends up programming the UTRL_NEXUS_TYPE\nincorrectly as 0.\n\nThis is because the left hand side of the shift is 1, which is of type\nint, i.e. 31 bits wide. Shifting by more than that width results in\nundefined behaviour.\n\nFix this by switching to the BIT() macro, which applies correct type\ncasting as required. This ensures the correct value is written to\nUTRL_NEXUS_TYPE (0xffffffff on gs101), and it also fixes a UBSAN shift\nwarning:\n\n    UBSAN: shift-out-of-bounds in drivers/ufs/host/ufs-exynos.c:1113:21\n    shift exponent 32 is too large for 32-bit type 'int'\n\nFor consistency, apply the same change to the nutmrs / UTMRL_NEXUS_TYPE\nwrite.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "55f4b1f73631a0817717fe6e98517de51b4c3527",
              "status": "affected",
              "versionType": "git",
              "lessThan": "01510a9e8222f11cce064410f3c2fcf0756c0a08"
            },
            {
              "version": "55f4b1f73631a0817717fe6e98517de51b4c3527",
              "status": "affected",
              "versionType": "git",
              "lessThan": "098b2c8ee208c77126839047b9e6e1925bb35baa"
            },
            {
              "version": "55f4b1f73631a0817717fe6e98517de51b4c3527",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c1f025da8f370a015e412b55cbcc583f91de8316"
            },
            {
              "version": "55f4b1f73631a0817717fe6e98517de51b4c3527",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6d53b2a134da77eb7fe65c5c7c7a3c193539a78a"
            },
            {
              "version": "55f4b1f73631a0817717fe6e98517de51b4c3527",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dc8fb963742f1a38d284946638f9358bdaa0ddee"
            },
            {
              "version": "55f4b1f73631a0817717fe6e98517de51b4c3527",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5b9f1ef293428ea9c0871d96fcec2a87c4445832"
            },
            {
              "version": "55f4b1f73631a0817717fe6e98517de51b4c3527",
              "status": "affected",
              "versionType": "git",
              "lessThan": "01aad16c2257ab8ff33b152b972c9f2e1af47912"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.9",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.9"
            },
            {
              "version": "5.10.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.190",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.149",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.103",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.44",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.16.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}