Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.infradead.org/users/hch/misc.git sockopt-cleanups
commit f241bc9816806283d73e49cfbe667dc64bd93d03
Author: Christoph Hellwig <hch(a)lst.de>
AuthorDate: Wed Jul 15 15:06:11 2020 +0200
Commit: Christoph Hellwig <hch(a)lst.de>
CommitDate: Wed Jul 15 19:45:55 2020 +0200
net/ipv4: factor out mcast join/leave setsockopt helpers
Factor out one helper each for setting the native and compat
version of the MCAST_MSFILTER option.
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
2e8867a27c net/ipv4: factor out MCAST_MSFILTER setsockopt helpers
f241bc9816 net/ipv4: factor out mcast join/leave setsockopt helpers
361c474c7b net/ipv6: remove compat_ipv6_{get,set}sockopt
+------------------------------------------------+------------+------------+------------+
| | 2e8867a27c | f241bc9816 | 361c474c7b |
+------------------------------------------------+------------+------------+------------+
| boot_successes | 37 | 1 | 0 |
| boot_failures | 0 | 10 | 13 |
| WARNING:lock_held_when_returning_to_user_space | 0 | 10 | 13 |
| is_leaving_the_kernel_with_locks_still_held | 0 | 10 | 13 |
+------------------------------------------------+------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[ 88.654732] trinity-main uses obsolete (PF_INET,SOCK_PACKET)
00 00 00 00 00 00 00 00 00 00
05 00 00 00 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 01 00 00 00 00 00 00 00 b0 f7 62 01 00 00 00 00 00 00 00 00 02 00 00 00 00 c0 d5 36
00 00 00 00 01 00 00 00 00 00 00 00 00 00
[ 88.673496]
[ 88.673892] ================================================
[ 88.675208] WARNING: lock held when returning to user space!
[ 88.676585] 5.8.0-rc4-01429-gf241bc9816806 #1 Not tainted
[ 88.677792] ------------------------------------------------
00
[ 88.679108] trinity-main/629 is leaving the kernel with locks still held!
[ 88.680784] 2 locks held by trinity-main/629:
[ 88.681768] #0: 4198c9f8 (rtnl_mutex){....}-{3:3}, at: do_ip_setsockopt+0x2c/0xce0
[ 88.683602] #1: bfbdecc4 (sk_lock-AF_INET){....}-{0:0}, at:
do_ip_setsockopt+0x35/0xce0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00
01 00 00 00 70 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 09 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 112.582773] _warn_unseeded_randomness: 180 callbacks suppressed
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 361c474c7ba47754df5be0ea15d95e31d86aa047
4ff91fa0a3acd072c9a46ebe08a6e2471ddd3c95 --
git bisect good 31530de355ddae9c52fecaafd39e22b22a38b93e # 04:58 G 10 0 3 3
netfilter/ip6_tables: clean up compat {get,set}sockopt handling
git bisect bad f241bc9816806283d73e49cfbe667dc64bd93d03 # 05:14 B 0 1 17 0
net/ipv4: factor out mcast join/leave setsockopt helpers
git bisect good d1b5193213238fad226afb47ac4f8b306fcf2dcc # 05:39 G 11 0 0 0
netfilter: remove the compat_{get,set} methods
git bisect good 40e4a5a1f527bbdc544d0d396efa226f43ee0ad1 # 05:51 G 11 0 1 1
net/ipv4: factor out MCAST_MSFILTER getsockopt helpers
git bisect good 2e8867a27c1b1f9f28852099c3e00c81540f0ae5 # 05:57 G 11 0 0 0
net/ipv4: factor out MCAST_MSFILTER setsockopt helpers
# first bad commit: [f241bc9816806283d73e49cfbe667dc64bd93d03] net/ipv4: factor out mcast
join/leave setsockopt helpers
git bisect good 2e8867a27c1b1f9f28852099c3e00c81540f0ae5 # 06:02 G 30 0 0 0
net/ipv4: factor out MCAST_MSFILTER setsockopt helpers
# extra tests with debug options
git bisect bad f241bc9816806283d73e49cfbe667dc64bd93d03 # 06:10 B 0 1 17 0
net/ipv4: factor out mcast join/leave setsockopt helpers
# extra tests on head commit of hch-misc/sockopt-cleanups
git bisect bad 361c474c7ba47754df5be0ea15d95e31d86aa047 # 06:30 B 0 13 32 0
net/ipv6: remove compat_ipv6_{get,set}sockopt
# bad: [361c474c7ba47754df5be0ea15d95e31d86aa047] net/ipv6: remove
compat_ipv6_{get,set}sockopt
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/lkp@lists.01.org