CVE-2025-39809
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
16/09/2025
Última modificación:
16/09/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
HID: intel-thc-hid: intel-quicki2c: Fix ACPI dsd ICRS/ISUB length<br />
<br />
The QuickI2C ACPI _DSD methods return ICRS and ISUB data with a<br />
trailing byte, making the actual length is one more byte than the<br />
structs defined.<br />
<br />
It caused stack-out-of-bounds and kernel crash:<br />
<br />
kernel: BUG: KASAN: stack-out-of-bounds in quicki2c_acpi_get_dsd_property.constprop.0+0x111/0x1b0 [intel_quicki2c]<br />
kernel: Write of size 12 at addr ffff888106d1f900 by task kworker/u33:2/75<br />
kernel:<br />
kernel: CPU: 3 UID: 0 PID: 75 Comm: kworker/u33:2 Not tainted 6.16.0+ #3 PREEMPT(voluntary)<br />
kernel: Workqueue: async async_run_entry_fn<br />
kernel: Call Trace:<br />
kernel: <br />
kernel: dump_stack_lvl+0x76/0xa0<br />
kernel: print_report+0xd1/0x660<br />
kernel: ? __pfx__raw_spin_lock_irqsave+0x10/0x10<br />
kernel: ? __kasan_slab_free+0x5d/0x80<br />
kernel: ? kasan_addr_to_slab+0xd/0xb0<br />
kernel: kasan_report+0xe1/0x120<br />
kernel: ? quicki2c_acpi_get_dsd_property.constprop.0+0x111/0x1b0 [intel_quicki2c]<br />
kernel: ? quicki2c_acpi_get_dsd_property.constprop.0+0x111/0x1b0 [intel_quicki2c]<br />
kernel: kasan_check_range+0x11c/0x200<br />
kernel: __asan_memcpy+0x3b/0x80<br />
kernel: quicki2c_acpi_get_dsd_property.constprop.0+0x111/0x1b0 [intel_quicki2c]<br />
kernel: ? __pfx_quicki2c_acpi_get_dsd_property.constprop.0+0x10/0x10 [intel_quicki2c]<br />
kernel: quicki2c_get_acpi_resources+0x237/0x730 [intel_quicki2c]<br />
[...]<br />
kernel: <br />
kernel:<br />
kernel: The buggy address belongs to stack of task kworker/u33:2/75<br />
kernel: and is located at offset 48 in frame:<br />
kernel: quicki2c_get_acpi_resources+0x0/0x730 [intel_quicki2c]<br />
kernel:<br />
kernel: This frame has 3 objects:<br />
kernel: [32, 36) &#39;hid_desc_addr&#39;<br />
kernel: [48, 59) &#39;i2c_param&#39;<br />
kernel: [80, 224) &#39;i2c_config&#39;<br />
<br />
ACPI DSD methods return:<br />
<br />
\_SB.PC00.THC0.ICRS Buffer 000000003fdc947b 001 Len 0C = 0A 00 80 1A 06 00 00 00 00 00 00 00<br />
\_SB.PC00.THC0.ISUB Buffer 00000000f2fcbdc4 001 Len 91 = 00 00 00 00 00 00 00 00 00 00 00 00<br />
<br />
Adding reserved padding to quicki2c_subip_acpi_parameter/config.