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: <46A865CC.6030702@gmail.com>
Date:	Thu, 26 Jul 2007 11:13:48 +0200
From:	Rene Herman <rene.herman@...il.com>
To:	Andrew Morton <akpm@...ux-foundation.org>
CC:	Masoud Sharbiani <masouds@...gle.com>, Andi Kleen <ak@...e.de>,
	Kirill Korotaev <dev@...nvz.org>, linux-kernel@...r.kernel.org
Subject: Re: i386-show-unhandled-signals-v3

On 07/26/2007 01:25 AM, Andrew Morton wrote:

> On Wed, 25 Jul 2007 14:07:56 -0700
> "Masoud Sharbiani" <masouds@...gle.com> wrote:

>> This is rate limited; Do you need me to rewrite it with it being
>> disabled by default?
> 
> Yes please.
> 
> Look: if there's a way in which an unprivileged user can trigger a printk
> we fix it, end of story. I don't know why this even slightly controversial.

rene@...e4:/tmp$ su -c "dmesg -c >/dev/null"
rene@...e4:/tmp$ cdparanoia -B

[ ... ]

rene@...e4:/tmp$ dmesg | wc -l
158
rene@...e4:/tmp$ dmesg | tail -20
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
    program cdparanoia not setting count and/or reply_len properly
printk: 252 messages suppressed.
sg_write: data in/out 16464/16464 bytes for SCSI command 0xbe--guessing data in;
    program cdparanoia not setting count and/or reply_len properly
printk: 245 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
    program cdparanoia not setting count and/or reply_len properly
printk: 243 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
    program cdparanoia not setting count and/or reply_len properly
printk: 242 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
    program cdparanoia not setting count and/or reply_len properly
printk: 255 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
    program cdparanoia not setting count and/or reply_len properly
printk: 242 messages suppressed.
sg_write: data in/out 30576/30576 bytes for SCSI command 0xbe--guessing data in;
    program cdparanoia not setting count and/or reply_len properly

cdparanoia does require access to the /dev/sg? that corresponds to /dev/cdrom 
but at least udev (here) makes that node be a (root,cdrom) b-rw-rw--- device 
(and requiring root privileges to rip CDs would certainly not be nice).

Rene.
-
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