|
BugTraq
Linux kernel ELF core dump privilege elevation May 11 2005 11:08AM Paul Starzetz (ihaquer isec pl) (4 replies) Re: Linux kernel ELF core dump privilege elevation May 12 2005 01:46AM antoine (antoine nagafix co uk) (1 replies) Re: Linux kernel ELF core dump privilege elevation May 13 2005 10:10AM Pedro Venda (pjvenda arrakis dhis org) Re: Linux kernel ELF core dump privilege elevation (kernel module workaround) May 12 2005 12:29AM Andrew Griffiths (andrewg felinemenace org) (1 replies) Re: Linux kernel ELF core dump privilege elevation (kernel module workaround) May 12 2005 10:31PM chris (fool dfw net) Re: Linux kernel ELF core dump privilege elevation May 11 2005 07:34PM Bruno Lustosa (bruno lists gmail com) (1 replies) Re: Linux kernel ELF core dump privilege elevation May 12 2005 05:52PM codeQ (newsclient teamq info) Re: Linux kernel ELF core dump privilege elevation May 11 2005 06:12PM Greg KH (gregkh suse de) (2 replies) |
|
Privacy Statement |
that seems ok.
> --- gregkh-2.6.orig/fs/binfmt_elf.c 2005-05-11 00:03:45.000000000 -0700
> +++ gregkh-2.6/fs/binfmt_elf.c 2005-05-11 00:09:17.000000000 -0700
> @@ -251,7 +251,7 @@
> }
>
> /* Populate argv and envp */
> - p = current->mm->arg_start;
> + p = current->mm->arg_end = current->mm->arg_start;
> while (argc-- > 0) {
> size_t len;
> __put_user((elf_addr_t)p, argv++);
> @@ -1301,7 +1301,7 @@
> static int fill_psinfo(struct elf_prpsinfo *psinfo, struct task_struct *p,
> struct mm_struct *mm)
> {
> - int i, len;
> + unsigned int i, len;
>
> /* first copy the parameters from user space */
> memset(psinfo, 0, sizeof(struct elf_prpsinfo));
>
--
Paul Starzetz
iSEC Security Research
http://isec.pl/
[ reply ]