BUG: unable to handle kernel paging request in tpg_fill_plane_buffer (2)

11 views
Skip to first unread message

syzbot

unread,
Jan 15, 2022, 2:48:16 AM1/15/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4ba8e26127c3 Linux 4.14.262
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16d52e50700000
kernel config: https://syzkaller.appspot.com/x/.config?x=51e11aabddb4cf62
dashboard link: https://syzkaller.appspot.com/bug?extid=153553a068a5fa6cda52
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

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

BUG: unable to handle kernel paging request at ffffc9000c16d000
IP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54
PGD b60bb067 P4D b60bb067 PUD 23f832067 PMD 99a1b067 PTE 0
Oops: 0002 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 16798 Comm: vivid-002-vid-c Not tainted 4.14.262-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88808d9385c0 task.stack: ffff888055ff0000
RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54
RSP: 0018:ffff888055ff7870 EFLAGS: 00010246
RAX: ffffc9000c16cea0 RBX: 0000000000000168 RCX: 0000000000000008
RDX: 0000000000000168 RSI: ffffc90002681160 RDI: ffffc9000c16d000
RBP: ffffc90002681000 R08: 0000000000000001 R09: fffff5200182da00
R10: ffffc9000c16d007 R11: 0000000000000000 R12: ffffc90002681000
R13: 0000000000000000 R14: ffff888237675648 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000c16d000 CR3: 000000008fbf8000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
memcpy include/linux/string.h:376 [inline]
tpg_fill_plane_pattern drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2353 [inline]
tpg_fill_plane_buffer+0xf81/0x2c00 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c:2441
vivid_fillbuff+0x16cb/0x5ff0 drivers/media/platform/vivid/vivid-kthread-cap.c:485
vivid_thread_vid_cap_tick drivers/media/platform/vivid/vivid-kthread-cap.c:719 [inline]
vivid_thread_vid_cap+0x8b9/0x1ed0 drivers/media/platform/vivid/vivid-kthread-cap.c:821
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 90 90 90 90 90 eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 <f3> a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38
RIP: memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:54 RSP: ffff888055ff7870
CR2: ffffc9000c16d000
---[ end trace c39231d2588ee158 ]---
----------------
Code disassembly (best guess):
0: 90 nop
1: 90 nop
2: 90 nop
3: 90 nop
4: 90 nop
5: eb 1e jmp 0x25
7: 0f 1f 00 nopl (%rax)
a: 48 89 f8 mov %rdi,%rax
d: 48 89 d1 mov %rdx,%rcx
10: 48 c1 e9 03 shr $0x3,%rcx
14: 83 e2 07 and $0x7,%edx
17: f3 48 a5 rep movsq %ds:(%rsi),%es:(%rdi)
1a: 89 d1 mov %edx,%ecx
1c: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi)
1e: c3 retq
1f: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1)
25: 48 89 f8 mov %rdi,%rax
28: 48 89 d1 mov %rdx,%rcx
* 2b: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) <-- trapping instruction
2d: c3 retq
2e: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
35: 48 89 f8 mov %rdi,%rax
38: 48 83 fa 20 cmp $0x20,%rdx
3c: 72 7e jb 0xbc
3e: 40 rex
3f: 38 .byte 0x38


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

unread,
May 15, 2022, 3:48:12 AM5/15/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages