orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
Published Dec 24, 2025
No CVSS score
EPSS 0.30%
Description
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.
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 4.9
Unaffected
- ≥ 0, < 4.9
- ≥ 4.14.303, ≤ 4.14.*
- ≥ 4.19.270, ≤ 4.19.*
- ≥ 4.9.337, ≤ 4.9.*
- ≥ 5.10.163, ≤ 5.10.*
- ≥ 5.15.86, ≤ 5.15.*
- ≥ 5.4.229, ≤ 5.4.*
- ≥ 6.0.16, ≤ 6.0.*
- ≥ 6.1.2, ≤ 6.1.*
- 6.2
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux | unaffected | Affected
|
| Linux | Linux | affected | Affected
Unaffected
|
No data.
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (15)
- https://access.redhat.com/security/cve/CVE-2022-50779 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2425093 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-55782 Advisory
- https://git.kernel.org/stable/c/19be31668552a198e887762e25bdcc560800ecb4
- https://git.kernel.org/stable/c/2e7c09121064df93c58bbc49d3d0f608d3f584bd
- https://git.kernel.org/stable/c/39529b79b023713d4f2d3479dc0ca43ba99df726
- https://git.kernel.org/stable/c/3fc221d9a16339a913a0341d3efc7fef339073e1
- https://git.kernel.org/stable/c/44d3eac26a5e5268d11cc342dc202b0d31505c0a
- https://git.kernel.org/stable/c/b8affa0c6405ee968dcb6030bee2cf719a464752
- https://git.kernel.org/stable/c/ba9d3b9cec20957fd86bb1bf525b4ea8b64b2dea
- https://git.kernel.org/stable/c/d23417a5bf3a3afc55de5442eb46e1e60458b0a1
- https://git.kernel.org/stable/c/f2b8a6aac561a49fe02c99683c40a8b87a9f68fc
- https://lore.kernel.org/linux-cve-announce/2025122401-CVE-2022-50779-fa1d@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-50779
- https://www.cve.org/CVERecord?id=CVE-2022-50779
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data