CVE-2022-50367

Kernel compromise via uninitialized NILFS inode pointer

Published Sep 17, 2025 · Updated Sep 17, 2025

Use-after-free in the Linux kernel allows local users to crash the host through inode allocation on a writable NILFS2 mount. When security_inode_alloc fails, alloc_inode leaves inode->i_private uninitialized, but nilfs_free_inode treats the inode as metadata and passes that pointer to nilfs_mdt_destroy for freeing. Reachability requires low-privileged local write access to a mounted NILFS2 filesystem and allocation failure under memory pressure; triggering the flaw can panic the kernel or compromise kernel memory.

CVSS severity7.8
High
EPSS probability0.22%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in the Linux kernel allows local users to crash the host through inode allocation on a writable NILFS2 mount. When security_inode_alloc fails, alloc_inode leaves inode->i_private uninitialized, but nilfs_free_inode treats the inode as metadata and passes that pointer to nilfs_mdt_destroy for freeing. Reachability requires low-privileged local write access to a mounted NILFS2 filesystem and allocation failure under memory pressure; triggering the flaw can panic the kernel or compromise kernel memory.

The record

CVE
CVE-2022-50367
Published
Sep 17, 2025
Updated
Sep 17, 2025
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-416, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Sep 17, 2025CVE publishedPublication date reported by the CVE source.
  2. Sep 17, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1e555c3ed1fce4b278aaebe18a64a934cece57d8
  2. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2a96b532098284ecf8e4849b8b9e5fc7a28bdee9
  3. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2e488f13755ffbb60f307e991b27024716a33b29
  4. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <64b79e632869ad3ef6c098a4731d559381da1115
  5. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <70e4f70d54e0225f91814e8610477d65f33cefe4
  6. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <81de80330fa6907aec32eb54c5619059e6e36452
  7. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c0aa76b0f17f59dd9c9d3463550a2986a1d592e4
  8. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d1ff475d7c83289d0a7faef346ea3bbf90818bad
  9. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1e555c3ed1fce4b278aaebe18a64a934cece57d8; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2a96b532098284ecf8e4849b8b9e5fc7a28bdee9; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2e488f13755ffbb60f307e991b27024716a33b29; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <64b79e632869ad3ef6c098a4731d559381da1115; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <70e4f70d54e0225f91814e8610477d65f33cefe4; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <81de80330fa6907aec32eb54c5619059e6e36452; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c0aa76b0f17f59dd9c9d3463550a2986a1d592e4; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d1ff475d7c83289d0a7faef346ea3bbf90818bad; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48

Published CVSS scores

7.0OracleCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8UbuntuCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.0SUSECVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8Linux Kernel CNACVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8CISA-ADPCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.3SUSECVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
7.3UbuntuCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
7.8NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-416Use After Free
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo