* [parisc-linux] Security Hole in binfmt_som.c ?
@ 2003-08-30 12:42 Ruediger Scholz
2003-08-30 13:15 ` Matthew Wilcox
2003-08-30 13:15 ` Matthew Wilcox
0 siblings, 2 replies; 11+ messages in thread
From: Ruediger Scholz @ 2003-08-30 12:42 UTC (permalink / raw)
To: parisc-linux
Hi there,
when compiling the new 2.4.22-kernel I get an errror message:
------------>><<---------------
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes
-Wno-tri
graphs -O2 -fno-strict-aliasing -fno-common -D__linux__ -pipe
-fno-strength-redu
ce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs
-ffunction-sections -m
arch=1.1 -mschedule=7100LC -nostdinc -I
/usr/lib/gcc-lib/hppa-linux/3.3.1/incl
ude -DKBUILD_BASENAME=binfmt_som -c -o binfmt_som.o binfmt_som.c
binfmt_som.c:216:2: #error "Fix security hole before enabling me"
make[2]: *** [binfmt_som.o] Fehler 1
make[2]: Leaving directory `/usr/src/linux-2.4/fs'
make[1]: *** [first_rule] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.4/fs'
make: *** [_dir_fs] Fehler 2
------------>><<---------------
What's this message about?
Kernel .config is built by make oldconfig.
Greetings, Ruediger
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 12:42 [parisc-linux] Security Hole in binfmt_som.c ? Ruediger Scholz
@ 2003-08-30 13:15 ` Matthew Wilcox
2003-08-30 13:49 ` Alan Cox
2003-08-30 13:49 ` Alan Cox
2003-08-30 13:15 ` Matthew Wilcox
1 sibling, 2 replies; 11+ messages in thread
From: Matthew Wilcox @ 2003-08-30 13:15 UTC (permalink / raw)
To: Ruediger Scholz; +Cc: parisc-linux, linux-kernel
On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
> binfmt_som.c:216:2: #error "Fix security hole before enabling me"
> What's this message about?
I don't know. I wish someone would tell me. You'd think they'd have the
decency to contact the person listed as the author at the top of the file.
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 12:42 [parisc-linux] Security Hole in binfmt_som.c ? Ruediger Scholz
2003-08-30 13:15 ` Matthew Wilcox
@ 2003-08-30 13:15 ` Matthew Wilcox
1 sibling, 0 replies; 11+ messages in thread
From: Matthew Wilcox @ 2003-08-30 13:15 UTC (permalink / raw)
To: Ruediger Scholz; +Cc: parisc-linux, linux-kernel
On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
> binfmt_som.c:216:2: #error "Fix security hole before enabling me"
> What's this message about?
I don't know. I wish someone would tell me. You'd think they'd have the
decency to contact the person listed as the author at the top of the file.
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:15 ` Matthew Wilcox
2003-08-30 13:49 ` Alan Cox
@ 2003-08-30 13:49 ` Alan Cox
2003-08-30 13:59 ` Matthew Wilcox
` (3 more replies)
1 sibling, 4 replies; 11+ messages in thread
From: Alan Cox @ 2003-08-30 13:49 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Ruediger Scholz, parisc-linux, Linux Kernel Mailing List
On Sad, 2003-08-30 at 14:15, Matthew Wilcox wrote:
> On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
> > binfmt_som.c:216:2: #error "Fix security hole before enabling me"
> > What's this message about?
>
> I don't know. I wish someone would tell me. You'd think they'd have the
> decency to contact the person listed as the author at the top of the file.
Actually explanations were posted in the previous discussion on this on
parisc-list.
Someone has to do the equivalent of the 2.4.22 binfmt_elf changes if
neccessary so that another thread can't change the file handles or
steal the exec fd being passed to the loader.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:15 ` Matthew Wilcox
@ 2003-08-30 13:49 ` Alan Cox
2003-08-30 13:49 ` Alan Cox
1 sibling, 0 replies; 11+ messages in thread
From: Alan Cox @ 2003-08-30 13:49 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Ruediger Scholz, parisc-linux, Linux Kernel Mailing List
On Sad, 2003-08-30 at 14:15, Matthew Wilcox wrote:
> On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
> > binfmt_som.c:216:2: #error "Fix security hole before enabling me"
> > What's this message about?
>
> I don't know. I wish someone would tell me. You'd think they'd have the
> decency to contact the person listed as the author at the top of the file.
Actually explanations were posted in the previous discussion on this on
parisc-list.
Someone has to do the equivalent of the 2.4.22 binfmt_elf changes if
neccessary so that another thread can't change the file handles or
steal the exec fd being passed to the loader.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:49 ` Alan Cox
@ 2003-08-30 13:59 ` Matthew Wilcox
2003-08-30 23:33 ` Alan Cox
2003-08-30 23:33 ` Alan Cox
2003-08-30 13:59 ` Matthew Wilcox
` (2 subsequent siblings)
3 siblings, 2 replies; 11+ messages in thread
From: Matthew Wilcox @ 2003-08-30 13:59 UTC (permalink / raw)
To: Alan Cox
Cc: Matthew Wilcox, Ruediger Scholz, parisc-linux,
Linux Kernel Mailing List
On Sat, Aug 30, 2003 at 02:49:50PM +0100, Alan Cox wrote:
> On Sad, 2003-08-30 at 14:15, Matthew Wilcox wrote:
> > On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
> > > binfmt_som.c:216:2: #error "Fix security hole before enabling me"
> > > What's this message about?
> >
> > I don't know. I wish someone would tell me. You'd think they'd have the
> > decency to contact the person listed as the author at the top of the file.
>
> Actually explanations were posted in the previous discussion on this on
> parisc-list.
Um, I can't find it, and neither can Google:
http://www.google.com/search?q=binfmt_som+security&as_q=%5Bparisc-linux&btnG=Google+Search&as_sitesearch=lists.parisc-linux.org
> Someone has to do the equivalent of the 2.4.22 binfmt_elf changes if
> neccessary so that another thread can't change the file handles or
> steal the exec fd being passed to the loader.
Hm, ok, I'll take a look later this weekend if no-one gets to it first.
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:49 ` Alan Cox
2003-08-30 13:59 ` Matthew Wilcox
@ 2003-08-30 13:59 ` Matthew Wilcox
2003-09-01 8:00 ` Joel Soete
2003-09-01 8:00 ` Joel Soete
3 siblings, 0 replies; 11+ messages in thread
From: Matthew Wilcox @ 2003-08-30 13:59 UTC (permalink / raw)
To: Alan Cox
Cc: Matthew Wilcox, Ruediger Scholz, parisc-linux,
Linux Kernel Mailing List
On Sat, Aug 30, 2003 at 02:49:50PM +0100, Alan Cox wrote:
> On Sad, 2003-08-30 at 14:15, Matthew Wilcox wrote:
> > On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
> > > binfmt_som.c:216:2: #error "Fix security hole before enabling me"
> > > What's this message about?
> >
> > I don't know. I wish someone would tell me. You'd think they'd have the
> > decency to contact the person listed as the author at the top of the file.
>
> Actually explanations were posted in the previous discussion on this on
> parisc-list.
Um, I can't find it, and neither can Google:
http://www.google.com/search?q=binfmt_som+security&as_q=%5Bparisc-linux&btnG=Google+Search&as_sitesearch=lists.parisc-linux.org
> Someone has to do the equivalent of the 2.4.22 binfmt_elf changes if
> neccessary so that another thread can't change the file handles or
> steal the exec fd being passed to the loader.
Hm, ok, I'll take a look later this weekend if no-one gets to it first.
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:59 ` Matthew Wilcox
2003-08-30 23:33 ` Alan Cox
@ 2003-08-30 23:33 ` Alan Cox
1 sibling, 0 replies; 11+ messages in thread
From: Alan Cox @ 2003-08-30 23:33 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Ruediger Scholz, parisc-linux, Linux Kernel Mailing List
On Sad, 2003-08-30 at 14:59, Matthew Wilcox wrote:
> Um, I can't find it, and neither can Google:
> http://www.google.com/search?q=binfmt_som+security&as_q=%5Bparisc-linux&btnG=Google+Search&as_sitesearch=lists.parisc-linux.org
Humm I thought it was on this list. Maybe lkml then
Whatever the basic problem is we have kernel loaders and
user threads sharing a file table unsafely
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:59 ` Matthew Wilcox
@ 2003-08-30 23:33 ` Alan Cox
2003-08-30 23:33 ` Alan Cox
1 sibling, 0 replies; 11+ messages in thread
From: Alan Cox @ 2003-08-30 23:33 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Ruediger Scholz, parisc-linux, Linux Kernel Mailing List
On Sad, 2003-08-30 at 14:59, Matthew Wilcox wrote:
> Um, I can't find it, and neither can Google:
> http://www.google.com/search?q=binfmt_som+security&as_q=%5Bparisc-linux&btnG=Google+Search&as_sitesearch=lists.parisc-linux.org
Humm I thought it was on this list. Maybe lkml then
Whatever the basic problem is we have kernel loaders and
user threads sharing a file table unsafely
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:49 ` Alan Cox
2003-08-30 13:59 ` Matthew Wilcox
2003-08-30 13:59 ` Matthew Wilcox
@ 2003-09-01 8:00 ` Joel Soete
2003-09-01 8:00 ` Joel Soete
3 siblings, 0 replies; 11+ messages in thread
From: Joel Soete @ 2003-09-01 8:00 UTC (permalink / raw)
To: Alan Cox
Cc: Matthew Wilcox, Ruediger Scholz, parisc-linux,
Linux Kernel Mailing List
Alan Cox wrote:
>On Sad, 2003-08-30 at 14:15, Matthew Wilcox wrote:
>
>
>>On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
>>
>>
>>>binfmt_som.c:216:2: #error "Fix security hole before enabling me"
>>>What's this message about?
>>>
>>>
>>I don't know. I wish someone would tell me. You'd think they'd have the
>>decency to contact the person listed as the author at the top of the file.
>>
>>
>
>Actually explanations were posted in the previous discussion on this on
>parisc-list.
>
>Someone has to do the equivalent of the 2.4.22 binfmt_elf changes if
>neccessary so that another thread can't change the file handles or
>steal the exec fd being passed to the loader.
>
>
>
Yes Alan, it was:
<http://lists.parisc-linux.org/pipermail/parisc-linux/2003-July/020386.html>
Sorry Willy I trusted that you read it (My bad next time I will advise
you directly)
Joel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [parisc-linux] Security Hole in binfmt_som.c ?
2003-08-30 13:49 ` Alan Cox
` (2 preceding siblings ...)
2003-09-01 8:00 ` Joel Soete
@ 2003-09-01 8:00 ` Joel Soete
3 siblings, 0 replies; 11+ messages in thread
From: Joel Soete @ 2003-09-01 8:00 UTC (permalink / raw)
To: Alan Cox
Cc: Matthew Wilcox, Ruediger Scholz, parisc-linux,
Linux Kernel Mailing List
Alan Cox wrote:
>On Sad, 2003-08-30 at 14:15, Matthew Wilcox wrote:
>
>
>>On Sat, Aug 30, 2003 at 02:42:37PM +0200, Ruediger Scholz wrote:
>>
>>
>>>binfmt_som.c:216:2: #error "Fix security hole before enabling me"
>>>What's this message about?
>>>
>>>
>>I don't know. I wish someone would tell me. You'd think they'd have the
>>decency to contact the person listed as the author at the top of the file.
>>
>>
>
>Actually explanations were posted in the previous discussion on this on
>parisc-list.
>
>Someone has to do the equivalent of the 2.4.22 binfmt_elf changes if
>neccessary so that another thread can't change the file handles or
>steal the exec fd being passed to the loader.
>
>
>
Yes Alan, it was:
<http://lists.parisc-linux.org/pipermail/parisc-linux/2003-July/020386.html>
Sorry Willy I trusted that you read it (My bad next time I will advise
you directly)
Joel
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-09-01 8:00 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-30 12:42 [parisc-linux] Security Hole in binfmt_som.c ? Ruediger Scholz
2003-08-30 13:15 ` Matthew Wilcox
2003-08-30 13:49 ` Alan Cox
2003-08-30 13:49 ` Alan Cox
2003-08-30 13:59 ` Matthew Wilcox
2003-08-30 23:33 ` Alan Cox
2003-08-30 23:33 ` Alan Cox
2003-08-30 13:59 ` Matthew Wilcox
2003-09-01 8:00 ` Joel Soete
2003-09-01 8:00 ` Joel Soete
2003-08-30 13:15 ` Matthew Wilcox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox