Re: [Bug #11854] v2.6.28-rc1: readlink /proc/*/exe returns uninitialized data to userspace

From: Vegard Nossum
Date: Sun Nov 02 2008 - 16:09:40 EST


On Sun, Nov 2, 2008 at 5:07 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote:
> This message has been generated automatically as a part of a report
> of recent regressions.
>
> The following bug entry is on the current list of known regressions
> from 2.6.27. Please verify if it still should be listed and let me know
> (either way).
>
>
> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11854
> Subject : v2.6.28-rc1: readlink /proc/*/exe returns uninitialized data to userspace
> Submitter : Vegard Nossum <vegard.nossum@xxxxxxxxx>
> Date : 2008-10-25 17:14 (9 days old)
> References : http://marc.info/?l=linux-kernel&m=122495490201663&w=4

Been trying to reproduce this one since I saw it, and I think it can
be written off as can't reproduce :-(

Maybe I can contribute a patch that verifies that the return value ==
strlen(buffer), WARN_ON otherwise? And hope that somebody runs into
it.


Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/