bisecting fixing commit since f6e27dbb1afabcba436e346d6aa88a592a1436bb building syzkaller on b7a87a83f8bdbe141f04275ab84bd0f38ce1d4a9 testing commit f6e27dbb1afabcba436e346d6aa88a592a1436bb with gcc (GCC) 8.1.0 kernel signature: df54275df4a71b22767c9880cfbec14a69624ae1 all runs: crashed: WARNING: suspicious RCU usage in netem_enqueue testing current HEAD a844dc4c544291470aa69edbe2434b040794e269 testing commit a844dc4c544291470aa69edbe2434b040794e269 with gcc (GCC) 8.1.0 kernel signature: 62b3365139885722112cb3ef2b7b16bd64b7cfae all runs: OK # git bisect start a844dc4c544291470aa69edbe2434b040794e269 f6e27dbb1afabcba436e346d6aa88a592a1436bb Bisecting: 795 revisions left to test after this (roughly 10 steps) [a4f14d5a0795fe7c4f75d31ef4abf816570e3872] x86/speculation/taa: Add documentation for TSX Async Abort testing commit a4f14d5a0795fe7c4f75d31ef4abf816570e3872 with gcc (GCC) 8.1.0 kernel signature: 14e09bf6880131fac0bbcee37b8ac47dcf8bee87 all runs: OK # git bisect bad a4f14d5a0795fe7c4f75d31ef4abf816570e3872 Bisecting: 397 revisions left to test after this (roughly 9 steps) [2e18e22063986658f0ebfb90f742ab1f6e378f33] Revert "drm/radeon: Fix EEH during kexec" testing commit 2e18e22063986658f0ebfb90f742ab1f6e378f33 with gcc (GCC) 8.1.0 kernel signature: 03dc18a3e88a504a117154028d3286b1b4d230c9 all runs: OK # git bisect bad 2e18e22063986658f0ebfb90f742ab1f6e378f33 Bisecting: 198 revisions left to test after this (roughly 8 steps) [3f7708795b45c5d983c95a0ff1dba2a597c6a770] clk: sirf: Don't reference clk_init_data after registration testing commit 3f7708795b45c5d983c95a0ff1dba2a597c6a770 with gcc (GCC) 8.1.0 kernel signature: 71d5ca26f6d48dcec8119eb2ca14aed084548baa all runs: OK # git bisect bad 3f7708795b45c5d983c95a0ff1dba2a597c6a770 Bisecting: 98 revisions left to test after this (roughly 7 steps) [bbaab8bf299962535f079210a76835707927a458] libperf: Fix alignment trap with xyarray contents in 'perf stat' testing commit bbaab8bf299962535f079210a76835707927a458 with gcc (GCC) 8.1.0 kernel signature: 3480556d6bacc85b1a2be9e632859d76abad0b5a all runs: OK # git bisect bad bbaab8bf299962535f079210a76835707927a458 Bisecting: 49 revisions left to test after this (roughly 6 steps) [272f46fe19daa1a18c0243cc8ac150e291ea51fd] appletalk: enforce CAP_NET_RAW for raw sockets testing commit 272f46fe19daa1a18c0243cc8ac150e291ea51fd with gcc (GCC) 8.1.0 kernel signature: 7b6702741d26e0f29815cbd7642bb8a705973ba9 all runs: OK # git bisect bad 272f46fe19daa1a18c0243cc8ac150e291ea51fd Bisecting: 24 revisions left to test after this (roughly 5 steps) [d6e13c8d5cda231e6b0d824804b60395abc1cdcc] blk-mq: move cancel of requeue_work to the front of blk_exit_queue testing commit d6e13c8d5cda231e6b0d824804b60395abc1cdcc with gcc (GCC) 8.1.0 kernel signature: 7422f12843cbbb7106279f81d0fcfc9c7f9a7ce7 all runs: crashed: WARNING: suspicious RCU usage in netem_enqueue # git bisect good d6e13c8d5cda231e6b0d824804b60395abc1cdcc Bisecting: 12 revisions left to test after this (roughly 4 steps) [783cfb4ff782cc1287677c9b3a1be276060add44] macsec: drop skb sk before calling gro_cells_receive testing commit 783cfb4ff782cc1287677c9b3a1be276060add44 with gcc (GCC) 8.1.0 kernel signature: badf70a023a50ca9e73fc37f9c92b134f31ac643 all runs: crashed: WARNING: suspicious RCU usage in netem_enqueue # git bisect good 783cfb4ff782cc1287677c9b3a1be276060add44 Bisecting: 6 revisions left to test after this (roughly 3 steps) [307eb812f69469dfcf4d86803675e7f7086e1201] ppp: Fix memory leak in ppp_write testing commit 307eb812f69469dfcf4d86803675e7f7086e1201 with gcc (GCC) 8.1.0 kernel signature: a7bb162981b80530ac1e7f731cc559e04742d0de all runs: OK # git bisect bad 307eb812f69469dfcf4d86803675e7f7086e1201 Bisecting: 2 revisions left to test after this (roughly 2 steps) [5c0146b51fa2118ddcd68d2da2d21174face307b] net/sched: act_sample: don't push mac header on ip6gre ingress testing commit 5c0146b51fa2118ddcd68d2da2d21174face307b with gcc (GCC) 8.1.0 kernel signature: 798d042a560547be23f58d702bdf6268b7679a2a all runs: crashed: WARNING: suspicious RCU usage in netem_enqueue # git bisect good 5c0146b51fa2118ddcd68d2da2d21174face307b Bisecting: 0 revisions left to test after this (roughly 1 step) [ad7645633ab75b689cf8f9b1172b9ee84f3202cf] openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC testing commit ad7645633ab75b689cf8f9b1172b9ee84f3202cf with gcc (GCC) 8.1.0 kernel signature: 6628f69a3ac2cfb50b0940b6de2c997112c2dd35 all runs: OK # git bisect bad ad7645633ab75b689cf8f9b1172b9ee84f3202cf Bisecting: 0 revisions left to test after this (roughly 0 steps) [6f492e8010338dc2584a711b0cae388fd36120a5] net_sched: add max len check for TCA_KIND testing commit 6f492e8010338dc2584a711b0cae388fd36120a5 with gcc (GCC) 8.1.0 kernel signature: 22457d342c811753000d4bd768ddd2431d4605b3 all runs: OK # git bisect bad 6f492e8010338dc2584a711b0cae388fd36120a5 6f492e8010338dc2584a711b0cae388fd36120a5 is the first bad commit commit 6f492e8010338dc2584a711b0cae388fd36120a5 Author: Cong Wang Date: Wed Sep 18 16:24:12 2019 -0700 net_sched: add max len check for TCA_KIND [ Upstream commit 62794fc4fbf52f2209dc094ea255eaef760e7d01 ] The TCA_KIND attribute is of NLA_STRING which does not check the NUL char. KMSAN reported an uninit-value of TCA_KIND which is likely caused by the lack of NUL. Change it to NLA_NUL_STRING and add a max len too. Fixes: 8b4c3cdd9dd8 ("net: sched: Add policy validation for tc attributes") Reported-and-tested-by: syzbot+618aacd49e8c8b8486bd@syzkaller.appspotmail.com Cc: Jamal Hadi Salim Signed-off-by: Cong Wang Reviewed-by: David Ahern Acked-by: Jiri Pirko Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman net/sched/sch_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) culprit signature: 22457d342c811753000d4bd768ddd2431d4605b3 parent signature: 798d042a560547be23f58d702bdf6268b7679a2a revisions tested: 13, total time: 3h28m39.354471432s (build: 1h41m54.480776212s, test: 1h45m16.217209158s) first good commit: 6f492e8010338dc2584a711b0cae388fd36120a5 net_sched: add max len check for TCA_KIND cc: ["dsahern@gmail.com" "gregkh@linuxfoundation.org" "jakub.kicinski@netronome.com" "jiri@mellanox.com" "syzbot+618aacd49e8c8b8486bd@syzkaller.appspotmail.com" "xiyou.wangcong@gmail.com"]