Bug 2055502 (CVE-2022-25258) - CVE-2022-25258 kernel: security issues in the OS descriptor handling section of composite_setup function (composite.c)
Summary: CVE-2022-25258 kernel: security issues in the OS descriptor handling section ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-25258
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: 2055568 2056625
Blocks: 2055503
TreeView+ depends on / blocked
 
Reported: 2022-02-17 06:17 UTC by Sandipan Roy
Modified: 2022-08-22 15:08 UTC (History)
51 users (show)

Fixed In Version: kernel 5.17-rc4
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference flaw was found in the Linux kernel’s USB gadget subsystem in the way a user uses too many interfaces for the gadget type. This flaw allows a local user to crash the system.
Clone Of:
Environment:
Last Closed: 2022-03-07 16:50:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2022-02-17 06:17:23 UTC
An issue was discovered in the Linux kernel before 5.16.10. The USB Gadget subsystem lacks certain validation of interface OS descriptor requests (ones with a large array index and ones associated with NULL function pointer retrieval). Memory corruption might occur.

https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c
https://github.com/szymonh/d-os-descriptor
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.10

Comment 2 Avinash Hanwate 2022-02-17 09:17:38 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2055568]

Comment 5 Sandro Bonazzola 2022-02-21 16:08:35 UTC
Created kernel tracking bugs for this issue:

Affects: ovirt-4.4 [ bug #2056625 ]

Comment 8 Product Security DevOps Team 2022-03-07 16:50:01 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-25258


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