Files
Dom Cobley f522af8b26 fs/ntfs3: Fix memory corruption when page_size changes
The rework in fs/ntfs3: Reduce stack usage
changes log->page_size but doesn't change the associated
log->page_mask and log->page_bits.

That results in the bytes value in read_log_page
getting a negative value, which is bad when it is
passed to memcpy.

The kernel panic can be observed when connecting an
ntfs formatted drive that has previously been connected
to a Windows machine to a Raspberry Pi 5, which by defauilt
uses a 16K kernel pagesize.

Fixes: 865e7a7700 ("fs/ntfs3: Reduce stack usage")
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
2024-08-05 11:15:37 +01:00
..
2024-07-18 09:50:08 +02:00
2024-07-26 18:48:12 +08:00
2024-07-09 10:40:03 +02:00
2024-05-28 11:52:53 +02:00
2024-05-28 11:52:49 +02:00
2024-08-02 10:56:14 -05:00
2024-04-23 13:27:43 +02:00
2024-05-28 11:52:45 +02:00
2024-07-29 09:34:18 +05:30
2024-06-25 11:15:48 +02:00
2024-05-02 20:35:57 +02:00
2024-04-25 20:56:20 -07:00
2024-05-10 08:26:31 +02:00
2023-10-19 11:02:47 +02:00
2023-08-19 12:12:12 +02:00
2024-07-24 10:53:13 +02:00
2024-07-18 09:50:08 +02:00
2024-06-20 15:19:17 -06:00
2024-05-02 16:28:20 +02:00
2024-05-24 13:34:07 +02:00
2024-04-10 16:23:02 -06:00