Bug 2053548 (CVE-2022-24958) - CVE-2022-24958 kernel: use-after-free in dev->buf release in drivers/usb/gadget/legacy/inode.c
Summary: CVE-2022-24958 kernel: use-after-free in dev->buf release in drivers/usb/gadg...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-24958
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: 2053549
Blocks: 2053550
TreeView+ depends on / blocked
 
Reported: 2022-02-11 14:05 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-03-14 13:46 UTC (History)
47 users (show)

Fixed In Version: kernel 5.17 rc1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-11 17:21:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-02-11 14:05:15 UTC
drivers/usb/gadget/legacy/inode.c in the Linux kernel through 5.16.8 mishandles dev->buf release.

References and upstream patches:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=501e38a5531efbd77d5c73c0ba838a889bfc1d74
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=89f3594d0de58e8a57d92d497dea9fee3d4b9cda

Comment 1 Guilherme de Almeida Suckevicz 2022-02-11 14:06:04 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2053549]

Comment 3 juneau 2022-02-11 16:37:16 UTC
services notaffected per kernel analysis

Comment 4 Product Security DevOps Team 2022-02-11 17:21:21 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-24958


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