)]}'
{
  "commit": "2dd5616ecdcebdf5a8d007af64e040d4e9214efe",
  "tree": "994b14fbe0b8578aa0d74d80f141e4bab0840059",
  "parents": [
    "00222d1394104f0fd6c01ca9f578afec9e0f148b"
  ],
  "author": {
    "name": "Eric Dumazet",
    "email": "edumazet@google.com",
    "time": "Sat Dec 07 11:34:45 2019 -0800"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Sat Dec 07 12:04:16 2019 -0800"
  },
  "message": "net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add()\n\nUse the new tcf_proto_check_kind() helper to make sure user\nprovided value is well formed.\n\nBUG: KMSAN: uninit-value in string_nocheck lib/vsprintf.c:606 [inline]\nBUG: KMSAN: uninit-value in string+0x4be/0x600 lib/vsprintf.c:668\nCPU: 0 PID: 12358 Comm: syz-executor.1 Not tainted 5.4.0-rc8-syzkaller #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011\nCall Trace:\n __dump_stack lib/dump_stack.c:77 [inline]\n dump_stack+0x1c9/0x220 lib/dump_stack.c:118\n kmsan_report+0x128/0x220 mm/kmsan/kmsan_report.c:108\n __msan_warning+0x64/0xc0 mm/kmsan/kmsan_instr.c:245\n string_nocheck lib/vsprintf.c:606 [inline]\n string+0x4be/0x600 lib/vsprintf.c:668\n vsnprintf+0x218f/0x3210 lib/vsprintf.c:2510\n __request_module+0x2b1/0x11c0 kernel/kmod.c:143\n tcf_proto_lookup_ops+0x171/0x700 net/sched/cls_api.c:139\n tc_chain_tmplt_add net/sched/cls_api.c:2730 [inline]\n tc_ctl_chain+0x1904/0x38a0 net/sched/cls_api.c:2850\n rtnetlink_rcv_msg+0x115a/0x1580 net/core/rtnetlink.c:5224\n netlink_rcv_skb+0x431/0x620 net/netlink/af_netlink.c:2477\n rtnetlink_rcv+0x50/0x60 net/core/rtnetlink.c:5242\n netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]\n netlink_unicast+0xf3e/0x1020 net/netlink/af_netlink.c:1328\n netlink_sendmsg+0x110f/0x1330 net/netlink/af_netlink.c:1917\n sock_sendmsg_nosec net/socket.c:637 [inline]\n sock_sendmsg net/socket.c:657 [inline]\n ___sys_sendmsg+0x14ff/0x1590 net/socket.c:2311\n __sys_sendmsg net/socket.c:2356 [inline]\n __do_sys_sendmsg net/socket.c:2365 [inline]\n __se_sys_sendmsg+0x305/0x460 net/socket.c:2363\n __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2363\n do_syscall_64+0xb6/0x160 arch/x86/entry/common.c:291\n entry_SYSCALL_64_after_hwframe+0x44/0xa9\nRIP: 0033:0x45a649\nCode: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \u003c48\u003e 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00\nRSP: 002b:00007f0790795c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e\nRAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a649\nRDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000006\nRBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000\nR10: 0000000000000000 R11: 0000000000000246 R12: 00007f07907966d4\nR13: 00000000004c8db5 R14: 00000000004df630 R15: 00000000ffffffff\n\nUninit was created at:\n kmsan_save_stack_with_flags mm/kmsan/kmsan.c:149 [inline]\n kmsan_internal_poison_shadow+0x5c/0x110 mm/kmsan/kmsan.c:132\n kmsan_slab_alloc+0x97/0x100 mm/kmsan/kmsan_hooks.c:86\n slab_alloc_node mm/slub.c:2773 [inline]\n __kmalloc_node_track_caller+0xe27/0x11a0 mm/slub.c:4381\n __kmalloc_reserve net/core/skbuff.c:141 [inline]\n __alloc_skb+0x306/0xa10 net/core/skbuff.c:209\n alloc_skb include/linux/skbuff.h:1049 [inline]\n netlink_alloc_large_skb net/netlink/af_netlink.c:1174 [inline]\n netlink_sendmsg+0x783/0x1330 net/netlink/af_netlink.c:1892\n sock_sendmsg_nosec net/socket.c:637 [inline]\n sock_sendmsg net/socket.c:657 [inline]\n ___sys_sendmsg+0x14ff/0x1590 net/socket.c:2311\n __sys_sendmsg net/socket.c:2356 [inline]\n __do_sys_sendmsg net/socket.c:2365 [inline]\n __se_sys_sendmsg+0x305/0x460 net/socket.c:2363\n __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2363\n do_syscall_64+0xb6/0x160 arch/x86/entry/common.c:291\n entry_SYSCALL_64_after_hwframe+0x44/0xa9\n\nFixes: 6f96c3c6904c (\"net_sched: fix backward compatibility for TCA_KIND\")\nSigned-off-by: Eric Dumazet \u003cedumazet@google.com\u003e\nReported-by: syzbot \u003csyzkaller@googlegroups.com\u003e\nAcked-by: Cong Wang \u003cxiyou.wangcong@gmail.com\u003e\nCc: Marcelo Ricardo Leitner \u003cmarcelo.leitner@gmail.com\u003e\nCc: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nCc: Jiri Pirko \u003cjiri@resnulli.us\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3c335fd9bcb0d1a3303372b975726c221c136dca",
      "old_mode": 33188,
      "old_path": "net/sched/cls_api.c",
      "new_id": "6a0eacafdb19117701e70fbec63ca7028ecd14a9",
      "new_mode": 33188,
      "new_path": "net/sched/cls_api.c"
    }
  ]
}
