Extracting prog: 1m46.444965018s
Minimizing prog: 12m28.811665892s
Simplifying prog options: 4m12.603849931s
Extracting C: 1m0.992155034s
Simplifying C: 0s
extracting reproducer from 30 programs
first checking the prog from the crash report
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp-sendto$inet6-sendto$inet6-shutdown-socket$igmp6-setsockopt$inet_sctp6_SCTP_ADD_STREAMS-setsockopt$inet6_buf-setsockopt$IP6T_SO_SET_REPLACE
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
r0 = socket(0x2b, 0x80801, 0x1)
r1 = socket$inet6_sctp(0xa, 0x801, 0x84)
sendto$inet6(r1, &(0x7f00000001c0)="c2", 0x1, 0x0, &(0x7f0000000180)={0xa, 0xfffc, 0x0, @ipv4={'\x00', '\xff\xff', @private=0xa010100}}, 0x1c)
sendto$inet6(r1, &(0x7f00000003c0)="d4d3", 0x2, 0x40000, &(0x7f0000000100)={0xa, 0x4e21, 0x0, @private2={0xfc, 0x2, '\x00', 0x1}}, 0x1c)
shutdown(r1, 0x1)
socket$igmp6(0xa, 0x3, 0x2)
setsockopt$inet_sctp6_SCTP_ADD_STREAMS(r1, 0x84, 0x79, &(0x7f00000011c0)={0x0, 0x5, 0x7fff}, 0x8)
setsockopt$inet6_buf(r0, 0x29, 0x2b, &(0x7f0000001300)="007cd0c80aeb86ee2979800c861349bdad9b7ebc0bf9c184cf58ca8376744042372a049e48ca94da475ebffc0b472240290f81b4f06b650ed95b099f5050706a26a91557d95587d7ab2810869081aaf01b8633b409ed9780305d189f1284193c119f361c1eece2d442002716609f10730a91304c946b554b7b55344cb28b339e2d087c1b2e0e6e1da684aa189a8d97aade3ee82a43548da303a86ff9b70c298f22f61f54c9378bb551034f13cb9f82f7677e93a51a93d70af84401568cf64709940b743b3528b5c901f15a930a305edd7037539ffe453c5b62a8e8f7464b8e9176bee08cf417829e84425219e38d792a4773fa8c0beedc03009635514d50ecbe43ad2ea4c3758bda357293bd8dc09d516e0dfbc2f69d329cf2f0bb1e6e805874c7ad5a3bfb345ba08fee98fd9ff6856f608ea79c50b9a3fd5687b57b08c14b99766ce01ed4300fab0ccb738638b0b95d38cf10eb32c65e86fac3c796f20fa35d67f63b62312d34fa8ea365e5a26b8789d88a10c68bf951b23c15439fca700686ed9b41e13223fbf66748d8c405c13d61d3701ff00de00c25fcf777330a21845aa90b5f1d94d031159f6336080efcc30bc65e7f4a11335f2575c2fe756109872a798c1d457409ec62ba07683e9cd0af7528e0a50383b1a766569fac689aa58720e7fb5e43bffc5fe49005b47242a18e2fcb9f4d1ca80f6ade247dc2d5381ebbe2d16b7f81cd2ecafcc1e4e9a44abbd1291d48815e09496ac2c4b1a8cf22d1c6661788dfcb23ae7922055f81c508dfac06cdb5efdedbadaaeee10602b87664d7eb6acb1e4ed0dfd44cb09028d267ebe9e89efd29df9d8ab0389a15268c178a81bada09981ad7b9b588ff7bd04eaa3bcd50f8e6b3465bf2b204525826db5ae2aebfb4dc29599020d49810fc114ee7edb130956f50324c9731d55270e82915762c640be9c7f84694b8b84d0d7e07b5b5119fe0ddc0690b2b506172b702498d2738d5abfd7a9d37f407a1269cd95e15727c91bba9d8b1b1ca5568b7ee531acacf6fdc7ea5fbd312f2ce4eea00b747f53150655ecf25a2974c9f638dfffe6b7e6c30b126eaf4175433c5bbe173908d74ba15226065119914a439c341c33b759b92c565359284b786bf136bb41f45b30080ae369d6b27dd116009dccbee56c810977023c4ad41e3f55d4c2e303420e646ef8e1f5e6457293cade3d4e2e5e2752353aa2c95cda2ec552865e5aa2dd2b44db4dcf0c8d5cc8eb80a55a879bb993ece02b094fd5321ae7ab69242f2ea56c6d2df520f4e5b797a12341e2a20c5771a103286289c768d24625c423ea0c5f720d9cfd365341cd5fabfa41bb27b15a37017581279951b40f1963f26df05d79da4b514b0115fbbc3069789a644b76a3ca4cf1cf86a2dfd8a0bd4adc1bcb090b259dc0731434d9e9509b41f17cb456233c268798bfa71bdecba73c9623ec6c3070d674278f70fa635054ab3593a7edfe9f197fbe58fae7daa86a30107f3caa902d7464a07ee46da9507692e25690a6087df5887a09632fcafe7d9704499e17f6199699fc63bc212cae9f3603b70acf309580501d1608bdee6255807aaa5b9cb8a2c31f47dc775172bac36bfeb299652fdf485131af478a7a0f03d322c5b07fa80a21d7a087d49ed32fc5c25a47449f5a3cc2ba9cabcdb6ca94959e780cebb4998de06f91a2525c5552aaf1294dd53c7520eab5b89ad6ecc36adb3742d1b2e4c634dace4a90b5f49629be4494379382cb3f78764d364ed881454266b21b640c9b92491804c8eda7d2fd7a20682132d98b9c7cf086c3d2c1496dc9d6cd765d8c369e8787a186cd83126f8e6c42bd4f6c90c9434a01823f48a436cfa525480d6583efe64148da038872f5b51f969bfe21ec4cca7b526869441aea8f9387c1069c1a77d10a9edfe65589e473479d4d299e0eae0069a50ed26b7291e1db81c1ce33c817d131a2332c69c78faca91caec68f44125bff75ab359f9cfb26b492b9f49db05fd74344ab85fa084b150460ff74a5ec391398e9ecd2a8bd0285aa854d5a869dce9bcbac929213295e5f73dbc63b49dbebb32b026b0f2c7b1aa5214f73e0a267ba0c2884b51823b5befb7091ca6d6c78a32505c79a65f81f8dd52778b36638ef285d7d97322c0660327884496427cb8e3c95717a8e80467a29233e54422d924b99397a26ea059010f5680b91f537a7b3480418af3ae881822bd380ca330ac936ec2a9e5b178dfb890dbf5a0970cea13fc0d1a5d7fba9dc392030812b6194f9477a0d3d9f87324294b62c71103c1729d8410f69ca35ebc5212111096b79b95a0ed52227e925f935bbd74d176f29bfccd2e1978f8a9d2b070221cfcd18595966acc8770c6e5a08eef0138e091b235ffd1bb5e8415cb7cb40f885e2295e0f076abf72d3100c961dff575c388951800c8b1c2e1ea8e1b54070858edeca1e2752f3ecaf0afaf779bc71e73e76a3e3e8e91071a01b3dd7cc4f9222b9821e36524a1576aa8ad58d9c294917e5402f7ebd52b075b1e2fa2964e8e69b05c0f0912528b1497e9c2713dcead5a9252a5c7c298ea2b3264ee2050dd6c90aec3caaed44d9fdec9e065ea9653f7eab406077c85dc5c608bf5267d4a9f01f40cb6471757d7d5a3378d8e66eb5938cd9a35098b26e3b2095c47a93f172588bb05e9cf9f77dc85db86fc8a0f087b8fe34bf8d53c6bae64a23522f23ba286ead7c8b7c726f7c9f33bcb922d0598e25ae0cc7415659167b45a36743d964d79e23c98fb705ca11cf7a74ecb07721431d55356bcd8f66779d1608bfdc781edf0180913927ca4b2fc3d4a2fd5fc0ec1e1f08002227fb78e4b6a706489e80a63d19596d0df3195dd876a96048f36fe96db657ed47cde30daaf8264e9a3364b26044e64b9d8fc57cd933e07f018d8f8cbb881244fa799cb6dc6f04acfc999e9222f965f05e5669d06ccbe65cbf5ec3a72d218c77f66cde755ab152910193dde91f6d5efc7067d93b2e96b4fe662cf999f0a05041c95fade59d390b86c8ea5374ff0c1db60cd1b4eaeff076b9df3ea17e07026981286a2eef2f158b95cc7877ebe9093b1a18305796c1841d264de08a3b3823e7ab2bd585e32e1ddef49e6f0adc036a5ede3d586cc7fe1fc2bfa0a4e350a72a32d9f5f0d741e13b97bb74467aad0d084e76467539091fd1abfb3ae7c59e1814bd67de5096e3fafc96c63a8cea5e17252139cfef4054c24b536f8d450ceabf1c196cfb070e3cbdc5825f589a5017b4beaedddf611bf21515a79911aa400ac05fac328426e1558954500e9daa7f44dd3c0d9113c497c409c05ba3a7f791185e94d0a476f23a42b97d4d9677fd369fe6cf54460a049320bf6027fd1bd7216a125875443cafe6868def0c76d150565e82d74b6602b9e0d30e4e827a22f00e205fd4b542d0595dee6982a3ad08c143af54c01d55cdc35763c91cf219ac1b21dd2b57b47b8a8ff8a55c978cdc88a5b5243b4764b31fad5af360885157dd74ddb06f8044022ed61adaf32ea5873a44a655a932ea9176ffe8450a4ef4077425470265fb4cfe03aa3be3ef69f4fe2a5e91fe0cc58138e440c013833ea95ff90ae67883b521f88b264866c007eecab366b9e488e2d5992400d1100c384a6f1fcfbb933509e41a9b5ec7938f3b2e677599c92f0c40f0d56a4e7201196e074d6e5e968d53e54c3fc91f3d7c7ab0d6943238adce31a801ee97805002c962ed8699e7d694563eac9c13ed124e28e5bec220808981bef8a412d4021cbfca6e5e0df460ed01e6951c35efaf70bd3202eb8f13c1823129c5c503a94a29baaa5fdf62fbdc6870d0e14803c29c48a2151bbe03bd7a04314a7a5434e353bb173c1185e309724fa5c48b893e02cd82e83c7c1f2a3220f9cccc8d4640e3d3b0facb79d874c5dbc2ad6812c4030b95df176a85e4b08fec11201b9115552e5b310d67fc8042eea499ca11f460bd1e6a33fe21522337cef3d6e9d2e2835f40f7ee467692c79f7f96b7610ebbccdb99fb42c25ba3e3ceb59a7cb8ab73803a8fc457e7652b36595f4b37e133b9b8cf3601327d0db02431ca48bcada2852f0c2f19740fb7de2063e94f135cea4b14fcf595cd0dd85bc23620ea0f8b53050c7c0d2fdf2763d08ed06c708b49e15b3b2849b557a6142a7cebb873b5ca4de4363ffa87738a8d9db69376b4e9e0c5fa6a4c05d38ce337f7e65750226c4f303527420855cd08124d08c9daeee41689bfce90d4d9ea38f6488867435fd0c28d0ff19bf7f3908136bee6321a4041499181d0169a41c22a7d7f16e136197b177d757881d662f998246caf80dba1c93c87c01c9fd517009d94e4d908f8a3d8c51186a7805a695da47682ba00bcacb4467a16e4b2355bc2d1651c2a01d415fc60a3e95d33cb72405d114fab67e3fc9ce2b3e86193d4cbb837416a2950a7e13934a6b4f29d100614c5aba7102d3ca0b13062c47daa2267704417a6a8d3ca93239c3fcfd4390dc6b5c93622cae205dc7d3495471fa7cad4c36e528247f47a359f879ad230a576bbc671042b77eb3a5ef109af8a23ff5f37f3ee3b5421f8cc14831b88d7e8f1dc65e65646157e703f36c6b28ddcd13b3f2aa3f5edd10f394a6460a30f2dd292a2f199b4a754468cd83061b7579945d13b68a0d294223e0a03ac717b1f66857950c3fc7c7a4cd202bdae8a5bf8b5893b2e1f050ea3d2605d0aefd303b6ebf50ff3903e4cbf1ad7d28b48599d509ab4aa4ddd518a1095acfc21a66980d3b067d895f6569e4b3d90efdda6b3648367fc68c9aa99aad2f6002b53f52ca883c93d8fff15c91033c1ad080541bb4b39077200f754044627deeeef21139a9412f623ce9210bde6d6ef46187a82042257fc9b6e344099016d29e1807c829518a81571af7c22bc289988db974fa216c34143a176a6b928c431385d3233f6fca38ece964318c337bbbc5bb80b37ef716d569dd4de97a963cea2185b9f6a3eb219b79a58de6b1e4207c66ca17ba9d5ae51fe4a561c47faa7bdef24400ef08dfaafab8dd93058aee33e604ab5b4ceed8d476579b29b5ceda7346450a4323529fdba8120079190fb27274bbcac4b3beef66cc3757cd9e9ddd9348547822b225c0ad6ad4226ac9dee6e984906d7c73c72f00b02a3d6f21a5810c40d522ed70958be30ea0bf9c2cbb342be077286ebdd2d21a46890591296ffb36e050cdaa5bbde16dcc1d087cc7a54f87ad8d1dfab8be56a14bb07a8692a54e21302f0e11a2e76e2a81bb52066e0749daa411891c58d096548f109a9566b2459fd82b2e9838878e6bd8833d0b17ccb7ed47b516599e2e5276f780c68c8ba89074f62553f82ae5b8ba12d3ad6d2954d72a9e17cfa517bd7735750d73213a32e7ca48a0e611ba1396d49343eefdcc81e7babd9570f8a5df197aa39cf8d28685c9d1e92923381d941f9161f4e6b9ef14343fd49d2d0e3690bdc7b97525b36bc44e104f85ae5f6afac82059aa6082fdb73928088cbd45a5b8403627ff32362054eb102ba8700db73bdee0f71981d37b616c48b10ef64dc7583b4b6e6634727e1d0c1f69077df81cba030e8806da04ca2d53c6278dcdf55ee057b6767868ad5a9cbef091075ce0141f5663dd512d04e5f70f33d50a3e0cec0e1db7610081dea017a1f70a04143f5caa9a1e9123e89987c34449dcf3fcaeec543c41fc4fa44d8058111a6b35a3086bd8d894a55abcb0ad9687fde3ea87daa04a28dd3adc8a90b233e4eefd3c2fd66e400f01b6cd276be465f57163d6595a0cdc80cae8cd5b58685f0d2bce4269943715aa52678c", 0x1000)
setsockopt$IP6T_SO_SET_REPLACE(r0, 0x29, 0x40, &(0x7f0000000fc0)=@raw={'raw\x00', 0x3c1, 0x3, 0x2d0, 0x140, 0x5c, 0x160, 0x140, 0x3e0, 0x250, 0x228, 0x25a, 0x250, 0x228, 0x4, 0x0, {[{{@ipv6={@remote, @dev, [], [], 'veth0_to_batadv\x00', 'wg1\x00', {}, {0x222cecdb0fb5a62a}, 0x3a}, 0x5002, 0xa8, 0xf0, 0x52020000, {0x0, 0x6802000000000000}}, @unspec=@CT0={0x48}}, {{@ipv6={@local, @private2, [], [0xff], 'veth1_to_hsr\x00', 'dummy0\x00', {}, {}, 0x88}, 0x0, 0xa8, 0x110}, @unspec=@CT2={0x68, 'CT\x00', 0x2, {0x0, 0x0, 0x0, 0x0, 'snmp\x00', 'syz0\x00'}}}], {{'\x00', 0x0, 0xa8, 0xd0}, {0x28}}}}, 0x330)
program crashed: possible deadlock in ieee80211_remove_interfaces
single: successfully extracted reproducer
found reproducer with 10 syscalls
minimizing guilty program
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp-sendto$inet6-sendto$inet6-shutdown-socket$igmp6-setsockopt$inet_sctp6_SCTP_ADD_STREAMS-setsockopt$inet6_buf
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
r0 = socket(0x2b, 0x80801, 0x1)
r1 = socket$inet6_sctp(0xa, 0x801, 0x84)
sendto$inet6(r1, &(0x7f00000001c0)="c2", 0x1, 0x0, &(0x7f0000000180)={0xa, 0xfffc, 0x0, @ipv4={'\x00', '\xff\xff', @private=0xa010100}}, 0x1c)
sendto$inet6(r1, &(0x7f00000003c0)="d4d3", 0x2, 0x40000, &(0x7f0000000100)={0xa, 0x4e21, 0x0, @private2={0xfc, 0x2, '\x00', 0x1}}, 0x1c)
shutdown(r1, 0x1)
socket$igmp6(0xa, 0x3, 0x2)
setsockopt$inet_sctp6_SCTP_ADD_STREAMS(r1, 0x84, 0x79, &(0x7f00000011c0)={0x0, 0x5, 0x7fff}, 0x8)
setsockopt$inet6_buf(r0, 0x29, 0x2b, &(0x7f0000001300)="007cd0c80aeb86ee2979800c861349bdad9b7ebc0bf9c184cf58ca8376744042372a049e48ca94da475ebffc0b472240290f81b4f06b650ed95b099f5050706a26a91557d95587d7ab2810869081aaf01b8633b409ed9780305d189f1284193c119f361c1eece2d442002716609f10730a91304c946b554b7b55344cb28b339e2d087c1b2e0e6e1da684aa189a8d97aade3ee82a43548da303a86ff9b70c298f22f61f54c9378bb551034f13cb9f82f7677e93a51a93d70af84401568cf64709940b743b3528b5c901f15a930a305edd7037539ffe453c5b62a8e8f7464b8e9176bee08cf417829e84425219e38d792a4773fa8c0beedc03009635514d50ecbe43ad2ea4c3758bda357293bd8dc09d516e0dfbc2f69d329cf2f0bb1e6e805874c7ad5a3bfb345ba08fee98fd9ff6856f608ea79c50b9a3fd5687b57b08c14b99766ce01ed4300fab0ccb738638b0b95d38cf10eb32c65e86fac3c796f20fa35d67f63b62312d34fa8ea365e5a26b8789d88a10c68bf951b23c15439fca700686ed9b41e13223fbf66748d8c405c13d61d3701ff00de00c25fcf777330a21845aa90b5f1d94d031159f6336080efcc30bc65e7f4a11335f2575c2fe756109872a798c1d457409ec62ba07683e9cd0af7528e0a50383b1a766569fac689aa58720e7fb5e43bffc5fe49005b47242a18e2fcb9f4d1ca80f6ade247dc2d5381ebbe2d16b7f81cd2ecafcc1e4e9a44abbd1291d48815e09496ac2c4b1a8cf22d1c6661788dfcb23ae7922055f81c508dfac06cdb5efdedbadaaeee10602b87664d7eb6acb1e4ed0dfd44cb09028d267ebe9e89efd29df9d8ab0389a15268c178a81bada09981ad7b9b588ff7bd04eaa3bcd50f8e6b3465bf2b204525826db5ae2aebfb4dc29599020d49810fc114ee7edb130956f50324c9731d55270e82915762c640be9c7f84694b8b84d0d7e07b5b5119fe0ddc0690b2b506172b702498d2738d5abfd7a9d37f407a1269cd95e15727c91bba9d8b1b1ca5568b7ee531acacf6fdc7ea5fbd312f2ce4eea00b747f53150655ecf25a2974c9f638dfffe6b7e6c30b126eaf4175433c5bbe173908d74ba15226065119914a439c341c33b759b92c565359284b786bf136bb41f45b30080ae369d6b27dd116009dccbee56c810977023c4ad41e3f55d4c2e303420e646ef8e1f5e6457293cade3d4e2e5e2752353aa2c95cda2ec552865e5aa2dd2b44db4dcf0c8d5cc8eb80a55a879bb993ece02b094fd5321ae7ab69242f2ea56c6d2df520f4e5b797a12341e2a20c5771a103286289c768d24625c423ea0c5f720d9cfd365341cd5fabfa41bb27b15a37017581279951b40f1963f26df05d79da4b514b0115fbbc3069789a644b76a3ca4cf1cf86a2dfd8a0bd4adc1bcb090b259dc0731434d9e9509b41f17cb456233c268798bfa71bdecba73c9623ec6c3070d674278f70fa635054ab3593a7edfe9f197fbe58fae7daa86a30107f3caa902d7464a07ee46da9507692e25690a6087df5887a09632fcafe7d9704499e17f6199699fc63bc212cae9f3603b70acf309580501d1608bdee6255807aaa5b9cb8a2c31f47dc775172bac36bfeb299652fdf485131af478a7a0f03d322c5b07fa80a21d7a087d49ed32fc5c25a47449f5a3cc2ba9cabcdb6ca94959e780cebb4998de06f91a2525c5552aaf1294dd53c7520eab5b89ad6ecc36adb3742d1b2e4c634dace4a90b5f49629be4494379382cb3f78764d364ed881454266b21b640c9b92491804c8eda7d2fd7a20682132d98b9c7cf086c3d2c1496dc9d6cd765d8c369e8787a186cd83126f8e6c42bd4f6c90c9434a01823f48a436cfa525480d6583efe64148da038872f5b51f969bfe21ec4cca7b526869441aea8f9387c1069c1a77d10a9edfe65589e473479d4d299e0eae0069a50ed26b7291e1db81c1ce33c817d131a2332c69c78faca91caec68f44125bff75ab359f9cfb26b492b9f49db05fd74344ab85fa084b150460ff74a5ec391398e9ecd2a8bd0285aa854d5a869dce9bcbac929213295e5f73dbc63b49dbebb32b026b0f2c7b1aa5214f73e0a267ba0c2884b51823b5befb7091ca6d6c78a32505c79a65f81f8dd52778b36638ef285d7d97322c0660327884496427cb8e3c95717a8e80467a29233e54422d924b99397a26ea059010f5680b91f537a7b3480418af3ae881822bd380ca330ac936ec2a9e5b178dfb890dbf5a0970cea13fc0d1a5d7fba9dc392030812b6194f9477a0d3d9f87324294b62c71103c1729d8410f69ca35ebc5212111096b79b95a0ed52227e925f935bbd74d176f29bfccd2e1978f8a9d2b070221cfcd18595966acc8770c6e5a08eef0138e091b235ffd1bb5e8415cb7cb40f885e2295e0f076abf72d3100c961dff575c388951800c8b1c2e1ea8e1b54070858edeca1e2752f3ecaf0afaf779bc71e73e76a3e3e8e91071a01b3dd7cc4f9222b9821e36524a1576aa8ad58d9c294917e5402f7ebd52b075b1e2fa2964e8e69b05c0f0912528b1497e9c2713dcead5a9252a5c7c298ea2b3264ee2050dd6c90aec3caaed44d9fdec9e065ea9653f7eab406077c85dc5c608bf5267d4a9f01f40cb6471757d7d5a3378d8e66eb5938cd9a35098b26e3b2095c47a93f172588bb05e9cf9f77dc85db86fc8a0f087b8fe34bf8d53c6bae64a23522f23ba286ead7c8b7c726f7c9f33bcb922d0598e25ae0cc7415659167b45a36743d964d79e23c98fb705ca11cf7a74ecb07721431d55356bcd8f66779d1608bfdc781edf0180913927ca4b2fc3d4a2fd5fc0ec1e1f08002227fb78e4b6a706489e80a63d19596d0df3195dd876a96048f36fe96db657ed47cde30daaf8264e9a3364b26044e64b9d8fc57cd933e07f018d8f8cbb881244fa799cb6dc6f04acfc999e9222f965f05e5669d06ccbe65cbf5ec3a72d218c77f66cde755ab152910193dde91f6d5efc7067d93b2e96b4fe662cf999f0a05041c95fade59d390b86c8ea5374ff0c1db60cd1b4eaeff076b9df3ea17e07026981286a2eef2f158b95cc7877ebe9093b1a18305796c1841d264de08a3b3823e7ab2bd585e32e1ddef49e6f0adc036a5ede3d586cc7fe1fc2bfa0a4e350a72a32d9f5f0d741e13b97bb74467aad0d084e76467539091fd1abfb3ae7c59e1814bd67de5096e3fafc96c63a8cea5e17252139cfef4054c24b536f8d450ceabf1c196cfb070e3cbdc5825f589a5017b4beaedddf611bf21515a79911aa400ac05fac328426e1558954500e9daa7f44dd3c0d9113c497c409c05ba3a7f791185e94d0a476f23a42b97d4d9677fd369fe6cf54460a049320bf6027fd1bd7216a125875443cafe6868def0c76d150565e82d74b6602b9e0d30e4e827a22f00e205fd4b542d0595dee6982a3ad08c143af54c01d55cdc35763c91cf219ac1b21dd2b57b47b8a8ff8a55c978cdc88a5b5243b4764b31fad5af360885157dd74ddb06f8044022ed61adaf32ea5873a44a655a932ea9176ffe8450a4ef4077425470265fb4cfe03aa3be3ef69f4fe2a5e91fe0cc58138e440c013833ea95ff90ae67883b521f88b264866c007eecab366b9e488e2d5992400d1100c384a6f1fcfbb933509e41a9b5ec7938f3b2e677599c92f0c40f0d56a4e7201196e074d6e5e968d53e54c3fc91f3d7c7ab0d6943238adce31a801ee97805002c962ed8699e7d694563eac9c13ed124e28e5bec220808981bef8a412d4021cbfca6e5e0df460ed01e6951c35efaf70bd3202eb8f13c1823129c5c503a94a29baaa5fdf62fbdc6870d0e14803c29c48a2151bbe03bd7a04314a7a5434e353bb173c1185e309724fa5c48b893e02cd82e83c7c1f2a3220f9cccc8d4640e3d3b0facb79d874c5dbc2ad6812c4030b95df176a85e4b08fec11201b9115552e5b310d67fc8042eea499ca11f460bd1e6a33fe21522337cef3d6e9d2e2835f40f7ee467692c79f7f96b7610ebbccdb99fb42c25ba3e3ceb59a7cb8ab73803a8fc457e7652b36595f4b37e133b9b8cf3601327d0db02431ca48bcada2852f0c2f19740fb7de2063e94f135cea4b14fcf595cd0dd85bc23620ea0f8b53050c7c0d2fdf2763d08ed06c708b49e15b3b2849b557a6142a7cebb873b5ca4de4363ffa87738a8d9db69376b4e9e0c5fa6a4c05d38ce337f7e65750226c4f303527420855cd08124d08c9daeee41689bfce90d4d9ea38f6488867435fd0c28d0ff19bf7f3908136bee6321a4041499181d0169a41c22a7d7f16e136197b177d757881d662f998246caf80dba1c93c87c01c9fd517009d94e4d908f8a3d8c51186a7805a695da47682ba00bcacb4467a16e4b2355bc2d1651c2a01d415fc60a3e95d33cb72405d114fab67e3fc9ce2b3e86193d4cbb837416a2950a7e13934a6b4f29d100614c5aba7102d3ca0b13062c47daa2267704417a6a8d3ca93239c3fcfd4390dc6b5c93622cae205dc7d3495471fa7cad4c36e528247f47a359f879ad230a576bbc671042b77eb3a5ef109af8a23ff5f37f3ee3b5421f8cc14831b88d7e8f1dc65e65646157e703f36c6b28ddcd13b3f2aa3f5edd10f394a6460a30f2dd292a2f199b4a754468cd83061b7579945d13b68a0d294223e0a03ac717b1f66857950c3fc7c7a4cd202bdae8a5bf8b5893b2e1f050ea3d2605d0aefd303b6ebf50ff3903e4cbf1ad7d28b48599d509ab4aa4ddd518a1095acfc21a66980d3b067d895f6569e4b3d90efdda6b3648367fc68c9aa99aad2f6002b53f52ca883c93d8fff15c91033c1ad080541bb4b39077200f754044627deeeef21139a9412f623ce9210bde6d6ef46187a82042257fc9b6e344099016d29e1807c829518a81571af7c22bc289988db974fa216c34143a176a6b928c431385d3233f6fca38ece964318c337bbbc5bb80b37ef716d569dd4de97a963cea2185b9f6a3eb219b79a58de6b1e4207c66ca17ba9d5ae51fe4a561c47faa7bdef24400ef08dfaafab8dd93058aee33e604ab5b4ceed8d476579b29b5ceda7346450a4323529fdba8120079190fb27274bbcac4b3beef66cc3757cd9e9ddd9348547822b225c0ad6ad4226ac9dee6e984906d7c73c72f00b02a3d6f21a5810c40d522ed70958be30ea0bf9c2cbb342be077286ebdd2d21a46890591296ffb36e050cdaa5bbde16dcc1d087cc7a54f87ad8d1dfab8be56a14bb07a8692a54e21302f0e11a2e76e2a81bb52066e0749daa411891c58d096548f109a9566b2459fd82b2e9838878e6bd8833d0b17ccb7ed47b516599e2e5276f780c68c8ba89074f62553f82ae5b8ba12d3ad6d2954d72a9e17cfa517bd7735750d73213a32e7ca48a0e611ba1396d49343eefdcc81e7babd9570f8a5df197aa39cf8d28685c9d1e92923381d941f9161f4e6b9ef14343fd49d2d0e3690bdc7b97525b36bc44e104f85ae5f6afac82059aa6082fdb73928088cbd45a5b8403627ff32362054eb102ba8700db73bdee0f71981d37b616c48b10ef64dc7583b4b6e6634727e1d0c1f69077df81cba030e8806da04ca2d53c6278dcdf55ee057b6767868ad5a9cbef091075ce0141f5663dd512d04e5f70f33d50a3e0cec0e1db7610081dea017a1f70a04143f5caa9a1e9123e89987c34449dcf3fcaeec543c41fc4fa44d8058111a6b35a3086bd8d894a55abcb0ad9687fde3ea87daa04a28dd3adc8a90b233e4eefd3c2fd66e400f01b6cd276be465f57163d6595a0cdc80cae8cd5b58685f0d2bce4269943715aa52678c", 0x1000)
program crashed: possible deadlock in ieee80211_remove_interfaces
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp-sendto$inet6-sendto$inet6-shutdown-socket$igmp6-setsockopt$inet_sctp6_SCTP_ADD_STREAMS
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
socket(0x2b, 0x80801, 0x1)
r0 = socket$inet6_sctp(0xa, 0x801, 0x84)
sendto$inet6(r0, &(0x7f00000001c0)="c2", 0x1, 0x0, &(0x7f0000000180)={0xa, 0xfffc, 0x0, @ipv4={'\x00', '\xff\xff', @private=0xa010100}}, 0x1c)
sendto$inet6(r0, &(0x7f00000003c0)="d4d3", 0x2, 0x40000, &(0x7f0000000100)={0xa, 0x4e21, 0x0, @private2={0xfc, 0x2, '\x00', 0x1}}, 0x1c)
shutdown(r0, 0x1)
socket$igmp6(0xa, 0x3, 0x2)
setsockopt$inet_sctp6_SCTP_ADD_STREAMS(r0, 0x84, 0x79, &(0x7f00000011c0)={0x0, 0x5, 0x7fff}, 0x8)
program crashed: possible deadlock in ieee80211_remove_interfaces
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp-sendto$inet6-sendto$inet6-shutdown-socket$igmp6
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
socket(0x2b, 0x80801, 0x1)
r0 = socket$inet6_sctp(0xa, 0x801, 0x84)
sendto$inet6(r0, &(0x7f00000001c0)="c2", 0x1, 0x0, &(0x7f0000000180)={0xa, 0xfffc, 0x0, @ipv4={'\x00', '\xff\xff', @private=0xa010100}}, 0x1c)
sendto$inet6(r0, &(0x7f00000003c0)="d4d3", 0x2, 0x40000, &(0x7f0000000100)={0xa, 0x4e21, 0x0, @private2={0xfc, 0x2, '\x00', 0x1}}, 0x1c)
shutdown(r0, 0x1)
socket$igmp6(0xa, 0x3, 0x2)
program crashed: possible deadlock in ieee80211_remove_interfaces
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp-sendto$inet6-sendto$inet6-shutdown
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
socket(0x2b, 0x80801, 0x1)
r0 = socket$inet6_sctp(0xa, 0x801, 0x84)
sendto$inet6(r0, &(0x7f00000001c0)="c2", 0x1, 0x0, &(0x7f0000000180)={0xa, 0xfffc, 0x0, @ipv4={'\x00', '\xff\xff', @private=0xa010100}}, 0x1c)
sendto$inet6(r0, &(0x7f00000003c0)="d4d3", 0x2, 0x40000, &(0x7f0000000100)={0xa, 0x4e21, 0x0, @private2={0xfc, 0x2, '\x00', 0x1}}, 0x1c)
shutdown(r0, 0x1)
program crashed: possible deadlock in ieee80211_remove_interfaces
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp-sendto$inet6-sendto$inet6
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
socket(0x2b, 0x80801, 0x1)
r0 = socket$inet6_sctp(0xa, 0x801, 0x84)
sendto$inet6(r0, &(0x7f00000001c0)="c2", 0x1, 0x0, &(0x7f0000000180)={0xa, 0xfffc, 0x0, @ipv4={'\x00', '\xff\xff', @private=0xa010100}}, 0x1c)
sendto$inet6(r0, &(0x7f00000003c0)="d4d3", 0x2, 0x40000, &(0x7f0000000100)={0xa, 0x4e21, 0x0, @private2={0xfc, 0x2, '\x00', 0x1}}, 0x1c)
program crashed: WARNING in free_netdev
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp-sendto$inet6
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
socket(0x2b, 0x80801, 0x1)
r0 = socket$inet6_sctp(0xa, 0x801, 0x84)
sendto$inet6(r0, &(0x7f00000001c0)="c2", 0x1, 0x0, &(0x7f0000000180)={0xa, 0xfffc, 0x0, @ipv4={'\x00', '\xff\xff', @private=0xa010100}}, 0x1c)
program crashed: possible deadlock in ieee80211_remove_interfaces
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket-socket$inet6_sctp
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
socket(0x2b, 0x80801, 0x1)
socket$inet6_sctp(0xa, 0x801, 0x84)
program crashed: WARNING in free_netdev
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap-socket
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
socket(0x2b, 0x80801, 0x1)
program crashed: possible deadlock in ieee80211_remove_interfaces
testing program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
program crashed: possible deadlock in ieee80211_remove_interfaces
extracting C reproducer
testing compiled C program (duration=42.130168518s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap
program did not crash
simplifying guilty program options
testing program (duration=42.130168518s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
program crashed: possible deadlock in ieee80211_remove_interfaces
extracting C reproducer
testing compiled C program (duration=42.130168518s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap
program did not crash
testing program (duration=42.130168518s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap
detailed listing:
executing program 0:
mmap(&(0x7f0000000000/0x4000)=nil, 0x4000, 0x3000001, 0x31, 0xffffffffffffffff, 0x0)
program crashed: WARNING in free_netdev
extracting C reproducer
testing compiled C program (duration=42.130168518s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mmap
program did not crash
reproducing took 19m41.914687917s
repro crashed as (corrupted=false):
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 5925 at kernel/locking/mutex.c:564 __mutex_lock_common kernel/locking/mutex.c:564 [inline]
WARNING: CPU: 0 PID: 5925 at kernel/locking/mutex.c:564 __mutex_lock+0xdac/0xee0 kernel/locking/mutex.c:735
Modules linked in:
CPU: 0 UID: 0 PID: 5925 Comm: syz-executor Not tainted 6.13.0-rc7-syzkaller-01131-g8d20dcda404d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline]
RIP: 0010:__mutex_lock+0xdac/0xee0 kernel/locking/mutex.c:735
Code: 0f b6 04 38 84 c0 0f 85 1a 01 00 00 83 3d 6f 40 4c 04 00 75 19 90 48 c7 c7 60 84 0a 8c 48 c7 c6 00 85 0a 8c e8 f5 dc 91 f5 90 <0f> 0b 90 90 90 e9 c7 f3 ff ff 90 0f 0b 90 e9 29 f8 ff ff 90 0f 0b
RSP: 0018:ffffc90003297580 EFLAGS: 00010246
RAX: 44612025b34cca00 RBX: ffff88802868ecb0 RCX: ffff888026148000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003297710 R08: ffffffff81602ac2 R09: 1ffff110170c519a
R10: dffffc0000000000 R11: ffffed10170c519b R12: 0000000000000000
R13: 0000000000000000 R14: 1ffff92000652ec4 R15: dffffc0000000000
FS: 000055557399e500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055860b4a25b8 CR3: 0000000011db0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
netdev_lock include/linux/netdevice.h:2691 [inline]
__netif_napi_del include/linux/netdevice.h:2829 [inline]
netif_napi_del include/linux/netdevice.h:2848 [inline]
free_netdev+0x2d9/0x610 net/core/dev.c:11621
netdev_run_todo+0xf21/0x10d0 net/core/dev.c:11189
nsim_destroy+0x3c3/0x620 drivers/net/netdevsim/netdev.c:1028
__nsim_dev_port_del+0x14b/0x1b0 drivers/net/netdevsim/dev.c:1428
nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline]
nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1661
nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1676
device_remove drivers/base/dd.c:567 [inline]
__device_release_driver drivers/base/dd.c:1273 [inline]
device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1296
bus_remove_device+0x34f/0x420 drivers/base/bus.c:576
device_del+0x57a/0x9b0 drivers/base/core.c:3854
device_unregister+0x20/0xc0 drivers/base/core.c:3895
nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline]
del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226
kernfs_fop_write_iter+0x3a0/0x500 fs/kernfs/file.c:334
new_sync_write fs/read_write.c:586 [inline]
vfs_write+0xaeb/0xd30 fs/read_write.c:679
ksys_write+0x18f/0x2b0 fs/read_write.c:731
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ca99847df
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007fff8c5ba900 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f3ca99847df
RDX: 0000000000000001 RSI: 00007fff8c5ba950 RDI: 0000000000000005
RBP: 00007f3ca9a02d15 R08: 0000000000000000 R09: 00007fff8c5ba757
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007fff8c5ba950 R14: 00007f3caa6a4620 R15: 0000000000000003
final repro crashed as (corrupted=false):
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 0 PID: 5925 at kernel/locking/mutex.c:564 __mutex_lock_common kernel/locking/mutex.c:564 [inline]
WARNING: CPU: 0 PID: 5925 at kernel/locking/mutex.c:564 __mutex_lock+0xdac/0xee0 kernel/locking/mutex.c:735
Modules linked in:
CPU: 0 UID: 0 PID: 5925 Comm: syz-executor Not tainted 6.13.0-rc7-syzkaller-01131-g8d20dcda404d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline]
RIP: 0010:__mutex_lock+0xdac/0xee0 kernel/locking/mutex.c:735
Code: 0f b6 04 38 84 c0 0f 85 1a 01 00 00 83 3d 6f 40 4c 04 00 75 19 90 48 c7 c7 60 84 0a 8c 48 c7 c6 00 85 0a 8c e8 f5 dc 91 f5 90 <0f> 0b 90 90 90 e9 c7 f3 ff ff 90 0f 0b 90 e9 29 f8 ff ff 90 0f 0b
RSP: 0018:ffffc90003297580 EFLAGS: 00010246
RAX: 44612025b34cca00 RBX: ffff88802868ecb0 RCX: ffff888026148000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003297710 R08: ffffffff81602ac2 R09: 1ffff110170c519a
R10: dffffc0000000000 R11: ffffed10170c519b R12: 0000000000000000
R13: 0000000000000000 R14: 1ffff92000652ec4 R15: dffffc0000000000
FS: 000055557399e500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055860b4a25b8 CR3: 0000000011db0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
netdev_lock include/linux/netdevice.h:2691 [inline]
__netif_napi_del include/linux/netdevice.h:2829 [inline]
netif_napi_del include/linux/netdevice.h:2848 [inline]
free_netdev+0x2d9/0x610 net/core/dev.c:11621
netdev_run_todo+0xf21/0x10d0 net/core/dev.c:11189
nsim_destroy+0x3c3/0x620 drivers/net/netdevsim/netdev.c:1028
__nsim_dev_port_del+0x14b/0x1b0 drivers/net/netdevsim/dev.c:1428
nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline]
nsim_dev_reload_destroy+0x28a/0x490 drivers/net/netdevsim/dev.c:1661
nsim_drv_remove+0x58/0x160 drivers/net/netdevsim/dev.c:1676
device_remove drivers/base/dd.c:567 [inline]
__device_release_driver drivers/base/dd.c:1273 [inline]
device_release_driver_internal+0x4a9/0x7c0 drivers/base/dd.c:1296
bus_remove_device+0x34f/0x420 drivers/base/bus.c:576
device_del+0x57a/0x9b0 drivers/base/core.c:3854
device_unregister+0x20/0xc0 drivers/base/core.c:3895
nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline]
del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226
kernfs_fop_write_iter+0x3a0/0x500 fs/kernfs/file.c:334
new_sync_write fs/read_write.c:586 [inline]
vfs_write+0xaeb/0xd30 fs/read_write.c:679
ksys_write+0x18f/0x2b0 fs/read_write.c:731
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3ca99847df
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48
RSP: 002b:00007fff8c5ba900 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f3ca99847df
RDX: 0000000000000001 RSI: 00007fff8c5ba950 RDI: 0000000000000005
RBP: 00007f3ca9a02d15 R08: 0000000000000000 R09: 00007fff8c5ba757
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001
R13: 00007fff8c5ba950 R14: 00007f3caa6a4620 R15: 0000000000000003