# https://syzkaller.appspot.com/bug?id=47ca2ff42f9c5d5d353149ecc97f29de7828bbfd # See https://goo.gl/kgGztJ for information about syzkaller reproducers. #{"threaded":true,"repeat":true,"procs":6,"slowdown":1,"sandbox":"none","close_fds":false,"tmpdir":true,"segv":true} fchmod(0xffffffffffffff9c, 0x100) syz_usb_connect$printer(0x1, 0x0, 0x0, 0x0) syz_usb_connect$hid(0x5, 0x3f, &(0x7f00000004c0)={{0x12, 0x1, 0x110, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x2d, 0x1, 0x1, 0x4, 0x70, 0xcd, [{{0x9, 0x4, 0x0, 0x3f, 0x2, 0x3, 0x1, 0x0, 0x1, {0x9, 0x21, 0x101, 0x3, 0x1, {0x22, 0x20e}}, {{{0x9, 0x5, 0x81, 0x3, 0x400, 0x8, 0xf8, 0x5}}, [{{0x9, 0x5, 0x2, 0x3, 0x40, 0x0, 0x8e, 0x8}}]}}}]}}]}}, 0x0) mmap(&(0x7f0000ffb000/0x4000)=nil, 0x4000, 0x1, 0x12, 0xffffffffffffffff, 0x0, 0x9) r0 = openat$wscons(0xffffffffffffff9c, &(0x7f00000009c0), 0x80000, 0x0) r1 = openat$wscons(0xffffffffffffff9c, &(0x7f0000000a40), 0x2, 0x0) mmap(&(0x7f0000ffd000/0x3000)=nil, 0x3000, 0x4, 0x10, r1, 0x0, 0x4) syz_usb_connect$printer(0x1, 0x36, &(0x7f0000000a80)={{0x12, 0x1, 0x310, 0x0, 0x0, 0x0, 0x40, 0x525, 0xa4a8, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x1, 0xe0, 0xa0, 0xff, [{{0x9, 0x4, 0x0, 0xef, 0x1, 0x7, 0x1, 0x3, 0x3, "", {{{0x9, 0x5, 0x1, 0x2, 0x3ff, 0x3f, 0x0, 0x9}}, [{{0x9, 0x5, 0x82, 0x2, 0x10, 0x6, 0x4, 0x3f}}]}}}]}}]}}, &(0x7f0000000d00)={0xa, &(0x7f0000000ac0)={0xa, 0x6, 0x310, 0x1, 0x7f, 0x3, 0xff, 0x3f}, 0xd8, &(0x7f0000000b00)={0x5, 0xf, 0xd8, 0x4, [@ext_cap={0x7, 0x10, 0x2, 0x4, 0xd, 0x2, 0x4}, @ptm_cap={0x3}, @generic={0xbe, 0x10, 0x2, "82cc54e4503948d1810eee9531ca350091673e63fca05e5626dbe95fb785accb133324c469e6c16f5c80919abbc0c289e42d0afc9c7f34a59bfe668ac067eec213c5b80085aad24fb1c154b620e67c4a77f6bb1f64a1b15befd513ff5f24cd6672fbba93a27748856c290a9184c6b73045fe029916a0916f061332a12f0bf85d953cb41543c27466afe131defc98ed470c2fdb3835b38c0b2446d2dd3224995a9bc325821e2aa9f0c5298058d5d7b5b3aed18580cc75657aaa68f3"}, @wireless={0xb, 0x10, 0x1, 0xc, 0x1, 0x96, 0x5b, 0x1, 0x7}]}, 0x4, [{0x1f, &(0x7f0000000c00)=@string={0x1f, 0x3, "2f4995aabb78b5405425ddb5fe200b53f89c5558d0c5cab6c5c3622eae"}}, {0x21, &(0x7f0000000c40)=@string={0x21, 0x3, "8179e5dc71415a6b37a5e9dc0e8b13b45c52ec35fdd43f0731818ac2ba5cf2"}}, {0x0, 0x0}, {0x4, &(0x7f0000000cc0)=@lang_id={0x4, 0x3, 0x380a}}]}) syz_usb_connect$printer(0x2, 0x36, &(0x7f0000000d80)={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x10, 0x525, 0xa4a8, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x1, 0xb8, 0x10, 0x7, [{{0x9, 0x4, 0x0, 0x9, 0x1, 0x7, 0x1, 0x3, 0xfb, "", {{{0x9, 0x5, 0x1, 0x2, 0x10, 0x6, 0x7, 0x83}}, [{{0x9, 0x5, 0x82, 0x2, 0x3ff, 0x1, 0x4, 0x5}}]}}}]}}]}}, &(0x7f0000000f40)={0xa, &(0x7f0000000dc0)={0xa, 0x6, 0x300, 0x7, 0x7f, 0x8, 0x10, 0x3}, 0x3e, &(0x7f0000000e00)={0x5, 0xf, 0x3e, 0x5, [@ext_cap={0x7, 0x10, 0x2, 0x10, 0x1, 0x9, 0x80}, @ext_cap={0x7, 0x10, 0x2, 0xc, 0x6, 0x6, 0x4}, @ss_container_id={0x14, 0x10, 0x4, 0x7f, "40cc5e8b78b8298f4b9569c45cda7844"}, @ptm_cap={0x3}, @ss_container_id={0x14, 0x10, 0x4, 0xa5, "b049faf879939ebaa49384f88dbbae01"}]}, 0x3, [{0x4, &(0x7f0000000e40)=@lang_id={0x4, 0x3, 0x2e1c}}, {0x65, &(0x7f0000000e80)=@string={0x65, 0x3, "cddf421852b5b0ca2b26273eaa875505c0dc8c4878002fe042962a147067c5c730d1afc68e298960f8445370ce6056bbbc4e00f9e809eb001a3ebb8b2cd4c912315cb3cd149c748507ea1292575a21798b661212f8d45b920ea74c209756647a4cc72c"}}, {0x4, &(0x7f0000000f00)=@lang_id={0x4, 0x3, 0x440a}}]}) r2 = compat_30_socket(0x18, 0x3, 0x40) dup2(0xffffffffffffffff, r2) ioctl$WSKBDIO_SETSCROLL(0xffffffffffffffff, 0x800c5718, &(0x7f0000000000)={0x1}) (async) fchmod(0xffffffffffffff9c, 0x100) (async) ioctl$FIOASYNC(0xffffffffffffffff, 0x8004667d, &(0x7f0000000080)=0x39) (async) syz_usb_connect$printer(0x1, 0x36, &(0x7f00000000c0)={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x8, 0x525, 0xa4a8, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x1, 0x6, 0x20, 0x6, [{{0x9, 0x4, 0x0, 0xc1, 0x2, 0x7, 0x1, 0x2, 0xff, "", {{{0x9, 0x5, 0x1, 0x2, 0x20, 0x1f, 0x7, 0x3}}, [{{0x9, 0x5, 0x82, 0x2, 0x400, 0x2, 0x6, 0x97}}]}}}]}}]}}, &(0x7f0000000400)={0xa, &(0x7f0000000100)={0xa, 0x6, 0x310, 0x3f, 0xfb, 0x20, 0x8, 0x2}, 0xe4, &(0x7f0000000140)={0x5, 0xf, 0xe4, 0x2, [@generic={0xd8, 0x10, 0x2, "095481b220563f08dda99de5827fd6d27f93abc9e211c464867e47407d3a8caaf88c1da7df7db7e9d2fad9ea0dc6e95ed8993f554010fa9e13b4c00afbc4abe85bf22337c5c0a980d19fdcb8e950982609bb885de3172b46ab6b7b764c0a500aab331f431ae6454d8fa949aeece4b7f716726925a82502cd392d6868510aca0f156dbe7cf1d94d6ba9aaf81e5c5e1a0868fa560a501355318206ff449df6638cd848e6de72919088b957d4332773b3c8057f4009b6eeb80d124b1db35ac62864425470ba47e2a3f831fa0c0b34bcb94c8d870e857b"}, @ext_cap={0x7, 0x10, 0x2, 0x14, 0xc, 0xf, 0x3}]}, 0x3, [{0x68, &(0x7f0000000240)=@string={0x68, 0x3, "40c30b82add5c01f0adb89d5ca93b736621b2435b8ed63504b382706d3da94df28ca0a9b2b17c21cd9bf27b8de93829a7242d1e0cae1e5dc7849f5a0c33181fb6c7fa330e99819390f979d4282a165bfef1220ce094b9f9e0c8133ae5d183309fd4fecbd682a"}}, {0x4, &(0x7f00000002c0)=@lang_id={0x4, 0x3, 0x1407}}, {0xf7, &(0x7f0000000300)=@string={0xf7, 0x3, "c4874e858a8ccaf21a7021a44f52f3b1ee1f2c68dc3c02ad93ea31cd5ddd8aba4224f8d47f2dbae3b594d91fa7a55ecb99a8d64c6d44111aa66675b80e49d51b76a918cc6fd134330ed35c878708732784756cbb5897853c449f5205cebf74e0f82adf2f23f0814f2fcd0ceca643881d44dfc2dc121cb88d19fd4cbe368d0bd0b02e290ab2336fcf3c8e189fbcd716a0ad0097b5b22606182ec140c23196690fd1097969c9304f9370e5bd41973205a42da12451f3b6d2425d251d5b8ea2af61a8d9ccd03c7131a00f7562a2a39cb664c4df190db96f0ac0d8b64b53cac6c38b333bb6b6a61c1caacbfe83677d6e1470c540244853"}}]}) (async) open(&(0x7f0000000440)='./file0\x00', 0x1, 0x200) (async) syz_usb_connect$hid(0x5, 0x3f, &(0x7f00000004c0)={{0x12, 0x1, 0x110, 0x0, 0x0, 0x0, 0xff, 0x0, 0x0, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x2d, 0x1, 0x1, 0x4, 0x70, 0xcd, [{{0x9, 0x4, 0x0, 0x3f, 0x2, 0x3, 0x1, 0x0, 0x1, {0x9, 0x21, 0x101, 0x3, 0x1, {0x22, 0x20e}}, {{{0x9, 0x5, 0x81, 0x3, 0x400, 0x8, 0xf8, 0x5}}, [{{0x9, 0x5, 0x2, 0x3, 0x40, 0x0, 0x8e, 0x8}}]}}}]}}]}}, &(0x7f0000000940)={0xa, &(0x7f0000000500)={0xa, 0x6, 0x201, 0xcd, 0x1f, 0x1, 0x10, 0x20}, 0x17, &(0x7f0000000540)={0x5, 0xf, 0x17, 0x2, [@wireless={0xb, 0x10, 0x1, 0x50ddd1781e5fdd6a, 0x14, 0x7, 0x4, 0x8, 0x25}, @ext_cap={0x7, 0x10, 0x2, 0x10, 0x5, 0x0, 0x1}]}, 0x8, [{0x4, &(0x7f0000000580)=@lang_id={0x4, 0x3, 0x42b}}, {0xb7, &(0x7f00000005c0)=@string={0xb7, 0x3, "edd5ff5ad5e226e29b865b5e85ebe1e7a67c449f58b7066fa78f63f0c7496116868e043a30149ca5ccf07cfa53844062d20045fab7187b43004da390a76632925374b190b9d1ee21a6407cac161aeae3f194ee029f0766724f6afd799577ac8b3f59d8d66307fa9f9d705754be825955b0500e46acd3cc53dad787fee0605d1eb0ca1e467002f921294d9bc7ef2f8bc79f99175feb89d4dbe9dbcd161f47e74701b5c31e8e56289b54e204a9480f0de4495a28ab91"}}, {0x4, &(0x7f0000000680)=@lang_id={0x4, 0x3, 0x810}}, {0x71, &(0x7f00000006c0)=@string={0x71, 0x3, "96640f6a616e08420063175afb72ac5fe9ad3bd117e27e723e7fc36b7153e162fa296364e67d21381b5cd9874adaa72544678b3dd72a6da385b7d9cbcf213e6be21394ce961f64c2752580111423027b08fc4a61fc787fdd465f66756b3f5aeca77f3390f2237ecafbdbcb19a76e66"}}, {0x2, &(0x7f0000000740)=@string={0x2}}, {0x53, &(0x7f0000000840)=@string={0x53, 0x3, "cba37e1bc12e099a09bcdc917d1f5d2341e720c3408f0de8bd105e29dc47b6f6bd74473640b548bf315c0404079e82b6d8298cf4410cc42af7986a6d936b1eeecc6d15dd1412d6e20847607701b3ed2c52"}}, {0x2, &(0x7f00000008c0)=@string={0x2}}, {0x6, &(0x7f0000000900)=@string={0x6, 0x3, "33d7d9dd"}}]}) (async) mmap(&(0x7f0000ffb000/0x4000)=nil, 0x4000, 0x1, 0x12, 0xffffffffffffffff, 0x0, 0x9) (async) openat$wscons(0xffffffffffffff9c, &(0x7f00000009c0), 0x80000, 0x0) (async) ioctl$WSKBDIO_SETDEFAULTKEYREPEAT(r0, 0x800c5709, &(0x7f0000000a00)={0x2, 0x1, 0x7fff}) (async) mmap(&(0x7f0000ffd000/0x3000)=nil, 0x3000, 0x4, 0x10, r1, 0x0, 0x4) (async) syz_usb_connect$printer(0x2, 0x36, &(0x7f0000000d80)={{0x12, 0x1, 0x200, 0x0, 0x0, 0x0, 0x10, 0x525, 0xa4a8, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x1, 0xb8, 0x10, 0x7, [{{0x9, 0x4, 0x0, 0x9, 0x1, 0x7, 0x1, 0x3, 0xfb, "", {{{0x9, 0x5, 0x1, 0x2, 0x10, 0x6, 0x7, 0x83}}, [{{0x9, 0x5, 0x82, 0x2, 0x3ff, 0x1, 0x4, 0x5}}]}}}]}}]}}, &(0x7f0000000f40)={0xa, &(0x7f0000000dc0)={0xa, 0x6, 0x300, 0x7, 0x7f, 0x8, 0x10, 0x3}, 0x3e, &(0x7f0000000e00)={0x5, 0xf, 0x3e, 0x5, [@ext_cap={0x7, 0x10, 0x2, 0x10, 0x1, 0x9, 0x80}, @ext_cap={0x7, 0x10, 0x2, 0xc, 0x6, 0x6, 0x4}, @ss_container_id={0x14, 0x10, 0x4, 0x7f, "40cc5e8b78b8298f4b9569c45cda7844"}, @ptm_cap={0x3}, @ss_container_id={0x14, 0x10, 0x4, 0xa5, "b049faf879939ebaa49384f88dbbae01"}]}, 0x3, [{0x4, &(0x7f0000000e40)=@lang_id={0x4, 0x3, 0x2e1c}}, {0x65, &(0x7f0000000e80)=@string={0x65, 0x3, "cddf421852b5b0ca2b26273eaa875505c0dc8c4878002fe042962a147067c5c730d1afc68e298960f8445370ce6056bbbc4e00f9e809eb001a3ebb8b2cd4c912315cb3cd149c748507ea1292575a21798b661212f8d45b920ea74c209756647a4cc72c"}}, {0x4, &(0x7f0000000f00)=@lang_id={0x4, 0x3, 0x440a}}]}) (async) connect$unix(r2, &(0x7f0000000f80)=@abs={0x1, 0x0, 0x2}, 0x8) (async) accept$unix(0xffffffffffffffff, &(0x7f0000000000)=@file={0x0, ""/51}, &(0x7f0000000040)=0x35) accept$unix(0xffffffffffffffff, &(0x7f0000000000)=@file={0x0, ""/51}, &(0x7f0000000040)=0x35) (async)