On Fri, 27 Feb 2026 at 14:03, Bruce Richardson
<[email protected]> wrote:
>
> When computing the offset inside the overall hash structure by adding an
> offset to a base pointer, the offset was generally calculated by
> multiplying two 32-bit values, which could then overflow. Prevent
> overflow by using (size_t) casts on the elements being multiplied to
> ensure they are 64-bit on 64-bit systems.
>
> Fixes: b26473ff8f4a ("hash: add reset function")
> Fixes: 406da3dfb3b5 ("hash: move duplicated code into functions")
> Fixes: 9eca8bd7a61c ("hash: separate lock-free and r/w lock lookup")
> Fixes: 4d9ca3ed2133 ("hash: use ordered loads only if signature matches")
> Fixes: 769b2de7fb52 ("hash: implement RCU resources reclamation")
> Fixes: e605a1d36ca7 ("hash: add lock-free r/w concurrency")
> Fixes: 6dc34e0afe7a ("hash: retrieve a key given its position")
> Fixes: f9edbc9bb6bc ("hash: add iterate function")
> Fixes: 75706568a7eb ("hash: add extendable bucket feature")
> Cc: [email protected]
>
> Signed-off-by: Bruce Richardson <[email protected]>
> Acked-by: Morten Brørup <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to