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: <CAFLxGvyD-R-ex8OadHV9pkz7gGOf09_8qfAwq-xB1URZqFH33w@mail.gmail.com>
Date:	Sun, 27 Jul 2014 10:30:07 +0200
From:	Richard Weinberger <richard.weinberger@...il.com>
To:	zubraz singha <zubrajsingha@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: "copy_to_user" function not working in stable build "2.6.36.4"

On Sun, Jul 27, 2014 at 10:22 AM, zubraz singha <zubrajsingha@...il.com> wrote:
> Hey Guys,
> While writing a read proc entry for Linux kernel (version 2.6.36.4), I
> found that the kernel function "copy_to_user" is not working properly.
> The kernel function used internally by "copy_to_user" i.e.
> "__copy_to_user" works fine and also this same function "copy_to_user"
> works quite well on the higher kernel versions,  I tried it on Linux
> kernel version 3.14.  The kernel source code for  "2.6.36.4" doesn't
> have a definition for a function i.e "_copy_to_user",  which is being
> called internally by "copy_to_user". However the function
> "_copy_to_user" has a definition  in higher version kernels like 3.14
> etc. I cannot update my kernel,  Is there any way I can fix this issue
> by manually patching the kernel. There are two possible ways in which
> I think it can be solved.
>
> - Write a definition for the _copy_to_user in "2.6.36.4", which will
> have the same "access_ok" check and corresponding  "__copy_to_user"
> function call.
> - Modifying the function "copy_to_user" and adding the "access_ok"
> check and the "__copy_to_user" function.

2.6.36.x is not a supported release. The issue is maybe fixed in other
versions but as
your release is not a stable kernel you are on your own. Sorry.

-- 
Thanks,
//richard
--
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