program: r0 = syz_mount_image$hfsplus(&(0x7f0000000040), &(0x7f0000000080)='./file1\x00', 0x400, &(0x7f0000000140)=ANY=[], 0x1, 0x694, &(0x7f0000001100)="$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") r1 = signalfd4(r0, &(0x7f00000001c0)={[0xffffffffffffffc0]}, 0x8, 0x80000) ioctl$SNDCTL_TMR_TIMEBASE(r1, 0xc0045401, &(0x7f0000000300)=0x6e) r2 = creat(&(0x7f0000000000)='./bus\x00', 0x0) io_setup(0x202, &(0x7f0000000200)=0x0) io_submit(r3, 0x3b, &(0x7f0000000540)=[&(0x7f00000000c0)={0x25, 0xe7030000, 0x0, 0x1, 0x0, r2, &(0x7f0000000000), 0x70000}]) r4 = open(&(0x7f0000000100)='./file1\x00', 0x2, 0x20) openat$qrtrtun(0xffffffffffffff9c, &(0x7f0000000140), 0x0) r5 = socket$qrtr(0x2a, 0x2, 0x0) r6 = syz_open_procfs(0x0, &(0x7f0000000000)='fd/3\x00') connect$qrtr(r5, &(0x7f0000000080)={0x2a, 0xffffffff, 0xfffffffe}, 0xc) writev(r5, &(0x7f00000001c0)=[{&(0x7f0000000000)="05", 0x2}], 0x1) bpf$BPF_PROG_RAW_TRACEPOINT_LOAD(0x5, &(0x7f0000000140)={0x1e, 0x4, &(0x7f00000000c0)=@framed={{}, [@call={0x85, 0x0, 0x0, 0x8c}]}, &(0x7f0000000000)='syzkaller\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, 0x24, 0xffffffffffffffff, 0x8, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, @void, @value}, 0x90) io_setup(0x5, &(0x7f00000004c0)) io_submit(r3, 0x3, &(0x7f0000000480)=[&(0x7f0000000340)={0x0, 0x0, 0x0, 0x7, 0xfffd, r5, &(0x7f00000017c0)="440e4385ea8124fa9c3201af4c31712674cb9f57186a02cc6a644ec151ddb23a5ab14fe0ba59944a9c292d87d53257bd6194f663fe258dd373ae899123575d0ef18c6ae9975d327cb33fd4ae2bd6db6779a12a45bedf35b86c0f45b729a162527e2418ed29d455014c42207082fc0db854b35852774befbaacd35502a2c601a64510c518dc914e9b74176f91bffa587d3de7557c6c4a12b6d3a033258a99391ca5ffbfa20373879726f408ed2948788601abf6beefe90b02c39d1388c5e06318b8250167685d5acf886cd491dba4989a5193105fc1115d530ddbe995e27b5171a1a1e5107ca9f27c00b7b4dc47c053750561285852d9866742ac283efa7b7f93949c2f058a56593f75f1f1e7d5c51066d9c51672e4927384ad38ef30e568fcf598b642ee5159e31bcfb8623a5bbe25583751522ae2b75e7f241b05e15d5be7bc6b3c4b46198be104ce5837a1590b463e3d8d55fdc2c4f33f3cd69562d1c1afe62073b913eb6bb4a62979629c7425b1181a737bcf7b05dfc55f40627372d3e49b895f17c496bddba9e2e68543bdf450ad8e52205e9e378ff4ed02761244fcf1616acfa8673749891d2193bd9e3b5042a9658315fa967c914054793de6b2e9f7b94e4691f7907f7ee92ef44b25433742e828850b3a52f2291dbb25b350ea344922365f1ad3d1cd44b21061fd40053118141f67c5b9510f0e1070bb7a793c157a0dd7a074985d846828815b12d9dfad59f65498582bb2b24afec8da3f8885381944a35c16247fb65113b7d1a5cbe35a5e2f866df709771c5735546033a1e3c05b6094ce2d8c98d8726799279c3e059b2fe24f4637e1e3167fc78f98d6e6f46f868a4d81123f7ee7bf90713e86e29342e824b1bfcbd17ded381f0a773bb379275f0bc969533628104f7cef8dc738a6ca9145307fc216ea24904f586b78a89a1b03413af83cb8bbd0b34334c2b1a2e820636a02951467466d02f52c674be7409da3c0ce7e713fceec7dde8274eabfe3bfa24c6ca699084380392bbd84f6edec45de87f9ed9de8cca08d9d352bb6724b42b286098cdb861ee4831753448687da3e4ebd14de09c92cd9a7340579a8a3c2b49b7bb9ce5e638269872cc594e3d7ba43c5121b5600c1890c81d36b9d6c1b2d1dd36bd7b3bcd835dd0a5feea166874635ccffd16b7e74b2699957ed083c7a62373661c1bd277f651e40b414c26596b9842fc47f7f4cc2373c55f4b88080acac05d6605063f3f7d2f26b6cc8616e6b4a8f3880dbf4ae1c2a610807d76cb296719f7f975d1c9435ee878f7498f46f24938e86fd827bc6dba1cb295fa78f0dd1b4e15940ce90f6fe7caf0ff019c9248264980684ddbca8ffd2fb132b6f8e03bf0cf1b6be344a4dec44aeb1dd1ee5e85d93c75b2bab846b2fc51e291b1242c7b4e23cf36cda194b3c1f5b957ba0ac3efb6f3ca41d55b2f313d0a801a5ab11e2c1d81ce8b34129d9a046be19fbae435f5a8db96eeac24ac6efe30053b52011ba270ffd2ced97279052b4b22a3df81eed564f763f09caf2878ea679901ac0ebe26bb95e49eb669725cf83c079091367827990dd440d0236558504ce46c20f269b4543137a835cd8abfe75823b1ecff80805e5c54979bd678773ad2306233d6e2c52c6a9bebeeed2fd253982975d680a0e9656cdff14658aa82c0e60ee299b343274c0c271d643b95ca9f22193b8f77e7602403a6ca6c2e1d075e53c3f812fa0abb7c54cbdb843a88d26ed0a1b1ea3ab417de66cfd8027888076fc942ba16be61d8f27250d8bab6d9a5653566d82878aea62cfe57d2e6516d1060dd39ec93d514f261bd2a7a7b269193a80d29e2d0cf6f8235f7bddb731b268a88cc39d9c6f9803421a2f06da915b53096f1c2c103917ffa66ded8425db350f5df341506069af90389902fc4995a578a6722a91e35e4773bcaa081c5dca706052a82bf47f82bb0b442e2c59fddc619ad8ee8bfa0c57f3fd5689082596d95c99340bf655a6bb3b143623b830212d7a3fbc50b782f4c5a4f5728892a9902a6c47b08ed2da8565a58571cd8d2ec1d18d0a0d4b4e1502eb01cbebf8ef86f0558f7c94e548154c38782a2207179bbc0ab5d8a26751a908e29e0bf646fdcd98acf2c5b888f512f28a5541b31c65035b9dbcbe6efd8c08c395da0bb11dae228f0771493c217cb51511955c9e4429264cbe5b154eb51dc3b89361d4b3bf215784635b69ec3593fe0ebc10b60515163912017f9fad573ea1bb8257f6960a755ab15ffd8b192899383e5301cce1e2605a5e3f27722fb889bcf00da7abff753d1f51fc89b8484e74cf3cf541094bd992bc5e87a411a610c226a3c2e21698fe9c171b48a2507dd942411b1d111a0d53b5f6bdbe6aae4ee736344dc4a99263ac63c2fa13b408e636e1d143e0a70fafd1d17e10274f3bcb7008dcedece71e154e119b30f727120edb9211242987460eff7373e3c9018ef1162066e544417e0fe751905823912986c66e75e7760ff0d29f05bcbb6baa17fe3b1f537bfd99eb98811c7969e545e8cdcfebb5a4f8c84fcb748e846649631b3c5db435ad9387979dd9b0cfe82d8fd0fb8af59ff3583f189a007cd99b2df18256f750b2a1b9fe8d9c711397619b81f59c4282e00ca19fe71dbc1700061ff954df70961bc0c93e639cc7608fbf75112d7f025753fa425ccdc6d21ce5d1bb15c3381beda1dc33ee6569c7b749ee11ef4c9e6aad5e963bc52530c70477a8779cabc09905537b331db887fbd8dbd1f3cec7a28f37979dfd55e12b66a8ad58a08c5b7b10c7c5308a5463b9b7ee2f498087a1e4f665875fa8f82c4d42a70f779191ff019ad69e681827ddd017240a4c3f63359ae86bc722205877a1c81873bdd2634e7a3d49623a8b6c8278644896e627b25aa6d115a4b820820ab925b0de4bf6ef53341ce4eea0a5c3b448bafb7fdaf6c5f8018573006d25bda99fb4746dda9e0631384c33fd819164355f97ce14868df3aa0a4c09433df7fbb1a902756e341d59f0f2284a4576e7ad5104cbdfa607786835755c26ab2d5525dda8c5edad4e1b8a5fe39cc60fe75b17108ce829a1482c2401f8cc19fb5dece9f37a7f00ca4a6db09da3dc0c69e0ee315c2fa522b6d6a603b6d35ad244a67cfffe9be855371af865fd802b4c28a444a855576885faa9e158d4a9efe004ba71949f3d4c734db7ed922eb2a61c084941bf902ae959c35819e20fd843dbf1bc79323431850de2c9b7eeb11dd11cb98ccbb3bc23058a138772da4a845b0f8c43e19b1b544ae358bd36637dcbaead0291a03f9858cac1e0d57209fe2fc62d091728ecd1b3bb2dde48db85b60e22eb5845aea4cd91f144cd906bc78cf8a6c21b73908236d56554897f30a5f2e52a9f8540d6e39433c67cde537a0627c0deddef3d3e3678c5935045ef6b94a5932a91d33eb4ecc2b65895d5dbddeb85ead93bb9682673b11109c2c5cf3aaf7bf9497ebbb55c7a85658d166265cc624cdf26bc180b80d54f1846a629d5cffae3266a76920ee4e09bc5fb7814ac2b26e4ffd77f466a01126f27734e56b6bea491f09790bd37a8d6fd67f496615ea73a30986005b2440f67ef582f61023bf4c5a3a9de975624d931ba2f0a61dfd5977f91415468bab7e1adde22ccb2e3b313cd565a4c203f17974555d3427a2dd945d7487431360cab89cc8cda00da387267720a99056495213f06bce9d8c67a1eab11209e7ae90e799e264595a965029ff4ba41ca4109fca6df13fb9b1dfb3ab1318b4bc3fbce57a5c3e09dbae3a4c7d543cd3a43a5cd7e9500f37e33c1122a3cb464952a062bfff9fc5e8c772bc56f73e10f24d21ed6bd4acc5bd349df1d4852c2e4b9c7038dbbb3b00e2488dafc4b7fbfbd55752a6b3200b8d1d91bf7edaea13e05703f4c15a3e834c18860b3a9c62f378b0a81c5e666a281129f5751159683dac09d5d0993eea9209c517c68bee1cf0f44de0da5cae6a0766b97957be537a83fab99fd7b233dd324d8cda385417bd83a94ffbd8e7c0dff5f360447a8c75cc40ce877453a50dbb1ab3783a24790321b6b738aef90397f4e6a1af77634c4325255764a4e75f7210e54733742f6bb8f320c5d2ef1ba3475d92c5b494b20bdec757a3e3e9ddace4dde41fb67467f76b87015af56fa71fd60f8e45b39677bc47a3ade42fd0070aee5a681d2a63a619f5b05c16a73b8165e71ad9dcaef7dbbf856da3a6e07cb94394a4ecd0331389d699c79f8b5cae36688cd91974541ea04b84fc586e67d345219a9713731976c6b3ddc1a35e3989bd1205458d4f778e0f68884a41bbc76e3bd7e4f8c153323a81916e4d13255bae7dcc5484a24a601df93ca24ae325c2404c9bdd56775c583de3ca4bb07a322d103740e3122b3bf9ec81b9aeda7fe1f94d63cd5e70f11cf5e7795fe7d1a699dd80ed6f8878487a99e7838a8eed9559c0cebf4437e8eb65a7327d736002717f81f29e6cb1cfa400fa341a3d69026b19e9e825a74eb57860a7e16fe03700042d0998abe19e6e52496cea9c0ac50fd485d2387307da9eac471363a42b337e1ace9db026505d024ac3ebb7f00dcbe0716e109eda124d710d4e36099e3be984b947c3949d491e02a61c89f4e34d71bce044378c5b2be2d907234ff248fcc8d9392c0292302d1afaa64b564587f957a917ecb0d9ec6d01951b7616ea3a665fb65b3408f94ba7ac91ce8e97c03c66269a6b6ec1dbd749879f958482edbdbde4ae36b88d14e70fcbe8e394fe17bcbea46f90c13611e1918f665e33c205171e1ca243309a059bda2776921b126af8d2c8258db06fbe2a1c4a1a720d92506371a78fe1d34a9b1b5dbe4f4fa4df0ee0c0edf3fd2b1f69b4c239f40d30eb228821faecbbbb05b2cff67744b8e8a5226dd5ac87de9b915d4da99ca921da838153af3c7bb71d34cb4c1b0cc1405bce76bfe74058c58f73850fa86142598e481b23a900ecb6444d2c32117fd036b1e2e8156cf33138ad319131822702125c80e1ec5ec48307e5b3de9c313b612ecac9c7ae809066cd68fc19ad1e777317d0bf0c6f8da9b3bfcf18323fd377db71ba7df2a9cfd4036d4bb0b24ce04c9961f19221a6d62db615c80cf8345412a103e9a3233942ba3d0c9e9bc24681a6ef5bfd0bb4db9a8047bdca5ae333f6d71cb5c5b1d16daf685e5e1a9ed5dd80c2f8d9c455a40c671fdb5ae95eed8a8ea0fc54e22b8b9d15bc8aa5b4138736f8b425aba7d2b2c93c7168361a4b46aa97e4553ff71d6cec270c7adeb4f879701e676861aec02e7255b74311bc2c8eccc621e523bbc2071be29cc1d587dbe41f83f3f826e78e3bea1ff9b1d8477201e1c168155353b252488cbb7c06902c72d380d6f830eea342c84c7d075e4235ed82dff0795b8f472cfcb15ea918ea1e36d676cfd7b8323e7de2e1febb355b192269fa20c236f388bf1a2b6e1b11d05de2448d447529a7b41c2e83548d4b30d05e0b5ae2e2a5ebf6856f28831e0a5d446824173d29c443ebec2ff22be3690f30cbef517c4d3ab24293ae233398246ea44750358be282ccaffc37bd55c3926713ea7d8a2281776194920a33018b4a1cb52627021e3680e7cfd93981b3e34322d90a9702d197ba99cf9f716d9c12397c3c2ce82a0e3298f20c348af8c95fab68ba94439784f9837419c8f13a7b3503816a56ab06e0a3e2b61c2578b3627ea51012e731cdc3439cf5f67f0cd813e6ece7b136d42bc565463e764a84437967271c42fc694ad58fd0e601112864d44b92ffaf83971f891253df10aacc293d15b64db56a41d338102376b8ee65333ac43", 0x1000, 0x3, 0x0, 0x2}, &(0x7f00000003c0)={0x0, 0x0, 0x0, 0x0, 0xe, r4, &(0x7f0000000380)="1d0226d054f36dde2d433ab9af3ce2be0995f886be49e1b8a7cb068e94c6528dde", 0x21, 0x1, 0x0, 0x0, r4}, &(0x7f0000000440)={0x0, 0x0, 0x0, 0x2, 0x1800, r0, &(0x7f0000000400)="aba13948319834b6837e9274", 0xc, 0xffffffffffffffff, 0x0, 0x2, r6}]) bpf$PROG_LOAD(0x5, &(0x7f0000000240)={0x10, 0xb, &(0x7f0000000140)=@framed={{0x18, 0x4}, [@printk={@p, {0x3, 0x3, 0x6, 0xa, 0x1, 0xfff8, 0xe1}, {0x5}, {}, {}, {}, {0x85, 0x0, 0x0, 0x11}}]}, &(0x7f0000000000)='GPL\x00', 0x9, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @sk_msg, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, @void, @value}, 0x90) [ 69.656254][ T4665] Bluetooth: hci0: command tx timeout [ 69.721748][ T5318] loop0: detected capacity change from 0 to 1024 [ 69.789702][ T5318] [ 69.790750][ T5318] ====================================================== [ 69.793537][ T5318] WARNING: possible circular locking dependency detected [ 69.796275][ T5318] 6.13.0-rc3-syzkaller-00082-gbaaa2567a712 #0 Not tainted [ 69.799061][ T5318] ------------------------------------------------------ [ 69.801824][ T5318] syz.0.0/5318 is trying to acquire lock: [ 69.803989][ T5318] ffff88805287c0b0 (&tree->tree_lock/1){+.+.}-{4:4}, at: hfsplus_find_init+0x14a/0x1c0 [ 69.807875][ T5318] [ 69.807875][ T5318] but task is already holding lock: [ 69.810783][ T5318] ffff8880458a3048 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}, at: hfsplus_get_block+0x383/0x14f0 [ 69.815011][ T5318] [ 69.815011][ T5318] which lock already depends on the new lock. [ 69.815011][ T5318] [ 69.818843][ T5318] [ 69.818843][ T5318] the existing dependency chain (in reverse order) is: [ 69.822139][ T5318] [ 69.822139][ T5318] -> #1 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}: [ 69.825633][ T5318] lock_acquire+0x1ed/0x550 [ 69.827610][ T5318] __mutex_lock+0x1ac/0xee0 [ 69.829611][ T5318] hfsplus_file_extend+0x21b/0x1b70 [ 69.831641][ T5318] hfsplus_bmap_reserve+0x105/0x4e0 [ 69.833696][ T5318] __hfsplus_ext_write_extent+0x2a4/0x5c0 [ 69.835918][ T5318] __hfsplus_ext_cache_extent+0x84/0xe10 [ 69.838137][ T5318] hfsplus_file_extend+0x48c/0x1b70 [ 69.840138][ T5318] hfsplus_get_block+0x406/0x14f0 [ 69.842213][ T5318] __block_write_begin_int+0x692/0x19a0 [ 69.844507][ T5318] cont_write_begin+0x77f/0xb40 [ 69.846605][ T5318] hfsplus_write_begin+0x68/0xb0 [ 69.848780][ T5318] generic_perform_write+0x346/0x990 [ 69.851048][ T5318] generic_file_write_iter+0xae/0x310 [ 69.853362][ T5318] aio_write+0x56b/0x7c0 [ 69.855250][ T5318] io_submit_one+0x8a7/0x18a0 [ 69.857257][ T5318] __se_sys_io_submit+0x171/0x2e0 [ 69.859256][ T5318] do_syscall_64+0xf3/0x230 [ 69.861093][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.863716][ T5318] [ 69.863716][ T5318] -> #0 (&tree->tree_lock/1){+.+.}-{4:4}: [ 69.866571][ T5318] validate_chain+0x18ef/0x5920 [ 69.868692][ T5318] __lock_acquire+0x1397/0x2100 [ 69.870891][ T5318] lock_acquire+0x1ed/0x550 [ 69.872910][ T5318] __mutex_lock+0x1ac/0xee0 [ 69.874891][ T5318] hfsplus_find_init+0x14a/0x1c0 [ 69.877027][ T5318] hfsplus_get_block+0x5c4/0x14f0 [ 69.879150][ T5318] block_read_full_folio+0x3ee/0xae0 [ 69.881431][ T5318] read_pages+0x526/0x750 [ 69.883393][ T5318] page_cache_ra_unbounded+0x606/0x720 [ 69.885605][ T5318] filemap_get_pages+0x605/0x2080 [ 69.887702][ T5318] filemap_read+0x452/0xf50 [ 69.889730][ T5318] __kernel_read+0x513/0x9d0 [ 69.891658][ T5318] integrity_kernel_read+0xb0/0x100 [ 69.894626][ T5318] ima_calc_file_hash+0xae6/0x1b30 [ 69.896872][ T5318] ima_collect_measurement+0x520/0xb10 [ 69.899165][ T5318] process_measurement+0x1351/0x1fb0 [ 69.901453][ T5318] ima_file_check+0xd9/0x120 [ 69.903466][ T5318] security_file_post_open+0xb9/0x280 [ 69.905791][ T5318] path_openat+0x2ccd/0x3590 [ 69.907789][ T5318] do_filp_open+0x27f/0x4e0 [ 69.909697][ T5318] do_sys_openat2+0x13e/0x1d0 [ 69.911643][ T5318] __x64_sys_open+0x225/0x270 [ 69.913619][ T5318] do_syscall_64+0xf3/0x230 [ 69.915422][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.917708][ T5318] [ 69.917708][ T5318] other info that might help us debug this: [ 69.917708][ T5318] [ 69.921309][ T5318] Possible unsafe locking scenario: [ 69.921309][ T5318] [ 69.923899][ T5318] CPU0 CPU1 [ 69.925841][ T5318] ---- ---- [ 69.927969][ T5318] lock(&HFSPLUS_I(inode)->extents_lock); [ 69.930252][ T5318] lock(&tree->tree_lock/1); [ 69.933081][ T5318] lock(&HFSPLUS_I(inode)->extents_lock); [ 69.936252][ T5318] lock(&tree->tree_lock/1); [ 69.938071][ T5318] [ 69.938071][ T5318] *** DEADLOCK *** [ 69.938071][ T5318] [ 69.941190][ T5318] 3 locks held by syz.0.0/5318: [ 69.943105][ T5318] #0: ffff8880397415b8 (&ima_iint_mutex_key[depth]){+.+.}-{4:4}, at: process_measurement+0x7a6/0x1fb0 [ 69.947329][ T5318] #1: ffff8880458a33d8 (mapping.invalidate_lock#3){.+.+}-{4:4}, at: page_cache_ra_unbounded+0x142/0x720 [ 69.951665][ T5318] #2: ffff8880458a3048 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}, at: hfsplus_get_block+0x383/0x14f0 [ 69.955749][ T5318] [ 69.955749][ T5318] stack backtrace: [ 69.958043][ T5318] CPU: 0 UID: 0 PID: 5318 Comm: syz.0.0 Not tainted 6.13.0-rc3-syzkaller-00082-gbaaa2567a712 #0 [ 69.962046][ T5318] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.966159][ T5318] Call Trace: [ 69.967438][ T5318] [ 69.968563][ T5318] dump_stack_lvl+0x241/0x360 [ 69.970389][ T5318] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.972382][ T5318] ? __pfx__printk+0x10/0x10 [ 69.974192][ T5318] print_circular_bug+0x13a/0x1b0 [ 69.976191][ T5318] check_noncircular+0x36a/0x4a0 [ 69.978151][ T5318] ? __pfx_check_noncircular+0x10/0x10 [ 69.980396][ T5318] ? lockdep_lock+0x123/0x2b0 [ 69.982336][ T5318] validate_chain+0x18ef/0x5920 [ 69.984163][ T5318] ? __pfx_validate_chain+0x10/0x10 [ 69.986270][ T5318] ? mark_lock+0x9a/0x360 [ 69.987990][ T5318] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 69.990332][ T5318] ? mark_lock+0x9a/0x360 [ 69.992029][ T5318] __lock_acquire+0x1397/0x2100 [ 69.993948][ T5318] lock_acquire+0x1ed/0x550 [ 69.995658][ T5318] ? hfsplus_find_init+0x14a/0x1c0 [ 69.997695][ T5318] ? __pfx_lock_acquire+0x10/0x10 [ 69.999732][ T5318] ? hfsplus_find_init+0x85/0x1c0 [ 70.001735][ T5318] ? hfsplus_get_block+0x5c4/0x14f0 [ 70.003805][ T5318] ? __pfx___might_resched+0x10/0x10 [ 70.005834][ T5318] ? filemap_read+0x452/0xf50 [ 70.007684][ T5318] ? __kernel_read+0x513/0x9d0 [ 70.009583][ T5318] ? integrity_kernel_read+0xb0/0x100 [ 70.011682][ T5318] ? ima_calc_file_hash+0xae6/0x1b30 [ 70.013773][ T5318] ? ima_collect_measurement+0x520/0xb10 [ 70.015976][ T5318] ? process_measurement+0x1351/0x1fb0 [ 70.018095][ T5318] ? ima_file_check+0xd9/0x120 [ 70.020005][ T5318] ? security_file_post_open+0xb9/0x280 [ 70.022200][ T5318] ? path_openat+0x2ccd/0x3590 [ 70.024068][ T5318] ? do_sys_openat2+0x13e/0x1d0 [ 70.026011][ T5318] ? __x64_sys_open+0x225/0x270 [ 70.027887][ T5318] ? do_syscall_64+0xf3/0x230 [ 70.029739][ T5318] __mutex_lock+0x1ac/0xee0 [ 70.031476][ T5318] ? hfsplus_find_init+0x14a/0x1c0 [ 70.033433][ T5318] ? hfsplus_find_init+0x14a/0x1c0 [ 70.035450][ T5318] ? __pfx___mutex_lock+0x10/0x10 [ 70.037473][ T5318] ? rcu_is_watching+0x15/0xb0 [ 70.039314][ T5318] ? __kmalloc_noprof+0x2a5/0x4c0 [ 70.041349][ T5318] ? hfsplus_find_init+0x85/0x1c0 [ 70.043283][ T5318] hfsplus_find_init+0x14a/0x1c0 [ 70.045088][ T5318] hfsplus_get_block+0x5c4/0x14f0 [ 70.047004][ T5318] ? __pfx_hfsplus_get_block+0x10/0x10 [ 70.049181][ T5318] ? _raw_spin_unlock+0x28/0x50 [ 70.051138][ T5318] ? create_empty_buffers+0x471/0x530 [ 70.053281][ T5318] block_read_full_folio+0x3ee/0xae0 [ 70.055321][ T5318] ? __pfx_hfsplus_get_block+0x10/0x10 [ 70.057530][ T5318] ? __pfx_block_read_full_folio+0x10/0x10 [ 70.059722][ T5318] ? readahead_folio+0x2ed/0x440 [ 70.061690][ T5318] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 70.063910][ T5318] read_pages+0x526/0x750 [ 70.065652][ T5318] ? filemap_add_folio+0x24e/0x380 [ 70.067668][ T5318] ? __pfx_read_pages+0x10/0x10 [ 70.069685][ T5318] page_cache_ra_unbounded+0x606/0x720 [ 70.071916][ T5318] filemap_get_pages+0x605/0x2080 [ 70.073930][ T5318] ? mark_lock+0x9a/0x360 [ 70.075619][ T5318] ? __pfx_filemap_get_pages+0x10/0x10 [ 70.077840][ T5318] ? __lock_acquire+0x1397/0x2100 [ 70.079831][ T5318] ? __pfx___might_resched+0x10/0x10 [ 70.081940][ T5318] filemap_read+0x452/0xf50 [ 70.083737][ T5318] ? __pfx_filemap_read+0x10/0x10 [ 70.085786][ T5318] ? generic_file_read_iter+0x98/0x550 [ 70.087923][ T5318] ? kasan_save_track+0x51/0x80 [ 70.089817][ T5318] __kernel_read+0x513/0x9d0 [ 70.091676][ T5318] ? do_sys_openat2+0x13e/0x1d0 [ 70.093701][ T5318] ? __pfx___kernel_read+0x10/0x10 [ 70.095821][ T5318] integrity_kernel_read+0xb0/0x100 [ 70.097966][ T5318] ? __pfx_integrity_kernel_read+0x10/0x10 [ 70.100356][ T5318] ? __kmalloc_cache_noprof+0x243/0x390 [ 70.102576][ T5318] ? ima_calc_file_hash+0xaae/0x1b30 [ 70.104680][ T5318] ima_calc_file_hash+0xae6/0x1b30 [ 70.106707][ T5318] ? __pfx_ima_calc_file_hash+0x10/0x10 [ 70.108869][ T5318] ? stack_depot_save_flags+0x7b4/0x940 [ 70.111080][ T5318] ? kasan_save_track+0x51/0x80 [ 70.113072][ T5318] ? kasan_save_track+0x3f/0x80 [ 70.115026][ T5318] ? kasan_save_free_info+0x40/0x50 [ 70.117125][ T5318] ? __kasan_slab_free+0x59/0x70 [ 70.119082][ T5318] ? kfree+0x196/0x430 [ 70.120746][ T5318] ? make_vfsgid+0x51/0xa0 [ 70.122543][ T5318] ? generic_fillattr+0x58f/0x830 [ 70.124592][ T5318] ima_collect_measurement+0x520/0xb10 [ 70.126762][ T5318] ? __pfx_ima_collect_measurement+0x10/0x10 [ 70.129162][ T5318] ? kasan_quarantine_put+0xdc/0x230 [ 70.131266][ T5318] ? lockdep_hardirqs_on+0x99/0x150 [ 70.133405][ T5318] ? kfree+0x196/0x430 [ 70.135047][ T5318] ? ima_get_hash_algo+0x156/0x4d0 [ 70.137118][ T5318] ? __pfx_ima_get_hash_algo+0x10/0x10 [ 70.139254][ T5318] process_measurement+0x1351/0x1fb0 [ 70.141369][ T5318] ? __pfx_process_measurement+0x10/0x10 [ 70.143589][ T5318] ? tomoyo_check_open_permission+0x207/0x4f0 [ 70.146019][ T5318] ? __pfx_tomoyo_check_open_permission+0x10/0x10 [ 70.148524][ T5318] ? __pfx_apparmor_file_open+0x10/0x10 [ 70.150725][ T5318] ? mnt_get_write_access+0x68/0x2b0 [ 70.152854][ T5318] ? inode_to_bdi+0x69/0xf0 [ 70.154638][ T5318] ? apparmor_current_getlsmprop_subj+0xde/0x160 [ 70.157093][ T5318] ima_file_check+0xd9/0x120 [ 70.158774][ T5318] ? __pfx_ima_file_check+0x10/0x10 [ 70.160663][ T5318] security_file_post_open+0xb9/0x280 [ 70.162636][ T5318] path_openat+0x2ccd/0x3590 [ 70.164322][ T5318] ? __pfx_path_openat+0x10/0x10 [ 70.166128][ T5318] do_filp_open+0x27f/0x4e0 [ 70.167742][ T5318] ? __pfx_do_filp_open+0x10/0x10 [ 70.169602][ T5318] ? do_raw_spin_lock+0x14f/0x370 [ 70.171435][ T5318] do_sys_openat2+0x13e/0x1d0 [ 70.173263][ T5318] ? __might_fault+0xaa/0x120 [ 70.175137][ T5318] ? __pfx_do_sys_openat2+0x10/0x10 [ 70.177247][ T5318] ? rcu_is_watching+0x15/0xb0 [ 70.179121][ T5318] ? __rseq_handle_notify_resume+0x34d/0x14e0 [ 70.181366][ T5318] __x64_sys_open+0x225/0x270 [ 70.183266][ T5318] ? __pfx___x64_sys_open+0x10/0x10 [ 70.185361][ T5318] ? do_syscall_64+0x100/0x230 [ 70.187274][ T5318] ? do_syscall_64+0xb6/0x230 [ 70.189223][ T5318] do_syscall_64+0xf3/0x230 [ 70.191050][ T5318] ? clear_bhb_loop+0x35/0x90 [ 70.192955][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.195319][ T5318] RIP: 0033:0x7f1dcef85d29 [ 70.197003][ T5318] 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 a8 ff ff ff f7 d8 64 89 01 48 [ 70.203876][ T5318] RSP: 002b:00007f1dcfd81038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 70.206922][ T5318] RAX: ffffffffffffffda RBX: 00007f1dcf175fa0 RCX: 00007f1dcef85d29 [ 70.210110][ T5318] RDX: 0000000000000020 RSI: 0000000000000002 RDI: 0000000020000100 [ 70.213269][ T5318] RBP: 00007f1dcf001aa8 R08: 0000000000000000 R09: 0000000000000000 [ 70.216400][ T5318] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 70.219485][ T5318] R13: 0000000000000000 R14: 00007f1dcf175fa0 R15: 00007ffebe056988 [ 70.222784][ T5318] [ 70.245734][ T24] audit: type=1800 audit(1734644678.975:2): pid=5318 uid=0 auid=4294967295 ses=4294967295 subj=unconfined op=collect_data cause=failed comm="syz.0.0" name="file1" dev="loop0" ino=20 res=0 errno=0 [ 70.259975][ T5318] syz.0.0 (5318) used greatest stack depth: 18096 bytes left