In the Linux kernel, the following vulnerability has been resolved:
f2fs: remove WARNON in f2fsisvalidblkaddr
Syzbot triggers two WARNs in f2fsisvalidblkaddr and _isbitmapvalid. For example, in f2fsisvalidblkaddr, if type is DATAGENERICENHANCE or DATAGENERICENHANCEREAD, it invokes WARN_ON if blkaddr is not in the right range. The call trace is as follows:
f2fsgetnodeinfo+0x45f/0x1070 readnodepage+0x577/0x1190 _getnodepage.part.0+0x9e/0x10e0 _getnodepage f2fsgetnodepage+0x109/0x180 doreadinode f2fsiget+0x2a5/0x58b0 f2fsfill_super+0x3b39/0x7ca0
Fix these two WARNs by replacing WARNON with dumpstack.