syzbot


net boot error: general protection fault in ptp_clock_register

Status: auto-closed as invalid on 2021/10/01 21:45
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+54923d81929c37649359@syzkaller.appspotmail.com
First crash: 1030d, last: 1028d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] net boot error: general protection fault in ptp_clock_register 0 (1) 2021/07/05 21:40

Sample crash report:
vivid-013: V4L2 capture device registered as swradio13
vivid-013: V4L2 receiver device registered as radio26
vivid-013: V4L2 transmitter device registered as radio27
vivid-013: V4L2 metadata capture device registered as video57
vivid-013: V4L2 metadata output device registered as video58
vivid-013: V4L2 touch capture device registered as v4l-touch13
vivid-014: using single planar format API
vivid-014: CEC adapter cec28 registered for HDMI input 0
vivid-014: V4L2 capture device registered as video59
vivid-014: CEC adapter cec29 registered for HDMI output 0
vivid-014: V4L2 output device registered as video60
vivid-014: V4L2 capture device registered as vbi28, supports raw and sliced VBI
vivid-014: V4L2 output device registered as vbi29, supports raw and sliced VBI
vivid-014: V4L2 capture device registered as swradio14
vivid-014: V4L2 receiver device registered as radio28
vivid-014: V4L2 transmitter device registered as radio29
vivid-014: V4L2 metadata capture device registered as video61
vivid-014: V4L2 metadata output device registered as video62
vivid-014: V4L2 touch capture device registered as v4l-touch14
vivid-015: using multiplanar format API
vivid-015: CEC adapter cec30 registered for HDMI input 0
vivid-015: V4L2 capture device registered as video63
vivid-015: CEC adapter cec31 registered for HDMI output 0
vivid-015: V4L2 output device registered as video64
vivid-015: V4L2 capture device registered as vbi30, supports raw and sliced VBI
vivid-015: V4L2 output device registered as vbi31, supports raw and sliced VBI
vivid-015: V4L2 capture device registered as swradio15
vivid-015: V4L2 receiver device registered as radio30
vivid-015: V4L2 transmitter device registered as radio31
vivid-015: V4L2 metadata capture device registered as video65
vivid-015: V4L2 metadata output device registered as video66
vivid-015: V4L2 touch capture device registered as v4l-touch15
vim2m vim2m.0: Device registered as /dev/video0
vicodec vicodec.0: Device 'stateful-encoder' registered as /dev/video68
vicodec vicodec.0: Device 'stateful-decoder' registered as /dev/video69
vicodec vicodec.0: Device 'stateless-decoder' registered as /dev/video70
dvbdev: DVB: registering new adapter (dvb_vidtv_bridge)
i2c i2c-0: DVB: registering adapter 0 frontend 0 (Dummy demod for DVB-T/T2/C/S/S2)...
dvbdev: dvb_create_media_entity: media entity 'Dummy demod for DVB-T/T2/C/S/S2' registered.
dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
vidtv vidtv.0: Successfully initialized vidtv!
usbcore: registered new interface driver radioshark
usbcore: registered new interface driver radioshark2
usbcore: registered new interface driver dsbr100
usbcore: registered new interface driver radio-si470x
usbcore: registered new interface driver radio-usb-si4713
usbcore: registered new interface driver radio-mr800
usbcore: registered new interface driver radio-keene
usbcore: registered new interface driver radio-ma901
usbcore: registered new interface driver radio-raremono
general protection fault, probably for non-canonical address 0xdffffc0000000097: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000004b8-0x00000000000004bf]
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ptp_clock_register+0x5b1/0xce0 drivers/ptp/ptp_clock.c:239
Code: 0f 85 38 06 00 00 4d 89 a7 10 01 00 00 e8 f7 9c 51 fb 49 8d bd b8 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 35 06 00 00 4d 8b bd b8 04 00 00 4d 85 ff 74 51
RSP: 0000:ffffc90000c67cc8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff9200018cf9f RCX: 0000000000000000
RDX: 0000000000000097 RSI: ffffffff8623e789 RDI: 00000000000004b8
RBP: ffffffff90d082a8 R08: ffff8881478e0648 R09: 0000000000000000
R10: ffffed1028f1c329 R11: 0000000000000000 R12: ffff8881478e0000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff90d082a8
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000be8e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ptp_kvm_init+0xe5/0x11b drivers/ptp/ptp_kvm_common.c:148
 do_one_initcall+0x103/0x650 init/main.c:1246
 do_initcall_level init/main.c:1319 [inline]
 do_initcalls init/main.c:1335 [inline]
 do_basic_setup init/main.c:1355 [inline]
 kernel_init_freeable+0x6b8/0x741 init/main.c:1557
 kernel_init+0x1a/0x1d0 init/main.c:1449
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Modules linked in:
---[ end trace 4ffcc7041c5c4e30 ]---
RIP: 0010:ptp_clock_register+0x5b1/0xce0 drivers/ptp/ptp_clock.c:239
Code: 0f 85 38 06 00 00 4d 89 a7 10 01 00 00 e8 f7 9c 51 fb 49 8d bd b8 04 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 35 06 00 00 4d 8b bd b8 04 00 00 4d 85 ff 74 51
RSP: 0000:ffffc90000c67cc8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 1ffff9200018cf9f RCX: 0000000000000000
RDX: 0000000000000097 RSI: ffffffff8623e789 RDI: 00000000000004b8
RBP: ffffffff90d082a8 R08: ffff8881478e0648 R09: 0000000000000000
R10: ffffed1028f1c329 R11: 0000000000000000 R12: ffff8881478e0000
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff90d082a8
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000000be8e000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/03 21:44 net-old 6ff63a150b55 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/03 21:44 net-old 6ff63a150b55 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/03 21:44 net-old 6ff63a150b55 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 23:51 net-old b43c8909be52 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 21:01 net-old b22580233d47 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 21:01 net-old b22580233d47 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 21:01 net-old b22580233d47 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 19:31 net-old 8955b90c3cda 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 19:31 net-old 8955b90c3cda 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 17:01 net-old 5140aaa4604b 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 17:01 net-old 5140aaa4604b 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 17:01 net-old 5140aaa4604b 55aa55c2 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 00:18 net-old 5140aaa4604b 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/02 00:18 net-old 5140aaa4604b 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/01 23:28 net-old 6dce38b4b7ff 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/01 23:28 net-old 6dce38b4b7ff 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/01 22:34 net-old aa3cf240b0c8 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/01 21:29 net-old 6b28a86d6c0b 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/01 21:29 net-old 6b28a86d6c0b 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
2021/07/01 21:29 net-old 6b28a86d6c0b 658ebc66 .config console log report ci-upstream-net-this-kasan-gce net boot error: general protection fault in ptp_clock_register
* Struck through repros no longer work on HEAD.