In the Linux kernel, the following vulnerability has been resolved: soundwire: qcom: fix storing port config out-of-bounds The 'qcomswrmctrl->pconfig' has size of QCOMSDWMAXPORTS (14), however we index it starting from 1, not 0, to match real port numbers. This can lead to writing port config past 'pconfig' bounds and overwriting next member of 'qcomswrmctrl' struct. Reported also by smatch: drivers/soundwire/qcom.c:1269 qcomswrmgetport_config() error: buffer overflow 'ctrl->pconfig' 14 <= 14