CVE-2022-49408
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ext4: fix memory leak in parse_apply_sb_mount_options()<br />
<br />
If processing the on-disk mount options fails after any memory was<br />
allocated in the ext4_fs_context, e.g. s_qf_names, then this memory is<br />
leaked. Fix this by calling ext4_fc_free() instead of kfree() directly.<br />
<br />
Reproducer:<br />
<br />
mkfs.ext4 -F /dev/vdc<br />
tune2fs /dev/vdc -E mount_opts=usrjquota=file<br />
echo clear > /sys/kernel/debug/kmemleak<br />
mount /dev/vdc /vdc<br />
echo scan > /sys/kernel/debug/kmemleak<br />
sleep 5<br />
echo scan > /sys/kernel/debug/kmemleak<br />
cat /sys/kernel/debug/kmemleak
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.17 (including) | 5.17.14 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.18 (including) | 5.18.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



