On Thu, Nov 7, 2024 at 9:09 AM Yonghong Song <yonghong.song@xxxxxxxxx> wrote: > > Patch [1] fixed possible kernel crash due to specific sdiv/smod operations > in bpf program. The following are related operations and the expected results > of those operations: > - LLONG_MIN/-1 = LLONG_MIN > - INT_MIN/-1 = INT_MIN > - LLONG_MIN%-1 = 0 > - INT_MIN%-1 = 0 > > Those operations are replaced with codes which won't cause > kernel crash. This patch documents what operations may cause exception and > what replacement operations are. > > [1] https://lore.kernel.org/all/20240913150326.1187788-1-yonghong.song@xxxxxxxxx/ > > Signed-off-by: Yonghong Song <yonghong.song@xxxxxxxxx> More than enough time has passed. Applied to bpf-next.