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

Tudor Ambarus posted 3 patches 2 years, 8 months ago
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(-)
[PATCH][stable-4.{14,19}.y 0/3] net: cdc_ncm: Backport fixes
Posted by Tudor Ambarus 2 years, 8 months ago
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
Re: [PATCH][stable-4.{14,19}.y 0/3] net: cdc_ncm: Backport fixes
Posted by Greg KH 2 years, 8 months ago
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