Bug 2059923 (CVE-2022-25375) - CVE-2022-25375 kernel: information disclosure in drivers/usb/gadget/function/rndis.c
Summary: CVE-2022-25375 kernel: information disclosure in drivers/usb/gadget/function/...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-25375
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2059924
Blocks: 2059925
TreeView+ depends on / blocked
 
Reported: 2022-03-02 10:47 UTC by Marian Rehak
Modified: 2022-10-03 13:10 UTC (History)
47 users (show)

Fixed In Version: kernel 5.17-rc4
Doc Type: If docs needed, set a value
Doc Text:
An information disclosure vulnerability was found in the Linux kernel. The RNDIS USB gadget lacks validation of the size of the RNDIS_MSG_SET command. This flaw allows a local attacker to dump contents of kernel memory space via a packet filter update mechanism and potentially extract sensitive information.
Clone Of:
Environment:
Last Closed: 2022-08-29 09:57:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2022-03-02 10:47:40 UTC
A possible kernel memory information disclosure was discovered in drivers/usb/gadget/function/rndis.c. The RNDIS USB gadget lacks validation of the size of the RNDIS_MSG_SET command.

References:

http://www.openwall.com/lists/oss-security/2022/02/21/1

Comment 1 Marian Rehak 2022-03-02 10:48:05 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2059924]

Comment 2 Justin M. Forbes 2022-03-02 15:50:30 UTC
This was fixed for Fedora with the 5.16.10 stable kernel updates.

Comment 6 Mauro Matteo Cascella 2022-08-26 10:19:58 UTC
Upstream commit:
https://github.com/torvalds/linux/commit/38ea1eac7d88072bbffb630e2b3db83ca649b826


Note You need to log in before you can comment on or make changes to this bug.