[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <177051564499.3805738.14840607971686063797.b4-ty@oracle.com>
Date: Sat, 7 Feb 2026 21:01:48 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Peter Wang <peter.wang@...iatek.com>,
Chaotian Jing <chaotian.jing@...iatek.com>,
Keita Morisaki <keita.morisaki@...r4.jp>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Stanley Jhu <chu.stanley@...il.com>,
"James E . J . Bottomley" <James.Bottomley@...senPartnership.com>,
linux-scsi@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: ufs: mediatek: Fix page faults in ufs_mtk_clk_scale trace event
On Mon, 02 Feb 2026 11:45:26 +0900, Keita Morisaki wrote:
> The ufs_mtk_clk_scale trace event currently stores the address of the
> name string directly via __field(const char *, name). This pointer may
> become invalid after the module is unloaded, causing page faults when
> the trace buffer is subsequently accessed.
>
> This can occur because the MediaTek UFS driver can be configured as a
> loadable module (tristate in Kconfig), meaning the name string passed
> to the trace event may reside in module memory that becomes invalid
> after module unload.
>
> [...]
Applied to 6.20/scsi-queue, thanks!
[1/1] scsi: ufs: mediatek: Fix page faults in ufs_mtk_clk_scale trace event
https://git.kernel.org/mkp/scsi/c/9672ed3de7d7
--
Martin K. Petersen
Powered by blists - more mailing lists