CC: [email protected]
TO: [email protected]

tree:   https://android.googlesource.com/kernel/common android12-5.10
head:   870488eb0745645feff5bddfd44fe538660b9cf8
commit: 4d3095647872844a0449478beaf61db24cad779f [37/54] ANDROID: GKI: net: add 
vendor hooks for 'struct nf_conn' lifecycle
:::::: branch date: 3 weeks ago
:::::: commit date: 3 weeks ago
config: x86_64-randconfig-m001-20210804 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

New smatch warnings:
net/netfilter/nf_conntrack_core.c:1552 nf_conntrack_free() error: double free 
of 'ct'

Old smatch warnings:
net/netfilter/nf_conntrack_core.c:1316 early_drop() error: uninitialized symbol 
'bucket'.

vim +/ct +1552 net/netfilter/nf_conntrack_core.c

9fb9cbb1082d6b Yasuyuki Kozakai        2005-11-09  1539  
c88130bcd546e7 Patrick McHardy         2008-01-31  1540  void 
nf_conntrack_free(struct nf_conn *ct)
76507f69c44ed1 Patrick McHardy         2008-01-31  1541  {
1d45209d89e647 Eric Dumazet            2009-03-24  1542         struct net *net 
= nf_ct_net(ct);
1d45209d89e647 Eric Dumazet            2009-03-24  1543  
e53376bef2cd97 Pablo Neira Ayuso       2014-02-03  1544         /* A freed 
object has refcnt == 0, that's
5f0d5a3ae7cff0 Paul E. McKenney        2017-01-18  1545          * the golden 
rule for SLAB_TYPESAFE_BY_RCU
e53376bef2cd97 Pablo Neira Ayuso       2014-02-03  1546          */
44d6e2f27328b2 Varsha Rao              2017-08-30  1547         
WARN_ON(atomic_read(&ct->ct_general.use) != 0);
e53376bef2cd97 Pablo Neira Ayuso       2014-02-03  1548  
ceeff7541e5a4b Patrick McHardy         2008-06-11  1549         
nf_ct_ext_destroy(ct);
0c5366b3a8c77f Florian Westphal        2016-05-09  1550         
kmem_cache_free(nf_conntrack_cachep, ct);
4e857c58efeb99 Peter Zijlstra          2014-03-17  1551         
smp_mb__before_atomic();
4d309564787284 Vignesh Saravanaperumal 2021-07-08 @1552         
trace_android_rvh_nf_conn_free(ct);
0c3c6c00c69649 Pablo Neira Ayuso       2013-11-18  1553         
atomic_dec(&net->ct.count);
76507f69c44ed1 Patrick McHardy         2008-01-31  1554  }
13b18339102052 Patrick McHardy         2006-12-02  1555  
EXPORT_SYMBOL_GPL(nf_conntrack_free);
9fb9cbb1082d6b Yasuyuki Kozakai        2005-11-09  1556  
c539f01717c239 Florian Westphal        2013-01-11  1557  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to