]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dm vdo indexer: validate saved zone count
authorMatthew Sakai <msakai@redhat.com>
Wed, 11 Feb 2026 15:05:54 +0000 (10:05 -0500)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 2 Mar 2026 15:37:43 +0000 (16:37 +0100)
commit9e809bb1defe9be7fed2e21552c6b03b2694394d
tree2b3492bf235eae374cef3587334f2625ca87ba11
parent11439c4635edd669ae435eec308f4ab8a0804808
dm vdo indexer: validate saved zone count

Verify that the loaded zone count is in the valid range
before using it as a loop iterator.

Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-vdo/indexer/index-layout.c