2 BUG_ON crashes

From: shankarapailoor
Date: Tue May 29 2018 - 09:34:35 EST


Hi,

I have been fuzzing linux 4.17-rc4 with Syzkaller and it triggered the
following BUG_ONs.

1. kernel BUG at fs/btrfs/file.c:997
(https://elixir.bootlin.com/linux/v4.17-rc4/source/fs/btrfs/file.c#L997)

Stack Trace: https://pastebin.com/QZeDnRvm

2. kernel BUG at fs/btrfs/extent_io.c:4049
(https://elixir.bootlin.com/linux/v4.17-rc4/source/fs/btrfs/extent_io.c#L4049)

Stack Trace: https://pastebin.com/qZN5qF3e

Both bugs appear to be triggered by fault injections but can the
BUG_ON's be changed to Warnings?

Regards,
Shankara Pailoor