В ядре Linux устранена следующая уязвимость:
fs/ntfs3: избежать ошибки UBSAN в true_sectors_per_clst()
syzbot сообщил об ошибке UBSAN, как показано ниже:
[ 76.901829][ T6677] ==========================================================================
[ 76.903908][ T6677] UBSAN: сдвиг за пределы границ в fs/ntfs3/super.c:675:13
[ 76.905363][ T6677] показатель сдвига -247 отрицательный
Этот патч позволяет избежать этой ошибки.
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: 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.