{"id":"CVE-2022-50779","summary":"orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\norangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()\n\nWhen insert and remove the orangefs module, then debug_help_string will\nbe leaked:\n\n  unreferenced object 0xffff8881652ba000 (size 4096):\n    comm \"insmod\", pid 1701, jiffies 4294893639 (age 13218.530s)\n    hex dump (first 32 bytes):\n      43 6c 69 65 6e 74 20 44 65 62 75 67 20 4b 65 79  Client Debug Key\n      77 6f 72 64 73 20 61 72 65 20 75 6e 6b 6e 6f 77  words are unknow\n    backtrace:\n      [\u003c0000000004e6f8e3\u003e] kmalloc_trace+0x27/0xa0\n      [\u003c0000000006f75d85\u003e] orangefs_prepare_debugfs_help_string+0x5e/0x480 [orangefs]\n      [\u003c0000000091270a2a\u003e] _sub_I_65535_1+0x57/0xf70 [crc_itu_t]\n      [\u003c000000004b1ee1a3\u003e] do_one_initcall+0x87/0x2a0\n      [\u003c000000001d0614ae\u003e] do_init_module+0xdf/0x320\n      [\u003c00000000efef068c\u003e] load_module+0x2f98/0x3330\n      [\u003c000000006533b44d\u003e] __do_sys_finit_module+0x113/0x1b0\n      [\u003c00000000a0da6f99\u003e] do_syscall_64+0x35/0x80\n      [\u003c000000007790b19b\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0\n\nWhen remove the module, should always free debug_help_string. Should\nalways free the allocated buffer when change the free_debug_help_string.","modified":"2026-04-02T08:28:45.726449Z","published":"2025-12-24T13:06:07.873Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50779.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/19be31668552a198e887762e25bdcc560800ecb4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e7c09121064df93c58bbc49d3d0f608d3f584bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/39529b79b023713d4f2d3479dc0ca43ba99df726"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3fc221d9a16339a913a0341d3efc7fef339073e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44d3eac26a5e5268d11cc342dc202b0d31505c0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8affa0c6405ee968dcb6030bee2cf719a464752"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba9d3b9cec20957fd86bb1bf525b4ea8b64b2dea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d23417a5bf3a3afc55de5442eb46e1e60458b0a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f2b8a6aac561a49fe02c99683c40a8b87a9f68fc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50779.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50779"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dc0336214eb07ee9de2a41dd4c81c744ffa419ac"},{"fixed":"44d3eac26a5e5268d11cc342dc202b0d31505c0a"},{"fixed":"f2b8a6aac561a49fe02c99683c40a8b87a9f68fc"},{"fixed":"ba9d3b9cec20957fd86bb1bf525b4ea8b64b2dea"},{"fixed":"2e7c09121064df93c58bbc49d3d0f608d3f584bd"},{"fixed":"b8affa0c6405ee968dcb6030bee2cf719a464752"},{"fixed":"39529b79b023713d4f2d3479dc0ca43ba99df726"},{"fixed":"3fc221d9a16339a913a0341d3efc7fef339073e1"},{"fixed":"19be31668552a198e887762e25bdcc560800ecb4"},{"fixed":"d23417a5bf3a3afc55de5442eb46e1e60458b0a1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50779.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.9.0"},{"fixed":"4.9.337"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.303"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50779.json"}}],"schema_version":"1.7.5"}