On Wed, Sep 9, 2026 at 7:30 AM <[email protected]> wrote: > > From: Pavan Nikhilesh <[email protected]> > > The devargs parsing helpers wrote to the parameter structure for as > long as tokens remained, so supplying more tokens than expected > overflowed the fixed-size structures. Bound each loop to the > structure size and reject input that contains extra tokens. > > Likewise, cnxk_sso_xstats_get() and cnxk_sso_xstats_reset() indexed > the xstats array with caller-supplied IDs that were never validated, > so out-of-range IDs could access past the array. Skip any ID that > falls outside the valid range. > > cnxk_tim_add_entry_tmo_hwwqe() used cnt as a count of LMT lines, not > timers, when computing the remainder, so nb_timers >= 8 wrote past > the LMT line. Convert cnt to a timer count first. > > Fixes: 38c2e3240ba8 ("event/cnxk: add option to control SSO HWGRP QoS") > Fixes: 20345cbda6d3 ("event/cnxk: support WQE stashing") > Fixes: b5a52c9d97e2 ("event/cnxk: add event port and queue xstats") > Fixes: 8a3d58c189fd ("event/cnxk: add option to control timer adapters") > Fixes: 822d4ef519f6 ("event/cnxk: add CN20K timer adapter") > Cc: [email protected] > > Signed-off-by: Pavan Nikhilesh <[email protected]>
Series applied to dpdk-next-net-eventdev/for-main. Thanks

