lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150226111250.GA32024@gmail.com>
Date:	Thu, 26 Feb 2015 12:12:50 +0100
From:	Ingo Molnar <mingo@...nel.org>
To:	Borislav Petkov <bp@...e.de>
Cc:	Huang Ying <ying.huang@...el.com>, Jiri Kosina <jkosina@...e.cz>,
	LKML <linux-kernel@...r.kernel.org>, LKP ML <lkp@...org>,
	x86-ml <x86@...nel.org>
Subject: Re: [LKP] [x86/mm/ASLR] f47233c2d34: WARNING: CPU: 0 PID: 1 at
 arch/x86/mm/ioremap.c:63 __ioremap_check_ram+0x445/0x4a0()


* Borislav Petkov <bp@...e.de> wrote:

> thanks for the report.
> 
> So, AFAICT, this is caused by ksysfs ioremapping struct 
> setup_data for a short time so that it can count it and 
> show it in /sys/kernel/boot_params/setup_data/*
> 
> And, of course, the setup_data thing which we're using 
> for kaslr param passing is RAM and ioremap complains.
> 
> And currently I don't have a good idea how to fix it. 
> Perhaps introduce an ioremap_* something which suppresses 
> the warning as we're going to iounmap() right afterwards 
> but that's ugly.

Why is it ioremap()-ed to begin with, why cannot the kernel 
access its own data structure in RAM directly?

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ