# CVE-2022-50316: orangefs: Fix kmemleak in orangefs_sysfs_init()

CVE-2022-50316 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50316, released September 15, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-50316
- Priority: Routine
- CVSS: 5.5 (Moderate)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 15, 2025
- Weakness: Missing Release of Memory after Effective Lifetime
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-50316

## Description

In the Linux kernel, the following vulnerability has been resolved:  orangefs: Fix kmemleak in orangefs_sysfs_init()  When insert and remove the orangefs module, there are kobjects memory leaked as below:  unreferenced object 0xffff88810f95af00 (size 64):   comm "insmod", pid 783, jiffies 4294813439 (age 65.512s)   hex dump (first 32 bytes):     a0 83 af 01 81 88 ff ff 08 af 95 0f 81 88 ff ff  ................     08 af 95 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................   backtrace:     [<0000000031ab7788>] kmalloc_trace+0x27/0xa0     [<000000005a6e4dfe>] orangefs_sysfs_init+0x42/0x3a0     [<00000000722645ca>] 0xffffffffa02780fe     [<000000004232d9f7>] do_one_initcall+0x87/0x2a0     [<0000000054f22384>] do_init_module+0xdf/0x320     [<000000003263bdea>] load_module+0x2f98/0x3330     [<0000000052cd4153>] __do_sys_finit_module+0x113/0x1b0     [<00000000250ae02b>] do_syscall_64+0x35/0x80     [<00000000f11c03c7>] entry_SYSCALL_64_after_hwframe+0x46/0xb0  unreferenced object 0xffff88810f95ae80 (size 64):   comm "insmod", pid 783, jiffies 4294813439 (age 65.512s)   hex dump (first 32 bytes):     c8 90 0f 02 81 88 ff ff 88 ae 95 0f 81 88 ff ff  ................     88 ae 95 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................   backtrace:     [<0000000031ab7788>] kmalloc_trace+0x27/0xa0     [<000000001a4841fa>] orangefs_sysfs_init+0xc7/0x3a0     [<00000000722645ca>] 0xffffffffa02780fe     [<000000004232d9f7>] do_one_initcall+0x87/0x2a0     [<0000000054f22384>] do_init_module+0xdf/0x320     [<000000003263bdea>] load_module+0x2f98/0x3330     [<0000000052cd4153>] __do_sys_finit_module+0x113/0x1b0     [<00000000250ae02b>] do_syscall_64+0x35/0x80     [<00000000f11c03c7>] entry_SYSCALL_64_after_hwframe+0x46/0xb0  unreferenced object 0xffff88810f95ae00 (size 64):   comm "insmod", pid 783, jiffies 4294813440 (age 65.511s)   hex dump (first 32 bytes):     60 87 a1 00 81 88 ff ff 08 ae 95 0f 81 88 ff ff  `...............     08 ae 95 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................   backtrace:     [<0000000031ab7788>] kmalloc_trace+0x27/0xa0     [<000000005915e797>] orangefs_sysfs_init+0x12b/0x3a0     [<00000000722645ca>] 0xffffffffa02780fe     [<000000004232d9f7>] do_one_initcall+0x87/0x2a0     [<0000000054f22384>] do_init_module+0xdf/0x320     [<000000003263bdea>] load_module+0x2f98/0x3330     [<0000000052cd4153>] __do_sys_finit_module+0x113/0x1b0     [<00000000250ae02b>] do_syscall_64+0x35/0x80     [<00000000f11c03c7>] entry_SYSCALL_64_after_hwframe+0x46/0xb0  unreferenced object 0xffff88810f95ad80 (size 64):   comm "insmod", pid 783, jiffies 4294813440 (age 65.511s)   hex dump (first 32 bytes):     78 90 0f 02 81 88 ff ff 88 ad 95 0f 81 88 ff ff  x...............     88 ad 95 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................   backtrace:     [<0000000031ab7788>] kmalloc_trace+0x27/0xa0     [<000000007a14eb35>] orangefs_sysfs_init+0x1ac/0x3a0     [<00000000722645ca>] 0xffffffffa02780fe     [<000000004232d9f7>] do_one_initcall+0x87/0x2a0     [<0000000054f22384>] do_init_module+0xdf/0x320     [<000000003263bdea>] load_module+0x2f98/0x3330     [<0000000052cd4153>] __do_sys_finit_module+0x113/0x1b0     [<00000000250ae02b>] do_syscall_64+0x35/0x80     [<00000000f11c03c7>] entry_SYSCALL_64_after_hwframe+0x46/0xb0  unreferenced object 0xffff88810f95ac00 (size 64):   comm "insmod", pid 783, jiffies 4294813440 (age 65.531s)   hex dump (first 32 bytes):     e0 ff 67 02 81 88 ff ff 08 ac 95 0f 81 88 ff ff  ..g.............     08 ac 95 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................   backtrace:     [<0000000031ab7788>] kmalloc_trace+0x27/0xa0     [<000000001f38adcb>] orangefs_sysfs_init+0x291/0x3a0     [<00000000722645ca>] 0xffffffffa02780fe     [<000000004232d9f7>] do_one_initcall+0x87/0x2a0     [<0000000054f22384>] do_init_module+0xdf/0x320     [<000000003263bdea>] load_module+0x2f98/0x3330     [<0000000052cd4153>] __do_sys_finit_module+0x113/0x1b0     [<00000000250ae02b>] do_syscall_64+0x35/ ---truncated---

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.1.4-1 | [DEBIAN-CVE-2022-50316](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50316.md) | Sep 15, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.1.4-1 | [DEBIAN-CVE-2022-50316](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50316.md) | Sep 15, 2025 |
| Linux | linux Debian 14 | 6.1.4-1 | [DEBIAN-CVE-2022-50316](https://patchblox.com/security/data/fix/linux/debian-cve-2022-50316.md) | Sep 15, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
