Bug 1888111

Summary: imap crashes in assertion "(ctx->nested_parts_count > 0)" regularly
Product: Red Hat Enterprise Linux 8 Reporter: Renaud Métrich <rmetrich>
Component: dovecotAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: high Docs Contact:
Priority: high    
Version: 8.2CC: djez, mhlavink, ovasik
Target Milestone: rcKeywords: Triaged
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dovecot-2.3.8-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:54:47 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:

Description Renaud Métrich 2020-10-14 06:04:00 UTC
Description of problem:

Please backport asap the following commit:

https://github.com/dovecot/core/commit/a668d767a710ca18ab6e7177d8e8be22a6b024fb


Version-Release number of selected component (if applicable):

dovecot-2.3.8-2.el8_2.2.x86_64


How reproducible:

Very often on customer's installation

Comment 1 Michal Hlavinka 2020-10-14 08:54:39 UTC
Do you have reproducer for this?

Did the customer verify that the commit fixes the issue for him?

Comment 2 Renaud Métrich 2020-10-14 09:16:25 UTC
I have no reproducer.

I'm currently building a test package for the customer to confirm.
Anyway from the coredump I have, it's obvious the customer is hitting what is described here and the commit would fix this.

Comment 3 Michal Hlavinka 2020-10-14 09:31:36 UTC
Upstream did have to fix it, so the bug is there. It may be obvious that this is the commit that is related to it, but my point is that especially without reproducer, we should be sure that the commit is enough to fix the issue. Let me know when you have any feedback from customer.

Comment 4 Renaud Métrich 2020-10-19 18:59:18 UTC
I've got the confirmation that the commit a668d767a710ca18ab6e7177d8e8be22a6b024fb fixes the crash.

The customer has another unrelated crash that I will investigate tomorrow.

Comment 12 errata-xmlrpc 2021-05-18 15:54:47 UTC
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: dovecot security and bug fix 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-2021:1887