From: Marcel Holtmann <marcel@holtmann.org>
To: Grant Erickson <gerickson@nuovations.com>
Cc: connman@lists.linux.dev
Subject: Re: [PATCH 0/6] Fix Segfault from Time Services on Service Removal
Date: Tue, 7 Nov 2023 16:39:01 +0100 [thread overview]
Message-ID: <D2DF90DC-0FE3-4A8F-913B-EC42BACC9B1F@holtmann.org> (raw)
In-Reply-To: <EA3460D2-744F-4DED-9284-0AC453189BAC@nuovations.com>
Hi Grant,
> This patch series fixes a heap-use-after-free fault in connman_service_get_nameservers on service removal by:
>
> 1. Qualifying the call to ‘__connman_timeserver_sync' in ‘__connman_service_ipconfig_indicate_state' with a ‘is_connected' conditional.
> 2. Converting the semantics of the ts_service private global in src/timeservice.c from a weak reference (that is, it uses simple assignment) to a strong reference (that is, it uses 'connman_service_{ref,unref}’ plus assignment).
all 6 patches have been applied.
Regards
Marcel
prev parent reply other threads:[~2023-11-07 15:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-02 2:45 [PATCH 0/6] Fix Segfault from Time Services on Service Removal Grant Erickson
2023-11-02 3:19 ` [PATCH 1/6] Log the service identifer in service_free Grant Erickson
2023-11-02 3:20 ` [PATCH 2/6] timeserver: Expand service debug logging Grant Erickson
2023-11-02 3:20 ` [PATCH 3/6] Qualify request to time-of-day sync with connected check Grant Erickson
2023-11-02 3:20 ` [PATCH 4/6] timeserver: Convert ts_service from a weak to a strong reference Grant Erickson
2023-11-02 3:21 ` [PATCH 5/6] timeservice: Add function documentation for 'ts_reset' Grant Erickson
2023-11-02 3:21 ` [PATCH 6/6] timeservice: Add function documentation for '__connman_timeserver_sync' Grant Erickson
2023-11-07 15:39 ` Marcel Holtmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D2DF90DC-0FE3-4A8F-913B-EC42BACC9B1F@holtmann.org \
--to=marcel@holtmann.org \
--cc=connman@lists.linux.dev \
--cc=gerickson@nuovations.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).