diff options
author | Shigeru Yoshida <[email protected]> | 2022-08-23 23:46:25 +0900 |
---|---|---|
committer | Konstantin Komarov <[email protected]> | 2022-09-30 17:39:52 +0300 |
commit | caad9dd8792a2622737b7273cb34835fd9536cd2 (patch) | |
tree | 36f634ace97b77d772f8812d6d88bc6ffcd4eed7 /net/lapb/lapb_out.c | |
parent | 51e76a232f8c037f1d9e9922edc25b003d5f3414 (diff) |
fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()
syzbot reported UBSAN error as below:
[ 76.901829][ T6677] ================================================================================
[ 76.903908][ T6677] UBSAN: shift-out-of-bounds in fs/ntfs3/super.c:675:13
[ 76.905363][ T6677] shift exponent -247 is negative
This patch avoid this error.
Link: https://syzkaller.appspot.com/bug?id=b0299c09a14aababf0f1c862dd4ebc8ab9eb0179
Fixes: a3b774342fa7 (fs/ntfs3: validate BOOT sectors_per_clusters)
Cc: Author: Randy Dunlap <[email protected]>
Reported-by: [email protected]
Signed-off-by: Shigeru Yoshida <[email protected]>
Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions