#49972 use-after-free in case of several parallel krb authentication
Closed: wontfix 5 years ago by tbordaz. Opened 5 years ago by tbordaz.

Issue Description

When several threads open outgoing connections (replication agreement) and use krb authentication to the same host, there is a chance that they get a handle to the same credential cache. If an authentication fails, one thread may clear the credential cache while the others threads are still using it.

Package Version and Platform

All versions/platform

Steps to reproduce

It uses freeipa reproducer with 4 hosts. The tests loops on install topology/uninstall it.
Each loops is ~2h, and after several loops it crashes

Actual results

Crash for use-after-free. Not systematic but after large number of iterations (~20) it systematically crashed

Expected results

Should not crash


Metadata Update from @tbordaz:
- Issue assigned to tbordaz

5 years ago

Metadata Update from @tbordaz:
- Custom field component adjusted to None
- Custom field origin adjusted to IPA
- Custom field reviewstatus adjusted to None
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1633089
- Custom field type adjusted to None
- Custom field version adjusted to None

5 years ago

Metadata Update from @mreynolds:
- Issue set to the milestone: 1.3.9

5 years ago

Metadata Update from @tbordaz:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/3031

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: fixed)

3 years ago

Login to comment on this ticket.

Metadata