diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-01 22:45:27 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-03 08:59:08 +0900 |
| commit | f8e5070bf292c9ede445bd2d4c757e6a989d22c4 (patch) | |
| tree | 69635e7bae6dfe482f8f37d1a4f0173d8fb2c8c0 /scripts/Makefile.thinlto | |
| parent | a5be1e47f943190d2141e302e895884473fa06de (diff) | |
| download | linux-next-f8e5070bf292c9ede445bd2d4c757e6a989d22c4.tar.gz linux-next-f8e5070bf292c9ede445bd2d4c757e6a989d22c4.zip | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
