{"id":"CVE-2021-46945","published":"2024-02-27T18:40:31Z","modified":"2026-05-11T13:44:56Z","title":"ext4: always panic when errors=panic is specified","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: always panic when errors=panic is specified\n\nBefore commit 014c9caa29d3 (\"ext4: make ext4_abort() use\n__ext4_error()\"), the following series of commands would trigger a\npanic:\n\n1. mount /dev/sda -o ro,errors=panic test\n2. mount /dev/sda -o remount,abort test\n\nAfter commit 014c9caa29d3, remounting a file system using the test\nmount option \"abort\" will no longer trigger a panic.  This commit will\nrestore the behaviour immediately before commit 014c9caa29d3.\n(However, note that the Linux kernel's behavior has not been\nconsistent; some previous kernel versions, including 5.4 and 4.19\nsimilarly did not panic after using the mount option \"abort\".)\n\nThis also makes a change to long-standing behaviour; namely, the\nfollowing series commands will now cause a panic, when previously it\ndid not:\n\n1. mount /dev/sda -o ro,errors=panic test\n2. echo test > /sys/fs/ext4/sda/trigger_fs_error\n\nHowever, this makes ext4's behaviour much more consistent, so this is\na good thing.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00222,"percentile":0.07558,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/64e1eebe2131183174f4fbb6b1491355f96c6cde","tags":[]},{"url":"https://git.kernel.org/stable/c/1e9ea8f4637026b8e965128953f2da061ccae9c4","tags":[]},{"url":"https://git.kernel.org/stable/c/ac2f7ca51b0929461ea49918f27c11b680f28995","tags":[]}],"priority":{"score":1.5,"factors":[{"name":"EPSS percentile","points":1.51}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 014c9caa29d3a44e0de695c99ef18bec3e887d52, < 64e1eebe2131183174f4fbb6b1491355f96c6cde",">= 014c9caa29d3a44e0de695c99ef18bec3e887d52, < 1e9ea8f4637026b8e965128953f2da061ccae9c4",">= 014c9caa29d3a44e0de695c99ef18bec3e887d52, < ac2f7ca51b0929461ea49918f27c11b680f28995"]},{"vendor":"Linux","product":"Linux","versions":["5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-28T17:01:37.364142Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33593","exploited":false,"provenance":"source"}}