ACK: [SRU][F][PATCH 0/1] CVE-2022-48938
Guoqing Jiang
guoqing.jiang at canonical.com
Fri Oct 25 01:02:12 UTC 2024
Acked-by: Guoqing Jiang <guoqing.jiang at canonical.com>
On 10/25/24 06:06, Bethany Jamison wrote:
> [Impact]
>
> A broken device may give an extreme offset like 0xFFF0
> and a reasonable length for a fragment. In the sanity
> check as formulated now, this will create an integer
> overflow, defeating the sanity check. Both offset
> and offset + len need to be checked in such a manner
> that no overflow can occur.
> And those quantities should be unsigned.
>
> [Fix]
>
> Noble: not-affected
> Jammy: not-affected
> Focal: Clean cherry-pick from linux-5.10.y
> Bionic: fix sent to esm ML
> Xenial: fix sent to esm ML
> Trusty: won't fix
>
> [Test Case]
>
> Compile tested.
>
> [Where problems could occur]
>
> This fix affects those who use the Network Control Model (NCM)
> USB host driver, an issue with this fix would be visible to
> the user via unpredicted system behavior or memory corruption.
>
> Oliver Neukum (1):
> CDC-NCM: avoid overflow in sanity checking
>
> drivers/net/usb/cdc_ncm.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
More information about the kernel-team
mailing list