[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <159178566875.41592.7975510364023488303.b4-ty@kernel.org>
Date: Wed, 10 Jun 2020 12:21:08 +0100
From: Will Deacon <will@...nel.org>
To: Nick Desaulniers <ndesaulniers@...gle.com>,
Catalin Marinas <catalin.marinas@....com>
Cc: Will Deacon <will@...nel.org>, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Enrico Weigelt <info@...ux.net>,
Ard Biesheuvel <ardb@...nel.org>,
Allison Randal <allison@...utok.net>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Jeremy Linton <jeremy.linton@....com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] arm64: acpi: fix UBSAN warning
On Mon, 8 Jun 2020 13:38:17 -0700, Nick Desaulniers wrote:
> Will reported a UBSAN warning:
>
> UBSAN: null-ptr-deref in arch/arm64/kernel/smp.c:596:6
> member access within null pointer of type 'struct acpi_madt_generic_interrupt'
> CPU: 0 PID: 0 Comm: swapper Not tainted 5.7.0-rc6-00124-g96bc42ff0a82 #1
> Call trace:
> dump_backtrace+0x0/0x384
> show_stack+0x28/0x38
> dump_stack+0xec/0x174
> handle_null_ptr_deref+0x134/0x174
> __ubsan_handle_type_mismatch_v1+0x84/0xa4
> acpi_parse_gic_cpu_interface+0x60/0xe8
> acpi_parse_entries_array+0x288/0x498
> acpi_table_parse_entries_array+0x178/0x1b4
> acpi_table_parse_madt+0xa4/0x110
> acpi_parse_and_init_cpus+0x38/0x100
> smp_init_cpus+0x74/0x258
> setup_arch+0x350/0x3ec
> start_kernel+0x98/0x6f4
>
> [...]
Applied to arm64 (for-next/core), thanks!
[1/1] arm64: acpi: fix UBSAN warning
https://git.kernel.org/arm64/c/a194c33f45f8
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists