CVE-2022-50367
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)
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
AlmaLinux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | kernel-64k-debug-devel-5.14.0-570.60.1.el9_6.aarch64.rpm |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 6.0.2-1 |
| sid | Fixed | 6.0.2-1 |
| forky | Fixed | 6.0.2-1 |
| bullseye | Fixed | 5.10.148-1 |
| bookworm | Fixed | 6.0.2-1 |
Red Hat Fixed 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 9 | Fixed | โ |
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
References
- https://errata.rockylinux.org/RLSA-2025:19932
- https://errata.rockylinux.org/RLSA-2025:19931
- https://access.redhat.com/errata/RHSA-2025:19409
- https://access.redhat.com/errata/RHSA-2025:21112
- https://www.suse.com/security/cve/CVE-2022-50367.html
- https://security-tracker.debian.org/tracker/CVE-2022-50367
- https://access.redhat.com/errata/RHSA-2025:19931
- https://bugzilla.redhat.com/2394627
- https://bugzilla.redhat.com/2395358
- https://bugzilla.redhat.com/2396114
- https://errata.almalinux.org/8/ALSA-2025-19931.html
- https://access.redhat.com/errata/RHSA-2025:19932
- https://errata.almalinux.org/8/ALSA-2025-19932.html
- https://bugzilla.redhat.com/2393533
- https://bugzilla.redhat.com/2400777
- https://errata.almalinux.org/9/ALSA-2025-19409.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.