Bug 1615258
Summary: | nfs: kernel BUG at include/linux/scatterlist.h:143! | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Young <m.a.young> | ||||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||||
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | airlied, bskeggs, bubrown, ewk, hdegoede, ichavero, itamar, jarodwilson, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, nfs-maint, steved | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | Type: | Bug | |||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Michael Young
2018-08-13 07:47:54 UTC
Created attachment 1475602 [details]
iSCSI local LIO target
Reproduced with local iSCSI LIO target.
This looks like an underlying bug. make_checksum_hmac_md5 in gss_krb5_crypto.c is trying to use a stack buffer (rc4salt) for DMA which doesn't work with vmapped stacks. I'm guessing nobody has run into this with debugging enabled, hence the bug on. I suspect enabling CRC32C checking on iSCSI is enough to trigger this. @Laura, can I help getting more logs here? If so, let me know how. The iSCSI bug is a similar but separate issue from the NFS bug. I have a scratch build with a possible fix for the iSCSI issue https://koji.fedoraproject.org/koji/taskinfo?taskID=29150725 Can you test the scratch build for the iSCSI fix? Created attachment 1477094 [details]
dmesg - 4.19.0-0.rc0.git4.1.iscsifix.fc30.x86_64
Hi Laura,
the scratch build does not appear to fix the issue.
https://koji.fedoraproject.org/koji/taskinfo?taskID=29205022 I fixed the second issue, please try this scratch build Sorry for the late reply, I'm doing a training this week. With the scratch build from comment#7, it is not reproducible anymore. What was the issue? Both of the issues were the same. As a side effect of switching to virtually mapped stacks several versions ago, you can no longer use stack allocated buffers with scatterlists. The fix is to switch to dynamically allocated buffers. This only gets caught with CONFIG_DEBUG_SG which is enabled in kernel-debug or rawhide snapshots. I'll see about cleaning up the patch and submitting it. |