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]
Date:	Fri, 05 Jun 2009 14:59:46 +0800
From:	Tao Ma <tao.ma@...cle.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	linux-kernel@...r.kernel.org
Subject: Re: /proc/kcore has a unreasonable size(281474974617600) in x86_64
 2.6.30-rc8.



Andrew Morton wrote:
> On Fri, 05 Jun 2009 12:03:52 +0800 Tao Ma <tao.ma@...cle.com> wrote:
> 
>> Hi list,
>>        In 2.6.30-rc8, /proc/kcore in x86_64's size is unreasonable large 
>> to be 281474974617600.
>> While in a x86 box, it is 931131392 which looks sane.
>>
>> [root@...t8 ~]# ll /proc/kcore
>> -r-------- 1 root root 281474974617600 Jun  5 11:15 /proc/kcore
>>
>> [root@...s2-test9 ~]$ ll /proc/kcore
>> -r-------- 1 root root 931131392 Jun  5 11:58 /proc/kcore
>>
>> I just noticed this when kexec fails in "Can't find kernel text map area 
>> from kcore".
>>
>> Is there something wrong?
>>
> 
> fs/proc/kcore.c hasn't changed since October last year.  Was 2.6.29 OK?
> Earlier kernels?
with 2.6.29, ls shows the same output.
[root@...t8 ~]# ll /proc/kcore
-r-------- 1 root root 281474974617600 Jun  5 14:35 /proc/kcore

But the kexec works.

I just checked .28, the same as .29.

Regards,
Tao
--
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