[PATCH v2 0/2] nvmet: fix stale log page data and a ZNS Identify error
Keith Busch
kbusch at kernel.org
Fri Nov 6 10:43:07 PST 2026
On Fri, 6 Nov 2026 23:00:13 +0800 (CST), shao.mingyin at zte.com.cn wrote:
> This is v2 of the two-patch series. Patch 1 now follows Christoph's
> suggestion to zero the whole transfer buffer instead of only the unused
> tail, and both commit messages are shorter.
>
> Patch 1 zeroes the entire Get Log Page transfer buffer before filling
> it, so a host that requests more bytes than the fixed structure no
> longer receives stale kernel memory. The Error log also clamps its
> ring walk to the requested length instead of relying on a zeroed tail.
> Patch 2 returns the namespace lookup error for a ZNS Identify on a
> missing namespace instead of overwriting it with a successful copy.
>
> [...]
Thanks, applied to nvme-7.4.
[1/2] nvmet: zero the entire Get Log Page transfer buffer
commit: ad606ae5635b68e324005aaa06421be752619dab
[2/2] nvmet: zns: return the namespace lookup error for Identify
commit: 687f3014afcd5826fa3d8f40b445f647b5a379b6
--
Keith Busch <kbusch at kernel.org>
More information about the Linux-nvme
mailing list