BUG: unable to handle kernel NULL pointer dereference at 0000000000000050 IP: dev_name include/linux/device.h:981 [inline] IP: wb_workfn+0x173/0x1eb0 fs/fs-writeback.c:1936 PGD 80000001769f6067 P4D 80000001769f6067 PUD 1769f9067 PMD 0 Oops: 0000 [#1] SMP PTI Dumping ftrace buffer: netlink: 'syz-executor1': attribute type 29 has an invalid length. (ftrace buffer empty) Modules linked in: CPU: 0 PID: 79 Comm: kworker/u4:3 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: writeback wb_workfn netlink: 8 bytes leftover after parsing attributes in process `syz-executor1'. RIP: 0010:dev_name include/linux/device.h:981 [inline] RIP: 0010:wb_workfn+0x173/0x1eb0 fs/fs-writeback.c:1936 RSP: 0018:ffff8801d8affb30 EFLAGS: 00010246 RAX: ffff8801c09b0f50 RBX: 0000000000000050 RCX: ffff880000000000 RDX: ffff8801677a8f50 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000 RBP: ffff8801d8affc70 R08: 0000000001080020 R09: 0000000000000002 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff880165995590 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000050 CR3: 0000000176a28000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: process_one_work+0x12c6/0x1f60 kernel/workqueue.c:2113 process_scheduled_works kernel/workqueue.c:2173 [inline] worker_thread+0x1986/0x24f0 kernel/workqueue.c:2252 kthread+0x539/0x720 kernel/kthread.c:239 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:406 Code: 18 e2 ff 48 83 38 00 75 5c 4c 89 7d b0 4c 8b 33 48 89 df e8 30 18 e2 ff 4c 8b 38 44 8b 22 49 8d 5e 50 4d 85 ff 75 47 44 89 65 c8 <4c> 8b 2b 48 89 df e8 12 18 e2 ff 4c 8b 20 8b 1a 4d 85 e4 74 0b RIP: dev_name include/linux/device.h:981 [inline] RSP: ffff8801d8affb30 RIP: wb_workfn+0x173/0x1eb0 fs/fs-writeback.c:1936 RSP: ffff8801d8affb30 CR2: 0000000000000050 ---[ end trace 23646fba1e5175da ]---