Menu

Star on GitHub · 3.2k

CVE-2022-49276

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: jffs2: fix memory leak in jffs2_scan_medium If an error is returned in jffs2_scan_eraseblock() and some memory has been added t…

Published Feb 26, 2025CWE-401EPSS 0.27%

Overview

CVE-2022-49276 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_scan_medium

If an error is returned in jffs2_scan_eraseblock() and some memory

has been added to the jffs2_summary *s, we can observe the following

kmemleak report:

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

unreferenced object 0xffff88812b889c40 (size 64):

comm "mount", pid 692, jiffies 4294838325 (age 34.288s)

hex dump (first 32 bytes):

40 48 b5 14 81 88 ff ff 01 e0 31 00 00 00 50 00 @H........1...P.

00 00 01 00 00 00 01 00 00 00 02 00 00 00 09 08 ................

backtrace:

[<ffffffffae93a3a3>] __kmalloc+0x613/0x910

[<ffffffffaf423b9c>] jffs2_sum_add_dirent_mem+0x5c/0xa0

[<ffffffffb0f3afa8>] jffs2_scan_medium.cold+0x36e5/0x4794

[<ffffffffb0f3dbe1>] jffs2_do_mount_fs.cold+0xa7/0x2267

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

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

[<ffffffffb0315d64>] mtd_get_sb+0x254/0x400

[<fff

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-49276?

CVE-2022-49276 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-49276?

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-49276?

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-49276?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49276 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