{
  "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-2026-23097",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-23097",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-02-04T16:08:19.815Z",
    "updatedAt": "2026-10-19T18:25:30.652Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "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": "migrate: correct lock ordering for hugetlb file folios",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmigrate: correct lock ordering for hugetlb file folios\n\nSyzbot has found a deadlock (analyzed by Lance Yang):\n\n1) Task (5749): Holds folio_lock, then tries to acquire i_mmap_rwsem(read lock).\n2) Task (5754): Holds i_mmap_rwsem(write lock), then tries to acquire\nfolio_lock.\n\nmigrate_pages()\n  -> migrate_hugetlbs()\n    -> unmap_and_move_huge_page()     <- Takes folio_lock!\n      -> remove_migration_ptes()\n        -> __rmap_walk_file()\n          -> i_mmap_lock_read()       <- Waits for i_mmap_rwsem(read lock)!\n\nhugetlbfs_fallocate()\n  -> hugetlbfs_punch_hole()           <- Takes i_mmap_rwsem(write lock)!\n    -> hugetlbfs_zero_partial_page()\n     -> filemap_lock_hugetlb_folio()\n      -> filemap_lock_folio()\n        -> __filemap_get_folio        <- Waits for folio_lock!\n\nThe migration path is the one taking locks in the wrong order according to\nthe documentation at the top of mm/rmap.c.  So expand the scope of the\nexisting i_mmap_lock to cover the calls to remove_migration_ptes() too.\n\nThis is (mostly) how it used to be after commit c0d0381ade79.  That was\nremoved by 336bf30eb765 for both file & anon hugetlb pages when it should\nonly have been removed for anon hugetlb pages.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "336bf30eb76580b579dc711ded5d599d905c0217",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e7396d23f9d5739f56cf9ab430c3a169f5508394"
            },
            {
              "version": "336bf30eb76580b579dc711ded5d599d905c0217",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ad97b9a55246eb940a26ac977f80892a395cabf9"
            },
            {
              "version": "336bf30eb76580b579dc711ded5d599d905c0217",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5edb9854f8df5428b40990a1c7d60507da5bd330"
            },
            {
              "version": "336bf30eb76580b579dc711ded5d599d905c0217",
              "status": "affected",
              "versionType": "git",
              "lessThan": "526394af4e8ade89cacd1a9ce2b97712712fcc34"
            },
            {
              "version": "336bf30eb76580b579dc711ded5d599d905c0217",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b75070823b89009f5123fd0e05a8e0c3d39937c1"
            },
            {
              "version": "336bf30eb76580b579dc711ded5d599d905c0217",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1b68efce6dd483d22f50d0d3800c4cfda14b1305"
            },
            {
              "version": "336bf30eb76580b579dc711ded5d599d905c0217",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b7880cb166ab62c2409046b2347261abf701530e"
            },
            {
              "version": "ef792d6ce0db6a56e56743b1de1716a982c3b851",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5.9.9",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.10",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.10"
            },
            {
              "version": "5.10.249",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.199",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.162",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.122",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.68",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "6.19",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}