public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+fd404f6b03a58e8bc403@syzkaller.appspotmail.com>
To: eadavis@qq.com, linux-kernel@vger.kernel.org,
	 syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [exfat?] kernel BUG in iov_iter_revert
Date: Fri, 19 Jan 2024 05:52:04 -0800	[thread overview]
Message-ID: <000000000000ff8d43060f4cc8c6@google.com> (raw)
In-Reply-To: <tencent_A4341BF325BBBA35BBFA336B9E701B144B08@qq.com>

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
kernel BUG in iov_iter_revert

------------[ cut here ]------------
kernel BUG at lib/iov_iter.c:582!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5472 Comm: syz-executor.0 Not tainted 6.7.0-syzkaller-12377-g9d1694dc91ce-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:iov_iter_revert lib/iov_iter.c:582 [inline]
RIP: 0010:iov_iter_revert+0x328/0x360 lib/iov_iter.c:567
Code: ee 64 78 fd e9 8f fd ff ff e8 44 65 78 fd e9 de fe ff ff e8 1a 65 78 fd eb a2 e8 33 65 78 fd e9 12 fe ff ff e8 29 01 21 fd 90 <0f> 0b e8 21 65 78 fd e9 23 fe ff ff e8 17 65 78 fd e9 64 fe ff ff
RSP: 0018:ffffc9000383f9e8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000001bca00 RCX: ffffffff846606e7
RDX: ffff8880293ebb80 RSI: ffffffff84660907 RDI: 0000000000000001
RBP: ffffc9000383fb30 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: fffffffffffffdef R14: 0000000000000000 R15: ffff8880696100b8
FS:  00007f2828b046c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c48c0150f8 CR3: 000000001632c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 exfat_direct_IO+0x310/0x4d0 fs/exfat/inode.c:539
 generic_file_read_iter+0x1dd/0x450 mm/filemap.c:2759
 call_read_iter include/linux/fs.h:2079 [inline]
 aio_read+0x318/0x4d0 fs/aio.c:1597
 __io_submit_one fs/aio.c:1998 [inline]
 io_submit_one+0x1480/0x1de0 fs/aio.c:2047
 __do_sys_io_submit fs/aio.c:2106 [inline]
 __se_sys_io_submit fs/aio.c:2076 [inline]
 __x64_sys_io_submit+0x1c3/0x350 fs/aio.c:2076
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7f2827e7cda9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2828b040c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f2827fabf80 RCX: 00007f2827e7cda9
RDX: 0000000020000540 RSI: 0000000000003f0a RDI: 00007f2828ae3000
RBP: 00007f2827ec947a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2827fabf80 R15: 00007ffe01c6a068
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:iov_iter_revert lib/iov_iter.c:582 [inline]
RIP: 0010:iov_iter_revert+0x328/0x360 lib/iov_iter.c:567
Code: ee 64 78 fd e9 8f fd ff ff e8 44 65 78 fd e9 de fe ff ff e8 1a 65 78 fd eb a2 e8 33 65 78 fd e9 12 fe ff ff e8 29 01 21 fd 90 <0f> 0b e8 21 65 78 fd e9 23 fe ff ff e8 17 65 78 fd e9 64 fe ff ff
RSP: 0018:ffffc9000383f9e8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000001bca00 RCX: ffffffff846606e7
RDX: ffff8880293ebb80 RSI: ffffffff84660907 RDI: 0000000000000001
RBP: ffffc9000383fb30 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: fffffffffffffdef R14: 0000000000000000 R15: ffff8880696100b8
FS:  00007f2828b046c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc103cff58 CR3: 000000001632c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


Tested on:

commit:         9d1694dc Merge tag 'for-6.8/block-2024-01-18' of git:/..
git tree:       https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=11f6a1b3e80000
kernel config:  https://syzkaller.appspot.com/x/.config?x=bf191e33072146e3
dashboard link: https://syzkaller.appspot.com/bug?extid=fd404f6b03a58e8bc403
compiler:       gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch:          https://syzkaller.appspot.com/x/patch.diff?x=12ffb3afe80000


      reply	other threads:[~2024-01-19 13:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16 16:19 [syzbot] [exfat?] kernel BUG in iov_iter_revert syzbot
2024-01-17  6:14 ` syzbot
2024-01-17 14:15 ` Namjae Jeon
2024-01-19  5:51 ` Edward Adam Davis
2024-01-19 11:04   ` syzbot
2024-01-19 12:34     ` Namjae Jeon
2024-01-19 13:10 ` Edward Adam Davis
2024-01-19 13:52   ` syzbot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=000000000000ff8d43060f4cc8c6@google.com \
    --to=syzbot+fd404f6b03a58e8bc403@syzkaller.appspotmail.com \
    --cc=eadavis@qq.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox