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>] [day] [month] [year] [list]
Message-ID: <4694A95A.85155DAE@nl.thalesgroup.com>
Date:	Wed, 11 Jul 2007 11:56:42 +0200
From:	greenuser <greenuser@...thalesgroup.com>
To:	linux-kernel@...r.kernel.org
Subject: posix lock_timer fails on tgid invalid

Hello,

On my uClinux nios platform I discovered the following bug:
Suppose the application has a thread, and in this thread the
timer_create function is called
Next in the main thread the timer_settime function is called.
Now, this function will always fail, in sys_settime a lock_timer
function is called.
This lock_timer function checks that timr->it_process->tgid equals
current->tgid else
the function fails. With two threads in the application, this check
always fails!!!

Note: the same code works fine on a desktop linux system. I already
reported this bug to the uClinux forum and the nios forum for a month.
So far, without any response.

Why is the check on tgid needed and why does it fail?

Greetings Gerrit

-
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