bisecting fixing commit since ec681c53f8d2d0ee362ff67f5b98dd8263c15002 building syzkaller on 0c5d9412d774262384cbdbe9d672b077364ed776 testing commit ec681c53f8d2d0ee362ff67f5b98dd8263c15002 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 88272bbace97f9cf2ca8657461d2ff28405771971b744c1ad7fa2f77e21ab8c4 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface testing current HEAD fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2 testing commit fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 55d15adced9d30c2ef19e38c047a8c4855aa29057bd052760fc88521d9106ff5 all runs: OK # git bisect start fc74e0a40e4f9fd0468e34045b0c45bba11dcbb2 ec681c53f8d2d0ee362ff67f5b98dd8263c15002 Bisecting: 7894 revisions left to test after this (roughly 13 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [ff0700f03609b9f0defacd4ce96d9519d721e0a2] Merge tag 'sound-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit ff0700f03609b9f0defacd4ce96d9519d721e0a2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4582a14c2df22579aeedab52c5c7f4bc3c4e7953b82a9934ecc37cccd502ca2a all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good ff0700f03609b9f0defacd4ce96d9519d721e0a2 Bisecting: 3949 revisions left to test after this (roughly 12 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [02102744d364c1bca4a0da13c2a72656037f64eb] smb3: do not setup the fscache_super_cookie until fsinfo initialized testing commit 02102744d364c1bca4a0da13c2a72656037f64eb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4d1292ba6f59726d394afdaeb69c63dcc374429aa0895104fdd0bb1215511ea3 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good 02102744d364c1bca4a0da13c2a72656037f64eb Bisecting: 1980 revisions left to test after this (roughly 11 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [87959fa16cfbcf76245c11559db1940069621274] Revert "block: reduce kblockd_mod_delayed_work_on() CPU consumption" testing commit 87959fa16cfbcf76245c11559db1940069621274 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 101232b922562e319b299b70a079fc7593b9ec9aa435ccb20beb853b5d8ac088 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good 87959fa16cfbcf76245c11559db1940069621274 Bisecting: 990 revisions left to test after this (roughly 10 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [dde91ccfa25fd58f64c397d91b81a4b393100ffa] ethtool: do not perform operations on net devices being unregistered testing commit dde91ccfa25fd58f64c397d91b81a4b393100ffa compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 851b048a35d4b633cf691fb82cd341db142fd6d346ba8ce422cefc2a49711fa0 all runs: OK # git bisect bad dde91ccfa25fd58f64c397d91b81a4b393100ffa Bisecting: 495 revisions left to test after this (roughly 9 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [b501b85957deb17f1fe0a861fee820255519d526] Merge tag 'asm-generic-5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic testing commit b501b85957deb17f1fe0a861fee820255519d526 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: afafcca363490b6c6f1384560869b2a3b656d038d1422e4a7aa0ac3d048dfa81 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good b501b85957deb17f1fe0a861fee820255519d526 Bisecting: 247 revisions left to test after this (roughly 8 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [fb32f4f606c17b869805d7cede8b03d78339b50a] wireguard: receive: drop handshakes if queue lock is contended testing commit fb32f4f606c17b869805d7cede8b03d78339b50a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 93ee46707d84e1a3b3cdb642adcf9642fc919beb49f9be7d4297eaca169163b9 all runs: OK # git bisect bad fb32f4f606c17b869805d7cede8b03d78339b50a Bisecting: 136 revisions left to test after this (roughly 7 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [5367cf1c3ad02f7f14d79733814302a96cc97b96] Merge tag 'acpi-5.16-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 5367cf1c3ad02f7f14d79733814302a96cc97b96 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e2cd0651638d8a845f3bd46eb6ad2d1b18ee0c8700b29f8b72f160cb2cb48184 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good 5367cf1c3ad02f7f14d79733814302a96cc97b96 Bisecting: 68 revisions left to test after this (roughly 6 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [550b8e1d182cdc59bf99852503b9ce8a5ab2c34e] MAINTAINERS: Update B53 section to cover SF2 switch driver testing commit 550b8e1d182cdc59bf99852503b9ce8a5ab2c34e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9faa3e6e19896b636068f142b53e034e3945a0c32596f20e92addff3a66813f6 all runs: OK # git bisect bad 550b8e1d182cdc59bf99852503b9ce8a5ab2c34e Bisecting: 33 revisions left to test after this (roughly 5 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [f7a36b03a7320d1a3ba52f9305571eddad325a05] vsock/virtio: suppress used length validation testing commit f7a36b03a7320d1a3ba52f9305571eddad325a05 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 355ea91ffe63ae30bf7e692591c578f91287b7c4987d019d4ded77b0c5a01c3f all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good f7a36b03a7320d1a3ba52f9305571eddad325a05 Bisecting: 16 revisions left to test after this (roughly 4 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [33a153100bb3459479bd95d3259c2915b53fefa8] net: ipa: directly disable ipa-setup-ready interrupt testing commit 33a153100bb3459479bd95d3259c2915b53fefa8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7577dde35825bae077a4cf07442807e938ad36fc590f680469a892ac8fb15993 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good 33a153100bb3459479bd95d3259c2915b53fefa8 Bisecting: 8 revisions left to test after this (roughly 3 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [a049a30fc27c1cb2e12889bbdbd463dbf750103a] net: usb: Correct PHY handling of smsc95xx testing commit a049a30fc27c1cb2e12889bbdbd463dbf750103a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7236f982341e48d68bfa98f711d3817bbfe67525ccaec5b2d757ded164a01700 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good a049a30fc27c1cb2e12889bbdbd463dbf750103a Bisecting: 4 revisions left to test after this (roughly 2 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [0afefdced47d039bd418f5d67f594a60aea20871] tc-testing: Add link for reviews with TC MAINTAINERS testing commit 0afefdced47d039bd418f5d67f594a60aea20871 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a270ad952370612d2dc0246fa840c93ddd8910b2098cdd9b2ab77be469bc3961 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good 0afefdced47d039bd418f5d67f594a60aea20871 Bisecting: 2 revisions left to test after this (roughly 1 step) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [ac132852147ad303a938dda318970dd1bbdfda4e] net/ncsi : Add payload to be 32-bit aligned to fix dropped packets testing commit ac132852147ad303a938dda318970dd1bbdfda4e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0bb8402281f70c872ad2489ba4a4cec2b00ece2c9dc00b8057fb906591964e65 all runs: crashed: UBSAN: shift-out-of-bounds in nl802154_new_interface # git bisect good ac132852147ad303a938dda318970dd1bbdfda4e Bisecting: 0 revisions left to test after this (roughly 1 step) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [48a78f501f458854c5233f16187bcae2dbcd2073] Merge tag 'ieee802154-for-net-2021-11-24' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan testing commit 48a78f501f458854c5233f16187bcae2dbcd2073 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9faa3e6e19896b636068f142b53e034e3945a0c32596f20e92addff3a66813f6 all runs: OK # git bisect bad 48a78f501f458854c5233f16187bcae2dbcd2073 Bisecting: 0 revisions left to test after this (roughly 0 steps) warning: unable to access '/syzkaller/.config/git/ignore': Permission denied warning: unable to access '/syzkaller/.config/git/attributes': Permission denied [451dc48c806a7ce9fbec5e7a24ccf4b2c936e834] net: ieee802154: handle iftypes as u32 testing commit 451dc48c806a7ce9fbec5e7a24ccf4b2c936e834 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: cb65e950de8d521f81856e9ea428b26bc96c6004d15b62d48e9c3acf3207d801 all runs: OK # git bisect bad 451dc48c806a7ce9fbec5e7a24ccf4b2c936e834 warning: unable to access '/syzkaller/.config/git/attributes': Permission denied 451dc48c806a7ce9fbec5e7a24ccf4b2c936e834 is the first bad commit commit 451dc48c806a7ce9fbec5e7a24ccf4b2c936e834 Author: Alexander Aring Date: Thu Nov 11 22:09:16 2021 -0500 net: ieee802154: handle iftypes as u32 This patch fixes an issue that an u32 netlink value is handled as a signed enum value which doesn't fit into the range of u32 netlink type. If it's handled as -1 value some BIT() evaluation ends in a shift-out-of-bounds issue. To solve the issue we set the to u32 max which is s32 "-1" value to keep backwards compatibility and let the followed enum values start counting at 0. This brings the compiler to never handle the enum as signed and a check if the value is above NL802154_IFTYPE_MAX should filter -1 out. Fixes: f3ea5e44231a ("ieee802154: add new interface command") Signed-off-by: Alexander Aring Link: https://lore.kernel.org/r/20211112030916.685793-1-aahringo@redhat.com Signed-off-by: Stefan Schmidt include/net/nl802154.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) parent commit 848e5d66fa3105b4136c95ddbc5654e9c43ba7d7 wasn't tested testing commit 848e5d66fa3105b4136c95ddbc5654e9c43ba7d7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: b1e1276161c3585d934a0061c477d4a39eeac86f223dfa44036daba57b7269d7 culprit signature: cb65e950de8d521f81856e9ea428b26bc96c6004d15b62d48e9c3acf3207d801 parent signature: b1e1276161c3585d934a0061c477d4a39eeac86f223dfa44036daba57b7269d7 revisions tested: 17, total time: 3h19m33.207081902s (build: 1h57m49.616454835s, test: 1h19m58.142396993s) first good commit: 451dc48c806a7ce9fbec5e7a24ccf4b2c936e834 net: ieee802154: handle iftypes as u32 recipients (to): ["aahringo@redhat.com" "alex.aring@gmail.com" "davem@davemloft.net" "kuba@kernel.org" "linux-wpan@vger.kernel.org" "netdev@vger.kernel.org" "stefan@datenfreihafen.org" "stefan@datenfreihafen.org"] recipients (cc): ["linux-kernel@vger.kernel.org"]