PT-2026-148153
CVE-2026-99309
·
Publicado
2026-11-16
·
Atualizado
2026-11-16
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix overflow in dacloffset bounds check in build sec desc()
When the large dacl offset is provided, dacl offset + sizeof(struct
smb acl) overflows on 32-bit builds and the check is passed,
Which makes le16 to cpu(ppdacl ptr->size) read out-of-bounds. This
only happens for dacl offset in range [0xFFFFFFF8, 0xFFFFFFFF]. So
the oob read is max 8 bytes preceding the allocated ppntsd.
unsigned int dacl offset = le32 to cpu(ppntsd->dacloffset);
int ppdacl size, ntacl size = ppntsd size - dacl offset;
if (!dacl offset ||
(dacl offset + sizeof(struct smb acl) > ppntsd size))
goto out;
Commit beff0bc9d69b ("ksmbd: fix overflow in dacloffset bounds check")
fixes similar checks in other functions. But leaves this one out,
because it is only valid for 32-bit builds.
Reproduced on 32-bit ARM with KASAN, by a client sending SMB2
SET INFO(SEC) with dacloffset=0xfffffff8, then QUERY INFO(SEC) on the
same file:
BUG: KASAN: slab-out-of-bounds in build sec desc (fs/smb/server/smbacl.c:1105)
Read of size 2 at addr c2a273fa by task kworker/1:1/35
CPU: 1 UID: 0 PID: 35 Comm: kworker/1:1 Not tainted 7.3.0-rc2+ #5
Workqueue: ksmbd-io handle ksmbd work
Call trace:
kasan check range from build sec desc (fs/smb/server/smbacl.c:1105)
build sec desc from smb2 query info (fs/smb/server/smb2pdu.c:7676)
smb2 query info from handle ksmbd work (fs/smb/server/server.c:160)
handle ksmbd work from process one work (kernel/workqueue.c:3401)
process one work from worker thread (kernel/workqueue.c:3473)
worker thread from kthread (kernel/kthread.c:436)
Add overflow check.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾