Menu

Star on GitHub · 3.2k

CVE-2022-49277

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: jffs2: fix memory leak in jffs2_do_mount_fs If jffs2_build_filesystem() in jffs2_do_mount_fs() returns an error, we can observe…

Published Feb 26, 2025CWE-401EPSS 0.28%

Overview

CVE-2022-49277 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

jffs2: fix memory leak in jffs2_do_mount_fs

If jffs2_build_filesystem() in jffs2_do_mount_fs() returns an error,

we can observe the following kmemleak report:

--------------------------------------------

unreferenced object 0xffff88811b25a640 (size 64):

comm "mount", pid 691, jiffies 4294957728 (age 71.952s)

hex dump (first 32 bytes):

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

backtrace:

[<ffffffffa493be24>] kmem_cache_alloc_trace+0x584/0x880

[<ffffffffa5423a06>] jffs2_sum_init+0x86/0x130

[<ffffffffa5400e58>] jffs2_do_mount_fs+0x798/0xac0

[<ffffffffa540acf3>] jffs2_do_fill_super+0x383/0xc30

[<ffffffffa540c00a>] jffs2_fill_super+0x2ea/0x4c0

[...]

unreferenced object 0xffff88812c760000 (size 65536):

comm "mount", pid 691, jiffies 4294957728 (age 71.952s)

hex dump (first 32 bytes):

bb b

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49277?

CVE-2022-49277 is a medium-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-49277?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49277?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49277?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49277 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2022

View all