Re: [PATCH] wifi: ath12k: Fix buffer overflow in debugfs

From: Vasanthakumar Thiagarajan
Date: Thu Apr 10 2025 - 13:24:31 EST




On 4/9/2025 4:31 PM, Dan Carpenter wrote:
If the user tries to write more than 32 bytes then it results in memory
corruption. Fortunately, this is debugfs so it's limitted to root users.

Fixes: 3f73c24f28b3 ("wifi: ath12k: Add support to enable debugfs_htt_stats")
Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Thanks for the fix!

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@xxxxxxxxxxxxxxxx>