Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2022-50864 — kernel

⚪ Unknown ✅ No Known Exploit NVD
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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.

Affected software

CVE-2022-50864 is recorded against 2 packages.

  • kernel (from 6.1.0 up to 6.1.2)
  • unknown

Timeline and source

Published on 30 December 2025 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2022-50864 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-12-30
Updated 2026-08-20
Modified 2026-08-12
Fix URL N/A

Affected Packages

Software From version Fixed in
kernel 6.1.0 6.1.2
unknown — —

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2022-50864?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2022-50864 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2022
✓