When running the attached test program, the kernel panics due to trunclbn becoming negative. Therefore use a larger type (int64_t).
This issue was found by running syzkaller.
Differential D18763
Avoid overflow in vtruncbuf() tuexen on Jan 6 2019, 9:33 PM. Authored by Tags None Referenced Files
Subscribers
Details When running the attached test program, the kernel panics due to trunclbn becoming negative. Therefore use a larger type (int64_t). This issue was found by running syzkaller. Run the attached test program.
Diff Detail
|