CVE-2026-138998: i3c: mipi-i3c-hci-pci: Set drvdata before creating LTR sysfs attribute
In the Linux kernel, the following vulnerability has been resolved:
i3c: mipi-i3c-hci-pci: Set drvdata before creating LTR sysfs attribute
inteli3cinit() creates the pmqoslatencytoleranceus sysfs attribute before probe calls pcisetdrvdata(). A userspace write to the attribute can therefore invoke intelltrset(), which uses pcigetdrvdata(), before drvdata has been initialized.
Move pcisetdrvdata() before hci->info->init() so drvdata is available before the sysfs attribute becomes accessible.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Move pci_set_drvdata() before hci->info->init() and before creating the pm_qos_latency_tolerance_us sysfs attribute, so drvdata is available when intel_ltr_set() calls pci_get_drvdata().