All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+1543a7d954d9c6d00407@syzkaller.appspotmail.com>
To: davem@davemloft.net, edumazet@google.com, horms@kernel.org,
	 kuba@kernel.org, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org,  pabeni@redhat.com,
	syzkaller-bugs@googlegroups.com
Subject: [syzbot] [net?] KMSAN: uninit-value in netif_skb_features (4)
Date: Mon, 06 Oct 2025 23:40:24 -0700	[thread overview]
Message-ID: <68e4b5d8.050a0220.256323.0018.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    e406d57be7bd Merge tag 'mm-nonmm-stable-2025-10-02-15-29' ..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=144ad942580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=50fb29d81ff5a3df
dashboard link: https://syzkaller.appspot.com/bug?extid=1543a7d954d9c6d00407
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7aa074b1bf56/disk-e406d57b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/4c8a46bed2ec/vmlinux-e406d57b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/9ed66e725466/bzImage-e406d57b.xz

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

=====================================================
BUG: KMSAN: uninit-value in netif_skb_features+0x115b/0x2160 net/core/dev.c:3825
 netif_skb_features+0x115b/0x2160 net/core/dev.c:3825
 validate_xmit_skb+0xb6/0x1d50 net/core/dev.c:3985
 __dev_queue_xmit+0x23f8/0x5e60 net/core/dev.c:4755
 dev_queue_xmit include/linux/netdevice.h:3365 [inline]
 hsr_xmit net/hsr/hsr_forward.c:430 [inline]
 hsr_forward_do net/hsr/hsr_forward.c:571 [inline]
 hsr_forward_skb+0x2162/0x3c40 net/hsr/hsr_forward.c:733
 hsr_handle_frame+0xd6d/0x11a0 net/hsr/hsr_slave.c:81
 __netif_receive_skb_core+0x2040/0x7150 net/core/dev.c:5966
 __netif_receive_skb_list_core+0x2f1/0x16b0 net/core/dev.c:6154
 __netif_receive_skb_list net/core/dev.c:6221 [inline]
 netif_receive_skb_list_internal+0xee7/0x1530 net/core/dev.c:6312
 gro_normal_list include/net/gro.h:524 [inline]
 gro_flush_normal include/net/gro.h:532 [inline]
 napi_complete_done+0x3fb/0x7d0 net/core/dev.c:6681
 gro_cell_poll+0x2c9/0x310 net/core/gro_cells.c:66
 __napi_poll+0xda/0x8a0 net/core/dev.c:7594
 napi_poll net/core/dev.c:7657 [inline]
 net_rx_action+0xbc8/0x1c30 net/core/dev.c:7784
 handle_softirqs+0x169/0x6e0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656
 do_softirq+0x99/0x100 kernel/softirq.c:523
 __local_bh_enable_ip+0xa1/0xb0 kernel/softirq.c:450
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 tun_rx_batched+0x889/0x980 drivers/net/tun.c:-1
 tun_get_user+0x5d60/0x6d70 drivers/net/tun.c:1953
 tun_chr_write_iter+0x3e9/0x5c0 drivers/net/tun.c:1999
 new_sync_write fs/read_write.c:593 [inline]
 vfs_write+0xbdf/0x15d0 fs/read_write.c:686
 ksys_write fs/read_write.c:738 [inline]
 __do_sys_write fs/read_write.c:749 [inline]
 __se_sys_write fs/read_write.c:746 [inline]
 __x64_sys_write+0x1fb/0x4d0 fs/read_write.c:746
 x64_sys_call+0x3014/0x3e30 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was created at:
 slab_post_alloc_hook mm/slub.c:4953 [inline]
 slab_alloc_node mm/slub.c:5245 [inline]
 kmem_cache_alloc_node_noprof+0x989/0x16b0 mm/slub.c:5297
 kmalloc_reserve+0x13c/0x4b0 net/core/skbuff.c:579
 __alloc_skb+0x347/0x7d0 net/core/skbuff.c:670
 __pskb_copy_fclone+0xcc/0x14d0 net/core/skbuff.c:2164
 __pskb_copy include/linux/skbuff.h:1447 [inline]
 hsr_create_tagged_frame+0x32c/0x11b0 net/hsr/hsr_forward.c:340
 hsr_forward_do net/hsr/hsr_forward.c:-1 [inline]
 hsr_forward_skb+0x16a4/0x3c40 net/hsr/hsr_forward.c:733
 hsr_handle_frame+0xd6d/0x11a0 net/hsr/hsr_slave.c:81
 __netif_receive_skb_core+0x2040/0x7150 net/core/dev.c:5966
 __netif_receive_skb_list_core+0x2f1/0x16b0 net/core/dev.c:6154
 __netif_receive_skb_list net/core/dev.c:6221 [inline]
 netif_receive_skb_list_internal+0xee7/0x1530 net/core/dev.c:6312
 gro_normal_list include/net/gro.h:524 [inline]
 gro_flush_normal include/net/gro.h:532 [inline]
 napi_complete_done+0x3fb/0x7d0 net/core/dev.c:6681
 gro_cell_poll+0x2c9/0x310 net/core/gro_cells.c:66
 __napi_poll+0xda/0x8a0 net/core/dev.c:7594
 napi_poll net/core/dev.c:7657 [inline]
 net_rx_action+0xbc8/0x1c30 net/core/dev.c:7784
 handle_softirqs+0x169/0x6e0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656

CPU: 1 UID: 0 PID: 11876 Comm: syz.2.2011 Not tainted syzkaller #0 PREEMPT(none) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
=====================================================


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

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

             reply	other threads:[~2025-10-07  6:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-07  6:40 syzbot [this message]
2026-02-15 14:46 ` [syzbot] [bridge?] KMSAN: uninit-value in netif_skb_features (4) syzbot
2026-03-07 13:07 ` Forwarded: " syzbot
2026-03-08  7:12 ` syzbot
2026-03-11 13:35 ` syzbot
2026-03-12  6:17 ` syzbot
2026-03-18 10:44 ` syzbot
2026-03-19 14:52 ` syzbot
2026-03-26 10:43 ` syzbot
     [not found] <CAMa1Pe6FAo=9_kki76XiQ_ohBVNU8Vo20NG-6DzRZYYtwhfV0A@mail.gmail.com>
2026-03-18 14:21 ` [syzbot] [net?] " syzbot
     [not found] <CAMa1Pe4pqXdscNr16X8nRbwEY63uatmraw+_2j0xrCsAk6fOyA@mail.gmail.com>
2026-03-20 10:18 ` syzbot
     [not found] <CAMa1Pe5Z9pMs=d6RUzuV16PfcPX9BDMCo9CE9Wr6yquJwWnisw@mail.gmail.com>
2026-03-26 11:12 ` syzbot

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=68e4b5d8.050a0220.256323.0018.GAE@google.com \
    --to=syzbot+1543a7d954d9c6d00407@syzkaller.appspotmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=syzkaller-bugs@googlegroups.com \
    /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.