Menu

Star on GitHub · 3.2k

CVE-2022-50864

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix shift-out-of-bounds due to too large exponent of block size If field s_log_block_size of superblock data is corrupt…

Published Dec 30, 2025EPSS 0.20%

Overview

CVE-2022-50864 is a known-severity vulnerability. It was published on December 30, 2025.

Technical description

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

nilfs2: fix shift-out-of-bounds due to too large exponent of block size

If field s_log_block_size of superblock data is corrupted and too large,

init_nilfs() and load_nilfs() still can trigger a shift-out-of-bounds

warning followed by a kernel panic (if panic_on_warn is set):

shift exponent 38973 is too large for 32-bit type 'int'

Call Trace:

<TASK>

dump_stack_lvl+0xcd/0x134

ubsan_epilogue+0xb/0x50

__ubsan_handle_shift_out_of_bounds.cold.12+0x17b/0x1f5

init_nilfs.cold.11+0x18/0x1d [nilfs2]

nilfs_mount+0x9b5/0x12b0 [nilfs2]

...

This fixes the issue by adding and using a new helper function for getting

block size with sanity check.

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

CVE-2022-50864 is a known-severity vulnerability. It was published on December 30, 2025.

How severe is CVE-2022-50864?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

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

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

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