[krbdev.mit.edu #9215] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Mon Jun 22 17:43:15 EDT 2026
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9215 >
Fix DB2 hash bitmap page count validation
In __kdb2_hash_open(), bpages is computed from the hash file header
and then used as the size argument when clearing hashp->mapp. The
mapp array has only NCACHED entries, so a malformed hash database can
cause memset() to write past the end of the array. Return EFTYPE if
the computed bitmap page count is negative or greater then NCACHED.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
https://github.com/krb5/krb5/commit/1e12220dc3609cfbe0b9662a8fa8b18143fa3e7f
Author: Bogdan Boguslavskij <bogdanb at altlinux.org>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 1e12220dc3609cfbe0b9662a8fa8b18143fa3e7f
Branch: master
src/plugins/kdb/db2/libdb2/hash/hash.c | 3 +++
1 file changed, 3 insertions(+)
More information about the krb5-bugs
mailing list