<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:36:02 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-10544] racer use after free in adler32_update</title>
                <link>https://jira.whamcloud.com/browse/LU-10544</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Just had this on current master out of the blue:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[476681.006163] BUG: unable to handle kernel paging request at ffff8802f06c4000
[476681.007760] IP: [&amp;lt;ffffffffa020a170&amp;gt;] adler32_update+0x70/0x250 [libcfs]
[476681.008785] PGD 2e75067 PUD 33e9f9067 PMD 33e875067 PTE 80000002f06c4060
[476681.009522] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[476681.010175] Modules linked in: lustre(OE) ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_zfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) mdc(OE) osc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) zlib_deflate jbd2 syscopyarea sysfillrect sysimgblt ttm drm_kms_helper ata_generic drm pata_acpi i2c_piix4 pcspkr ata_piix virtio_balloon serio_raw i2c_core virtio_console libata virtio_blk floppy nfsd ip_tables rpcsec_gss_krb5 [last unloaded: libcfs]
[476681.018904] CPU: 12 PID: 2137 Comm: ll_ost_io06_002 Tainted: P           OE  ------------   3.10.0-debug #2
[476681.020320] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[476681.021084] task: ffff88029d2949c0 ti: ffff8802f1450000 task.ti: ffff8802f1450000
[476681.022819] RIP: 0010:[&amp;lt;ffffffffa020a170&amp;gt;]  [&amp;lt;ffffffffa020a170&amp;gt;] adler32_update+0x70/0x250 [libcfs]
[476681.024117] RSP: 0018:ffff8802f1453888  EFLAGS: 00010212
[476681.024773] RAX: 0000000000001000 RBX: 0000000000001000 RCX: ffffea000bc1b100
[476681.026257] RDX: 0000000000001000 RSI: ffff8802f06c4000 RDI: ffff8802f06c4000
[476681.027581] RBP: ffff8802f14538f0 R08: 0000000000000001 R09: 0000000000001000
[476681.029058] R10: 0000000000000000 R11: 0000000000000f40 R12: ffffea000bc1b102
[476681.030630] R13: 0000000000001000 R14: ffffffffa022c3d0 R15: 0000000000000001
[476681.032156] FS:  0000000000000000(0000) GS:ffff88033e580000(0000) knlGS:0000000000000000
[476681.041864] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[476681.042557] CR2: ffff8802f06c4000 CR3: 00000000ba661000 CR4: 00000000000006e0
[476681.043811] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[476681.046746] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[476681.048311] Stack:
[476681.049038]  ffff8802d7789fd0 0000100000000000 ffff8802f06c4000 0000000000000000
[476681.051290]  0000100000000000 0000000000000000 000000006cf71350 ffff88033181cfc0
[476681.052826]  ffff8802f06c4000 ffffea000bc1b102 0000000000001000 ffffffffa022c3d0
[476681.064622] Call Trace:
[476681.065266]  [&amp;lt;ffffffff81333237&amp;gt;] crypto_shash_update+0x47/0x120
[476681.066002]  [&amp;lt;ffffffff8133355e&amp;gt;] shash_ahash_update+0x3e/0x70
[476681.066775]  [&amp;lt;ffffffff813335a2&amp;gt;] shash_async_update+0x12/0x20
[476681.067544]  [&amp;lt;ffffffffa0209143&amp;gt;] cfs_crypto_hash_update_page+0x93/0xc0 [libcfs]
[476681.069023]  [&amp;lt;ffffffffa0682ae6&amp;gt;] tgt_checksum_niobuf.isra.37+0x286/0x600 [ptlrpc]
[476681.073433]  [&amp;lt;ffffffffa068725f&amp;gt;] tgt_brw_read+0xc8f/0x1fa0 [ptlrpc]
[476681.074195]  [&amp;lt;ffffffff811cd4f9&amp;gt;] ? __kmalloc+0x649/0x660
[476681.074931]  [&amp;lt;ffffffff817063d7&amp;gt;] ? _raw_spin_unlock+0x27/0x40
[476681.078624]  [&amp;lt;ffffffff810e3201&amp;gt;] ? lockdep_init_map+0xa1/0x600
[476681.079394]  [&amp;lt;ffffffffa06233f7&amp;gt;] ? lustre_msg_add_version+0x27/0xa0 [ptlrpc]
[476681.080816]  [&amp;lt;ffffffffa062376c&amp;gt;] ? lustre_pack_reply_v2+0x16c/0x2a0 [ptlrpc]
[476681.082222]  [&amp;lt;ffffffffa0623912&amp;gt;] ? lustre_pack_reply_flags+0x72/0x1f0 [ptlrpc]
[476681.088457]  [&amp;lt;ffffffffa0623aa1&amp;gt;] ? lustre_pack_reply+0x11/0x20 [ptlrpc]
[476681.090318]  [&amp;lt;ffffffffa0689c8b&amp;gt;] tgt_request_handle+0x93b/0x13e0 [ptlrpc]
[476681.091110]  [&amp;lt;ffffffffa062ec21&amp;gt;] ptlrpc_server_handle_request+0x261/0xaf0 [ptlrpc]
[476681.092523]  [&amp;lt;ffffffffa06329d8&amp;gt;] ptlrpc_main+0xa58/0x1df0 [ptlrpc]
[476681.093298]  [&amp;lt;ffffffffa0631f80&amp;gt;] ? ptlrpc_register_service+0xeb0/0xeb0 [ptlrpc]
[476681.095017]  [&amp;lt;ffffffff810a2eba&amp;gt;] kthread+0xea/0xf0
[476681.095722]  [&amp;lt;ffffffff810a2dd0&amp;gt;] ? kthread_create_on_node+0x140/0x140
[476681.096469]  [&amp;lt;ffffffff8170fb98&amp;gt;] ret_from_fork+0x58/0x90
[476681.097167]  [&amp;lt;ffffffff810a2dd0&amp;gt;] ? kthread_create_on_node+0x140/0x140
[476681.098303] Code: 44 00 00 8b 5d b8 b8 b0 15 00 00 81 fb b0 15 00 00 0f 46 c3 29 45 b8 83 f8 0f 89 45 a4 0f 8e f8 00 00 00 48 8b 7d a8 89 45 bc 90 &amp;lt;44&amp;gt; 0f b6 2f 44 0f b6 77 01 48 83 c7 10 44 0f b6 67 f2 0f b6 5f 
[476681.101124] RIP  [&amp;lt;ffffffffa020a170&amp;gt;] adler32_update+0x70/0x250 [libcfs]
[476681.101979]  RSP &amp;lt;ffff8802f1453888&amp;gt;
[476681.102719] CR2: ffff8802f06c4000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="50335">LU-10544</key>
            <summary>racer use after free in adler32_update</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 21 Jan 2018 16:28:23 +0000</created>
                <updated>Mon, 8 May 2023 17:09:44 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="219927" author="green" created="Sun, 4 Feb 2018 05:01:44 +0000"  >&lt;p&gt;just had this once more in master-next&lt;/p&gt;</comment>
                            <comment id="222668" author="green" created="Wed, 7 Mar 2018 03:48:36 +0000"  >&lt;p&gt;and again&lt;/p&gt;</comment>
                            <comment id="255475" author="green" created="Fri, 27 Sep 2019 08:57:09 +0000"  >&lt;p&gt;So after a big gap, this issue seem to have returned in a different checksum handler&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[101837.120015] BUG: unable to handle kernel paging request at ffff8802d9f04000
[101837.120015] IP: [&amp;lt;ffffffffa00a93e1&amp;gt;] crc_array+0x0/0x1e [crc32c_intel]
[101837.120015] PGD 241b067 PUD 33e9f9067 PMD 33e929067 PTE 80000002d9f04060
[101837.120015] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[101837.143463] Modules linked in: lustre(OE) ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_zfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) mdc(OE) osc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) crc_t10dif crct10dif_generic sb_edac edac_core iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd i2c_piix4 pcspkr virtio_console virtio_balloon ip_tables rpcsec_gss_krb5 ata_generic drm_kms_helper pata_acpi ttm drm crct10dif_pclmul crct10dif_common drm_panel_orientation_quirks ata_piix serio_raw crc32c_intel virtio_blk i2c_core libata floppy [last unloaded: libcfs]
[101837.210942] CPU: 4 PID: 1787 Comm: ll_ost_io02_013 Kdump: loaded Tainted: P           OE  ------------   3.10.0-7.6-debug #1
[101837.268504] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[101837.275184] task: ffff8802ed752800 ti: ffff8802122f8000 task.ti: ffff8802122f8000
[101837.275184] RIP: 0010:[&amp;lt;ffffffffa00a93e1&amp;gt;]  [&amp;lt;ffffffffa00a93e1&amp;gt;] crc_array+0x0/0x1e [crc32c_intel]
[101837.275184] RSP: 0018:ffff8802122fb870  EFLAGS: 00010246
[101837.275184] RAX: 0000000000000080 RBX: 0000000000001000 RCX: ffff8802d9f04400
[101837.275184] RDX: ffff8802d9f04800 RSI: 0000000000001000 RDI: 0000000000000000
[101837.307009] RBP: ffff8802122fb8b0 R08: 00000000ffffffff R09: 0000000000000000
[101837.307009] R10: 0000000000000000 R11: ffff8802d9f04c00 R12: ffff880086f46290
[101837.307009] R13: ffff8802d9f04000 R14: ffff8802122f8000 R15: ffff880086f46290
[101837.307009] FS:  0000000000000000(0000) GS:ffff88033db00000(0000) knlGS:0000000000000000
[101837.307009] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[101837.307009] CR2: ffff8802d9f04000 CR3: 0000000001c10000 CR4: 00000000001607e0
[101837.307009] Call Trace:
[101837.307009]  [&amp;lt;ffffffffa00a92eb&amp;gt;] ? crc32c_pcl_intel_update+0x7b/0xb0 [crc32c_intel]
[101837.307009]  [&amp;lt;ffffffff813910b7&amp;gt;] crypto_shash_update+0x47/0x120
[101837.307009]  [&amp;lt;ffffffff813913de&amp;gt;] shash_ahash_update+0x3e/0x70
[101837.307009]  [&amp;lt;ffffffff81391422&amp;gt;] shash_async_update+0x12/0x20
[101837.307009]  [&amp;lt;ffffffffa02b2453&amp;gt;] cfs_crypto_hash_update_page+0x93/0xc0 [libcfs]
[101837.307009]  [&amp;lt;ffffffffa0760eae&amp;gt;] tgt_checksum_niobuf_rw+0x8ce/0xea0 [ptlrpc]
[101837.307009]  [&amp;lt;ffffffffa03fd775&amp;gt;] ? lprocfs_stats_unlock+0x45/0x50 [obdclass]
[101837.307009]  [&amp;lt;ffffffffa03ff7a9&amp;gt;] ? lprocfs_counter_add+0xf9/0x160 [obdclass]
[101837.307009]  [&amp;lt;ffffffffa0723db1&amp;gt;] ? __req_capsule_get+0x161/0x710 [ptlrpc]
[101837.307009]  [&amp;lt;ffffffffa04336f0&amp;gt;] ? obd_dif_crc_fn+0x20/0x20 [obdclass]
[101837.387516]  [&amp;lt;ffffffffa0763d1d&amp;gt;] tgt_brw_read+0xc1d/0x1dd0 [ptlrpc]
[101837.387516]  [&amp;lt;ffffffffa03ff7a9&amp;gt;] ? lprocfs_counter_add+0xf9/0x160 [obdclass]
[101837.387516]  [&amp;lt;ffffffffa0736d66&amp;gt;] ? null_alloc_rs+0x176/0x330 [ptlrpc]
[101837.387516]  [&amp;lt;ffffffffa06febcf&amp;gt;] ? lustre_pack_reply_flags+0x6f/0x1e0 [ptlrpc]
[101837.387516]  [&amp;lt;ffffffffa06fed51&amp;gt;] ? lustre_pack_reply+0x11/0x20 [ptlrpc]
[101837.387516]  [&amp;lt;ffffffffa07678c5&amp;gt;] tgt_request_handle+0x985/0x1630 [ptlrpc]
[101837.387516]  [&amp;lt;ffffffffa031efae&amp;gt;] ? libcfs_nid2str_r+0xfe/0x130 [lnet]
[101837.387516]  [&amp;lt;ffffffffa070ad80&amp;gt;] ptlrpc_server_handle_request+0x250/0xb10 [ptlrpc]
[101837.387516]  [&amp;lt;ffffffff810bfbd8&amp;gt;] ? __wake_up_common+0x58/0x90
[101837.469366]  [&amp;lt;ffffffff813fb7bb&amp;gt;] ? do_raw_spin_unlock+0x4b/0x90
[101837.469366]  [&amp;lt;ffffffffa070ef18&amp;gt;] ptlrpc_main+0xca8/0x1ca0 [ptlrpc]
[101837.473426]  [&amp;lt;ffffffff810c32ed&amp;gt;] ? finish_task_switch+0x5d/0x1b0
[101837.478137]  [&amp;lt;ffffffffa070e270&amp;gt;] ? ptlrpc_register_service+0xff0/0xff0 [ptlrpc]
[101837.478137]  [&amp;lt;ffffffff810b4ed4&amp;gt;] kthread+0xe4/0xf0
[101837.478137]  [&amp;lt;ffffffff810b4df0&amp;gt;] ? kthread_create_on_node+0x140/0x140
[101837.478137]  [&amp;lt;ffffffff817c4c5d&amp;gt;] ret_from_fork_nospec_begin+0x7/0x21
[101837.478137]  [&amp;lt;ffffffff810b4df0&amp;gt;] ? kthread_create_on_node+0x140/0x140
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzrgf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>