From: syzbot <syzbot+3d8bc31c45e11450f24c@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Forwarded: [PATCH] bonding: debug: add printk to bond_header_create
Date: Fri, 13 Mar 2026 19:29:32 -0700 [thread overview]
Message-ID: <69b4c80c.a00a0220.3b25d1.000c.GAE@google.com> (raw)
In-Reply-To: <69b46af7.050a0220.36eb34.000e.GAE@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com.
***
Subject: [PATCH] bonding: debug: add printk to bond_header_create
Author: kartikey406@gmail.com
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
Add temporary debug printks to identify which pointer is corrupted
in bond_header_create() causing a general protection fault.
Reported-by: syzbot+3d8bc31c45e11450f24c@syzkaller.appspotmail.com
---
drivers/net/bonding/bond_main.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 707419270ebf..807ab8784116 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1520,7 +1520,12 @@ static int bond_header_create(struct sk_buff *skb, struct net_device *bond_dev,
rcu_read_lock();
slave = rcu_dereference(bond->curr_active_slave);
+ pr_err("bond: curr_active_slave raw=%px\n",
+ rcu_access_pointer(bond->curr_active_slave));
if (slave) {
+ pr_err("bond: slave=%px\n", slave);
+ pr_err("bond: slave->dev=%px\n", slave->dev);
+ pr_err("bond: slave->dev->header_ops=%px\n", slave->dev->header_ops);
slave_ops = READ_ONCE(slave->dev->header_ops);
if (slave_ops && slave_ops->create)
ret = slave_ops->create(skb, slave->dev,
--
2.43.0
next prev parent reply other threads:[~2026-03-14 2:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-13 19:52 [syzbot] [net?] general protection fault in bond_header_create syzbot
2026-03-13 20:15 ` Eric Dumazet
2026-03-14 2:29 ` syzbot [this message]
2026-03-14 3:29 ` Forwarded: [PATCH] bonding: debug: add printk to bond_header_create syzbot
2026-03-14 4:28 ` syzbot
2026-03-14 5:09 ` Forwarded: Re: [syzbot] [net?] general protection fault in bond_header_create 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=69b4c80c.a00a0220.3b25d1.000c.GAE@google.com \
--to=syzbot+3d8bc31c45e11450f24c@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
--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.