bisecting cause commit starting from a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 building syzkaller on f62a58290e2f1200a2b21f2707a9ff0394a2a724 testing commit a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b30323b43f6870750ea7eb67afd91ed763b407839e900f10afbf5c53dc53091f all runs: crashed: WARNING: kmalloc bug in nf_tables_newset testing release v5.14 testing commit 7d2a07b769330c34b4deabeed939325c77a7ec2f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1bc25c310b773f41f60536ec01fad7eee81fbd08982b6b34e2bd4f1aafdef1ea all runs: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 79cc2141d6961d1d111273529554accf3406ed45786744614f70cb503fcf44bf all runs: OK # git bisect start a9c9a6f741cdaa2fa9ba24a790db8d07295761e3 62fb9874f5da54fdb243003b386128037319b219 Bisecting: 12296 revisions left to test after this (roughly 14 steps) [8c1bfd746030a14435c9b60d08a81af61332089b] Merge tag 'pwm/for-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm testing commit 8c1bfd746030a14435c9b60d08a81af61332089b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b82dc7964e1a06268edff3f3021fb41e1e0013698efa401968f172a111bf9acc run #0: boot failed: possible deadlock in get_page_from_freelist run #1: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #2: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #3: boot failed: possible deadlock in fs_reclaim_acquire run #4: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #5: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #6: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #7: boot failed: possible deadlock in get_page_from_freelist run #8: boot failed: possible deadlock in get_page_from_freelist run #9: boot failed: BUG: sleeping function called from invalid context in stack_depot_save # git bisect skip 8c1bfd746030a14435c9b60d08a81af61332089b Bisecting: 12296 revisions left to test after this (roughly 14 steps) [cf9d5c6619fadfc41cf8f5154cb990cc38e3da85] ASoC: rsnd: tidyup loop on rsnd_adg_clk_query() testing commit cf9d5c6619fadfc41cf8f5154cb990cc38e3da85 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: a1d1463744757500929ae52419285a51baf92624b1acc8053b4cb463d2be955c all runs: OK # git bisect good cf9d5c6619fadfc41cf8f5154cb990cc38e3da85 Bisecting: 12240 revisions left to test after this (roughly 14 steps) [f55966571d5eb2876a11e48e798b4592fa1ffbb7] Merge tag 'drm-next-2021-07-08-1' of git://anongit.freedesktop.org/drm/drm testing commit f55966571d5eb2876a11e48e798b4592fa1ffbb7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b82dc7964e1a06268edff3f3021fb41e1e0013698efa401968f172a111bf9acc run #0: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #1: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #2: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #3: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #4: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #5: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #6: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #7: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #8: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #9: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) # git bisect skip f55966571d5eb2876a11e48e798b4592fa1ffbb7 Bisecting: 12240 revisions left to test after this (roughly 14 steps) [c3ddfe66d2bb511f7fbcdc8e64952c7859e7e69d] opp: Drop empty-table checks from _put functions testing commit c3ddfe66d2bb511f7fbcdc8e64952c7859e7e69d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 5e7cbc81f27fd077634b6816e4713f79388593a68457733fe1b8ecdb01ca1eec run #0: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good c3ddfe66d2bb511f7fbcdc8e64952c7859e7e69d Bisecting: 4992 revisions left to test after this (roughly 12 steps) [9e9fb7655ed585da8f468e29221f0ba194a5f613] Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next testing commit 9e9fb7655ed585da8f468e29221f0ba194a5f613 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip 9e9fb7655ed585da8f468e29221f0ba194a5f613 Bisecting: 4992 revisions left to test after this (roughly 12 steps) [b00ced38e3172823c0a554004585a683dfd95041] ARM: ixp4xx: Delete Avila boardfiles testing commit b00ced38e3172823c0a554004585a683dfd95041 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 5e7cbc81f27fd077634b6816e4713f79388593a68457733fe1b8ecdb01ca1eec run #0: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect good b00ced38e3172823c0a554004585a683dfd95041 Bisecting: 4985 revisions left to test after this (roughly 12 steps) [3bb8fa376b8a21ccaf25bf64cc70a6a54cf343f8] staging: rtl8192e: rtl8192e: rtl_core: remove unused global variable testing commit 3bb8fa376b8a21ccaf25bf64cc70a6a54cf343f8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 4bb19f99049d3b595b3d36ff8e712c6f4874eeb904d5a92e49ac207600706aa9 all runs: OK # git bisect good 3bb8fa376b8a21ccaf25bf64cc70a6a54cf343f8 Bisecting: 4514 revisions left to test after this (roughly 12 steps) [ba1dc7f273c73b93e0e1dd9707b239ed69eebd70] Merge tag 'char-misc-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit ba1dc7f273c73b93e0e1dd9707b239ed69eebd70 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip ba1dc7f273c73b93e0e1dd9707b239ed69eebd70 Bisecting: 4514 revisions left to test after this (roughly 12 steps) [9d9fb756b5391c2eb93ffdb24f9d2b30c92acc5b] drm/vc4: hdmi: Limit noise when deferring snd card registration testing commit 9d9fb756b5391c2eb93ffdb24f9d2b30c92acc5b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b440aea03fbb2ae08349aae53738243bc37f7f2a54a5de9819429de8da06263c all runs: OK # git bisect good 9d9fb756b5391c2eb93ffdb24f9d2b30c92acc5b Bisecting: 4523 revisions left to test after this (roughly 12 steps) [87bb11ccfe03f61ef66f0e3dcc7685ddf4798993] Merge branch 'selftests/bpf: Improve the usability of test_progs' testing commit 87bb11ccfe03f61ef66f0e3dcc7685ddf4798993 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f000d60affd76607d3cf83c73f5d9b4cebdd1dcd25b5e507640190c725dd64f0 all runs: OK # git bisect good 87bb11ccfe03f61ef66f0e3dcc7685ddf4798993 Bisecting: 3958 revisions left to test after this (roughly 12 steps) [7c314bdfb64e4bb8d2f829376ed56ce663483752] Merge tag 'tty-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty testing commit 7c314bdfb64e4bb8d2f829376ed56ce663483752 arch/x86/kernel/setup.c:916:6: error: implicit declaration of function 'acpi_mps_check' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1110:2: error: implicit declaration of function 'acpi_table_upgrade' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1112:2: error: implicit declaration of function 'acpi_boot_table_init' [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1120:2: error: implicit declaration of function 'early_acpi_boot_init'; did you mean 'early_cpu_init'? [-Werror=implicit-function-declaration] arch/x86/kernel/setup.c:1162:2: error: implicit declaration of function 'acpi_boot_init' [-Werror=implicit-function-declaration] # git bisect skip 7c314bdfb64e4bb8d2f829376ed56ce663483752 Bisecting: 3958 revisions left to test after this (roughly 12 steps) [8e58b7710d6634ed46ae26fedb8459f84f08fd51] usb: isp1760: check maxpacketsize before using it testing commit 8e58b7710d6634ed46ae26fedb8459f84f08fd51 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 6b0074dcaab89fe225783b8caa737e61fceb32c43d0e49e411618edec7ad7e80 all runs: OK # git bisect good 8e58b7710d6634ed46ae26fedb8459f84f08fd51 Bisecting: 3802 revisions left to test after this (roughly 12 steps) [ea7b4244b3656ca33b19a950f092b5bbc718b40c] x86/setup: Explicitly include acpi.h testing commit ea7b4244b3656ca33b19a950f092b5bbc718b40c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b49a06514e8dee28c6643b746ab3321b6372b4894f3709a70efc11651ff087bb all runs: OK # git bisect good ea7b4244b3656ca33b19a950f092b5bbc718b40c Bisecting: 1884 revisions left to test after this (roughly 11 steps) [57c78a234e809e3a0516491e37ae5ccc6eeb21e8] Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux testing commit 57c78a234e809e3a0516491e37ae5ccc6eeb21e8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c6e13f3613e90ac3ae2d17de7f3ec6727957d4dc972af5defc8e20c86a9f4fdc all runs: OK # git bisect good 57c78a234e809e3a0516491e37ae5ccc6eeb21e8 Bisecting: 948 revisions left to test after this (roughly 10 steps) [75ae663d053bddf7c70a24cccf53c83ae03deff8] iwlwifi: mvm: add rtnl_lock() in iwl_mvm_start_get_nvm() testing commit 75ae663d053bddf7c70a24cccf53c83ae03deff8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c57962e0148f32c5741d17e5f23c3781e508f39a3599b187c538122f4151dc5e all runs: OK # git bisect good 75ae663d053bddf7c70a24cccf53c83ae03deff8 Bisecting: 489 revisions left to test after this (roughly 9 steps) [75d6e7d9ced83e937757e278c3ce1ccd6606a96a] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux testing commit 75d6e7d9ced83e937757e278c3ce1ccd6606a96a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 0a81cdadf83ec78930d9459b73bf2ca7bf09a9c1c4bf24ca9952e1f5489594d4 all runs: crashed: WARNING: kmalloc bug in nf_tables_newset # git bisect bad 75d6e7d9ced83e937757e278c3ce1ccd6606a96a Bisecting: 222 revisions left to test after this (roughly 8 steps) [89b6b8cd92c068cd1bdf877ec7fb1392568ef35d] Merge tag 'vfio-v5.15-rc1' of git://github.com/awilliam/linux-vfio testing commit 89b6b8cd92c068cd1bdf877ec7fb1392568ef35d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: cb55f0d9a5326b6c89c42d36574bbb5da104a576a8b650a9218e22f4e9051563 run #0: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #1: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #2: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #3: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #4: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #5: crashed: WARNING: kmalloc bug in nf_tables_newset run #6: crashed: WARNING: kmalloc bug in nf_tables_newset run #7: crashed: WARNING: kmalloc bug in nf_tables_newset run #8: crashed: WARNING: kmalloc bug in nf_tables_newset run #9: crashed: WARNING: kmalloc bug in nf_tables_newset # git bisect bad 89b6b8cd92c068cd1bdf877ec7fb1392568ef35d Bisecting: 116 revisions left to test after this (roughly 7 steps) [4a3bb4200a5958d76cc26ebe4db4257efa56812b] Merge tag 'dma-mapping-5.15' of git://git.infradead.org/users/hch/dma-mapping testing commit 4a3bb4200a5958d76cc26ebe4db4257efa56812b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1bb7ea35b9cb2ce20c5bf0aa1a6310a66ef270262b99a9ebe2300c0cc0c9cd57 all runs: crashed: WARNING: kmalloc bug in nf_tables_newset # git bisect bad 4a3bb4200a5958d76cc26ebe4db4257efa56812b Bisecting: 54 revisions left to test after this (roughly 6 steps) [111c1aa8cad4a0069dfe98fc093507b5b2cdfda7] Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 testing commit 111c1aa8cad4a0069dfe98fc093507b5b2cdfda7 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 9eac83188ab1af3ca89f0ca6aa045557d83380337883cd69bc66d966ab2040ea all runs: OK # git bisect good 111c1aa8cad4a0069dfe98fc093507b5b2cdfda7 Bisecting: 27 revisions left to test after this (roughly 5 steps) [70d6aa0ecfed253a2b14659a6c77359af6d9b3ee] dma-mapping: allow using the global coherent pool for !ARM testing commit 70d6aa0ecfed253a2b14659a6c77359af6d9b3ee compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 771f6bd12f69a342e7061d4e048c900a33b804ef5a9f310bb7a9a2e765823761 all runs: OK # git bisect good 70d6aa0ecfed253a2b14659a6c77359af6d9b3ee Bisecting: 13 revisions left to test after this (roughly 4 steps) [aee742c9928ab4f5f4e0b00f41fb2d2cffae179e] fs: dlm: fix return -EINTR on recovery stopped testing commit aee742c9928ab4f5f4e0b00f41fb2d2cffae179e compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 322586597f0ab4da659599a5335ceb0b6a657ac2259ea8b624654f1f9dc84cf1 all runs: OK # git bisect good aee742c9928ab4f5f4e0b00f41fb2d2cffae179e Bisecting: 4 revisions left to test after this (roughly 3 steps) [eceae1e7acaefc0a71e4dd4b8cd49270172b4731] Merge tag 'configfs-5.15' of git://git.infradead.org/users/hch/configfs testing commit eceae1e7acaefc0a71e4dd4b8cd49270172b4731 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 90697b961e1fbf727971a463ecbf6e6e978c55e84a0248f86f43c1ce2f946d3d all runs: crashed: WARNING: kmalloc bug in nf_tables_newset # git bisect bad eceae1e7acaefc0a71e4dd4b8cd49270172b4731 Bisecting: 4 revisions left to test after this (roughly 2 steps) [265113f70f3d63ae8b6eb1ce4303d14dbbd71b2d] Merge tag 'dlm-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm testing commit 265113f70f3d63ae8b6eb1ce4303d14dbbd71b2d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3186b952e3623b3f362d838d5e02395bfb39792f3a2bc29fc0279b2b3531085b run #0: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #1: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #2: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #3: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #4: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #5: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #6: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #7: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #8: boot failed: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #9: crashed: WARNING: kmalloc bug in nf_tables_newset # git bisect bad 265113f70f3d63ae8b6eb1ce4303d14dbbd71b2d Bisecting: 1 revision left to test after this (roughly 1 step) [b0cfcdd9b9672ea90642f33d6c0dd8516553adf2] d_path: make 'prepend()' fill up the buffer exactly on overflow testing commit b0cfcdd9b9672ea90642f33d6c0dd8516553adf2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 2adc8e49baae335ea3604cb69f21c3a3e874b51e961c164662f0e9c509e5d4b7 all runs: crashed: WARNING: kmalloc bug in nf_tables_newset # git bisect bad b0cfcdd9b9672ea90642f33d6c0dd8516553adf2 Bisecting: 0 revisions left to test after this (roughly 0 steps) [7661809d493b426e979f39ab512e3adf41fbcc69] mm: don't allow oversized kvmalloc() calls testing commit 7661809d493b426e979f39ab512e3adf41fbcc69 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: b86229c88a5cb1b5e5ad5bde24ac94cc60fea71bc9ab3dd903d984bb047c6a9d all runs: crashed: WARNING: kmalloc bug in nf_tables_newset # git bisect bad 7661809d493b426e979f39ab512e3adf41fbcc69 7661809d493b426e979f39ab512e3adf41fbcc69 is the first bad commit commit 7661809d493b426e979f39ab512e3adf41fbcc69 Author: Linus Torvalds Date: Wed Jul 14 09:45:49 2021 -0700 mm: don't allow oversized kvmalloc() calls 'kvmalloc()' is a convenience function for people who want to do a kmalloc() but fall back on vmalloc() if there aren't enough physically contiguous pages, or if the allocation is larger than what kmalloc() supports. However, let's make sure it doesn't get _too_ easy to do crazy things with it. In particular, don't allow big allocations that could be due to integer overflow or underflow. So make sure the allocation size fits in an 'int', to protect against trivial integer conversion issues. Acked-by: Willy Tarreau Cc: Kees Cook Signed-off-by: Linus Torvalds mm/util.c | 4 ++++ 1 file changed, 4 insertions(+) culprit signature: b86229c88a5cb1b5e5ad5bde24ac94cc60fea71bc9ab3dd903d984bb047c6a9d parent signature: 9eac83188ab1af3ca89f0ca6aa045557d83380337883cd69bc66d966ab2040ea revisions tested: 25, total time: 6h1m32.654062031s (build: 3h9m53.551772493s, test: 2h48m13.246511326s) first bad commit: 7661809d493b426e979f39ab512e3adf41fbcc69 mm: don't allow oversized kvmalloc() calls recipients (to): ["akpm@linux-foundation.org" "linux-mm@kvack.org" "torvalds@linux-foundation.org" "w@1wt.eu"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: WARNING: kmalloc bug in nf_tables_newset WARNING: CPU: 0 PID: 10951 at mm/util.c:597 kvmalloc_node+0x7b/0x90 mm/util.c:600 Modules linked in: CPU: 0 PID: 10951 Comm: syz-executor.1 Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvmalloc_node+0x7b/0x90 mm/util.c:597 Code: 2b 48 8b 3c 24 8b 54 24 0c 48 81 ff ff ff ff 7f 77 18 4c 8b 44 24 18 48 83 c4 10 89 d1 89 ea 5d be 01 00 00 00 e9 25 03 0b 00 <0f> 0b 48 83 c4 10 5d c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 RSP: 0018:ffffc9000c977360 EFLAGS: 00010216 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000800000000 RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000400000108 RBP: 0000000000000dc0 R08: 0000000000012dc0 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880157e9d80 R13: dffffc0000000000 R14: ffffc9000c977738 R15: ffffc9000c9774f8 FS: 00007f4ccc3e4700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f85b780160 CR3: 00000000285da000 CR4: 0000000000350ef0 Call Trace: kvmalloc include/linux/mm.h:806 [inline] kvzalloc include/linux/mm.h:814 [inline] nf_tables_newset+0x1108/0x2cb0 net/netfilter/nf_tables_api.c:4341 nfnetlink_rcv_batch+0x1129/0x2500 net/netfilter/nfnetlink.c:513 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:634 [inline] nfnetlink_rcv+0x2bc/0x340 net/netfilter/nfnetlink.c:652 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x42e/0x700 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x704/0xbf0 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:724 ____sys_sendmsg+0x5bf/0x7a0 net/socket.c:2409 ___sys_sendmsg+0xd3/0x150 net/socket.c:2463 __sys_sendmsg+0xb2/0x140 net/socket.c:2492 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4ccc3e4188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd5183b94f R14: 00007f4ccc3e4300 R15: 0000000000022000