CVE-2022-50367
17.09.2025, 15:15
In the Linux kernel, the following vulnerability has been resolved: fs: fix UAF/GPF bug in nilfs_mdt_destroy In alloc_inode, inode_init_always() could return -ENOMEM if security_inode_alloc() fails, which causes inode->i_private uninitialized. Then nilfs_is_metadata_file_inode() returns true and nilfs_free_inode() wrongly calls nilfs_mdt_destroy(), which frees the uninitialized inode->i_private and leads to crashes(e.g., UAF/GPF). Fix this by moving security_inode_alloc just prior to this_cpu_inc(nr_inodes)Enginsight
| Vendor | Product | Version |
|---|---|---|
| linux | linux_kernel | 𝑥 < 4.9.331 |
| linux | linux_kernel | 4.10 ≤ 𝑥 < 4.14.296 |
| linux | linux_kernel | 4.15 ≤ 𝑥 < 4.19.262 |
| linux | linux_kernel | 4.20 ≤ 𝑥 < 5.4.218 |
| linux | linux_kernel | 5.5 ≤ 𝑥 < 5.10.148 |
| linux | linux_kernel | 5.11 ≤ 𝑥 < 5.15.73 |
| linux | linux_kernel | 5.16 ≤ 𝑥 < 5.19.15 |
| linux | linux_kernel | 6.0 ≤ 𝑥 < 6.0.1 |
𝑥
= Vulnerable software versions
Debian Releases
Common Weakness Enumeration
References