exfat: set s_maxbytes
Get series with b4
b4 am [email protected]Versions newest first
- v0 Latest1 patch 1 replyIn review
Patches in v0 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | exfat: fix s_maxbytesfs/ fs/ fs/ | +10 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v0 yet.
Cover letter [PATCH v0 0/1] exfat: set s_maxbytes
Possible security impact when a file in an exFAT volume larger than 16TB(MAX_LFS_FILESIZE) is mmap()'d on 32-bit machines due to potential undefined behaviour in filemap. Though the attack surface is quite limited as mmap() is rarely used with exFAT. The comment on the macro definition is pretty much self-explanatory.
The use of unsigned int became apparently evil ever since Linux switched its own loff_t. Integer overflows could go undetected.
David Timber (1):
exfat: fix s_maxbytes
fs/exfat/exfat_raw.h | 1 + fs/exfat/file.c | 1 + fs/exfat/super.c | 11 ++++++++--- 3 files changed, 10 insertions(+), 3 deletions(-)
Signature · 1 line
2.53.0.1.ga224b40d3f.dirty