https://bugzilla.kernel.org/show_bug.cgi?id=210449
Bug ID: 210449
Summary: acpi_device_add: buffer overflow in strcpy
Product: ACPI
Version: 2.5
Kernel Version: next-20201201
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Config-Other
Assignee: acpi_config-ot...@kernel-bugs.osdl.org
Reporter: ker...@jbeekman.nl
Regression: No
[0.00] Linux version 5.10.0-rc6-next-20201201 (root@sgx-kernel-build)
(gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609, GNU ld (GNU Binutils for
Ubuntu) 2.26.1) #7 SMP Wed Dec 2 09:18:07 UTC 2020
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-rc6-next-20201201
root=UUID=4ec1dc08-af51-4080-b927-561417afaa77 ro console=tty1 console=ttyS0
earlyprintk=ttyS0
[0.00] KERNEL supported cpus:
[0.00] Intel GenuineIntel
[0.00] AMD AuthenticAMD
[0.00] Hygon HygonGenuine
[0.00] Centaur CentaurHauls
[0.00] zhaoxin Shanghai
[0.00] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point
registers'
[0.00] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[0.00] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[0.00] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[0.00] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[0.00] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[0.00] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[0.00] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
[0.00] x86/fpu: Enabled xstate features 0x1f, context size is 960
bytes, using 'compacted' format.
[0.00] BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009] usable
[0.00] BIOS-e820: [mem 0x000c-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0x3ed4bfff] usable
[0.00] BIOS-e820: [mem 0x3ed4c000-0x3ed4cfff] ACPI data
[0.00] BIOS-e820: [mem 0x3ed4d000-0x3ee7afff] usable
[0.00] BIOS-e820: [mem 0x3ee7b000-0x3ee99fff] ACPI data
[0.00] BIOS-e820: [mem 0x3ee9a000-0x3eef1fff] usable
[0.00] BIOS-e820: [mem 0x3eef2000-0x3ef1afff] reserved
[0.00] BIOS-e820: [mem 0x3ef1b000-0x3ff9afff] usable
[0.00] BIOS-e820: [mem 0x3ff9b000-0x3fff2fff] reserved
[0.00] BIOS-e820: [mem 0x3fff3000-0x3fffafff] ACPI data
[0.00] BIOS-e820: [mem 0x3fffb000-0x3fffefff] ACPI NVS
[0.00] BIOS-e820: [mem 0x3000-0x3fff] usable
[0.00] BIOS-e820: [mem 0x0001-0x0001bfff] usable
[0.00] BIOS-e820: [mem 0x0001c020-0x0001c1bf] reserved
[0.00] BIOS-e820: [mem 0x0001c1e0-0x0001c1ff] reserved
[0.00] printk: bootconsole [earlyser0] enabled
[0.00] NX (Execute Disable) protection: active
[0.00] efi: EFI v2.70 by Microsoft
[0.00] efi: ACPI=0x3fffa000 ACPI 2.0=0x3fffa014 SMBIOS=0x3ffd8000
SMBIOS 3.0=0x3ffd6000 MEMATTR=0x3f9e0218 RNG=0x3ffda818
[0.00] efi: seeding entropy pool
[0.00] SMBIOS 3.1.0 present.
[0.00] DMI: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS
Hyper-V UEFI Release v4.1 06/17/2020
[0.00] Hypervisor detected: Microsoft Hyper-V
[0.00] Hyper-V: features 0x2e7f, hints 0x60c2c, misc 0xed7b2
[0.00] Hyper-V Host Build:18362-10.0-3-0.3186
[0.00] Hyper-V: LAPIC Timer Frequency: 0xc3500
[0.00] tsc: Marking TSC unstable due to running on Hyper-V
[0.00] Hyper-V: Using hypercall for remote TLB flush
[0.00] clocksource: hyperv_clocksource_tsc_page: mask:
0x max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns
[0.02] tsc: Detected 3696.012 MHz processor
[0.002124] last_pfn = 0x1c max_arch_pfn = 0x4
[0.004543] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
Memory KASLR using RDRAND RDTSC...
[0.008675] last_pfn = 0x4 max_arch_pfn = 0x4
[0.021667] check: Scanning 1 areas for low memory corruption
[0.024119] Using GB pages for direct mapping
[0.026644] Secure boot disabled
[0.029161] RAMDISK: [mem 0x2c75c000-0x2f097fff]
[0.033563] ACPI: Early table checksum verification disabled
[0.037148] ACPI: RSDP 0x3FFFA014 24 (v02 VRTUAL)
[0.040591] ACPI: XSDT 0x3FFF90E8 5C (v01 VRTUAL MICROSFT
0001 MSFT 0001)
[0.044286] ACPI: FACP 0x3FFF8000 000114 (v06 VRTUAL MICROSFT
0001 MSFT 0001)
[0.048784] ACPI: DSDT 0x3EE7B000 01E184 (v02 MSFTVM DSDT01
0001