Re: [PATCH v2] fs: remove accidental overflow during wraparound check

2024-05-15 Thread Christian Brauner
On Mon, 13 May 2024 17:50:30 +, Justin Stitt wrote: > Running syzkaller with the newly enabled signed integer overflow > sanitizer produces this report: > > [ 195.401651] [ cut here ] > [ 195.404808] UBSAN: signed-integer-overflow in ../fs/open.c:321:15 > [

Re: [PATCH v2] fs: remove accidental overflow during wraparound check

2024-05-14 Thread Jan Kara
On Mon 13-05-24 17:50:30, Justin Stitt wrote: > Running syzkaller with the newly enabled signed integer overflow > sanitizer produces this report: > > [ 195.401651] [ cut here ] > [ 195.404808] UBSAN: signed-integer-overflow in ../fs/open.c:321:15 > [ 195.408739]

[PATCH v2] fs: remove accidental overflow during wraparound check

2024-05-13 Thread Justin Stitt
Running syzkaller with the newly enabled signed integer overflow sanitizer produces this report: [ 195.401651] [ cut here ] [ 195.404808] UBSAN: signed-integer-overflow in ../fs/open.c:321:15 [ 195.408739] 9223372036854775807 + 562984447377399 cannot be represented in