CVE-2022-50367
BaseFortify
Publication date: 2025-09-17
Last updated on: 2025-12-10
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | to 4.9.331 (exc) |
| linux | linux_kernel | From 4.10 (inc) to 4.14.296 (exc) |
| linux | linux_kernel | From 4.15 (inc) to 4.19.262 (exc) |
| linux | linux_kernel | From 4.20 (inc) to 5.4.218 (exc) |
| linux | linux_kernel | From 5.5 (inc) to 5.10.148 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.73 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 5.19.15 (exc) |
| linux | linux_kernel | From 6.0 (inc) to 6.0.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free (UAF) and general protection fault (GPF) bug in the Linux kernel related to the nilfs_mdt_destroy function. It occurs because inode_init_always() can return an error (-ENOMEM) if security_inode_alloc() fails, leaving inode->i_private uninitialized. Subsequently, nilfs_is_metadata_file_inode() incorrectly returns true, causing nilfs_free_inode() to call nilfs_mdt_destroy() on an uninitialized inode->i_private, which leads to freeing invalid memory and results in crashes.
How can this vulnerability impact me? :
This vulnerability can cause system crashes due to use-after-free or general protection faults in the Linux kernel. Such crashes can lead to denial of service or instability in systems running affected kernel versions.