aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-raid.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2025-09-08 13:52:02 +0000
committerMikulas Patocka <[email protected]>2025-09-08 13:57:04 +0000
commit77b8e6fbf9848d651f5cb7508f18ad0971f3ffdb (patch)
tree358722f4a97ea5653633fb2ae8d220910190188f /drivers/md/dm-raid.c
parentdm-stripe: fix a possible integer overflow (diff)
downloadkernel-77b8e6fbf9848d651f5cb7508f18ad0971f3ffdb.tar.gz
kernel-77b8e6fbf9848d651f5cb7508f18ad0971f3ffdb.zip
dm-integrity: limit MAX_TAG_SIZE to 255
MAX_TAG_SIZE was 0x1a8 and it may be truncated in the "bi->metadata_size = ic->tag_size" assignment. We need to limit it to 255. Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions