MTIby Motiontic
Colour theme
VulnerabilityCVE-2022-50568DEBIAN-CVE-2022-50568UBUNTU-CVE-2022-50568WID-SEC-W-2025-2394:CVE-2022-50568

usb: gadget: f_hid: fix f_hidg lifetime vs cdev

Not on CISA KEV
  • Overview

Summary

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_hid: fix f_hidg lifetime vs cdev The embedded struct cdev does not have its lifetime correctly tied to the enclosing struct f_hidg, so there is a use-after-free if /dev/hidgN is held open while the gadget is deleted.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)
  • Debian Source: Debian
  • Ubuntu Source: Ubuntu