ocfs2: fix memory leak in ocfs2_stack_glue_init()
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-401.
Summary
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix memory leak in ocfs2_stack_glue_init() ocfs2_table_header should be free in ocfs2_stack_glue_init() if ocfs2_sysfs_init() failed, otherwise kmemleak will report memleak. BUG: memory leak unreferenced object 0xffff88810eeb5800 (size 128): comm "modprobe", pid 4507, jiffies 4296182506 (age 55.888s) hex dump (first 32 bytes): c0 40 14 a0 ff ff ff ff 00 00 00 00 01 00 00 00 .@.............. 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000001e59e1cd>] __register_sysctl_table+0xca/0xef0 [<00000000c04f70f7>] 0xffffffffa0050037 [<000000001bd12912>] do_one_initcall+0xdb/0x480 [<0000000064f766c9>] do_init_module+0x1cf/0x680 [<000000002ba52db0>] load_module+0x6441/0x6f20 [<000000009772580d>] __do_sys_finit_module+0x12f/0x1c0 [<00000000380c1f22>] do_syscall_64+0x3f/0x90 [<000000004cf473bc>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.26 and later | 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.26 and later Fixed in 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2 Patch available CNA
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.27 to before 4.9.337; 4.10 to before 4.14.303; 4.15 to before 4.19.270; 4.20 to before 5.4.229; 5.5 to before 5.10.163; 5.11 to before 5.15.86; 5.16 to before 6.0.16; 6.1 to before 6.1.2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.26:-:*:*:*:*:*:* | 2.6.26 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.26:rc7:*:*:*:*:*:* | 2.6.26 rc7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.26:rc8:*:*:*:*:*:* | 2.6.26 rc8 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.26:rc9:*:*:*:*:*:* | 2.6.26 rc9 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.27 to before 4.9.337; 4.10 to before 4.14.303; 4.15 to before 4.19.270; 4.20 to before 5.4.229; 5.5 to before 5.10.163; 5.11 to before 5.15.86; 5.16 to before 6.0.16; 6.1 to before 6.1.2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.26:-:*:*:*:*:*:* Versions 2.6.26 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.26:rc7:*:*:*:*:*:* Versions 2.6.26 rc7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.26:rc8:*:*:*:*:*:* Versions 2.6.26 rc8 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.26:rc9:*:*:*:*:*:* Versions 2.6.26 rc9 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2
Vendor assessments
Red Hat
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-50289
- 2026-10-03 Alias added: GHSA-63wm-rvcg-492w
References
Patch 9
- https://git.kernel.org/stable/c/0000281f019111526f7abccc61f2746d2eb626ca
- https://git.kernel.org/stable/c/802abe2bc654e87334e6a0ab6c1adc2b6d5f6394
- https://git.kernel.org/stable/c/b0822faebd79971617abd495beb2d6f5356b88bf
- https://git.kernel.org/stable/c/7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7
- https://git.kernel.org/stable/c/f5f2682d3a34dd8350bf63f232d885fd95f25b92
- https://git.kernel.org/stable/c/61d68cf2ba79128c48d4b3fa4d10c34dc18ba572
- https://git.kernel.org/stable/c/6f6c13776cbee4b6a515f4cd3b859f046be4f6f9
- https://git.kernel.org/stable/c/0b2128b70849f2728949babfc1c760096ef72f5d
- https://git.kernel.org/stable/c/13b6269dd022aaa69ca8d1df374ab327504121cf
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2022-50289 · CVE Program
- CVE-2022-50289 · NVD
- FIRST EPSS
- GHSA-63wm-rvcg-492w · GitHub Advisory Database · CC BY 4.0
- CVE-2022-50289 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences