Skip to contentSkip to conversation

New: hangup sinse 'x86/mm: Expand static page table for fixmap space' with CONFIG_RANDOMIZE_BASE enabled

Bug 201637 Andrew Morton 2 participants 2 messages Nov 8, 2018 – Nov 9, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 38 lines · On Thu, 08 Nov 2018 13:48:25 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=201637

Bug ID: 201637
Summary: hangup sinse 'x86/mm: Expand static page table for
fixmap space' with CONFIG_RANDOMIZE_BASE enabled
Product: Memory Management
Version: 2.5
Kernel Version: 4.9.133
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: No

I have early kernel hungup on x86_64 since 4.9.133 and i've finaly bisected it.

This commit is incompatible with CONFIG_RANDOMIZE_BASE enabled and cause immediate silent hangup during boot.

commit 3a8304b7ad2e291777e8499e39390145d932a2fd

Author: Feng Tang <[email protected]>
Date:   Thu Sep 20 10:58:28 2018 +0800

x86/mm: Expand static page table for fixmap space

commit 05ab1d8a4b36ee912b7087c6da127439ed0a903e upstream.

We met a kernel panic when enabling earlycon, which is due to the fixmap address of earlycon is not statically setup.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

Hi All,

Quoted 29 lines · Andrew Morton

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 23 lines · On Thu, 08 Nov 2018 13:48:25 +0000 [email protected] wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=201637

Bug ID: 201637
Summary: hangup sinse 'x86/mm: Expand static page table for
fixmap space' with CONFIG_RANDOMIZE_BASE enabled
Product: Memory Management
Version: 2.5
Kernel Version: 4.9.133
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: No

I have early kernel hungup on x86_64 since 4.9.133 and i've finaly bisected it.

This commit is incompatible with CONFIG_RANDOMIZE_BASE enabled and cause immediate silent hangup during boot.

Thanks for reporting. The patch revert was queued already. see
https://lkml.org/lkml/2018/11/2/453

And you are right, the problem is related with the kernel address randomization, the original patch in mainline covers it, and the problem happens during my manual backporting to 4.9, where I didn't fine head64.c and wrongly assumed KASLR was
not in 4.9 :( sorry for the trouble.

Thanks,
Feng