bisecting fixing commit since b491e6a7391e3ecdebdd7a097550195cc878924a building syzkaller on eefc07f2541beeb1bcd50b1d75f40b5f04af2b06 testing commit b491e6a7391e3ecdebdd7a097550195cc878924a with gcc (GCC) 10.2.1 20210217 kernel signature: 03f422149e79a3c79a99b11d01d1fc912104ba48888256ba729d084c4743ffbe all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor testing current HEAD 5aa3c334a449bab24519c4967f5ac2b3304c8dcf testing commit 5aa3c334a449bab24519c4967f5ac2b3304c8dcf with gcc (GCC) 10.2.1 20210217 kernel signature: 8b18b9a299ccae9101ac574a6b820b91389a057fe6139a620e0669b4c1a0b224 all runs: OK # git bisect start 5aa3c334a449bab24519c4967f5ac2b3304c8dcf b491e6a7391e3ecdebdd7a097550195cc878924a Bisecting: 6856 revisions left to test after this (roughly 13 steps) [de1617578849acab8e16c9ffdce39b91fb50639d] Merge tag 'media/v5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media testing commit de1617578849acab8e16c9ffdce39b91fb50639d with gcc (GCC) 10.2.1 20210217 kernel signature: 4e9b8797b405566d6db6b8e09ce67d8c4ece59044c129b28cadfb4e8d8f2d858 all runs: OK # git bisect bad de1617578849acab8e16c9ffdce39b91fb50639d Bisecting: 3440 revisions left to test after this (roughly 12 steps) [56bf6fc266ca14d2b9276c8a62e4ff6783bfe68b] Merge tag 'arm-defconfig-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 56bf6fc266ca14d2b9276c8a62e4ff6783bfe68b with gcc (GCC) 10.2.1 20210217 kernel signature: b0f5e5cffcd39abd195824a77be9a81b06579c5fadff0758d301d77ff052e480 all runs: OK # git bisect bad 56bf6fc266ca14d2b9276c8a62e4ff6783bfe68b Bisecting: 1572 revisions left to test after this (roughly 11 steps) [4d469ec8ec05e1fa4792415de1a95b28871ff2fa] Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue testing commit 4d469ec8ec05e1fa4792415de1a95b28871ff2fa with gcc (GCC) 10.2.1 20210217 kernel signature: c41522fda0041a746da9f93d34430cd6a832e4e60206b7c93cfd86f8fa6c996f all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good 4d469ec8ec05e1fa4792415de1a95b28871ff2fa Bisecting: 797 revisions left to test after this (roughly 10 steps) [295f830e53f4838344c97e12ce69637e2128ca8d] rxrpc: Fix dependency on IPv6 in udp tunnel config testing commit 295f830e53f4838344c97e12ce69637e2128ca8d with gcc (GCC) 10.2.1 20210217 kernel signature: c45e6677586dd149408a2daccb1cdb9b5fcb00ce2e606993bd7cb0f49cec5eb9 all runs: OK # git bisect bad 295f830e53f4838344c97e12ce69637e2128ca8d Bisecting: 423 revisions left to test after this (roughly 9 steps) [291009f656e8eaebbdfd3a8d99f6b190a9ce9deb] Merge tag 'pm-5.11-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb with gcc (GCC) 10.2.1 20210217 kernel signature: 7e7e724e46bb96016d7862068ed56afd5ccd0a8aef0eb6922d364a71497d98ff all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb Bisecting: 211 revisions left to test after this (roughly 8 steps) [d0cf9503e908ee7b235a5efecedeb74aabc482f3] octeontx2-pf: ethtool fec mode support testing commit d0cf9503e908ee7b235a5efecedeb74aabc482f3 with gcc (GCC) 10.2.1 20210217 kernel signature: 44e12d4409a4f30eb2119dc11ec72c37f9f74bffb1ebee0bcca27bc7c56ffece all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good d0cf9503e908ee7b235a5efecedeb74aabc482f3 Bisecting: 105 revisions left to test after this (roughly 7 steps) [3ad3f8f93c81f81d6e28b2e286b03669cc1fb3b0] octeontx2-af: cn10k: MAC internal loopback support testing commit 3ad3f8f93c81f81d6e28b2e286b03669cc1fb3b0 with gcc (GCC) 10.2.1 20210217 kernel signature: 32dc542b44f56501d4a4d8006412d58f6603c601dc94085921c8a09061777af4 all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good 3ad3f8f93c81f81d6e28b2e286b03669cc1fb3b0 Bisecting: 52 revisions left to test after this (roughly 6 steps) [234f414efd1164786269849b4fbb533d6c9cdbbf] Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working testing commit 234f414efd1164786269849b4fbb533d6c9cdbbf with gcc (GCC) 10.2.1 20210217 kernel signature: 21a698e5f60901a3d5b47b6ab5046af60684c0f1710cc309a603a480dd190bae all runs: OK # git bisect bad 234f414efd1164786269849b4fbb533d6c9cdbbf Bisecting: 26 revisions left to test after this (roughly 5 steps) [a2a4dedf88ab2f807a7ca90947d686816b430f97] Bluetooth: advmon offload MSFT add monitor testing commit a2a4dedf88ab2f807a7ca90947d686816b430f97 with gcc (GCC) 10.2.1 20210217 kernel signature: 5814d713a4b28e8c965d62ab29b2d096669b825f19c437b30080119edbd10237 all runs: OK # git bisect bad a2a4dedf88ab2f807a7ca90947d686816b430f97 Bisecting: 12 revisions left to test after this (roughly 4 steps) [1ca2a39454069998918f0b24a654c613568ed505] Bluetooth: btmtksdio: Fixed switch and case should be at the same indent testing commit 1ca2a39454069998918f0b24a654c613568ed505 with gcc (GCC) 10.2.1 20210217 kernel signature: 52b89d016a16b1273c70f96e6e9f296bf9811039c0509f30deea3ef6b687d367 all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good 1ca2a39454069998918f0b24a654c613568ed505 Bisecting: 6 revisions left to test after this (roughly 3 steps) [ef0bb5adc1a3cdbf20c77b8ba841d2eca7c7dc5a] Bluetooth: avoid u128_xor() on potentially misaligned inputs testing commit ef0bb5adc1a3cdbf20c77b8ba841d2eca7c7dc5a with gcc (GCC) 10.2.1 20210217 kernel signature: 3fec40330878baa7b74eb9d68824f9366c93c188c17918228303ddc58cf0f51b all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good ef0bb5adc1a3cdbf20c77b8ba841d2eca7c7dc5a Bisecting: 3 revisions left to test after this (roughly 2 steps) [71f8e707557b9bc25dc90a59a752528d4e7c1cbf] Bluetooth: hci_qca: Fix memleak in qca_controller_memdump testing commit 71f8e707557b9bc25dc90a59a752528d4e7c1cbf with gcc (GCC) 10.2.1 20210217 kernel signature: 69e408970b1624489f3cce5da9d7bccb15899078ef38063d4d185f81c2d65cd7 all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good 71f8e707557b9bc25dc90a59a752528d4e7c1cbf Bisecting: 1 revision left to test after this (roughly 1 step) [7f9f2c3f7d99b8ae773459c74ac5e99a0dd46db9] Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl testing commit 7f9f2c3f7d99b8ae773459c74ac5e99a0dd46db9 with gcc (GCC) 10.2.1 20210217 kernel signature: e78cf2ddafe0cb9f7d18ff6a17d0fef5f6972b8708b4ba3f839e84a80b935fa6 all runs: crashed: KASAN: slab-out-of-bounds Read in add_adv_patterns_monitor # git bisect good 7f9f2c3f7d99b8ae773459c74ac5e99a0dd46db9 Bisecting: 0 revisions left to test after this (roughly 0 steps) [b4a221ea8a1f890b50838ef389d016c7ff280abc] Bluetooth: advmon offload MSFT add rssi support testing commit b4a221ea8a1f890b50838ef389d016c7ff280abc with gcc (GCC) 10.2.1 20210217 kernel signature: 323266fffd4b03405fc4f3096e72e80f3361fc6125e050033a276d95616773cf all runs: OK # git bisect bad b4a221ea8a1f890b50838ef389d016c7ff280abc b4a221ea8a1f890b50838ef389d016c7ff280abc is the first bad commit commit b4a221ea8a1f890b50838ef389d016c7ff280abc Author: Archie Pusaka Date: Fri Jan 22 16:36:11 2021 +0800 Bluetooth: advmon offload MSFT add rssi support MSFT needs rssi parameter for monitoring advertisement packet, therefore we should supply them from mgmt. This adds a new opcode to add advertisement monitor with rssi parameters. Signed-off-by: Archie Pusaka Reviewed-by: Manish Mandlik Reviewed-by: Miao-chen Chou Reviewed-by: Yun-Hao Chung Signed-off-by: Marcel Holtmann include/net/bluetooth/hci_core.h | 9 ++ include/net/bluetooth/mgmt.h | 16 +++ net/bluetooth/mgmt.c | 225 ++++++++++++++++++++++++++------------- 3 files changed, 178 insertions(+), 72 deletions(-) culprit signature: 323266fffd4b03405fc4f3096e72e80f3361fc6125e050033a276d95616773cf parent signature: e78cf2ddafe0cb9f7d18ff6a17d0fef5f6972b8708b4ba3f839e84a80b935fa6 revisions tested: 16, total time: 3h7m53.755193959s (build: 1h34m17.478246472s, test: 1h32m4.670638556s) first good commit: b4a221ea8a1f890b50838ef389d016c7ff280abc Bluetooth: advmon offload MSFT add rssi support recipients (to): ["apusaka@chromium.org" "howardchung@google.com" "marcel@holtmann.org" "mcchou@chromium.org" "mmandlik@chromium.org"] recipients (cc): []