lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202409011200.8BUYJYDh-lkp@intel.com>
Date: Sun, 1 Sep 2024 13:13:17 +0800
From: kernel test robot <lkp@...el.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
	David Ahern <dsahern@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
	Tom Herbert <tom@...bertland.com>,
	Kuniyuki Iwashima <kuniyu@...zon.com>,
	Alphonse Kurian <alkurian@...zon.com>
Subject: Re: [PATCH v1 net] fou: Fix null-ptr-deref in GRO.

Hi Kuniyuki,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Kuniyuki-Iwashima/fou-Fix-null-ptr-deref-in-GRO/20240831-074603
base:   net/main
patch link:    https://lore.kernel.org/r/20240830234348.16789-1-kuniyu%40amazon.com
patch subject: [PATCH v1 net] fou: Fix null-ptr-deref in GRO.
config: x86_64-randconfig-121-20240901 (https://download.01.org/0day-ci/archive/20240901/202409011200.8BUYJYDh-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240901/202409011200.8BUYJYDh-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409011200.8BUYJYDh-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> net/ipv4/fou_core.c:53:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   net/ipv4/fou_core.c:53:16: sparse:    void [noderef] __rcu *
   net/ipv4/fou_core.c:53:16: sparse:    void *
>> net/ipv4/fou_core.c:53:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   net/ipv4/fou_core.c:53:16: sparse:    void [noderef] __rcu *
   net/ipv4/fou_core.c:53:16: sparse:    void *
>> net/ipv4/fou_core.c:53:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   net/ipv4/fou_core.c:53:16: sparse:    void [noderef] __rcu *
   net/ipv4/fou_core.c:53:16: sparse:    void *
>> net/ipv4/fou_core.c:53:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   net/ipv4/fou_core.c:53:16: sparse:    void [noderef] __rcu *
   net/ipv4/fou_core.c:53:16: sparse:    void *
>> net/ipv4/fou_core.c:53:16: sparse: sparse: incompatible types in comparison expression (different address spaces):
   net/ipv4/fou_core.c:53:16: sparse:    void [noderef] __rcu *
   net/ipv4/fou_core.c:53:16: sparse:    void *

vim +53 net/ipv4/fou_core.c

    50	
    51	static inline struct fou *fou_from_sock(struct sock *sk)
    52	{
  > 53		return rcu_dereference(sk->sk_user_data);
    54	}
    55	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ