CVE-2022-50367 Affecting kernel-doc package, versions <0:4.18.0-553.83.1.el8_10


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY8-KERNELDOC-13976799
  • published14 Nov 2025
  • disclosed17 Sept 2025

Introduced: 17 Sep 2025

CVE-2022-50367  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 kernel-doc to version 0:4.18.0-553.83.1.el8_10 or higher.
This issue was patched in RLSA-2025:19931.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-doc package and not the kernel-doc package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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)

CVSS Base Scores

version 3.1