SecurityContext

CVE-2022-50376: Linux Kernel - Memory Leak

  • Cve: CVE-2022-50376
  • Name: Linux Kernel - Memory Leak
  • Description: In the Linux kernel, the following vulnerability has been resolved: orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init() When insert and remove the orangefs module, there are memory leaked as below: unreferenced object 0xffff88816b0cc000 (size 2048): comm "insmod", pid 783, jiffies 4294813439 (age 65.512s) hex dump (first 32 bytes): 6e 6f 6e 65 0a 00 00 00 00 00 00 00 00 00 00 00 none............ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<0000000031ab7788>] kmalloc_trace+0x27/0xa0 [<000000005b405fee>] orangefs_debugfs_init.cold+0xaf/0x17f [<00000000e5a0085b>] 0xffffffffa02780f9 [<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 Use the golbal variable as the buffer rather than dynamic allocate to slove the problem.
  • Impact: Attackers can cause memory leaks leading to resource exhaustion and potential denial of service.
  • Remediation: Update to the latest Linux kernel version containing the fix for orangefs memory leak.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00168
  • Epss percentile: 0.0601
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2025-09-18T14:15:36Z
  • Age in days: 432
  • Modified at: 2026-08-15T13:17:32Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-50376
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-401Missing Release of Memory after Effective Lifetime

References

Same in every row:

  • Source: nvd
  • Tags: Patch
Url
https://git.kernel.org/stable/c/0cd303aad220fafa595e0ed593e99aa51b90412b
https://git.kernel.org/stable/c/31720a2b109b3080eb77e97b8f6f50a27b4ae599
https://git.kernel.org/stable/c/786e5296f9e3b045d5ff9098514ce7b8ba1d890d
https://git.kernel.org/stable/c/a076490b0211990ec6764328c22cb744dd782bd9
https://git.kernel.org/stable/c/bdc2d33fa2324b1f5ab5b701cda45ee0b2384409
https://git.kernel.org/stable/c/c8853267289c55b1acbe4dc3641374887584834d

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.1, < 6.1.2; >= 5.16, < 6.0.16; >= 5.11, < 5.15.86; >= 5.5, < 5.10.163; >= 4.6, < 5.4.229nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports