# CVE-2022-50289: ocfs2: fix memory leak in ocfs2\_stack\_glue\_init()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-09-15T14:21:25.275Z
- **Modified:** 2026-06-17T05:23:09.800Z

## Who should check

- Anyone running Linux \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 0000281f019111526f7abccc61f2746d2eb626ca; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 802abe2bc654e87334e6a0ab6c1adc2b6d5f6394; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< b0822faebd79971617abd495beb2d6f5356b88bf; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< f5f2682d3a34dd8350bf63f232d885fd95f25b92; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 61d68cf2ba79128c48d4b3fa4d10c34dc18ba572; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 6f6c13776cbee4b6a515f4cd3b859f046be4f6f9; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 0b2128b70849f2728949babfc1c760096ef72f5d; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 13b6269dd022aaa69ca8d1df374ab327504121cf
- Anyone running Linux 2.6.26

## Description

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

## Affected and fixed versions

- Linux: \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 0000281f019111526f7abccc61f2746d2eb626ca; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 802abe2bc654e87334e6a0ab6c1adc2b6d5f6394; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< b0822faebd79971617abd495beb2d6f5356b88bf; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< f5f2682d3a34dd8350bf63f232d885fd95f25b92; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 61d68cf2ba79128c48d4b3fa4d10c34dc18ba572; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 6f6c13776cbee4b6a515f4cd3b859f046be4f6f9; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 0b2128b70849f2728949babfc1c760096ef72f5d; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 13b6269dd022aaa69ca8d1df374ab327504121cf (cvelist)
- Linux: 2.6.26 (cvelist)

## Mitigation

- Upgrade Linux to 13b6269dd022aaa69ca8d1df374ab327504121cf or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50289. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50289.md
Affected: Linux >= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, < 0000281f019111526f7abccc61f2746d2eb626ca; >= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, < 802abe2bc654e87334e6a0ab6c1adc2b6d5f6394; >= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, < b0822faebd79971617abd495beb2d6f5356b88bf; >= 3878f110f71a0971ff7acc1…
Fixed in: Linux 0000281f019111526f7abccc61f2746d2eb626ca, Linux 802abe2bc654e87334e6a0ab6c1adc2b6d5f6394, Linux 7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7, Linux 61d68cf2ba79128c48d4b3fa4d10c34dc18ba572, Linux 6f6c13776cbee4b6a515f4cd3b859f046be4f6f9, Linux 0b2128b70849f2728949babfc1c760096ef72f5d, Linux 13b62…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50289 being exploited?

There is no confirmed exploitation: CVE-2022-50289 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50289?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50289?

Linux \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 0000281f019111526f7abccc61f2746d2eb626ca; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 802abe2bc654e87334e6a0ab6c1adc2b6d5f6394; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< b0822faebd79971617abd495beb2d6f5356b88bf; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< f5f2682d3a34dd8350bf63f232d885fd95f25b92; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 61d68cf2ba79128c48d4b3fa4d10c34dc18ba572; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 6f6c13776cbee4b6a515f4cd3b859f046be4f6f9; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 0b2128b70849f2728949babfc1c760096ef72f5d; \>= 3878f110f71a0971ff7acc15dd6db711b6ef37c6, \< 13b6269dd022aaa69ca8d1df374ab327504121cf; Linux 2.6.26.

### Is there a fix for CVE-2022-50289?

Yes. Fixed in Linux 0000281f019111526f7abccc61f2746d2eb626ca, Linux 802abe2bc654e87334e6a0ab6c1adc2b6d5f6394, Linux 7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7, Linux 61d68cf2ba79128c48d4b3fa4d10c34dc18ba572, Linux 6f6c13776cbee4b6a515f4cd3b859f046be4f6f9, Linux 0b2128b70849f2728949babfc1c760096ef72f5d, Linux 13b6269dd022aaa69ca8d1df374ab327504121cf. Upgrade Linux to 13b6269dd022aaa69ca8d1df374ab327504121cf or later.

### How do I check if I'm affected by CVE-2022-50289?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/0000281f019111526f7abccc61f2746d2eb626ca>
- patch: <https://git.kernel.org/stable/c/802abe2bc654e87334e6a0ab6c1adc2b6d5f6394>
- patch: <https://git.kernel.org/stable/c/b0822faebd79971617abd495beb2d6f5356b88bf>
- patch: <https://git.kernel.org/stable/c/7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7>
- patch: <https://git.kernel.org/stable/c/f5f2682d3a34dd8350bf63f232d885fd95f25b92>
- patch: <https://git.kernel.org/stable/c/61d68cf2ba79128c48d4b3fa4d10c34dc18ba572>
- patch: <https://git.kernel.org/stable/c/6f6c13776cbee4b6a515f4cd3b859f046be4f6f9>
- patch: <https://git.kernel.org/stable/c/0b2128b70849f2728949babfc1c760096ef72f5d>
- patch: <https://git.kernel.org/stable/c/13b6269dd022aaa69ca8d1df374ab327504121cf>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50289>

HTML: <https://flawdb.com/CVE-2022-50289> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50289>
