Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-04-23 Thread Thorsten Glaser
Adam D. Barratt dixit: >Any news? I didn’t hear anything. If needed, I’ll try to pick the fix from upstream and NMU to t-p-u, although I’m not too sure about the procedure (I know there’s mails to the bug and to d-release involved, and an upload (with testing or t-p-u in the changelog entry?), bu

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-04-23 Thread Adam D. Barratt
On Mon, 2013-04-22 at 11:01 +, Thorsten Glaser wrote: > Adam D. Barratt dixit: > > > Apparently it never reached the list. At least it's not in my -release mail > > I’ve searched for it too, and could not find it in either > archive I tried (l.d.o and GMane). > > Can you please just resend t

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-04-22 Thread Thorsten Glaser
Adam D. Barratt dixit: > Apparently it never reached the list. At least it's not in my -release mail I’ve searched for it too, and could not find it in either archive I tried (l.d.o and GMane). Can you please just resend the mail, and put the bug on Cc? Thanks, //mirabilos -- “It is inappropri

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-04-10 Thread Petr Stehlik
Thorsten Glaser píše v St 10. 04. 2013 v 12:48 +0200: > On Mon, 14 Jan 2013, Petr Stehlik wrote: > > > I am all for putting together 0.9.15 for sid. > > ping? My fault, haven't had time to release new version yet. Will do it in less than 5 days, I promise. Petr -- To UNSUBSCRIBE, email to deb

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-04-10 Thread Thorsten Glaser
On Mon, 14 Jan 2013, Petr Stehlik wrote: > I am all for putting together 0.9.15 for sid. ping? bye, //mirabilos -- «MyISAM tables -will- get corrupted eventually. This is a fact of life. » “mysql is about as much database as ms access” – “MSSQL at least descends from a database” “it's a rebrand

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-20 Thread Thorsten Glaser
Petr Stehlik dixit: >In the very dark past NatFeats were meant to be called even from user >space but later it was decided to use NatFeats from the kernel space >only. Whatever needs to call host should use a device driver for that. But there’s no device driver (or even procfs entry) to figure ou

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Petr Stehlik
Thorsten Glaser píše v Ne 13. 01. 2013 v 22:32 +: > >> The specs specifically say the contrary: they must be in virtual > >> addresses, but still in physical memory: > > > >specs is probably incorrect :-/ Where did you get the following quotes > >from? > > http://wiki.aranym.org/natfeats/propo

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Thorsten Glaser
Petr Stehlik dixit: >Thorsten Glaser píše v Ne 13. 01. 2013 v 21:37 +: >> >Could you show me the source code of nfimvirt, please? Seems like it >> >> I attached it. > >Thanks Actually, the attached version is v2, which doesn’t endlessly loop in the SIGILL handler on “real hardware” any more…

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Thorsten Glaser
Petr Stehlik dixit: >> The specs specifically say the contrary: they must be in virtual >> addresses, but still in physical memory: > >specs is probably incorrect :-/ Where did you get the following quotes >from? http://wiki.aranym.org/natfeats/proposal >> “On emulators implementing MMU and wher

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Petr Stehlik
Thorsten Glaser píše v Ne 13. 01. 2013 v 21:37 +: > >Could you show me the source code of nfimvirt, please? Seems like it > > I attached it. Thanks > >passed in an invalid pointer. You do know it needs to pass in physical > >(not MMU mapped) addresses, right? > > The specs specifically say

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Thorsten Glaser
Petr Stehlik dixit: >Could you show me the source code of nfimvirt, please? Seems like it I attached it. >passed in an invalid pointer. You do know it needs to pass in physical >(not MMU mapped) addresses, right? The specs specifically say the contrary: they must be in virtual addresses, but st

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Petr Stehlik
Thorsten Glaser píše v Ne 13. 01. 2013 v 19:12 +: > Then click into the SDL window, press Alt-F2 > and run /nfimvirt with no arguments. #1 0x081212b9 in safe_strncpy (dest=0xb0cc "", src=0x9005b25d , size=80) at /usr/include/i386-linux-gnu/bits/string3.h:121 #2 0x08108f6f in Atari2Ho

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Thorsten Glaser
Dixi quod… >Inside a Debian/m68k guest on ARAnyM running on Debian sid, Easy reproducer, under XFree86: wget -O mirnitrd https://www.freewrt.org/~tg/f/mirnitrd-nfimvirt mv mirnitrd-nfimvirt mirnitrd wget -O vmlinuz https://www.freewrt.org/~tg/f/vmlinuz-3.8.0-rc3+m68k-queue+atari-84299-g3f4758a

Bug#698064: aranym: crashes from guest userspace when NatFeat is queried

2013-01-13 Thread Thorsten Glaser
Package: aranym Version: 0.9.14-2 Severity: grave Tags: security Justification: user security hole When running the program whose source code follows below the report, compiled with the following command: gcc -Os -fno-asynchronous-unwind-tables \ -fno-stack-protector -static -o