#1705 access after free
Closed: Duplicate Opened by pbrezina.

I saw this error when debugging #1680.

(Mon Dec 10 07:17:31 2012) [sssd] [ping_check] (0x0100): Service pam replied to ping
(Mon Dec 10 07:17:33 2012) [sssd[pam]] [sbus_remove_timeout] (0x2000): 0x22753f0
(Mon Dec 10 07:17:33 2012) [sssd[pam]] [talloc_log_fn] (0x0010): talloc: access after free error - first free may be at src/responder/common/responder_common.c:513
(Mon Dec 10 07:17:33 2012) [sssd[pam]] [talloc_log_fn] (0x0010): Bad talloc magic value - access after free
(Mon Dec 10 07:17:33 2012) [sssd] [sbus_remove_watch] (0x2000): 0x14f3130/0x14f0020
(Mon Dec 10 07:17:33 2012) [sssd] [sbus_remove_watch] (0x2000): 0x14f3130/0x14f0070
(Mon Dec 10 07:17:33 2012) [sssd] [mt_svc_exit_handler] (0x0040): Child [pam] terminated with signal [6]

I had passwd executed with current password entered and I had backend stopped in gdb for a while.


Can you check if Simo's patch titled "[PATCH] Add extra protection for side request" fixes the problem?

No, it doesn't.

I am able to reproduce the bug with these steps:

1. configure sssd with auth_provider = krb5
2. run sssd
3. login as normal user A
4. login as root, get sssd_be in gdb a set a breakpoint to krb5_auth_resolve_done
5. run passwd with user A
6. enter current password
7. wait approximately 3 minutes

Could you provide valgrind output by chance ?

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.10 beta

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=889216

rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=889216 889216]

Fields changed

selected: => Not need

Moving tickets that are not a priority for SSSD 1.10 into the next release.

milestone: SSSD 1.10 beta => SSSD 1.11 beta

This is a duplicate of https://fedorahosted.org/sssd/ticket/1869

changelog: =>
resolution: => duplicate
review: => 0
status: new => closed

Metadata Update from @pbrezina:
- Issue set to the milestone: SSSD 1.13.1

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

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2747

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