{"id":"CVE-2021-47342","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix possible UAF when remounting r/o a mmp-protected file system\n\nAfter commit 618f003199c6 (\"ext4: fix memory leak in\next4_fill_super\"), after the file system is remounted read-only, there\nis a race where the kmmpd thread can exit, causing sbi-\u003es_mmp_tsk to\npoint at freed memory, which the call to ext4_stop_mmpd() can trip\nover.\n\nFix this by only allowing kmmpd() to exit when it is stopped via\next4_stop_mmpd().\n\nBug-Report-Link: \u003c20210629143603.2166962-1-yebin10@huawei.com\u003e","modified":"2026-03-13T05:20:43.366880Z","published":"2024-05-21T15:15:20.923Z","references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/61bb4a1c417e5b95d9edb4f887f131de32e419cb"},{"type":"FIX","url":"https://git.kernel.org/stable/c/7ed572cdf11081f8f9e07abd4bea56a3f2c4edbd"},{"type":"FIX","url":"https://git.kernel.org/stable/c/b663890d854403e566169f7e90aed5cd6ff64f6b"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"5.10.77"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.13.3"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47342.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}