[RFC PATCH v2 14/41] nfsd: don't hand out uid 0 for read layouts of UUID-owned files
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Thu Oct 22 03:17:37 UTC 2026
> Read-only flexfile layout segments use the owner's uid plus one, so the
> client gets no write access on the data server. For a UUID or GUID
> owner from_kuid() is -1 and the "plus one" makes it 0, root. Use the
> overflow uid for them instead.
>
> Assisted-by: Claude:claude-opus-5-5
>
> Signed-off-by: Jan Koester <jan.koester at tuxist.de>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1792552161.git.jan.koester@tuxist.de?part=14
More information about the Linux-security-module-archive
mailing list