Bug 1930535
| Summary: | [abrt] [faf] sssd: monitor_service_shutdown(): /usr/sbin/sssd killed by 11 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Steeve Goveas <sgoveas> | ||||
| Component: | sssd | Assignee: | Alexey Tikhonov <atikhono> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Steeve Goveas <sgoveas> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 8.4 | CC: | atikhono, ddas, dlavu, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, tscherf | ||||
| Target Milestone: | rc | Keywords: | Triaged | ||||
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://faf.lab.eng.brq.redhat.com/faf/reports/bthash/d41e23acdb73f15bb85975144c7d7de04afa9e2d/ | ||||||
| Whiteboard: | sync-to-jira | ||||||
| Fixed In Version: | sssd-2.5.0-1.el8 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-11-09 19:47:00 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: | |||||||
| Attachments: |
|
||||||
|
Description
Steeve Goveas
2021-02-19 05:41:37 UTC
#0 0x00005598c44aaa7c in monitor_service_shutdown (svc=0x5598c53d20e0) at src/monitor/monitor.c:2151
#1 0x00007f9951e0c682 in n (conn=conn@entry=0x5598c5386770) at src/sbus/connection/sbus_connection.c:78
#2 0x00007f99517d4d10 in _tc_free_internal (location=0x7f99517dbed5 "../../talloc.c:440", tc=0x5598c5386710) at ../../talloc.c:1157
...
#17 0x00007f99517da390 in talloc_lib_atexit () at ../../talloc.c:440
#18 0x00007f9950ed2b0c in __run_exit_handlers () from /lib64/libc.so.6
#19 0x00007f9950ed2c40 in exit () from /lib64/libc.so.6
#20 0x00005598c44ac781 in monitor_quit (ret=0, mt_ctx=<optimized out>) at src/monitor/monitor.c:1473
#21 0x00005598c44ad078 in monitor_quit_signal (ev=<optimized out>, se=<optimized out>, signum=15, count=<optimized out>, siginfo=<optimized out>,
private_data=<optimized out>) at src/monitor/monitor.c:1490
#22 0x00007f99519eb666 in tevent_common_invoke_signal_handler (se=se@entry=0x5598c5374fd0, signum=signum@entry=15, count=count@entry=1,
siginfo=siginfo@entry=0x0, removed=removed@entry=0x0) at ../../tevent_signal.c:370
(gdb) frame
#0 0x00005598c44aaa7c in monitor_service_shutdown (svc=0x5598c53d20e0) at src/monitor/monitor.c:2151
2151 ctx->num_services--;
(gdb) p ctx
$1 = (struct mt_ctx *) 0x0
https://github.com/SSSD/sssd/blob/95adf488f94f5968f6cfba9e3bef74c07c02ccff/src/monitor/monitor.c#L1599 :
```
/* zero out references in SVCs so that they don't try
* to access the monitor context on process shutdown */
for (svc = mon->svc_list; svc; svc = svc->next) {
svc->mt_ctx = NULL;
}
```
Pushed PR: https://github.com/SSSD/sssd/pull/5599 * `master` * 38905cac4b67f0e4c4b0f59af9ea7474482f088e - monitor: avoid NULL deref in monitor_service_shutdown( 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 (sssd bug fix and enhancement 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/RHBA-2021:4435 |