All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: SnailSploit | Kai Aizen <kai.aizen.dev@gmail.com>,
	netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
	tipc-discussion@lists.sourceforge.net, jmaloy@redhat.com,
	ying.xue@windriver.com, kuba@kernel.org, pabeni@redhat.com,
	stable@vger.kernel.org, Kai Aizen <kai.aizen.dev@gmail.com>
Subject: Re: [PATCH] [PATCH net] tipc: fix UAF race in tipc_mon_peer_up/down/remove_peer vs bearer teardown
Date: Thu, 30 Apr 2026 12:07:53 +0800	[thread overview]
Message-ID: <202604301148.jfXKC9HF-lkp@intel.com> (raw)
In-Reply-To: <20260415061211.45530-1-95986478+SnailSploit@users.noreply.github.com>

Hi SnailSploit,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net/main]

url:    https://github.com/intel-lab-lkp/linux/commits/SnailSploit-Kai-Aizen/tipc-fix-UAF-race-in-tipc_mon_peer_up-down-remove_peer-vs-bearer-teardown/20260425-075205
base:   net/main
patch link:    https://lore.kernel.org/r/20260415061211.45530-1-95986478%2BSnailSploit%40users.noreply.github.com
patch subject: [PATCH] [PATCH net] tipc: fix UAF race in tipc_mon_peer_up/down/remove_peer vs bearer teardown
config: arc-randconfig-002-20260430 (https://download.01.org/0day-ci/archive/20260430/202604301148.jfXKC9HF-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604301148.jfXKC9HF-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604301148.jfXKC9HF-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> net/tipc/monitor.c:112:29: warning: 'tipc_monitor_rtnl' defined but not used [-Wunused-function]
    static struct tipc_monitor *tipc_monitor_rtnl(struct net *net, int bearer_id)
                                ^~~~~~~~~~~~~~~~~


vim +/tipc_monitor_rtnl +112 net/tipc/monitor.c

   110	
   111	/* tipc_monitor_rtnl - dereference monitors[] from RTNL-held control path. */
 > 112	static struct tipc_monitor *tipc_monitor_rtnl(struct net *net, int bearer_id)
   113	{
   114		return rtnl_dereference(tipc_net(net)->monitors[bearer_id]);
   115	}
   116	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      parent reply	other threads:[~2026-04-30  4:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15  6:12 [PATCH] [PATCH net] tipc: fix UAF race in tipc_mon_peer_up/down/remove_peer vs bearer teardown SnailSploit | Kai Aizen
2026-04-15 12:39 ` [syzbot ci] " syzbot ci
2026-04-30  4:07 ` kernel test robot [this message]

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=202604301148.jfXKC9HF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jmaloy@redhat.com \
    --cc=kai.aizen.dev@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    --cc=tipc-discussion@lists.sourceforge.net \
    --cc=ying.xue@windriver.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.