[0/1] fs/jfs: fix KASAN double-free warnings after failed jfs_remount()

Message ID 20230701140542.2252-1-andrew.kanner@gmail.com
Headers
Series fs/jfs: fix KASAN double-free warnings after failed jfs_remount() |

Message

Andrew Kanner July 1, 2023, 2:05 p.m. UTC
  +Tested-by: Andrew Kanner <andrew.kanner@gmail.com>
for https://lore.kernel.org/all/20221201124628.603505-1-liushixin2@huawei.com/T/

The next change complements the patch from Liu Shixin (see above).
Two patches for fs/jfs/jfs_{imap,dmap}.c fix syzkaller issues:
Link: https://syzkaller.appspot.com/bug?extid=9f06ddd18bf059dff2ad
Link: https://syzkaller.appspot.com/bug?extid=6a93efb725385bc4b2e9
Link: https://syzkaller.appspot.com/bug?extid=90a11e6b1e810785c6ff
Link: https://syzkaller.appspot.com/bug?extid=47366a6b503c7edf6bbb
And Similar bugs from the other branches:
Link: https://syzkaller.appspot.com/bug?extid=cfff8c52c283dd09bf27
Link: https://syzkaller.appspot.com/bug?extid=e8f9034a130a66a2b351
Link: https://syzkaller.appspot.com/bug?extid=5c604c1cc148275ab8a6
Link: https://syzkaller.appspot.com/bug?extid=ea731a6641531af62f80
Link: https://syzkaller.appspot.com/bug?extid=b212249c28280daa4576

Andrew Kanner (1):
  fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()

 fs/jfs/jfs_dmap.c | 1 +
 1 file changed, 1 insertion(+)