{
  "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-40049",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40049",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-28T11:48:25.862Z",
    "updatedAt": "2026-05-11T21:41:29.576Z",
    "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: fix uninit-value in squashfs_get_parent",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nSquashfs: fix uninit-value in squashfs_get_parent\n\nSyzkaller reports a \"KMSAN: uninit-value in squashfs_get_parent\" bug.\n\nThis is caused by open_by_handle_at() being called with a file handle\ncontaining an invalid parent inode number.  In particular the inode number\nis that of a symbolic link, rather than a directory.\n\nSquashfs_get_parent() gets called with that symbolic link inode, and\naccesses the parent member field.\n\n\tunsigned int parent_ino = squashfs_i(inode)->parent;\n\nBecause non-directory inodes in Squashfs do not have a parent value, this\nis uninitialised, and this causes an uninitialised value access.\n\nThe fix is to initialise parent with the invalid inode 0, which will cause\nan EINVAL error to be returned.\n\nRegular inodes used to share the parent field with the block_list_start\nfield.  This is removed in this commit to enable the parent field to\ncontain the invalid inode number 0.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f81a5bc9e924ee1950e0dd82bd10749048390f6e"
            },
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "382a47fae449e554ef1e8c198667fd2f3270b945"
            },
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "61d38b5ce2782bff3cacaacbb8164087a73ed1a5"
            },
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "81a2bca52d43fc9d9abf07408b91255131c5dc53"
            },
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c28b0ca029edf5d0558abcd76cb8c732706cd339"
            },
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1b3ccd0019132880c94bb00ca7088c1749308f82"
            },
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "91b99db7a92e57ff48a96a1b10fddfd2547e7f53"
            },
            {
              "version": "122601408d20c77704268f1dea9f9ce4abf997c2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "74058c0a9fc8b2b4d5f4a0ef7ee2cfa66a9e49cf"
            }
          ]
        },
        {
          "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.301",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.246",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.195",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.156",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.53",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}