CVE-2022-24958

Summary

CVECVE-2022-24958
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-02-11 06:15:06 UTC
Updated2026-09-11 16:17:32 UTC
Descriptiondrivers/usb/gadget/legacy/inode.c in the Linux kernel through 5.16.8 mishandles dev->buf release.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-763 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary4.6AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:L/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
[SECURITY] Fedora 34 Update: kernel-5.16.10-100.fc34 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Broken Link
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch, Vendor Advisory
CVE-2022-24958 Linux Kernel Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
usb: gadget: clear related members when goto fail · torvalds/linux@501e38a · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
usb: gadget: don't release an existing dev->buf · torvalds/linux@89f3594 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
[SECURITY] [DLA 3065-1] linux security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
[SECURITY] Fedora 35 Update: kernel-5.16.10-200.fc35 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Broken Link
[SECURITY] Fedora 34 Update: kernel-5.16.10-100.fc34 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 35 Update: kernel-5.16.10-200.fc35 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179240 Debian Security Update for linux (CVE-2022-24958)
  • 180282 Debian Security Update for linux (DLA 3065-1)
  • 198747 Ubuntu Security Notification for Linux kernel (OEM) Vulnerabilities (USN-5381-1)
  • 198784 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5418-1)
  • 198824 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5467-1)
  • 198826 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5468-1)
  • 282431 Fedora Security Update for kernel (FEDORA-2022-9d4e48836d)
  • 282432 Fedora Security Update for kernel (FEDORA-2022-2aa7c08b53)
  • 354468 Amazon Linux Security Advisory for kernel : ALAS2022-2022-185
  • 354499 Amazon Linux Security Advisory for kernel : ALAS2022-2022-042
  • 354542 Amazon Linux Security Advisory for kernel : ALAS-2022-185
  • 355199 Amazon Linux Security Advisory for kernel : ALAS2023-2023-070
  • 376925 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX3-SA-2022:0125)
  • 377766 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2022:0049)
  • 377871 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2023:0001)
  • 610417 Google Android Devices June 2022 Security Patch Missing
  • 610422 Google Android July 2022 Security Patch Missing for Huawei EMUI
  • 671724 EulerOS Security Update for kernel (EulerOS-SA-2022-1779)
  • 671774 EulerOS Security Update for kernel (EulerOS-SA-2022-1817)
  • 671817 EulerOS Security Update for kernel (EulerOS-SA-2022-1868)
  • 751836 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0759-1)
  • 751952 OpenSUSE Security Update for Linux Kernel (openSUSE-SU-2022:1039-1)
  • 751956 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:1037-1)
  • 752016 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:1039-1)
  • 753348 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:1038-1)
  • 753373 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:1257-1)
  • 753422 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:1037-1)
  • 900676 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8522)
  • 901880 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8525-1)
  • 905974 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8522-1)
  • 906355 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (8525-2)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report