Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2024-45027

Description

In the Linux kernel, the following vulnerability has been resolved:usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()If xhci_mem_init() fails, it calls into xhci_mem_cleanup() to mopup the damage. If it fails early enough, before xhci->interruptersis allocated but after xhci->max_interrupters has been set, whichhappens in most (all?) cases, things get uglier, as xhci_mem_cleanup()unconditionally derefences xhci->interrupters. With prejudice.Gate the interrupt freeing loop with a check on xhci->interruptersbeing non-NULL.Found while debugging a DMA allocation issue that led the XHCI driveron this exact path.

POC

Reference

No PoCs from references.

Github

- https://github.com/fkie-cad/nvd-json-data-feeds