Bug 2298178 (CVE-2022-48837)

Summary: CVE-2022-48837 kernel: usb: gadget: rndis: prevent integer overflow in rndis_set_response()
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.9.308, kernel 4.14.273, kernel 4.19.236, kernel 5.4.187, kernel 5.10.108, kernel 5.15.31, kernel 5.16.17 Doc Type: If docs needed, set a value
Doc Text:
A possible integer overflow was found in the Linux kernel in rndis_set_response(). This may lead to a crash.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2024-07-16 13:21:40 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: rndis: prevent integer overflow in rndis_set_response()

If "BufOffset" is very large the "BufOffset + 8" operation can have an
integer overflow.