[reiserfs?] kernel BUG in balance_leaf

13 görüntüleme
İlk okunmamış mesaja atla

syzbot

okunmadı,
8 Oca 2023 06:53:378.01.2023
alıcı syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c4215ee4771b Linux 4.14.302
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=148b626e480000
kernel config: https://syzkaller.appspot.com/x/.config?x=4a9988fe055c9527
dashboard link: https://syzkaller.appspot.com/bug?extid=932fbe523481da287543
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17f5dc6a480000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=129b0d4e480000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c93ba055d204/disk-c4215ee4.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/bfbc929a33c1/vmlinux-c4215ee4.xz
kernel image: https://storage.googleapis.com/syzbot-assets/444658051770/bzImage-c4215ee4.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/32697e0897f4/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+932fbe...@syzkaller.appspotmail.com

REISERFS (device loop1): found reiserfs format "3.6" with non-standard journal
REISERFS panic (device loop4): vs-12195 balance_leaf: CFR not initialized
REISERFS (device loop5): found reiserfs format "3.6" with non-standard journal
REISERFS (device loop1): using ordered data mode
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
REISERFS (device loop2): found reiserfs format "3.6" with non-standard journal
reiserfs: using flush barriers
REISERFS (device loop5): using ordered data mode
REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
REISERFS (device loop2): using ordered data mode
Modules linked in:
CPU: 1 PID: 8415 Comm: syz-executor266 Not tainted 4.14.302-syzkaller #0
reiserfs: using flush barriers
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
task: ffff8880a0c8c180 task.stack: ffff888091690000
RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390
RSP: 0018:ffff888091696f48 EFLAGS: 00010297
reiserfs: using flush barriers
RAX: ffff8880a0c8c180 RBX: ffff8880a42ea480 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bd020 RDI: ffffed10122d2ddf
RBP: ffff888091696ff8 R08: 0000000000000049 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8796cbe0
R13: ffffffff8796cde0 R14: ffffffff87974280 R15: ffff8880916972c8
REISERFS (device loop2): journal params: device loop2, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
FS: 00007fe023716700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
REISERFS (device loop2): checking transaction log (loop2)
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
REISERFS (device loop2): Using r5 hash to sort names
CR2: 00007fe01b400000 CR3: 000000009f693000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
REISERFS (device loop2): Created .reiserfs_priv - reserved for xattr storage.
balance_leaf+0x9b9b/0xba30 fs/reiserfs/do_balan.c:1450
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
do_balance+0x282/0x630 fs/reiserfs/do_balan.c:1899
REISERFS (device loop5): Using r5 hash to sort names
REISERFS (device loop5): Created .reiserfs_priv - reserved for xattr storage.
reiserfs_insert_item+0x95b/0xc70 fs/reiserfs/stree.c:2271
REISERFS (device loop3): found reiserfs format "3.6" with non-standard journal
reiserfs_new_inode+0xd52/0x2150 fs/reiserfs/inode.c:2063
REISERFS (device loop3): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop3): journal params: device loop3, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop3): checking transaction log (loop3)
reiserfs_create+0x2eb/0x6b0 fs/reiserfs/namei.c:667
REISERFS (device loop3): Using r5 hash to sort names
lookup_open+0x77a/0x1750 fs/namei.c:3241
REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage.
do_last fs/namei.c:3334 [inline]
path_openat+0xe08/0x2970 fs/namei.c:3571
do_filp_open+0x179/0x3c0 fs/namei.c:3605
do_sys_open+0x296/0x410 fs/open.c:1081
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7fe02376a9b9
RSP: 002b:00007fe0237162f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe0237f07a0 RCX: 00007fe02376a9b9
RDX: 0000000000000241 RSI: 0000000020000000 RDI: 00000000ffffff9c
RBP: 00007fe0237bd390 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe0237bd298
R13: 0030656c69662f2e R14: 7366726573696572 R15: 00007fe0237f07a8
Code: 42 97 87 74 6d e8 16 65 50 fa 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 c0 f8 f3 8b 48 c7 c7 40 44 97 87 e8 84 43 fe ff e8 f5 64 50 fa <0f> 0b e8 ee 64 50 fa 4d 85 e4 49 c7 c6 80 42 97 87 75 0a 49 c7
RIP: __reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390 RSP: ffff888091696f48
---[ end trace cb4c768c6e59f912 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

okunmadı,
13 Oca 2023 18:48:5213.01.2023
alıcı syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=175d2a91480000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=ca510dce85a9bab385e3
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14c4cba4480000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=164c12a6480000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/98c0bdb4abb3/disk-3f8a27f9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ea228ff02669/vmlinux-3f8a27f9.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/f7cd8ad2d0d3/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+ca510d...@syzkaller.appspotmail.com

REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
REISERFS panic (device loop0): vs-12195 balance_leaf: CFR not initialized
------------[ cut here ]------------
kernel BUG at fs/reiserfs/prints.c:390!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8207 Comm: syz-executor868 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390
Code: 79 88 74 6d e8 f8 d1 6c f9 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 e0 33 2f 8d 48 c7 c7 a0 4e 79 88 e8 47 03 fe ff e8 d7 d1 6c f9 <0f> 0b e8 d0 d1 6c f9 4d 85 e4 49 c7 c6 e0 4c 79 88 75 0a 49 c7 c6
RSP: 0018:ffff88809337edd8 EFLAGS: 00010293
RAX: ffff88809be4a340 RBX: ffff8880aa6322c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87f5b399 RDI: ffffed101266fdad
RBP: ffff88809337eea8 R08: 0000000000000049 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff8878c6c0
R13: ffffffff8878cf80 R14: ffffffff88794ce0 R15: 0000000000000000
FS: 00007f80e95df700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e978e9000 CR3: 000000009c82a000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
balance_leaf+0xaeb3/0xca70 fs/reiserfs/do_balan.c:1450
do_balance+0x30a/0x760 fs/reiserfs/do_balan.c:1899
reiserfs_insert_item+0xbf3/0x1010 fs/reiserfs/stree.c:2271
reiserfs_new_inode+0xe51/0x2180 fs/reiserfs/inode.c:2064
reiserfs_create+0x346/0x720 fs/reiserfs/namei.c:667
lookup_open+0x893/0x1a20 fs/namei.c:3235
do_last fs/namei.c:3327 [inline]
path_openat+0x1094/0x2df0 fs/namei.c:3537
do_filp_open+0x18c/0x3f0 fs/namei.c:3567
do_sys_open+0x3b3/0x520 fs/open.c:1085
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f80e96335a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f80e95df2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f80e96b97a0 RCX: 00007f80e96335a9
RDX: 0000000000000241 RSI: 0000000020000000 RDI: 00000000ffffff9c
RBP: 00007f80e96862b0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f80e96861b8
R13: 0030656c69662f2e R14: 7366726573696572 R15: 00007f80e96b97a8
Modules linked in:
---[ end trace 741c4c8c18ac03b4 ]---
RIP: 0010:__reiserfs_panic.cold+0x37/0x8a fs/reiserfs/prints.c:390
Code: 79 88 74 6d e8 f8 d1 6c f9 4c 89 e9 4c 89 f2 4c 89 e6 49 c7 c0 e0 33 2f 8d 48 c7 c7 a0 4e 79 88 e8 47 03 fe ff e8 d7 d1 6c f9 <0f> 0b e8 d0 d1 6c f9 4d 85 e4 49 c7 c6 e0 4c 79 88 75 0a 49 c7 c6
RSP: 0018:ffff88809337edd8 EFLAGS: 00010293
RAX: ffff88809be4a340 RBX: ffff8880aa6322c0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff87f5b399 RDI: ffffed101266fdad
RBP: ffff88809337eea8 R08: 0000000000000049 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff8878c6c0
R13: ffffffff8878cf80 R14: ffffffff88794ce0 R15: 0000000000000000
FS: 00007f80e95df700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f80e9684758 CR3: 000000009c82a000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


Tümünü yanıtla
Yazarı yanıtla
Yönlendir
0 yeni ileti