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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 23 Feb 2017 16:39:16 +0100 (CET)
From:   Julia Lawall <julia.lawall@...6.fr>
To:     David Howells <dhowells@...hat.com>
cc:     kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: fs/afs/rxrpc.c:187:17-21: ERROR: reference preceded by free on line
 184 (fwd)

No idea if this is a problem.  Maybe trace_afs_call is just using the
address?

julia

---------- Forwarded message ----------
Date: Thu, 23 Feb 2017 23:18:26 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: kbuild@...org
Cc: Julia Lawall <julia.lawall@...6.fr>
Subject: fs/afs/rxrpc.c:187:17-21: ERROR: reference preceded by free on line 184


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   bc49a7831b1137ce1c2dda1c57e3631655f5d2ae
commit: 341f741f04beceebcb30daa12ae2e5e52e64e532 afs: Refcount the afs_call struct
date:   6 weeks ago
:::::: branch date: 12 hours ago
:::::: commit date: 6 weeks ago

>> fs/afs/rxrpc.c:187:17-21: ERROR: reference preceded by free on line 184

git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git remote update linus
git checkout 341f741f04beceebcb30daa12ae2e5e52e64e532
vim +187 fs/afs/rxrpc.c

6c67c7c3 David Howells            2014-05-21  178  			call->rxcall = NULL;
6c67c7c3 David Howells            2014-05-21  179  		}
6cf12869 Nathaniel Wesley Filardo 2014-05-21  180  		if (call->type->destructor)
6c67c7c3 David Howells            2014-05-21  181  			call->type->destructor(call);
341f741f David Howells            2017-01-05  182
341f741f David Howells            2017-01-05  183  		kfree(call->request);
341f741f David Howells            2017-01-05 @184  		kfree(call);
341f741f David Howells            2017-01-05  185
341f741f David Howells            2017-01-05  186  		o = atomic_dec_return(&afs_outstanding_calls);
341f741f David Howells            2017-01-05 @187  		trace_afs_call(call, afs_call_trace_free, 0, o,
341f741f David Howells            2017-01-05  188  			       __builtin_return_address(0));
341f741f David Howells            2017-01-05  189  		if (o == 0)
341f741f David Howells            2017-01-05  190  			wake_up_atomic_t(&afs_outstanding_calls);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Powered by blists - more mailing lists