Re: [PATCH] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl

2024-11-11 Thread kernel test robot
429.9861-1-surajsonawane0215%40gmail.com patch subject: [PATCH] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl config: x86_64-kexec (https://download.01.org/0day-ci/archive/2024/20242349.khm9zvdj-...@intel.com/config) compiler: clang version 19.1.3 (https://github.com/llvm/ll

Re: [PATCH] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl

2024-11-11 Thread kernel test robot
429.9861-1-surajsonawane0215%40gmail.com patch subject: [PATCH] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl config: x86_64-kexec (https://download.01.org/0day-ci/archive/2024/20242001.oekx45gr-...@intel.com/config) compiler: clang version 19.1.3 (https://github.com/llvm/ll

[PATCH] acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl

2024-11-11 Thread Suraj Sonawane
Fix an issue detected by syzbot with KASAN: BUG: KASAN: vmalloc-out-of-bounds in cmd_to_func drivers/acpi/nfit/ core.c:416 [inline] BUG: KASAN: vmalloc-out-of-bounds in acpi_nfit_ctl+0x20e8/0x24a0 drivers/acpi/nfit/core.c:459 The issue occurs in `cmd_to_func` when the `call_pkg->nd_reserved2` arr