mbox series

[stable-4.{14,19}.y,0/3] net: cdc_ncm: Backport fixes

Message ID 20230605122045.2455888-1-tudor.ambarus@linaro.org
Headers show
Series net: cdc_ncm: Backport fixes | expand

Message

Tudor Ambarus June 5, 2023, 12:20 p.m. UTC
Backport patches in order to fix the kernel bug reported at:
Link: https://syzkaller.appspot.com/bug?extid=b982f1059506db48409d

Alexander's patches are prerequisites for the last. I made sure there
are no other fixes in torvalds/master for the prerequisite patches.
Compile tested. Intended for stable/linux-4.{14,19}.y.

Alexander Bersenev (2):
  cdc_ncm: Implement the 32-bit version of NCM Transfer Block
  cdc_ncm: Fix the build warning

Tudor Ambarus (1):
  net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize

 drivers/net/usb/cdc_ncm.c        | 435 ++++++++++++++++++++++++-------
 drivers/net/usb/huawei_cdc_ncm.c |   8 +-
 include/linux/usb/cdc_ncm.h      |  15 +-
 3 files changed, 355 insertions(+), 103 deletions(-)

Comments

Greg KH June 7, 2023, 6:15 p.m. UTC | #1
On Mon, Jun 05, 2023 at 12:20:42PM +0000, Tudor Ambarus wrote:
> Backport patches in order to fix the kernel bug reported at:
> Link: https://syzkaller.appspot.com/bug?extid=b982f1059506db48409d
> 
> Alexander's patches are prerequisites for the last. I made sure there
> are no other fixes in torvalds/master for the prerequisite patches.
> Compile tested. Intended for stable/linux-4.{14,19}.y.
> 
> Alexander Bersenev (2):
>   cdc_ncm: Implement the 32-bit version of NCM Transfer Block
>   cdc_ncm: Fix the build warning
> 
> Tudor Ambarus (1):
>   net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
> 
>  drivers/net/usb/cdc_ncm.c        | 435 ++++++++++++++++++++++++-------
>  drivers/net/usb/huawei_cdc_ncm.c |   8 +-
>  include/linux/usb/cdc_ncm.h      |  15 +-
>  3 files changed, 355 insertions(+), 103 deletions(-)
> 
> -- 
> 2.41.0.rc0.172.g3f132b7071-goog
> 

All now queued up, thanks.

greg k-h