Bug 1251366
Summary: | dleyna-renderer: Crashes due to double-free when destroying the same dlr_upnp_t twice | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steven Newbury <steve> | ||||||||||||||||||||||||||
Component: | dleyna-renderer | Assignee: | Debarshi Ray <debarshir> | ||||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||
Version: | 24 | CC: | code, debarshir, debugger94, joe, mcatanzaro+wrong-account-do-not-cc, oded | ||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||
Hardware: | x86_64 | ||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||
URL: | https://retrace.fedoraproject.org/faf/reports/bthash/754431aa8073ed359a75bb04019f3c9e04e06f51 | ||||||||||||||||||||||||||||
Whiteboard: | abrt_hash:dc3e1c78f8895ccc2a8bc57aa4b51efa36f5c372 | ||||||||||||||||||||||||||||
Fixed In Version: | dleyna-renderer-0.5.0-5.fc25 dleyna-renderer-0.5.0-5.fc24 dleyna-renderer-0.5.0-4.fc23 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||
Last Closed: | 2016-09-26 00:20:34 UTC | Type: | --- | ||||||||||||||||||||||||||
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
Steven Newbury
2015-08-07 06:24:07 UTC
Created attachment 1060215 [details]
File: backtrace
Created attachment 1060216 [details]
File: cgroup
Created attachment 1060217 [details]
File: core_backtrace
Created attachment 1060218 [details]
File: dso_list
Created attachment 1060219 [details]
File: environ
Created attachment 1060220 [details]
File: limits
Created attachment 1060221 [details]
File: maps
Created attachment 1060222 [details]
File: mountinfo
Created attachment 1060223 [details]
File: namespaces
Created attachment 1060224 [details]
File: open_fds
Created attachment 1060225 [details]
File: proc_pid_status
Created attachment 1060226 [details]
File: var_log_messages
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase *** Bug 1134358 has been marked as a duplicate of this bug. *** *** Bug 1299104 has been marked as a duplicate of this bug. *** *** Bug 1357281 has been marked as a duplicate of this bug. *** *** Bug 1253007 has been marked as a duplicate of this bug. *** The problem here is two-fold. First, prv_control_point_stop_service in dleyna-renderer doesn't NULLify the dlr_upnp_t pointer after destroying it, which leaves it vulnerable to double free. Filed as: https://github.com/01org/dleyna-renderer/pull/160 Second, dleyna-core schedules dleyna_task_processor_t->on_quit_cb more than once. The dleyna-renderer code is not ready for this (see above), and hits a double free. Ideally, on_quit_cb handler shouldn't be invoked twice. Filed as: https://github.com/01org/dleyna-core/pull/48 *** Bug 1253072 has been marked as a duplicate of this bug. *** *** Bug 1301746 has been marked as a duplicate of this bug. *** *** Bug 1301249 has been marked as a duplicate of this bug. *** (In reply to Debarshi Ray from comment #18) > The problem here is two-fold. > > First, prv_control_point_stop_service in dleyna-renderer doesn't NULLify the > dlr_upnp_t pointer after destroying it, which leaves it vulnerable to double > free. Filed as: https://github.com/01org/dleyna-renderer/pull/160 > > Second, dleyna-core schedules dleyna_task_processor_t->on_quit_cb more than > once. The dleyna-renderer code is not ready for this (see above), and hits a > double free. Ideally, on_quit_cb handler shouldn't be invoked twice. Filed > as: https://github.com/01org/dleyna-core/pull/48 Let's wait for some upstream reviews before we add these to Fedora. dleyna-renderer-0.5.0-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c4cc484e18 dleyna-core-0.5.0-4.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8b47d28f07 dleyna-renderer-0.5.0-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c0573a805d dleyna-core-0.5.0-3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d3927e6a71 dleyna-renderer-0.5.0-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-83b2fee0aa dleyna-core-0.5.0-4.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-603b9f4445 dleyna-core-0.5.0-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. dleyna-renderer-0.5.0-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. dleyna-core-0.5.0-4.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. dleyna-renderer-0.5.0-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. dleyna-renderer-0.5.0-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. dleyna-core-0.5.0-3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |