CVE-2022-50779

orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()

No CVSS score yet EPSS 0.32%

Published 24 Dec 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-50779

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50779 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()

When insert and remove the orangefs module, then debug_help_string will be leaked:

unreferenced object 0xffff8881652ba000 (size 4096): comm "insmod", pid 1701, jiffies 4294893639 (age 13218.530s) hex dump (first 32 bytes): 43 6c 69 65 6e 74 20 44 65 62 75 67 20 4b 65 79 Client Debug Key 77 6f 72 64 73 20 61 72 65 20 75 6e 6b 6e 6f 77 words are unknow backtrace: [<0000000004e6f8e3>] kmalloc_trace+0x27/0xa0 [<0000000006f75d85>] orangefs_prepare_debugfs_help_string+0x5e/0x480 [orangefs] [<0000000091270a2a>] _sub_I_65535_1+0x57/0xf70 [crc_itu_t] [<000000004b1ee1a3>] do_one_initcall+0x87/0x2a0 [<000000001d0614ae>] do_init_module+0xdf/0x320 [<00000000efef068c>] load_module+0x2f98/0x3330 [<000000006533b44d>] __do_sys_finit_module+0x113/0x1b0 [<00000000a0da6f99>] do_syscall_64+0x35/0x80 [<000000007790b19b>] entry_SYSCALL_64_after_hwframe+0x46/0xb0

When remove the module, should always free debug_help_string. Should always free the allocated buffer when change the free_debug_help_string.

Exploitation

EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before 44d3eac26a5e5268d11cc342dc202b0d31505c0a
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before f2b8a6aac561a49fe02c99683c40a8b87a9f68fc
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before ba9d3b9cec20957fd86bb1bf525b4ea8b64b2dea
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before 2e7c09121064df93c58bbc49d3d0f608d3f584bd
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before b8affa0c6405ee968dcb6030bee2cf719a464752
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before 39529b79b023713d4f2d3479dc0ca43ba99df726
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before 3fc221d9a16339a913a0341d3efc7fef339073e1
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before 19be31668552a198e887762e25bdcc560800ecb4
affected from dc0336214eb07ee9de2a41dd4c81c744ffa419ac, before d23417a5bf3a3afc55de5442eb46e1e60458b0a1
Other versions: unaffected
Linux
affected 4.9
unaffected before 4.9
unaffected from 4.9.337 up to and including 4.9.*
unaffected from 4.14.303 up to and including 4.14.*
unaffected from 4.19.270 up to and including 4.19.*
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.86 up to and including 5.15.*
unaffected from 6.0.16 up to and including 6.0.*
unaffected from 6.1.2 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50779 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50779

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50779
trivy image --scanners vuln IMAGE | grep CVE-2022-50779

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50779 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.