[syzbot] [udf?] BUG: unable to handle kernel paging request in __brelse

8 views
Skip to first unread message

syzbot

unread,
Jun 25, 2024, 7:42:20ā€ÆPMĀ (4 days ago)Ā Jun 25
to ja...@suse.com, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f76698bd9a8c Add linux-next specific files for 20240621
git tree: linux-next
console+strace: https://syzkaller.appspot.com/x/log.txt?x=17a690d6980000
kernel config: https://syzkaller.appspot.com/x/.config?x=ca79e3c3b9118bd0
dashboard link: https://syzkaller.appspot.com/bug?extid=8c750412421a6826fb6f
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11dbf741980000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15dc4151980000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/f204c5d02251/disk-f76698bd.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/50289c7e8999/vmlinux-f76698bd.xz
kernel image: https://storage.googleapis.com/syzbot-assets/c360e133a94f/bzImage-f76698bd.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/9c9f9d6ff90f/mount_0.gz

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

UDF-fs: Scanning with blocksize 2048 failed
UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
BUG: unable to handle page fault for address: ffffffffffffffeb
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD e136067 P4D e136067 PUD e138067 PMD 0
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 5094 Comm: syz-executor927 Not tainted 6.10.0-rc4-next-20240621-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline]
RIP: 0010:__brelse+0x38/0xa0 fs/buffer.c:1235
Code: 48 83 c3 60 48 89 df be 04 00 00 00 e8 21 e9 dc ff 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 44 <8b> 2b 31 ff 89 ee e8 ad 83 76 ff 85 ed 74 17 e8 64 7f 76 ff 48 89
RSP: 0018:ffffc90003447ac8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffffffffffeb RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffffffffffeb
RBP: 0000000000000008 R08: ffffffffffffffee R09: 1ffffffffffffffd
R10: dffffc0000000000 R11: fffffbfffffffffe R12: 0000000000000008
R13: ffff888028efb440 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffeb CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
brelse include/linux/buffer_head.h:325 [inline]
udf_sb_free_bitmap fs/udf/super.c:339 [inline]
udf_free_partition fs/udf/super.c:352 [inline]
udf_sb_free_partitions+0x1d5/0x540 fs/udf/super.c:377
udf_put_super+0x113/0x160 fs/udf/super.c:2367
generic_shutdown_super+0x136/0x2d0 fs/super.c:642
kill_block_super+0x44/0x90 fs/super.c:1685
deactivate_locked_super+0xc4/0x130 fs/super.c:473
cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1267
task_work_run+0x24f/0x310 kernel/task_work.c:180
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa27/0x28e0 kernel/exit.c:876
do_group_exit+0x207/0x2c0 kernel/exit.c:1025
__do_sys_exit_group kernel/exit.c:1036 [inline]
__se_sys_exit_group kernel/exit.c:1034 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1034
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5e47397789
Code: Unable to access opcode bytes at 0x7f5e4739775f.
RSP: 002b:00007ffd91c73db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5e47397789
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007f5e474132b0 R08: ffffffffffffffb8 R09: 00007ffd91c73e90
R10: 00007ffd91c73ce0 R11: 0000000000000246 R12: 00007f5e474132b0
R13: 0000000000000000 R14: 00007f5e47414020 R15: 00007f5e47365cd0
</TASK>
Modules linked in:
CR2: ffffffffffffffeb
---[ end trace 0000000000000000 ]---
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:atomic_read include/linux/atomic/atomic-instrumented.h:33 [inline]
RIP: 0010:__brelse+0x38/0xa0 fs/buffer.c:1235
Code: 48 83 c3 60 48 89 df be 04 00 00 00 e8 21 e9 dc ff 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 44 <8b> 2b 31 ff 89 ee e8 ad 83 76 ff 85 ed 74 17 e8 64 7f 76 ff 48 89
RSP: 0018:ffffc90003447ac8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffffffffffeb RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffffffffffffeb
RBP: 0000000000000008 R08: ffffffffffffffee R09: 1ffffffffffffffd
R10: dffffc0000000000 R11: fffffbfffffffffe R12: 0000000000000008
R13: ffff888028efb440 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffeb CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 83 c3 60 add $0x60,%rbx
4: 48 89 df mov %rbx,%rdi
7: be 04 00 00 00 mov $0x4,%esi
c: e8 21 e9 dc ff call 0xffdce932
11: 48 89 d8 mov %rbx,%rax
14: 48 c1 e8 03 shr $0x3,%rax
18: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
1f: fc ff df
22: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax
26: 84 c0 test %al,%al
28: 75 44 jne 0x6e
* 2a: 8b 2b mov (%rbx),%ebp <-- trapping instruction
2c: 31 ff xor %edi,%edi
2e: 89 ee mov %ebp,%esi
30: e8 ad 83 76 ff call 0xff7683e2
35: 85 ed test %ebp,%ebp
37: 74 17 je 0x50
39: e8 64 7f 76 ff call 0xff767fa2
3e: 48 rex.W
3f: 89 .byte 0x89


---
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.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jun 25, 2024, 8:32:52ā€ÆPMĀ (4 days ago)Ā Jun 25
to linux-...@vger.kernel.org, syzkall...@googlegroups.com
For archival purposes, forwarding an incoming command email to
linux-...@vger.kernel.org, syzkall...@googlegroups.com.

***

Subject: BUG: unable to handle kernel paging request in __brelse
Author: peil...@gmail.com

#syz test

syzbot

unread,
Jun 25, 2024, 9:03:05ā€ÆPMĀ (4 days ago)Ā Jun 25
to linux-...@vger.kernel.org, peil...@gmail.com, syzkall...@googlegroups.com
Hello,

syzbot tried to test the proposed patch but the build/boot failed:

000000004 RCX: 00007f16355169a4
[ 77.925908][ T5123] RDX: 0000000000080241 RSI: 00007ffdfe129aa8 RDI: 00000000ffffff9c
[ 77.933973][ T5123] RBP: 00007ffdfe129aa8 R08: 0000000000000004 R09: 0000000000000001
[ 77.941941][ T5123] R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000080241
[ 77.949919][ T5123] R13: 0000564c2dea772e R14: 0000000000000001 R15: 0000564c54a87910
[ 77.957990][ T5123] </TASK>
[ 79.072791][ T52] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 79.084835][ T52] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 79.139568][ T954] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
[ 79.147896][ T954] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
[ 80.161190][ T5171] chnl_net:caif_netlink_parms(): no params data found
[ 80.226537][ T5171] bridge0: port 1(bridge_slave_0) entered blocking state
[ 80.234952][ T5171] bridge0: port 1(bridge_slave_0) entered disabled state
[ 80.242559][ T5171] bridge_slave_0: entered allmulticast mode
[ 80.250004][ T5171] bridge_slave_0: entered promiscuous mode
[ 80.260448][ T5171] bridge0: port 2(bridge_slave_1) entered blocking state
[ 80.268278][ T5171] bridge0: port 2(bridge_slave_1) entered disabled state
[ 80.275827][ T5171] bridge_slave_1: entered allmulticast mode
[ 80.282658][ T5171] bridge_slave_1: entered promiscuous mode
[ 80.317410][ T5171] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 80.330688][ T5171] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 80.364820][ T5171] team0: Port device team_slave_0 added
[ 80.374222][ T5171] team0: Port device team_slave_1 added
[ 80.400065][ T5171] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 80.408563][ T5171] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
[ 80.435396][ T5171] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 80.449395][ T5171] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 80.457071][ T5171] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
[ 80.483397][ T5171] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 80.528875][ T5171] hsr_slave_0: entered promiscuous mode
[ 80.535390][ T5171] hsr_slave_1: entered promiscuous mode
[ 80.655971][ T5171] netdevsim netdevsim0 netdevsim0: renamed from eth0
[ 80.668502][ T5171] netdevsim netdevsim0 netdevsim1: renamed from eth1
[ 80.686394][ T5171] netdevsim netdevsim0 netdevsim2: renamed from eth2
[ 80.696155][ T5171] netdevsim netdevsim0 netdevsim3: renamed from eth3
[ 80.783576][ T5171] 8021q: adding VLAN 0 to HW filter on device bond0
[ 80.807270][ T5171] 8021q: adding VLAN 0 to HW filter on device team0
[ 80.821233][ T5178] bridge0: port 1(bridge_slave_0) entered blocking state
[ 80.828982][ T5178] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 80.851280][ T25] bridge0: port 2(bridge_slave_1) entered blocking state
[ 80.858595][ T25] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 81.019917][ T5171] 8021q: adding VLAN 0 to HW filter on device batadv0
[ 81.067045][ T5171] veth0_vlan: entered promiscuous mode
[ 81.080023][ T5171] veth1_vlan: entered promiscuous mode
[ 81.112414][ T5171] veth0_macvtap: entered promiscuous mode
[ 81.123514][ T5171] veth1_macvtap: entered promiscuous mode
[ 81.142700][ T5171] batman_adv: batadv0: Interface activated: batadv_slave_0
[ 81.160004][ T5171] batman_adv: batadv0: Interface activated: batadv_slave_1
[ 81.175579][ T5171] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
[ 81.184974][ T5171] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
[ 81.196100][ T5171] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
[ 81.205347][ T5171] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
[ 81.340008][ T5171] syz-executor.0 (5171) used greatest stack depth: 18544 bytes left
[ 81.374166][ T12] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 81.460796][ T12] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 81.586247][ T12] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
[ 81.688637][ T12] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0
2024/06/26 01:02:13 executed programs: 0
[ 81.879724][ T4491] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 81.889472][ T4491] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 81.897911][ T4491] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 81.907303][ T4491] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 81.915301][ T4491] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3
[ 81.923838][ T4491] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2
[ 82.061445][ T5198] chnl_net:caif_netlink_parms(): no params data found
[ 82.122761][ T5198] bridge0: port 1(bridge_slave_0) entered blocking state
[ 82.130887][ T5198] bridge0: port 1(bridge_slave_0) entered disabled state
[ 82.139441][ T5198] bridge_slave_0: entered allmulticast mode
[ 82.147751][ T5198] bridge_slave_0: entered promiscuous mode
[ 82.157198][ T5198] bridge0: port 2(bridge_slave_1) entered blocking state
[ 82.164749][ T5198] bridge0: port 2(bridge_slave_1) entered disabled state
[ 82.171921][ T5198] bridge_slave_1: entered allmulticast mode
[ 82.179360][ T5198] bridge_slave_1: entered promiscuous mode
[ 82.209689][ T5198] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link
[ 82.221577][ T5198] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link
[ 82.254100][ T5198] team0: Port device team_slave_0 added
[ 82.261951][ T5198] team0: Port device team_slave_1 added
[ 82.296217][ T5198] batman_adv: batadv0: Adding interface: batadv_slave_0
[ 82.303353][ T5198] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
[ 82.329624][ T5198] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active
[ 82.345219][ T5198] batman_adv: batadv0: Adding interface: batadv_slave_1
[ 82.352226][ T5198] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem.
[ 82.380583][ T5198] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active
[ 82.423103][ T5198] hsr_slave_0: entered promiscuous mode
[ 82.430159][ T5198] hsr_slave_1: entered promiscuous mode
[ 82.436978][ T5198] debugfs: Directory 'hsr0' with parent 'hsr' already present!
[ 82.445117][ T5198] Cannot create hsr debugfs directory
[ 83.944211][ T4491] Bluetooth: hci0: command tx timeout
[ 86.023227][ T4491] Bluetooth: hci0: command tx timeout
[ 86.162559][ T12] bridge_slave_1: left allmulticast mode
[ 86.174184][ T12] bridge_slave_1: left promiscuous mode
[ 86.181283][ T12] bridge0: port 2(bridge_slave_1) entered disabled state
[ 86.212317][ T12] bridge_slave_0: left allmulticast mode
[ 86.222321][ T5209] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:337
[ 86.223265][ T12] bridge_slave_0: left promiscuous mode
[ 86.232142][ T5209] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5209, name: udevd
[ 86.238553][ T12] bridge0: port 1(bridge_slave_0) entered disabled state
[ 86.247080][ T5209] preempt_count: 1, expected: 0
[ 86.259208][ T5209] RCU nest depth: 0, expected: 0
[ 86.264443][ T5209] 4 locks held by udevd/5209:
[ 86.269145][ T5209] #0: ffff88802ff52420 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90
[ 86.278591][ T5209] #1: ffff88807bad1660 (&type->i_mutex_dir_key#5/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0
[ 86.289383][ T5209] #2: ffff888020aa82c8 (&sb->s_type->i_mutex_key#12/4){+.+.}-{3:3}, at: vfs_rename+0x6a2/0xf00
[ 86.300354][ T5209] #3: ffff88807bad1410 (&simple_offset_lock_class){+.+.}-{2:2}, at: mtree_alloc_cyclic+0x217/0x330
[ 86.311353][ T5209] Preemption disabled at:
[ 86.311369][ T5209] [<0000000000000000>] 0x0
[ 86.320591][ T5209] CPU: 1 UID: 0 PID: 5209 Comm: udevd Tainted: G W 6.10.0-rc5-next-20240625-syzkaller-08232-g0fc4bfab2cd4-dirty #0
[ 86.334382][ T5209] Tainted: [W]=WARN
[ 86.338174][ T5209] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
[ 86.348687][ T5209] Call Trace:
[ 86.352303][ T5209] <TASK>
[ 86.355247][ T5209] dump_stack_lvl+0x241/0x360
[ 86.359967][ T5209] ? __pfx_dump_stack_lvl+0x10/0x10
[ 86.365295][ T5209] ? __pfx__printk+0x10/0x10
[ 86.369900][ T5209] __might_resched+0x5d4/0x780
[ 86.374790][ T5209] ? __pfx___might_resched+0x10/0x10
[ 86.380177][ T5209] ? fs_reclaim_acquire+0x93/0x140
[ 86.385996][ T5209] ? mas_alloc_nodes+0x26c/0x840
[ 86.390940][ T5209] kmem_cache_alloc_noprof+0x5d/0x2a0
[ 86.396318][ T5209] mas_alloc_nodes+0x26c/0x840
[ 86.401173][ T5209] mas_wr_preallocate+0x4ca/0x6b0
[ 86.406201][ T5209] mas_alloc_cyclic+0x3f7/0xae0
[ 86.411064][ T5209] ? __pfx_mas_alloc_cyclic+0x10/0x10
[ 86.416623][ T5209] ? do_raw_spin_lock+0x14f/0x370
[ 86.421845][ T5209] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 86.427810][ T5209] ? do_raw_spin_unlock+0x13c/0x8b0
[ 86.433413][ T5209] mtree_alloc_cyclic+0x239/0x330
[ 86.438638][ T5209] ? _raw_spin_unlock+0x28/0x50
[ 86.444984][ T5209] ? __pfx_mtree_alloc_cyclic+0x10/0x10
[ 86.451111][ T5209] simple_offset_rename+0x2dc/0x390
[ 86.456356][ T5209] ? vfs_rename+0x5ee/0xf00
[ 86.461103][ T5209] ? __pfx_simple_offset_rename+0x10/0x10
[ 86.467664][ T5209] ? __down_write_common+0x162/0x200
[ 86.473302][ T5209] ? __pfx___down_write_common+0x10/0x10
[ 86.479723][ T5209] shmem_rename2+0xf8/0x350
[ 86.484437][ T5209] ? __pfx_shmem_rename2+0x10/0x10
[ 86.489649][ T5209] vfs_rename+0xbdb/0xf00
[ 86.494249][ T5209] ? __pfx_vfs_rename+0x10/0x10
[ 86.499467][ T5209] ? security_path_rename+0x18b/0x220
[ 86.505023][ T5209] do_renameat2+0xd94/0x13f0
[ 86.509806][ T5209] ? __pfx_do_renameat2+0x10/0x10
[ 86.515119][ T5209] ? __virt_addr_valid+0x183/0x520
[ 86.520241][ T5209] ? __virt_addr_valid+0x44e/0x520
[ 86.525390][ T5209] ? __phys_addr_symbol+0x2f/0x70
[ 86.530730][ T5209] ? __might_fault+0xc6/0x120
[ 86.535925][ T5209] ? getname_flags+0x1e3/0x540
[ 86.541095][ T5209] __x64_sys_rename+0x82/0x90
[ 86.546660][ T5209] do_syscall_64+0xf3/0x230
[ 86.551391][ T5209] ? clear_bhb_loop+0x35/0x90
[ 86.556119][ T5209] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 86.562187][ T5209] RIP: 0033:0x7f163549a93b
[ 86.566596][ T5209] Code: 48 8b 15 f0 64 15 00 83 c8 ff 64 83 3a 15 75 0e 48 8b 7c 24 08 e8 d5 d4 07 00 f7 d8 19 c0 48 83 c4 18 c3 b8 52 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 be 64 15 00 f7 d8 64 89 02 48 83
[ 86.586563][ T5209] RSP: 002b:00007ffdfe129608 EFLAGS: 00000202 ORIG_RAX: 0000000000000052
[ 86.595081][ T5209] RAX: ffffffffffffffda RBX: 0000564c2dec2101 RCX: 00007f163549a93b
[ 86.603766][ T5209] RDX: 00005649306fb29b RSI: 00007ffdfe129628 RDI: 00007ffdfe129a28
[ 86.612096][ T5209] RBP: 0000564c54aabc30 R08: 0000000000000006 R09: 9ba066a62e2808e1
[ 86.620286][ T5209] R10: 000000000000010f R11: 0000000000000202 R12: 0000564c54aabe00
[ 86.628562][ T5209] R13: 00007ffdfe129628 R14: 00007ffdfe129a28 R15: 0000564c2deacec8
[ 86.637071][ T5209] </TASK>
[ 86.913568][ T12] bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
[ 86.926689][ T12] bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
[ 86.937052][ T12] bond0 (unregistering): Released all slaves
[ 87.084220][ T12] hsr_slave_0: left promiscuous mode
[ 87.091276][ T12] hsr_slave_1: left promiscuous mode
[ 87.104321][ T12] batman_adv: batadv0: Interface deactivated: batadv_slave_0
[ 87.112586][ T12] batman_adv: batadv0: Removing interface: batadv_slave_0
[ 87.126789][ T12] batman_adv: batadv0: Interface deactivated: batadv_slave_1
[ 87.136130][ T12] batman_adv: batadv0: Removing interface: batadv_slave_1
[ 87.166260][ T12] veth1_macvtap: left promiscuous mode
[ 87.172900][ T12] veth0_macvtap: left promiscuous mode
[ 87.180497][ T12] veth1_vlan: left promiscuous mode
[ 87.188068][ T12] veth0_vlan: left promiscuous mode


syzkaller build log:
go env (err=<nil>)
GO111MODULE='auto'
GOARCH='amd64'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.4'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1883955012=/tmp/go-build -gno-record-gcc-switches'

git status (err=<nil>)
HEAD detached at edc5149ad2
nothing to commit, working tree clean


tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:31: run command via tools/syz-env for best compatibility, see:
Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
bin/syz-sysgen
go fmt ./sys/... >/dev/null
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=edc5149ad2ab7a38db6b3bcb1b594e0264a92163 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20240621-090414'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=edc5149ad2ab7a38db6b3bcb1b594e0264a92163 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20240621-090414'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
mkdir -p ./bin/linux_amd64
g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \
-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"edc5149ad2ab7a38db6b3bcb1b594e0264a92163\"


Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=136f0d61980000


Tested on:

commit: 0fc4bfab Add linux-next specific files for 20240625
git tree: linux-next
kernel config: https://syzkaller.appspot.com/x/.config?x=df444fac2868e4e3
dashboard link: https://syzkaller.appspot.com/bug?extid=8c750412421a6826fb6f
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=13f7f0c6980000

Reply all
Reply to author
Forward
0 new messages