mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-18 01:23:36 -04:00
We could allocate less memory than intended because we do:
bnad->regdata = kzalloc(len << 2, GFP_KERNEL);
The shift can overflow leading to a crash. This is debugfs code so the
impact is very small.
Fixes:
|
||
---|---|---|
.. | ||
bna | ||
Kconfig | ||
Makefile |