Linux Kernel up to 6.0.0 inode_init_always use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 6.0.0. This vulnerability affects the function inode_init_always. The manipulation results in use after free. This vulnerability is known as CVE-2022-50367. No exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Linux Kernel up to 6.0.0. It has been classified as critical. Affected is the function inode_init_always. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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)

The advisory is available at git.kernel.org. This vulnerability is traded as CVE-2022-50367 since 09/17/2025. The exploitability is told to be easy. Technical details are known, but there is no available exploit. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 12/27/2025).

The vulnerability scanner Nessus provides a plugin with the ID 265645 (Linux Distros Unpatched Vulnerability : CVE-2022-50367), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.9.331, 4.14.296, 4.19.262, 5.4.218, 5.10.148, 5.15.73, 5.19.15 or 6.0.1 eliminates this vulnerability. Applying the patch d1ff475d7c83289d0a7faef346ea3bbf90818bad/c0aa76b0f17f59dd9c9d3463550a2986a1d592e4/ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48/70e4f70d54e0225f91814e8610477d65f33cefe4/1e555c3ed1fce4b278aaebe18a64a934cece57d8/64b79e632869ad3ef6c098a4731d559381da1115/81de80330fa6907aec32eb54c5619059e6e36452/2a96b532098284ecf8e4849b8b9e5fc7a28bdee9/2e488f13755ffbb60f307e991b27024716a33b29 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (265645) and CERT Bund (WID-SEC-2025-2087). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Affected

  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • SUSE Linux
  • Oracle Linux
  • IBM QRadar SIEM
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Dell Secure Connect Gateway

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.9
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 265645
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-50367

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 4.9.331/4.14.296/4.19.262/5.4.218/5.10.148/5.15.73/5.19.15/6.0.1
Patch: d1ff475d7c83289d0a7faef346ea3bbf90818bad/c0aa76b0f17f59dd9c9d3463550a2986a1d592e4/ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48/70e4f70d54e0225f91814e8610477d65f33cefe4/1e555c3ed1fce4b278aaebe18a64a934cece57d8/64b79e632869ad3ef6c098a4731d559381da1115/81de80330fa6907aec32eb54c5619059e6e36452/2a96b532098284ecf8e4849b8b9e5fc7a28bdee9/2e488f13755ffbb60f307e991b27024716a33b29

Timelineinfo

09/17/2025 Advisory disclosed
09/17/2025 +0 days CVE reserved
09/17/2025 +0 days VulDB entry created
12/27/2025 +101 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-50367 (🔒)
GCVE (CVE): GCVE-0-2022-50367
GCVE (VulDB): GCVE-100-324690
CERT Bund: WID-SEC-2025-2087 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 09/17/2025 17:38
Updated: 12/27/2025 02:41
Changes: 09/17/2025 17:38 (58), 09/21/2025 16:48 (2), 12/11/2025 00:38 (11), 12/27/2025 02:41 (7)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!