Re: [PATCH 0/2] listns(): validate the reserved spare2 field

From: Christian Brauner

Date: Tue Dec 01 2026 - 08:23:38 EST


On Sat, 28 Nov 2026 17:06:21 +0300, Nikolai Dokutovich wrote:
> copy_ns_id_req() rejects a non-zero @spare but not @spare2, although
> struct ns_id_req documents both as reserved. Validate @spare2 the same
> way, and extend the error-case selftest to cover it instead of only
> @spare.
>
> Nikolai Dokutovich (2):
> nstree: reject a non-zero spare2 in the listns() request
> selftests/namespaces: check that listns() rejects a non-zero spare2
>
> [...]

Applied to the vfs-7.5.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.5.misc

[1/2] nstree: reject a non-zero spare2 in the listns() request
https://git.kernel.org/vfs/vfs/c/c2ce25205649
[2/2] selftests/namespaces: check that listns() rejects a non-zero spare2
https://git.kernel.org/vfs/vfs/c/968e23372255