CVE-2022-50869
Unknown Unknown - Not Provided
Slab-Out-of-Bounds Vulnerability in Linux Kernel NTFS3 Driver

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix slab-out-of-bounds in r_page When PAGE_SIZE is 64K, if read_log_page is called by log_read_rst for the first time, the size of *buffer would be equal to DefaultLogPageSize(4K).But for *buffer operations like memcpy, if the memory area size(n) which being assigned to buffer is larger than 4K (log->page_size(64K) or bytes(64K-page_off)), it will cause an out of boundary error. Call trace: [...] kasan_report+0x44/0x130 check_memory_region+0xf8/0x1a0 memcpy+0xc8/0x100 ntfs_read_run_nb+0x20c/0x460 read_log_page+0xd0/0x1f4 log_read_rst+0x110/0x75c log_replay+0x1e8/0x4aa0 ntfs_loadlog_and_replay+0x290/0x2d0 ntfs_fill_super+0x508/0xec0 get_tree_bdev+0x1fc/0x34c [...] Fix this by setting variable r_page to NULL in log_read_rst.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-05-27
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux kernel *
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a slab-out-of-bounds error in the Linux kernel's NTFS3 filesystem driver. When the system's PAGE_SIZE is 64K, a function called read_log_page is called by log_read_rst for the first time, and the buffer size is set to 4K (DefaultLogPageSize). However, if operations like memcpy try to copy more than 4K (up to 64K), it causes an out-of-bounds memory access, potentially leading to memory corruption or crashes. The issue is fixed by setting the variable r_page to NULL in log_read_rst to prevent this error.


How can this vulnerability impact me? :

This vulnerability can lead to out-of-bounds memory access in the Linux kernel when handling NTFS filesystem logs, which may cause system instability, crashes, or potential memory corruption. Such issues could be exploited to cause denial of service or potentially escalate privileges depending on the context.


What immediate steps should I take to mitigate this vulnerability?

Apply the patch that fixes the slab-out-of-bounds vulnerability in the Linux kernel's ntfs3 filesystem driver by setting the variable r_page to NULL in log_read_rst. This will prevent the out-of-bound memory access when PAGE_SIZE is 64K.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart