All of lore.kernel.org
 help / color / mirror / Atom feed
From: Herman van Hazendonk <github.com@herrie.org>
To: ofono@lists.linux.dev
Cc: Marius Gripsgard <marius@ubports.com>,
	Andres Salomon <dilinger@queued.net>
Subject: Re: [PATCH] sim: fix use-after-free in open_channel_cb watcher loop
Date: Mon, 30 Nov 2026 17:48:25 +0100	[thread overview]
Message-ID: <20261130164826.1491405-1-github.com@herrie.org> (raw)
In-Reply-To: <0107019e04adf95a-a0e08395-5cda-4937-b142-329901156dcd-000000@eu-central-1.amazonses.com>

LuneOS carries the same change in its oFono. Without it, ofonod crashes
in a loop on a Unihertz Titan Pocket with ofono-binder-plugin as soon as
a SIM with an ISIM application comes up: the plugin fails
session_read_info synchronously, the simfs watcher removes its watch
from inside notify(), and the loop then steps through the freed node.

Tested-by: Herman van Hazendonk <github.com@herrie.org>

      parent reply	other threads:[~2026-11-30 16:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-07 23:02 [PATCH] sim: fix use-after-free in open_channel_cb watcher loop Marius Gripsgard
2026-05-18 22:19 ` Andres Salomon
2026-11-30 16:48 ` Herman van Hazendonk [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=20261130164826.1491405-1-github.com@herrie.org \
    --to=github.com@herrie.org \
    --cc=dilinger@queued.net \
    --cc=marius@ubports.com \
    --cc=ofono@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.