[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174731092440.350483.15391857686536607897.b4-ty@kernel.org>
Date: Thu, 15 May 2025 14:08:44 +0200
From: Mark Brown <broonie@...nel.org>
To: linux-sound@...r.kernel.org, Tavian Barnes <tavianator@...ianator.com>
Cc: Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Daniel Baluta <daniel.baluta@....com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.dev>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Peter Zijlstra <peterz@...radead.org>, sound-open-firmware@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5] ASoC: SOF: Intel: hda: Fix UAF when reloading
module
On Wed, 14 May 2025 09:37:49 -0400, Tavian Barnes wrote:
> hda_generic_machine_select() appends -idisp to the tplg filename by
> allocating a new string with devm_kasprintf(), then stores the string
> right back into the global variable snd_soc_acpi_intel_hda_machines.
> When the module is unloaded, this memory is freed, resulting in a global
> variable pointing to freed memory. Reloading the module then triggers
> a use-after-free:
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: SOF: Intel: hda: Fix UAF when reloading module
commit: 7dd7f39fce0022b386ef1ea5ffef92ecc7dfc6af
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
Powered by blists - more mailing lists