* [syzbot] BUG: corrupted list in efivar_entry_remove
@ 2022-08-26 11:10 syzbot
2023-12-08 15:24 ` Ard Biesheuvel
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: syzbot @ 2022-08-26 11:10 UTC (permalink / raw)
To: ardb, linux-efi, linux-kernel, syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: 680fb5b009e8 Merge tag 'arm64-upstream' into for-kernelci
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=126f0865080000
kernel config: https://syzkaller.appspot.com/x/.config?x=4557ad2600fc45f4
dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10039fc3080000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16f4ebc3080000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com
list_del corruption. prev->next should be ffff0000c74fd828, but was ffff80000d5c37a0. (prev=ffff80000d5c37a0)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:53!
Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3019 Comm: syz-executor150 Not tainted 5.19.0-rc8-syzkaller-01618-g680fb5b009e8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/20/2022
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __list_del_entry_valid+0x94/0xa8 lib/list_debug.c:51
lr : __list_del_entry_valid+0x94/0xa8 lib/list_debug.c:51
sp : ffff80001317bc40
x29: ffff80001317bc40 x28: ffff0000c65f0000 x27: 0000000000000000
x26: 00000000000000c0 x25: ffff0000cae01828 x24: ffff0000c74fd000
x23: ffff80000d309368 x22: ffff8000093f7a24 x21: ffff80000d5c37a0
x20: 0000000000000000 x19: ffff0000c74fd000 x18: 0000000000000265
x17: ffff80000bfed6bc x16: ffff80000db3b658 x15: ffff0000c65f0000
x14: 0000000000000021 x13: 00000000ffffffff x12: ffff0000c65f0000
x11: ff808000081bf324 x10: 0000000000000000 x9 : bdc8aea51905dc00
x8 : bdc8aea51905dc00 x7 : ffff800008160c98 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0001fefbecd0 x1 : 0000000100000000 x0 : 000000000000006d
Call trace:
__list_del_entry_valid+0x94/0xa8 lib/list_debug.c:51
__list_del_entry include/linux/list.h:134 [inline]
list_del include/linux/list.h:148 [inline]
efivar_entry_remove+0x4c/0xa4 drivers/firmware/efi/vars.c:539
efivarfs_destroy+0x20/0x5c fs/efivarfs/super.c:185
__efivar_entry_iter+0x94/0x100 drivers/firmware/efi/vars.c:1089
efivarfs_kill_sb+0x3c/0x4c fs/efivarfs/super.c:249
deactivate_locked_super+0x70/0xd4 fs/super.c:332
deactivate_super+0xb8/0xbc fs/super.c:363
cleanup_mnt+0x1a4/0x1e0 fs/namespace.c:1186
__cleanup_mnt+0x20/0x30 fs/namespace.c:1193
task_work_run+0xc4/0x208 kernel/task_work.c:177
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
do_notify_resume+0x174/0x1d0 arch/arm64/kernel/signal.c:1117
prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
el0_svc+0x9c/0x14c arch/arm64/kernel/entry-common.c:625
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:642
el0t_64_sync+0x18c/0x190
Code: 9001b300 912e7000 aa0803e3 94a6ef81 (d4210000)
---[ end trace 0000000000000000 ]---
---
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 syzkaller@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
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2022-08-26 11:10 [syzbot] BUG: corrupted list in efivar_entry_remove syzbot
@ 2023-12-08 15:24 ` Ard Biesheuvel
2023-12-08 15:24 ` syzbot
2023-12-08 15:38 ` [syzbot] " Ard Biesheuvel
2023-12-11 10:22 ` Ard Biesheuvel
2 siblings, 1 reply; 13+ messages in thread
From: Ard Biesheuvel @ 2023-12-08 15:24 UTC (permalink / raw)
To: syzbot; +Cc: linux-efi, linux-kernel, syzkaller-bugs
On Fri, 26 Aug 2022 at 13:10, syzbot
<syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 680fb5b009e8 Merge tag 'arm64-upstream' into for-kernelci
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> console output: https://syzkaller.appspot.com/x/log.txt?x=126f0865080000
> kernel config: https://syzkaller.appspot.com/x/.config?x=4557ad2600fc45f4
> dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
> compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> userspace arch: arm64
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10039fc3080000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16f4ebc3080000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
efivarfs-list-corruption-fix
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2023-12-08 15:24 ` Ard Biesheuvel
@ 2023-12-08 15:24 ` syzbot
2023-12-08 15:38 ` Aleksandr Nogikh
0 siblings, 1 reply; 13+ messages in thread
From: syzbot @ 2023-12-08 15:24 UTC (permalink / raw)
To: ardb; +Cc: ardb, linux-efi, linux-kernel, syzkaller-bugs
> On Fri, 26 Aug 2022 at 13:10, syzbot
> <syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com> wrote:
>>
>> Hello,
>>
>> syzbot found the following issue on:
>>
>> HEAD commit: 680fb5b009e8 Merge tag 'arm64-upstream' into for-kernelci
>> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
>> console output: https://syzkaller.appspot.com/x/log.txt?x=126f0865080000
>> kernel config: https://syzkaller.appspot.com/x/.config?x=4557ad2600fc45f4
>> dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
>> compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
>> userspace arch: arm64
>> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10039fc3080000
>> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16f4ebc3080000
>>
>> IMPORTANT: if you fix the issue, please add the following tag to the commit:
>> Reported-by: syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com
>
> #syz test git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
want either no args or 2 args (repo, branch), got 1
> efivarfs-list-corruption-fix
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2023-12-08 15:24 ` syzbot
@ 2023-12-08 15:38 ` Aleksandr Nogikh
2023-12-08 15:40 ` Ard Biesheuvel
2023-12-08 16:25 ` [syzbot] [efi] " syzbot
0 siblings, 2 replies; 13+ messages in thread
From: Aleksandr Nogikh @ 2023-12-08 15:38 UTC (permalink / raw)
To: syzbot; +Cc: ardb, linux-efi, linux-kernel, syzkaller-bugs
If a command spans over two lines, syzbot expects a colon.
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
efivarfs-list-corruption-fix
On Fri, Dec 8, 2023 at 4:24 PM syzbot
<syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com> wrote:
>
> > On Fri, 26 Aug 2022 at 13:10, syzbot
> > <syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com> wrote:
> >>
> >> Hello,
> >>
> >> syzbot found the following issue on:
> >>
> >> HEAD commit: 680fb5b009e8 Merge tag 'arm64-upstream' into for-kernelci
> >> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> >> console output: https://syzkaller.appspot.com/x/log.txt?x=126f0865080000
> >> kernel config: https://syzkaller.appspot.com/x/.config?x=4557ad2600fc45f4
> >> dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
> >> compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> >> userspace arch: arm64
> >> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10039fc3080000
> >> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16f4ebc3080000
> >>
> >> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> >> Reported-by: syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com
> >
> > #syz test git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
>
> want either no args or 2 args (repo, branch), got 1
>
> > efivarfs-list-corruption-fix
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/00000000000010057c060c012e63%40google.com.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2023-12-08 15:38 ` Aleksandr Nogikh
@ 2023-12-08 15:40 ` Ard Biesheuvel
2023-12-08 15:40 ` syzbot
2023-12-08 16:25 ` [syzbot] [efi] " syzbot
1 sibling, 1 reply; 13+ messages in thread
From: Ard Biesheuvel @ 2023-12-08 15:40 UTC (permalink / raw)
To: Aleksandr Nogikh; +Cc: syzbot, linux-efi, linux-kernel, syzkaller-bugs
On Fri, 8 Dec 2023 at 16:38, Aleksandr Nogikh <nogikh@google.com> wrote:
>
> If a command spans over two lines, syzbot expects a colon.
>
> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
> efivarfs-list-corruption-fix
>
It is Gmail that is breaking the line here
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git:
efivarfs-list-corruption-fix
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2023-12-08 15:40 ` Ard Biesheuvel
@ 2023-12-08 15:40 ` syzbot
0 siblings, 0 replies; 13+ messages in thread
From: syzbot @ 2023-12-08 15:40 UTC (permalink / raw)
To: ardb; +Cc: ardb, linux-efi, linux-kernel, nogikh, syzkaller-bugs
> On Fri, 8 Dec 2023 at 16:38, Aleksandr Nogikh <nogikh@google.com> wrote:
>>
>> If a command spans over two lines, syzbot expects a colon.
>>
>> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
>> efivarfs-list-corruption-fix
>>
>
> It is Gmail that is breaking the line here
>
>
> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git:
"git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git:" does not look like a valid git repo address.
> efivarfs-list-corruption-fix
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] [efi] BUG: corrupted list in efivar_entry_remove
2023-12-08 15:38 ` Aleksandr Nogikh
2023-12-08 15:40 ` Ard Biesheuvel
@ 2023-12-08 16:25 ` syzbot
1 sibling, 0 replies; 13+ messages in thread
From: syzbot @ 2023-12-08 16:25 UTC (permalink / raw)
To: ardb, linux-efi, linux-kernel, nogikh, syzkaller-bugs
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-and-tested-by: syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com
Tested on:
commit: ecbfc830 efivarfs: Move efivarfs list into superblock ..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git efivarfs-list-corruption-fix
console output: https://syzkaller.appspot.com/x/log.txt?x=147a4fcae80000
kernel config: https://syzkaller.appspot.com/x/.config?x=f62dd67b72f86455
dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
Note: no patches were applied.
Note: testing is done by a robot and is best-effort only.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2022-08-26 11:10 [syzbot] BUG: corrupted list in efivar_entry_remove syzbot
2023-12-08 15:24 ` Ard Biesheuvel
@ 2023-12-08 15:38 ` Ard Biesheuvel
2023-12-08 15:38 ` syzbot
2023-12-11 10:22 ` Ard Biesheuvel
2 siblings, 1 reply; 13+ messages in thread
From: Ard Biesheuvel @ 2023-12-08 15:38 UTC (permalink / raw)
To: syzbot; +Cc: linux-efi, linux-kernel, syzkaller-bugs
On Fri, 26 Aug 2022 at 13:10, syzbot
<syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 680fb5b009e8 Merge tag 'arm64-upstream' into for-kernelci
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> console output: https://syzkaller.appspot.com/x/log.txt?x=126f0865080000
> kernel config: https://syzkaller.appspot.com/x/.config?x=4557ad2600fc45f4
> dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
> compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> userspace arch: arm64
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10039fc3080000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16f4ebc3080000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com
>
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
ecbfc830fd039
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2023-12-08 15:38 ` [syzbot] " Ard Biesheuvel
@ 2023-12-08 15:38 ` syzbot
0 siblings, 0 replies; 13+ messages in thread
From: syzbot @ 2023-12-08 15:38 UTC (permalink / raw)
To: ardb; +Cc: ardb, linux-efi, linux-kernel, syzkaller-bugs
> On Fri, 26 Aug 2022 at 13:10, syzbot
> <syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com> wrote:
>>
>> Hello,
>>
>> syzbot found the following issue on:
>>
>> HEAD commit: 680fb5b009e8 Merge tag 'arm64-upstream' into for-kernelci
>> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
>> console output: https://syzkaller.appspot.com/x/log.txt?x=126f0865080000
>> kernel config: https://syzkaller.appspot.com/x/.config?x=4557ad2600fc45f4
>> dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
>> compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
>> userspace arch: arm64
>> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10039fc3080000
>> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16f4ebc3080000
>>
>> IMPORTANT: if you fix the issue, please add the following tag to the commit:
>> Reported-by: syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com
>>
>
> #syz test git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
want either no args or 2 args (repo, branch), got 1
> ecbfc830fd039
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [syzbot] BUG: corrupted list in efivar_entry_remove
2022-08-26 11:10 [syzbot] BUG: corrupted list in efivar_entry_remove syzbot
2023-12-08 15:24 ` Ard Biesheuvel
2023-12-08 15:38 ` [syzbot] " Ard Biesheuvel
@ 2023-12-11 10:22 ` Ard Biesheuvel
2023-12-11 12:04 ` [syzbot] [efi] " syzbot
2 siblings, 1 reply; 13+ messages in thread
From: Ard Biesheuvel @ 2023-12-11 10:22 UTC (permalink / raw)
To: syzbot; +Cc: linux-efi, linux-kernel, syzkaller-bugs
On Fri, 26 Aug 2022 at 13:10, syzbot
<syzbot+1902c359bfcaf39c46f2@syzkaller.appspotmail.com> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 680fb5b009e8 Merge tag 'arm64-upstream' into for-kernelci
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> console output: https://syzkaller.appspot.com/x/log.txt?x=126f0865080000
> kernel config: https://syzkaller.appspot.com/x/.config?x=4557ad2600fc45f4
> dashboard link: https://syzkaller.appspot.com/bug?extid=1902c359bfcaf39c46f2
> compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> userspace arch: arm64
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10039fc3080000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16f4ebc3080000
>
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git next
^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <20220827023941.2613-1-hdanton@sina.com>]
[parent not found: <20220827034201.2669-1-hdanton@sina.com>]
end of thread, other threads:[~2023-12-11 12:04 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-26 11:10 [syzbot] BUG: corrupted list in efivar_entry_remove syzbot
2023-12-08 15:24 ` Ard Biesheuvel
2023-12-08 15:24 ` syzbot
2023-12-08 15:38 ` Aleksandr Nogikh
2023-12-08 15:40 ` Ard Biesheuvel
2023-12-08 15:40 ` syzbot
2023-12-08 16:25 ` [syzbot] [efi] " syzbot
2023-12-08 15:38 ` [syzbot] " Ard Biesheuvel
2023-12-08 15:38 ` syzbot
2023-12-11 10:22 ` Ard Biesheuvel
2023-12-11 12:04 ` [syzbot] [efi] " syzbot
[not found] <20220827023941.2613-1-hdanton@sina.com>
2022-08-27 2:41 ` [syzbot] " syzbot
[not found] <20220827034201.2669-1-hdanton@sina.com>
2022-08-27 3:43 ` syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox