Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-50864— nilfs2: fix shift-out-of-bounds due to too large exponent of block size

AI Predicted 7.8 Difficulty: Moderate EPSS 0.18% · P8

Affected Version Matrix 12

VendorProductVersion RangeStatus
LinuxLinux8a9d2191e9f43bbcd256a9a6871bd73434c83f2f< ec93b5430ec0f60877a5388bb023d60624f9ab9faffected
8a9d2191e9f43bbcd256a9a6871bd73434c83f2f< 8b6ef451b5701b37d9a5905534595776a662edfcaffected
8a9d2191e9f43bbcd256a9a6871bd73434c83f2f< ddb6615a168f97b91175e00eda4c644741cf531caffected
8a9d2191e9f43bbcd256a9a6871bd73434c83f2f< a16731fa1b96226c75bbf18e73513b14fc318360affected
8a9d2191e9f43bbcd256a9a6871bd73434c83f2f< ebeccaaef67a4895d2496ab8d9c2fb8d89201211affected
2.6.30affected
< 2.6.30unaffected
5.10.163≤ 5.10.*unaffected
… +4 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-50864

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
nilfs2: fix shift-out-of-bounds due to too large exponent of block size
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于超级块s_log_block_size字段过大导致移位越界,可能导致内核崩溃。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 8a9d2191e9f43bbcd256a9a6871bd73434c83f2f ~ ec93b5430ec0f60877a5388bb023d60624f9ab9f -
LinuxLinux 2.6.30 -

II. Public POCs for CVE-2022-50864

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-50864

登录查看更多情报信息。

Other References for CVE-2022-50864 (5)

Same Patch Batch · Linux · 2025-12-30 · 244 CVEs total

CVE-2023-541849.8 CRITICALscsi: target: iscsit: Free cmds before session free
CVE-2023-542239.8 CRITICALnet/mlx5e: xsk: Fix invalid buffer access for legacy rq
CVE-2023-542379.8 CRITICALnet/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()
CVE-2023-542579.8 CRITICALnet: macb: fix a memory corruption in extended buffer descriptor mode
CVE-2023-542589.8 CRITICALcifs: fix potential oops in cifs_oplock_break
CVE-2023-542699.8 CRITICALSUNRPC: double free xprt_ctxt while still in use
CVE-2023-542809.8 CRITICALcifs: fix potential race when tree connecting ipc
CVE-2023-542929.8 CRITICALRDMA/irdma: Fix data race on CQP request done
CVE-2023-542039.1 CRITICALksmbd: fix slab-out-of-bounds in init_smb2_rsp_hdr
CVE-2022-508808.8 HIGHwifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
CVE-2023-542628.8 HIGHnet/mlx5e: Don't clone flow post action attributes second time
CVE-2023-542148.8 HIGHBluetooth: L2CAP: Fix potential user-after-free
CVE-2023-541628.8 HIGHksmbd: fix possible memory leak in smb2_lock()
CVE-2023-543188.8 HIGHnet/smc: use smc_lgr_list.lock to protect smc_lgr_list.list iterate in smcr_port_add
CVE-2023-542508.2 HIGHksmbd: avoid out of bounds access in decode_preauth_ctxt()
CVE-2023-541648.0 HIGHBluetooth: ISO: fix iso_conn related locking and validity issues
CVE-2023-542067.8 HIGHnet/sched: flower: fix filter idr initialization
CVE-2023-542027.8 HIGHdrm/i915: fix race condition UAF in i915_perf_add_config_ioctl
CVE-2023-542107.8 HIGHBluetooth: hci_sync: Avoid use-after-free in dbg for hci_remove_adv_monitor()
CVE-2023-542437.8 HIGHnetfilter: ebtables: fix table blob use-after-free

Showing top 20 of 244 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-50864

No comments yet


Leave a comment