summaryrefslogtreecommitdiff
path: root/include/linux/rolling_buffer.h
diff options
context:
space:
mode:
authorDavid Timber <dxdt@dev.snart.me>2026-04-12 02:32:51 +0300
committerNamjae Jeon <linkinjeon@kernel.org>2026-06-15 13:55:17 +0300
commit20dd3185d13865214ff25b0bf7b931e8d73be1ac (patch)
treeabe9d9b6488955db6a34cbe38994396396625759 /include/linux/rolling_buffer.h
parent0e0611827f3349d0a2ac121c023a6d3260dcecdb (diff)
downloadlinux-20dd3185d13865214ff25b0bf7b931e8d73be1ac.tar.xz
exfat: fix handling of damaged volume in exfat_create_upcase_table()
When the size of the upcase table is set to zero in the dentry for any reason(e.g. corrupted media or misbehaving device), an integer overflow causes the module to loop indefinitely. If the size of the upcase table is read zero, do not attempt to load the table. Instead, fallback to loading the default upcase table. If the size of the upcase table is zero or no upcase table is found, raise exfat_fs_error() to mark the volume read-only. Signed-off-by: David Timber <dxdt@dev.snart.me> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/linux/rolling_buffer.h')
0 files changed, 0 insertions, 0 deletions