diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-04-09 14:01:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-19 15:31:41 +0200 |
commit | 0c57aa8ef94cffc5c2d68230e19329a03e71a94f (patch) | |
tree | 50b7d4fc99934e06eb73ecd530698a5016c30c59 /mm/page_alloc.c | |
parent | 827ff610afbb5d9d8d8743bc82d3c10a778f22e4 (diff) |
wifi: ath12k: Fix buffer overflow in debugfs
[ Upstream commit 8c7a5031a6b0d42e640fbd2d5d05f61f74e32dce ]
If the user tries to write more than 32 bytes then it results in memory
corruption. Fortunately, this is debugfs so it's limited to root users.
Fixes: 3f73c24f28b3 ("wifi: ath12k: Add support to enable debugfs_htt_stats")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/35daefbd-d493-41d9-b192-96177d521b40@stanley.mountain
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions