Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50367

published high CVSS 3.1 · 7.8

fs: fix UAF/GPF bug in nilfs_mdt_destroy

Published
17 Sep 2025, 14:56:23 UTC
Updated
05 Aug 2026, 08:58:26 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d1ff475d7c83289d0a7faef346ea3bbf90818bad · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c0aa76b0f17f59dd9c9d3463550a2986a1d592e4 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 70e4f70d54e0225f91814e8610477d65f33cefe4 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1e555c3ed1fce4b278aaebe18a64a934cece57d8 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 64b79e632869ad3ef6c098a4731d559381da1115 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 81de80330fa6907aec32eb54c5619059e6e36452 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2a96b532098284ecf8e4849b8b9e5fc7a28bdee9 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2e488f13755ffbb60f307e991b27024716a33b29 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 4.9.331 through 4.9.* (unaffected · semver) · 4.14.296 through 4.14.* (unaffected · semver) · 4.19.262 through 4.19.* (unaffected · semver) · 5.4.218 through 5.4.* (unaffected · semver) · 5.10.148 through 5.10.* (unaffected · semver) · 5.15.73 through 5.15.* (unaffected · semver) · 5.19.15 through 5.19.* (unaffected · semver) · 6.0.1 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2022-1876 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2022-022 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2022-009 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2022-038 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.83.1.rt7.424.el8_10 ALSA-2025:19932
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 perf Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.83.1.el8_10 ALSA-2025:19931
AlmaLinux 9 kernel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-doc Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-headers Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-debug-kvm Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-kvm Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-tools Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-570.60.1.el9_6 ALSA-2025:19409

Package entries are limited to the first 100 builds and 100 linked advisories.

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)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

41

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached via local VFS inode allocation on a nilfs2 mount (creat/mkdir/etc. → new_inode → alloc_inode → inode_init_always failure → nilfs_free_inode), not via network packet processing. AC:L - An attacker who can allocate nilfs2 inodes can induce GFP_NOFS LSM blob allocation failures under memory pressure (e.g., memcg limits) and recycle slab objects previously used as metadata inodes, reliably driving the uninitialized-i_private free path. PR:L - On a system where nilfs2 is already mounted with unprivileged write access (a realistic embedded/NAS deployment), a normal local user can create files and hit the vulnerable alloc/free path without CAP_SYS_ADMIN. UI:N - No separate victim action is required; the attacker triggers the flaw themselves by creating inodes on an accessible nilfs2 filesystem under memory pressure. S:U - Impact is confined to the local kernel/host authority (standard kernel memory corruption / privilege escalation); it does not cross a VM, IOMMU, or other security boundary. C:H - nilfs_mdt_destroy kfree's a stale/dangling i_private pointer (use-after-free / double-free), which can be turned into arbitrary kernel read primitives via heap manipulation. I:H - The same UAF/double-free of heap metadata is exploitable for arbitrary kernel writes and control-flow hijacking, enabling full integrity compromise. A:H - Freeing an uninitialized or dangling i_private causes kernel GPF/oops/panic even without full exploitation, so availability impact is high.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d1ff475d7c83289d0a7faef346ea3bbf90818bad (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < c0aa76b0f17f59dd9c9d3463550a2986a1d592e4 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < ec2aab115eb38ac4992ea2fcc2a02fbe7af5cf48 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 70e4f70d54e0225f91814e8610477d65f33cefe4 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1e555c3ed1fce4b278aaebe18a64a934cece57d8 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 64b79e632869ad3ef6c098a4731d559381da1115 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 81de80330fa6907aec32eb54c5619059e6e36452 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2a96b532098284ecf8e4849b8b9e5fc7a28bdee9 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2e488f13755ffbb60f307e991b27024716a33b29 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)4.9.331 through 4.9.* (unaffected · semver)4.14.296 through 4.14.* (unaffected · semver)4.19.262 through 4.19.* (unaffected · semver)5.4.218 through 5.4.* (unaffected · semver)5.10.148 through 5.10.* (unaffected · semver)5.15.73 through 5.15.* (unaffected · semver)5.19.15 through 5.19.* (unaffected · semver)6.0.1 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

9

Provider assertions

2

Linux · cna

fs: fix UAF/GPF bug in nilfs_mdt_destroy

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d7055d5c03d1a779df4e67c16961f0fb04bbe001b8f70fc7a74b6765783bd62b
Ingested
23 Sep 2026, 08:04:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected