CVE-2022-50864 in Block products
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 pan...
Affects 0 products from 5 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-50864 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-341150-I |
| Published | 2025-12-30 |
| Last modified | 2026-04-15 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's nilfs2 filesystem module can lead to a kernel panic due to a shift-out-of-bounds error when the s_log_block_size field in the superblock data is corrupted and set to an excessively large value.
The vulnerability arises from improper validation of the s_log_block_size field in the superblock data structure. If this field is set to a value that is too large, it can cause a shift-out-of-bounds error during the execution of the init_nilfs() and load_nilfs() functions, potentially leading to a kernel panic if the panic_on_warn setting is enabled.
Questions
What is CVE-2022-50864?
A vulnerability in the Linux kernel's nilfs2 filesystem module can lead to a kernel panic due to a shift-out-of-bounds error when the s_log_block_size field in the superblock data is corrupted and set to an excessively large value.
Is CVE-2022-50864 actively exploited?
No confirmed active exploitation of CVE-2022-50864 as of 2026-05-30.
How do I remediate CVE-2022-50864?
Priority: MEDIUM.
What systems are affected by CVE-2022-50864?
CVE-2022-50864 affects Block; Exponent; Kernel; Linux; Panic.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Block","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-15.