From: Marco Giunta <marco_giunta@outlook.it>
To: rafael@kernel.org
Cc: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-sound@vger.kernel.org, perex@perex.cz,
platform-driver-x86@vger.kernel.org, tiwai@suse.com,
Marco Giunta <marco_giunta@outlook.it>
Subject: Re: [PATCH v1 11/17] ALSA: hda: aw88399: Switch to use acpi_bus_get_primary_device()
Date: Tue, 22 Sep 2026 14:26:47 +0200 [thread overview]
Message-ID: <SN6PR19MB23030375FC66A5E8F4296C9AFC832@SN6PR19MB2303.namprd19.prod.outlook.com> (raw)
In-Reply-To: <2568518.jE0xQCEvom@rafael.j.wysocki>
> From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
>
> Replace acpi_get_first_physical_node() that is slated for removal
> with acpi_bus_get_primary_device() that takes a reference to the
> device it is about to return.
>
> This addresses a potential use-after-free that may occur if the
> device returned by acpi_get_first_physical_node() is removed right
> after dropping its ACPI companion's physical_node_lock in that
> function.
Acked-by: Marco Giunta <marco_giunta@outlook.it>
next prev parent reply other threads:[~2026-09-22 12:29 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 19:45 [PATCH v1 00/17] ACPI: Replace acpi_get_first_physical_node() with acpi_bus_get_primary_device() Rafael J. Wysocki
2026-09-21 19:45 ` [PATCH v1 01/17] ACPI: bus: Use acpi/acpi_bus.h without CONFIG_ACPI Rafael J. Wysocki
2026-09-22 9:50 ` Sudeep Holla
2026-09-22 9:51 ` Rafael J. Wysocki (Intel)
2026-09-21 19:46 ` [PATCH v1 02/17] ACPI: amba: Switch to use acpi_bus_get_primary_device() Rafael J. Wysocki
2026-09-22 6:07 ` Hanjun Guo
2026-09-22 9:51 ` Sudeep Holla
2026-09-21 19:47 ` [PATCH v1 03/17] efi/dev-path-parser: " Rafael J. Wysocki
2026-09-21 19:47 ` [PATCH v1 04/17] iommu/arm-smmu-v3: " Rafael J. Wysocki
2026-09-21 19:48 ` [PATCH v1 05/17] platform/x86: yogabook: " Rafael J. Wysocki
2026-09-22 12:50 ` Ilpo Järvinen
2026-09-22 15:31 ` Hans de Goede
2026-09-22 15:34 ` Mark Pearson
2026-09-21 19:49 ` [PATCH v1 06/17] platform/x86: serdev_helpers: " Rafael J. Wysocki
2026-09-22 12:48 ` Ilpo Järvinen
2026-09-22 16:58 ` Hans de Goede
2026-09-21 19:49 ` [PATCH v1 07/17] platform/x86: apple-gmux: " Rafael J. Wysocki
2026-09-22 16:58 ` Hans de Goede
2026-09-21 19:50 ` [PATCH v1 08/17] platform/x86: x86-android-tablets: Use acpi_bus_get_primary_device() Rafael J. Wysocki
2026-09-22 12:46 ` Ilpo Järvinen
2026-09-22 16:59 ` Hans de Goede
2026-09-21 19:51 ` [PATCH v1 09/17] thunderbolt: Switch to use acpi_bus_get_primary_device() Rafael J. Wysocki
2026-09-22 14:30 ` Mika Westerberg
2026-09-21 19:51 ` [PATCH v1 10/17] ALSA: hda: cs35l41: " Rafael J. Wysocki
2026-09-21 19:52 ` [PATCH v1 11/17] ALSA: hda: aw88399: " Rafael J. Wysocki
2026-09-22 12:26 ` Marco Giunta [this message]
2026-09-21 19:53 ` [PATCH v1 12/17] ALSA: hda: tas2781: " Rafael J. Wysocki
2026-09-21 19:53 ` [PATCH v1 13/17] ASoC: amd: acp-es8336: " Rafael J. Wysocki
2026-09-22 8:19 ` Mark Brown
2026-09-21 19:54 ` [PATCH v1 14/17] ASoC: amd: acp3x-es83xx: " Rafael J. Wysocki
2026-09-22 8:19 ` Mark Brown
2026-09-21 19:55 ` [PATCH v1 15/17] ASoC: intel: boards: " Rafael J. Wysocki
2026-09-22 8:02 ` Cezary Rojewski
2026-09-22 8:20 ` Mark Brown
2026-09-21 19:55 ` [PATCH v1 16/17] ASoC: loongson: " Rafael J. Wysocki
2026-09-22 8:20 ` Mark Brown
2026-09-21 19:56 ` [PATCH v1 17/17] ACPI: bus: Drop acpi_get_first_physical_node() Rafael J. Wysocki
2026-09-22 9:53 ` Sudeep Holla
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=SN6PR19MB23030375FC66A5E8F4296C9AFC832@SN6PR19MB2303.namprd19.prod.outlook.com \
--to=marco_giunta@outlook.it \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=tiwai@suse.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
all inboxes | Powered by JetHome®