[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <pef6rt4ggd2gizakr7kqr2p4yn5mh6rqlqojuwx3gaoiexycxi@bzgezdja3pst>
Date: Thu, 3 Jul 2025 02:16:48 +0530
From: Brahmajit Das <listout@...tout.xyz>
To: Nathan Chancellor <nathan@...nel.org>
Cc: linux-hardening@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-btrfs@...r.kernel.org, clm@...com, josef@...icpanda.com, dsterba@...e.com,
kees@...nel.org, ailiop@...e.com, mark@...mstone.com,
David Sterba <dsterba@...e.cz>, Brahmajit Das <bdas@...e.de>
Subject: Re: [PATCH v4] btrfs: replace deprecated strcpy with strscpy
On 02.07.2025 11:27, Nathan Chancellor wrote:
> Hi Brahmajit,
>
> On Fri, Jun 20, 2025 at 10:19:57PM +0530, Brahmajit Das wrote:
... snip ...
>
> It looks like the offset_in_page(buf) part of the WARN() in
> sysfs_emit() gets triggered with this, presumably because kmalloc()
> returns something that is not page aligned like sysfs_emit() requires?
>
> Cheers,
> Nathan
Hey Nathan, thanks for reporting this. From the QEMU logs this looks
like on ARM64. Unfortunately I didn't boot test on arm due to not having
the hardware. I'll setup a qemu test env. for ARM and get back.
Sorry I'm new to kernel development.
--
Regards,
listout
Powered by blists - more mailing lists