CVE-2022-50367
Last modified
CVE-2022-50367 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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). EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-50367?
How severe is CVE-2022-50367?
How do I fix CVE-2022-50367?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50361In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50362In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50363In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50364In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50365In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50366In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-50368In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50369In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50370In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50371In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50372In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50373In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2022-50367?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
