Files
android_kernel_xiaomi_sm8450/fs/nfs
Trond Myklebust 15feece7af NFSv4.2: Fix a memory stomp in decode_attr_security_label
[ Upstream commit 43c1031f7110967c240cb6e922adcfc4b8899183 ]

We must not change the value of label->len if it is zero, since that
indicates we stored a label.

Fixes: b4487b9354 ("nfs: Fix getxattr kernel panic and memory overflow")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-14 10:15:33 +01:00
..
2020-05-27 10:10:12 -04:00
2019-02-20 15:14:21 -05:00
2015-04-23 15:16:14 -04:00
2020-06-11 13:33:48 -04:00