Re: [PATCH] wifi: ath9k: add range check for epid in htc_issue_send()
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2026-01-30 13:25:11
Also in:
linux-wireless, lkml
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2026-01-30 13:25:11
Also in:
linux-wireless, lkml
On Fri, 2026-01-30 at 13:59 +0100, Aleksandr Nesterenko wrote:
While htc_connect_service() now validates the endpoint ID before storing it, htc_issue_send() can still receive invalid epid values from callers such as htc_send() and htc_send_epid().
I'm not convinced, what makes you think so? Arguably, even the prior fix was somewhat confusing, because it used the ENDPOINT_MAX value as an indicator that the response wasn't success, could have checked that more explicitly. (And why did you send the same thing three times in 6 minutes?!) johannes