CVE-2022-24958

Executive Summary

CVE-2022-24958 exposes a flaw in the Linux kernel (up to 5.16.8) where the USB gadget legacy inode.c mishandles dev->buf release, potentially leading to memory corruption and privilege escalation. The vulnerability could allow an attacker with local access to gain elevated privileges or crash the system.


Authoritative CVE Metadata

  • CVSS Base Score: 7.8 (HIGH)
  • Last Modified: 11-09-26

Original Description

drivers/usb/gadget/legacy/inode.c in the Linux kernel through 5.16.8 mishandles dev->buf release.