summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-09-01 22:45:27 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-09-01 22:45:27 +0900
commit1c4326e7d8305389c5ee7d15127b33da2f3ec98a (patch)
tree8a3d0c5ed6a7ac2f5a443b976abf3012055b477e /rust/kernel/alloc/kvec/errors.rs
parent7b9011c209e85cd1593dc0a21be844bfbdced3bb (diff)
firewire: core: add test to avoid excessive configuration ROM length
The configuration ROM parser needs to handle malformed ROM contents safely. In particular, malformed directory and leaf offsets and block lengths should not result in accesses beyond the available configuration ROM data. Add a KUnit test with malformed configuration ROM content to verify that the parser sanitizes entries that would cause accesses beyond the available configuration ROM data. Reported-by: Aleksandr Shabelnikov <mistermidi@gmail.com> Link: https://lore.kernel.org/lkml/20250901171547.47065-1-mistermidi@gmail.com/ Link: https://lore.kernel.org/r/20260901134534.2386577-7-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions