Re: [PATCH 2/2] ksmbd: add AES-GMAC signing support
From: mixalhs
Date: Tue Nov 03 2026 - 12:58:32 EST
Hi Ian,
Thank you for the careful analysis and the reproducer.
You’re right: in the multichannel branch of smb2_sess_setup() the binding
request is never verified with Session.SigningKey, and with AES-GMAC t
hat turns the existing signing oracle into nonce reuse.
Namjae, please don’t apply this version. I was unaware of this.
I’ll send a v2 that first verifies binding requests with the session signing
key before they are processed or any response is signed with it, and
check whether legitimate binding can also reuse a nonce under
the session key.
Thanks,
Michalis