CVE-2022-50289
ocfs2: fix memory leak in ocfs2_stack_glue_init()
Check your servers for CVE-2022-50289
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50289 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.66% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before 0000281f019111526f7abccc61f2746d2eb626ca affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before 802abe2bc654e87334e6a0ab6c1adc2b6d5f6394 affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before b0822faebd79971617abd495beb2d6f5356b88bf affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before 7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7 affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before f5f2682d3a34dd8350bf63f232d885fd95f25b92 affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before 61d68cf2ba79128c48d4b3fa4d10c34dc18ba572 affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before 6f6c13776cbee4b6a515f4cd3b859f046be4f6f9 affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before 0b2128b70849f2728949babfc1c760096ef72f5d affected from 3878f110f71a0971ff7acc15dd6db711b6ef37c6, before 13b6269dd022aaa69ca8d1df374ab327504121cf
Other versions: unaffected
|
| Linux |
affected 2.6.26 unaffected before 2.6.26 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50289 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50289
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50289
trivy image --scanners vuln IMAGE | grep CVE-2022-50289
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/0000281f019111526f7abccc61f2746d2eb626ca git.kernel.org
- https://git.kernel.org/stable/c/802abe2bc654e87334e6a0ab6c1adc2b6d5f6394 git.kernel.org
- https://git.kernel.org/stable/c/b0822faebd79971617abd495beb2d6f5356b88bf git.kernel.org
- https://git.kernel.org/stable/c/7c8bf45cea9c8d6fb3e14d8cd5ae60e0372f39b7 git.kernel.org
- https://git.kernel.org/stable/c/f5f2682d3a34dd8350bf63f232d885fd95f25b92 git.kernel.org
- https://git.kernel.org/stable/c/61d68cf2ba79128c48d4b3fa4d10c34dc18ba572 git.kernel.org
- https://git.kernel.org/stable/c/6f6c13776cbee4b6a515f4cd3b859f046be4f6f9 git.kernel.org
- https://git.kernel.org/stable/c/0b2128b70849f2728949babfc1c760096ef72f5d git.kernel.org
- https://git.kernel.org/stable/c/13b6269dd022aaa69ca8d1df374ab327504121cf git.kernel.org
Source: the record CVE-2022-50289 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse