sssd NULL dereference in monitor_service_shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sssd (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
New
|
Undecided
|
Unassigned |
Bug Description
sssd may intermittently crash on shutdown due to a NULL pointer dereference in src/monitor/
Core was generated by `/usr/sbin/sssd -i --logger=files'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000056546b6ac93c in monitor_
2134 ctx->num_
(gdb) frame
#0 0x000055647890b93c in monitor_
2134 ctx->num_
(gdb) p ctx
$1 = (struct mt_ctx *) 0x0
This is Ubuntu 20.04.4:
$ lsb_release -rd
Description: Ubuntu 20.04.4 LTS
Release: 20.04
It occurs in sssd-2.
$ apt-cache policy sssd
sssd:
Installed: (none)
Candidate: 2.2.3-3ubuntu0.8
Version table:
2.
500 http://
500 http://
2.2.3-3 500
500 http://
The struct mt_ctx pointer at line 2134 of monitor.c may be set to NULL elsewhere in the code (specifically, in monitor_
This still appears to be unfixed in the latest (2.2.3-3ubuntu0.9, focal-proposed) package. It was fixed upstream in sssd 2.5.2 via this commit: https:/
I've attached a patch that implements the upstream fix in 2.2.3-3ubuntu0.8.
The attachment "Backported patch from sssd 2.5.2" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]