-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sssd crashes with hardened_malloc in ld preload #98
Comments
The corresponding bugzilla ticket is https://bugzilla.redhat.com/show_bug.cgi?id=1761232 |
Most issues like this are upstream memory corruption bugs uncovered by hardened_malloc. It uncovers latent memory corruption bugs as part of mitigating exploitation. However, in this case, I see |
When using jemalloc, sssd works. I'm getting some SELinux errors regarding unix_chkpwd instead... |
In the RPM spec file of the failing library, I see a dependency to library called 'talloc'. See libldb.spec.txt. |
By the way; This is the method I'm using to replace the malloc/free calls:
The library is compiled with all settings to their defaults, using the latest version on master. |
I ran the application with
The output is attached sssdtest.tar.gz. Edit: |
@mike2307 Is this still an issue? |
@thestinger |
@mike2307 Can you try with v6 of hardened_malloc? There have been various little fixes over time since I last asked. |
@thestinger: |
sssd on fedora 31 reports a segementation fault when running with lib hardened malloc.
Package version: sssd-common-2.2.2-1.fc31
Crashing function: ldb_kv_dn_list_load
Stack trace:
The text was updated successfully, but these errors were encountered: