diff options
author | 2024-11-30 16:56:14 +0100 | |
---|---|---|
committer | 2024-12-04 19:45:28 -0600 | |
commit | 06a025448b572c3bd78dd23a31488a0907cd9512 (patch) | |
tree | 8eeeb25b31c175a126a46b3a048522d1aa1fedcb /scripts/lib/kdoc/kdoc_files.py | |
parent | ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write (diff) | |
download | linux-rng-06a025448b572c3bd78dd23a31488a0907cd9512.tar.xz linux-rng-06a025448b572c3bd78dd23a31488a0907cd9512.zip |
ksmbd: align aux_payload_buf to avoid OOB reads in cryptographic operations
The aux_payload_buf allocation in SMB2 read is performed without ensuring
alignment, which could result in out-of-bounds (OOB) reads during
cryptographic operations such as crypto_xor or ghash. This patch aligns
the allocation of aux_payload_buf to prevent these issues.
(Note that to add this patch to stable would require modifications due
to recent patch "ksmbd: use __GFP_RETRY_MAYFAIL")
Signed-off-by: Norbert Szetei <norbert@doyensec.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions