In the Linux kernel, the following vulnerability has been resolved:
orangefs: Fix kmemleak in orangefspreparedebugfshelpstring()
When insert and remove the orangefs module, then debughelpstring 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>] kmalloctrace+0x27/0xa0 [<0000000006f75d85>] orangefspreparedebugfshelpstring+0x5e/0x480 [orangefs] [<0000000091270a2a>] _subI655351+0x57/0xf70 [crcitut] [<000000004b1ee1a3>] dooneinitcall+0x87/0x2a0 [<000000001d0614ae>] doinitmodule+0xdf/0x320 [<00000000efef068c>] loadmodule+0x2f98/0x3330 [<000000006533b44d>] _dosysfinitmodule+0x113/0x1b0 [<00000000a0da6f99>] dosyscall64+0x35/0x80 [<000000007790b19b>] entrySYSCALL64after_hwframe+0x46/0xb0
When remove the module, should always free debughelpstring. Should always free the allocated buffer when change the freedebughelp_string.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50779.json"
}