{
  "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-38415",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38415",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-25T13:32:09.711Z",
    "updatedAt": "2026-06-18T20:55:27.614Z",
    "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": "Squashfs: check return result of sb_min_blocksize",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nSquashfs: check return result of sb_min_blocksize\n\nSyzkaller reports an \"UBSAN: shift-out-of-bounds in squashfs_bio_read\" bug.\n\nSyzkaller forks multiple processes which after mounting the Squashfs\nfilesystem, issues an ioctl(\"/dev/loop0\", LOOP_SET_BLOCK_SIZE, 0x8000). \nNow if this ioctl occurs at the same time another process is in the\nprocess of mounting a Squashfs filesystem on /dev/loop0, the failure\noccurs.  When this happens the following code in squashfs_fill_super()\nfails.\n\n----\nmsblk->devblksize = sb_min_blocksize(sb, SQUASHFS_DEVBLK_SIZE);\nmsblk->devblksize_log2 = ffz(~msblk->devblksize);\n----\n\nsb_min_blocksize() returns 0, which means msblk->devblksize is set to 0.\n\nAs a result, ffz(~msblk->devblksize) returns 64, and msblk->devblksize_log2\nis set to 64.\n\nThis subsequently causes the\n\nUBSAN: shift-out-of-bounds in fs/squashfs/block.c:195:36\nshift exponent 64 is too large for 64-bit type 'u64' (aka\n'unsigned long long')\n\nThis commit adds a check for a 0 return by sb_min_blocksize().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "db7096ea160e40d78c67fce52e7cc51bde049497"
            },
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "549f9e3d7b60d53808c98b9fde49b4f46d0524a5"
            },
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5c51aa862cbeed2f3887f0382a2708956710bd68"
            },
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6abf6b78c6fb112eee495f5636ffcc350dd2ce25"
            },
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4f99357dadbf9c979ad737156ad4c37fadf7c56b"
            },
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0aff95d9bc7fb5400ca8af507429c4b067bdb425"
            },
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "295ab18c2dbce8d0ac6ecf7c5187e16e1ac8b282"
            },
            {
              "version": "0aa666190509ffab81c202c5095a166be23961ac",
              "status": "affected",
              "versionType": "git",
              "lessThan": "734aa85390ea693bb7eaf2240623d41b03705c84"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.29",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.29"
            },
            {
              "version": "5.4.295",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.239",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.186",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.142",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.94",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.34",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}