{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "46c7f254543dedcf134ad05091ed2b935a9a597d"
            },
            {
              "fixed": "3462a3f0716d27af51896dc8688bcf0628fb17ee"
            },
            {
              "fixed": "636e8d85a36ab6c31aafd04ee66a69b18eebee7b"
            },
            {
              "fixed": "af25a6affeac4919e8d8c5cccc01a9d53478447e"
            },
            {
              "fixed": "65c6c30ce6362c1c684568744ea510c921a756cd"
            },
            {
              "fixed": "d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed"
            },
            {
              "fixed": "823849a26af089ffc5dfdd2ae4b9d446b46a0cda"
            },
            {
              "fixed": "a7d600e04732a7d29b107c91fe3aec64cf6ce7f2"
            },
            {
              "fixed": "356227096eb66e41b23caf7045e6304877322edf"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.8.0"
            },
            {
              "fixed": "5.10.260"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.211"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.177"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.131"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.80"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.21"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31451.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: replace BUG_ON with proper error handling in ext4_read_inline_folio\n\nReplace BUG_ON() with proper error handling when inline data size\nexceeds PAGE_SIZE. This prevents kernel panic and allows the system to\ncontinue running while properly reporting the filesystem corruption.\n\nThe error is logged via ext4_error_inode(), the buffer head is released\nto prevent memory leak, and -EFSCORRUPTED is returned to indicate\nfilesystem corruption.",
  "id": "CVE-2026-31451",
  "modified": "2026-07-08T05:36:32.817762602Z",
  "published": "2026-04-22T13:53:46.243Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3462a3f0716d27af51896dc8688bcf0628fb17ee"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/356227096eb66e41b23caf7045e6304877322edf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/636e8d85a36ab6c31aafd04ee66a69b18eebee7b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65c6c30ce6362c1c684568744ea510c921a756cd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/823849a26af089ffc5dfdd2ae4b9d446b46a0cda"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a7d600e04732a7d29b107c91fe3aec64cf6ce7f2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/af25a6affeac4919e8d8c5cccc01a9d53478447e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31451.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31451"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio"
}