Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2021-47342
HistoryMay 21, 2024 - 3:15 p.m.

CVE-2021-47342

2024-05-2115:15:20
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
1
linux kernel
vulnerability
ext4
uaf
memory leak
mmp-protected
file system
race
kmmpd
memory
ext4_stop_mmpd

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.6%

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix possible UAF when remounting r/o a mmp-protected file system

After commit 618f003199c6 (“ext4: fix memory leak in
ext4_fill_super”), after the file system is remounted read-only, there
is a race where the kmmpd thread can exit, causing sbi->s_mmp_tsk to
point at freed memory, which the call to ext4_stop_mmpd() can trip
over.

Fix this by only allowing kmmpd() to exit when it is stopped via
ext4_stop_mmpd().

Bug-Report-Link: <[email protected]>

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.6%