Bug 2058369
Summary: | WARNING due to invalid error code from smb2_get_enc_key, followed by crash | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Frank Sorenson <fsorenso> | |
Component: | kernel | Assignee: | Ronnie Sahlberg <lsahlber> | |
kernel sub component: | CIFS | QA Contact: | xiaoli feng <xifeng> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | unspecified | CC: | ddouwsma, dostwal, dwysocha, lsahlber, mmilgram, xzhou | |
Version: | 8.5 | Keywords: | Patch, Triaged, ZStream | |
Target Milestone: | rc | |||
Target Release: | 8.7 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | kernel-4.18.0-381.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2344658 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-08 10:22:27 UTC | 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2344658 |
Description
Frank Sorenson
2022-02-24 18:28:06 UTC
vmcores from two kernel versions were provided by the customer kernel 4.18.0-348.7.1.el8_5.x86_64 kernel 4.18.0-348.12.2.el8_5.x86_64 the WARNINGs are the same in both vmcores CIFS: VFS: \\server.example.com crypt_message: Could not get encryption key err = 1 WARNING: CPU: 6 PID: 54199 at lib/errseq.c:74 errseq_set+0x5b/0x70 In both cases, the crash occurred very shortly after the warning (~0.5 seconds). The RIPs in the vmcores are just one instruction from each other in smb2_writev_callback: <smb2_writev_callback+0x49>: mov 0x98(%rax),%rax << 4.18.0-348.7.1.el8_5.x86_64 <smb2_writev_callback+0x50>: mov 0x38(%rax),%r14 << 4.18.0-348.12.2.el8_5.x86_64 smb2_writev_callback(struct mid_q_entry *mid) struct cifs_writedata *wdata = mid->callback_data; struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); 4.18.0-348.7.1.el8_5.x86_64 kernel 0xffffffffc0a89d4b <smb2_writev_callback+0x3b>: mov 0x80(%rbx),%rax 0xffffffffc0a89d52 <smb2_writev_callback+0x42>: mov 0xa8(%rbx),%r12 0xffffffffc0a89d59 <smb2_writev_callback+0x49>: mov 0x98(%rax),%rax ((struct cifs_writedata *)mid->callback_data)->cfile was zero 4.18.0-348.12.2.el8_5.x86_64 kernel 0xffffffffc088dd4b <smb2_writev_callback+0x3b>: mov 0x80(%rbx),%rax 0xffffffffc088dd52 <smb2_writev_callback+0x42>: mov 0xa8(%rbx),%r12 0xffffffffc088dd59 <smb2_writev_callback+0x49>: mov 0x98(%rax),%rax 0xffffffffc088dd60 <smb2_writev_callback+0x50>: mov 0x38(%rax),%r14 ((struct cifs_writedata *)(mid->callback_data))->cfile->tlink was zero, which means that ->cfile was non-zero when the crash occurred. However, examination of the vmcore indicates that ->cfile is now 0 as well, so it has apparently been modified by another task Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: kernel security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:7683 |