{"id":"CVE-2026-31451","summary":"ext4: replace BUG_ON with proper error handling in ext4_read_inline_folio","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.","modified":"2026-06-18T03:54:33.076844665Z","published":"2026-04-22T13:53:46.243Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31451.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/356227096eb66e41b23caf7045e6304877322edf"},{"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/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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"46c7f254543dedcf134ad05091ed2b935a9a597d"},{"fixed":"65c6c30ce6362c1c684568744ea510c921a756cd"},{"fixed":"d4b3f370c3d8f7ce565d4a718572c9f7c12f77ed"},{"fixed":"823849a26af089ffc5dfdd2ae4b9d446b46a0cda"},{"fixed":"a7d600e04732a7d29b107c91fe3aec64cf6ce7f2"},{"fixed":"356227096eb66e41b23caf7045e6304877322edf"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31451.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.8.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"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31451.json"}}],"schema_version":"1.7.5"}