Menu

Star on GitHub · 3.2k

CVE-2022-50009

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix null-ptr-deref in f2fs_get_dnode_of_data There is issue as follows when test f2fs atomic write: F2FS-fs (loop0): Can'…

Published Jun 18, 2025CWE-476EPSS 0.19%

Overview

CVE-2022-50009 is a medium-severity vulnerability. It was published on June 18, 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:

f2fs: fix null-ptr-deref in f2fs_get_dnode_of_data

There is issue as follows when test f2fs atomic write:

F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock

F2FS-fs (loop0): invalid crc_offset: 0

F2FS-fs (loop0): f2fs_check_nid_range: out-of-range nid=1, run fsck to fix.

F2FS-fs (loop0): f2fs_check_nid_range: out-of-range nid=2, run fsck to fix.

==================================================================

BUG: KASAN: null-ptr-deref in f2fs_get_dnode_of_data+0xac/0x16d0

Read of size 8 at addr 0000000000000028 by task rep/1990

CPU: 4 PID: 1990 Comm: rep Not tainted 5.19.0-rc6-next-20220715 #266

Call Trace:

<TASK>

dump_stack_lvl+0x6e/0x91

print_report.cold+0x49a/0x6bb

kasan_report+0xa8/0x130

f2fs_get_dnode_of_data+0xac/0x16d0

f2fs_do_write_data_page+0x2a5/0x1030

move_data_page+0x3c5/0xdf0

do_garbage_collect+0x2015/0x36c0

f2fs_gc+0x554/0x1d30

f2fs_balance_fs+0x7f5/0xda0

f2fs_write_singl

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

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

How severe is CVE-2022-50009?

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

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

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