From: syzbot <syzbot+2e4b07b74e6ce750cd4d@syzkaller.appspotmail.com>
To: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org,
daniel@iogearbox.net, davem@davemloft.net, dsahern@kernel.org,
glider@google.com, john.fastabend@gmail.com, kafai@fb.com,
kpsingh@kernel.org, kuba@kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
songliubraving@fb.com, syzkaller-bugs@googlegroups.com,
yhs@fb.com, yoshfuji@linux-ipv6.org
Subject: [syzbot] KMSAN: uninit-value in ip_fast_csum (2)
Date: Fri, 07 Jan 2022 03:30:21 -0800 [thread overview]
Message-ID: <000000000000eb759205d4fc4f58@google.com> (raw)
Hello,
syzbot found the following issue on:
HEAD commit: 81c325bbf94e kmsan: hooks: do not check memory in kmsan_in..
git tree: https://github.com/google/kmsan.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=11fb290db00000
kernel config: https://syzkaller.appspot.com/x/.config?x=2d8b9a11641dc9aa
dashboard link: https://syzkaller.appspot.com/bug?extid=2e4b07b74e6ce750cd4d
compiler: clang version 14.0.0 (/usr/local/google/src/llvm-git-monorepo 2b554920f11c8b763cd9ed9003f4e19b919b8e1f), GNU ld (GNU Binutils for Debian) 2.35.2
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+2e4b07b74e6ce750cd4d@syzkaller.appspotmail.com
=====================================================
BUG: KMSAN: uninit-value in do_csum lib/checksum.c:51 [inline]
BUG: KMSAN: uninit-value in ip_fast_csum+0x429/0x5b0 lib/checksum.c:108
do_csum lib/checksum.c:51 [inline]
ip_fast_csum+0x429/0x5b0 lib/checksum.c:108
ip_send_check net/ipv4/ip_output.c:95 [inline]
ip_frag_next+0xd92/0xfd0 net/ipv4/ip_output.c:740
ip_do_fragment+0x1158/0x2a30 net/ipv4/ip_output.c:886
ip_fragment+0x378/0x4e0
__ip_finish_output+0x69b/0x960 net/ipv4/ip_output.c:297
ip_finish_output+0x15c/0x4d0 net/ipv4/ip_output.c:309
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip_output+0x333/0x6d0 net/ipv4/ip_output.c:423
dst_output include/net/dst.h:450 [inline]
NF_HOOK+0x180/0x450 include/linux/netfilter.h:307
raw_send_hdrinc+0x1a42/0x1f20 net/ipv4/raw.c:429
raw_sendmsg+0x276d/0x2e90 net/ipv4/raw.c:660
inet_sendmsg+0x15b/0x1d0 net/ipv4/af_inet.c:819
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
kernel_sendmsg+0x22c/0x2f0 net/socket.c:744
sock_no_sendpage+0x227/0x2c0 net/core/sock.c:3080
inet_sendpage+0x2c2/0x2f0 net/ipv4/af_inet.c:834
kernel_sendpage+0x4a0/0x5a0 net/socket.c:3504
sock_sendpage+0x161/0x1a0 net/socket.c:1003
pipe_to_sendpage+0x3f1/0x510 fs/splice.c:364
splice_from_pipe_feed fs/splice.c:418 [inline]
__splice_from_pipe+0x5c3/0x1000 fs/splice.c:562
splice_from_pipe fs/splice.c:597 [inline]
generic_splice_sendpage+0x1d5/0x2c0 fs/splice.c:746
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0x1a4/0x240 fs/splice.c:936
splice_direct_to_actor+0xa7a/0x1410 fs/splice.c:891
do_splice_direct+0x3b2/0x600 fs/splice.c:979
do_sendfile+0xe3c/0x1f50 fs/read_write.c:1245
__do_sys_sendfile64 fs/read_write.c:1310 [inline]
__se_sys_sendfile64 fs/read_write.c:1296 [inline]
__x64_sys_sendfile64+0x367/0x400 fs/read_write.c:1296
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x44/0xae
Uninit was created at:
slab_post_alloc_hook mm/slab.h:524 [inline]
slab_alloc_node mm/slub.c:3251 [inline]
__kmalloc_node_track_caller+0xe0c/0x1510 mm/slub.c:4974
kmalloc_reserve net/core/skbuff.c:354 [inline]
__alloc_skb+0x545/0xf90 net/core/skbuff.c:426
alloc_skb include/linux/skbuff.h:1126 [inline]
ip_frag_next+0x1b9/0xfd0 net/ipv4/ip_output.c:686
ip_do_fragment+0x1158/0x2a30 net/ipv4/ip_output.c:886
ip_fragment+0x378/0x4e0
__ip_finish_output+0x69b/0x960 net/ipv4/ip_output.c:297
ip_finish_output+0x15c/0x4d0 net/ipv4/ip_output.c:309
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip_output+0x333/0x6d0 net/ipv4/ip_output.c:423
dst_output include/net/dst.h:450 [inline]
NF_HOOK+0x180/0x450 include/linux/netfilter.h:307
raw_send_hdrinc+0x1a42/0x1f20 net/ipv4/raw.c:429
raw_sendmsg+0x276d/0x2e90 net/ipv4/raw.c:660
inet_sendmsg+0x15b/0x1d0 net/ipv4/af_inet.c:819
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
kernel_sendmsg+0x22c/0x2f0 net/socket.c:744
sock_no_sendpage+0x227/0x2c0 net/core/sock.c:3080
inet_sendpage+0x2c2/0x2f0 net/ipv4/af_inet.c:834
kernel_sendpage+0x4a0/0x5a0 net/socket.c:3504
sock_sendpage+0x161/0x1a0 net/socket.c:1003
pipe_to_sendpage+0x3f1/0x510 fs/splice.c:364
splice_from_pipe_feed fs/splice.c:418 [inline]
__splice_from_pipe+0x5c3/0x1000 fs/splice.c:562
splice_from_pipe fs/splice.c:597 [inline]
generic_splice_sendpage+0x1d5/0x2c0 fs/splice.c:746
do_splice_from fs/splice.c:767 [inline]
direct_splice_actor+0x1a4/0x240 fs/splice.c:936
splice_direct_to_actor+0xa7a/0x1410 fs/splice.c:891
do_splice_direct+0x3b2/0x600 fs/splice.c:979
do_sendfile+0xe3c/0x1f50 fs/read_write.c:1245
__do_sys_sendfile64 fs/read_write.c:1310 [inline]
__se_sys_sendfile64 fs/read_write.c:1296 [inline]
__x64_sys_sendfile64+0x367/0x400 fs/read_write.c:1296
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x44/0xae
CPU: 1 PID: 6492 Comm: syz-executor.3 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================
---
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.
reply other threads:[~2022-01-07 11:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=000000000000eb759205d4fc4f58@google.com \
--to=syzbot+2e4b07b74e6ce750cd4d@syzkaller.appspotmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=glider@google.com \
--cc=john.fastabend@gmail.com \
--cc=kafai@fb.com \
--cc=kpsingh@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=songliubraving@fb.com \
--cc=syzkaller-bugs@googlegroups.com \
--cc=yhs@fb.com \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.