Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2021-47272
linux linux kernel

Puan5.5 Orta
CVSS 3.1
İstismar olasılığı (EPSS)0.30%
önümüzdeki 30 gün içinde
KategoriDiğer
Yayımlanma21 Mayıs 2024
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık cihaza yerel erişimle, sıradan bir kullanıcı hesabıyla, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Başarılı bir saldırıda ciddi etki: sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Bail from dwc3_gadget_exit() if dwc->gadget is NULL There exists a possible scenario in which dwc3_gadget_init() can fail: during during host -> peripheral mode switch in dwc3_set_mode(), and a pending gadget driver fails to bind. Then, if the DRD undergoes another mode switch from peripheral->host the resulting dwc3_gadget_exit() will attempt to reference an invalid and dangling dwc->gadget pointer as well as call dma_free_coherent() on unmapped DMA pointers. The exact scenario can be reproduced as follows: - Start DWC3 in peripheral mode - Configure ConfigFS gadget with FunctionFS instance (or use g_ffs) - Run FunctionFS userspace application (open EPs, write descriptors, etc) - Bind gadget driver to DWC3's UDC - Switch DWC3 to host mode => dwc3_gadget_exit() is called. usb_del_gadget() will put the ConfigFS driver instance on the gadget_driver_pending_list - Stop FunctionFS application (closes the ep files) - Switch DWC3 to peripheral mode => dwc3_gadget_init() fails as usb_add_gadget() calls check_pending_gadget_drivers() and attempts to rebind the UDC to the ConfigFS gadget but fails with -19 (-ENODEV) because the FFS instance is not in FFS_ACTIVE state (userspace has not re-opened and written the descriptors yet, i.e. desc_ready!=0). - Switch DWC3 back to host mode => dwc3_gadget_exit() is called again, but this time dwc->gadget is invalid. Although it can be argued that userspace should take responsibility for ensuring that the FunctionFS application be ready prior to allowing the composite driver bind to the UDC, failure to do so should not result in a panic from the kernel driver. Fix this by setting dwc->gadget to NULL in the failure path of dwc3_gadget_init() and add a check to dwc3_gadget_exit() to bail out unless the gadget pointer is valid.

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

Etkilenen ürünler

ÜreticiÜrünSürümler
linuxlinux kernel>=5.10 <5.10.44
linuxlinux kernel>=5.11 <5.12.11
linuxlinux kernel5.13

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-99997 Puanlanmadı
    In the Linux kernel, the following vulnerability has been resolved: ntfs: do not map a vcn as a hole when its runlist lookup failed ntfs_attr_vcn_to_rl() retries ntfs_map_runlist_nolock() for any lcn up to…
    Diğer · 30 Kasım 2026
  • CVE-2026-99996 Puanlanmadı
    In the Linux kernel, the following vulnerability has been resolved: ntfs: hold the runlist lock while expanding a non-resident attribute ntfs_non_resident_attr_expand() changes ni->runlist.rl while it allocates…
    Diğer · 30 Kasım 2026
  • CVE-2026-99995 Puanlanmadı
    In the Linux kernel, the following vulnerability has been resolved: ntfs: add a runlist merge that leaves the source runlist to the caller ntfs_runlists_merge() frees the source runlist once its runs are in the…
    Diğer · 30 Kasım 2026
  • CVE-2026-99994 Puanlanmadı
    In the Linux kernel, the following vulnerability has been resolved: ntfs: balance the $MFT runlist lock in data extension error paths ntfs_mft_data_extend_allocation_nolock() drops the $MFT runlist lock before…
    Diğer · 30 Kasım 2026
  • CVE-2026-99993 Puanlanmadı
    In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kunmap_local() of advanced pointers in check_mft_mirror() check_mft_mirror() compares the mft records of a page with the mirror records by…
    Diğer · 30 Kasım 2026
  • CVE-2026-99992 Puanlanmadı
    In the Linux kernel, the following vulnerability has been resolved: ntfs: fix kmap_local leak in ntfs_check_logfile() ntfs_check_logfile() calls kmap_local_folio() on every iteration of its search loop but…
    Diğer · 30 Kasım 2026