[2.6-BK-URL] NTFS: Fix a potential DoS by rate limiting printk().

From: Anton Altaparmakov
Date: Tue Jan 25 2005 - 05:53:29 EST


Hi Linus, Hi Andrew, please do a

bk pull bk://linux-ntfs.bkbits.net/ntfs-2.6

This fixes a potential DoS attack in NTFS by rate limiting printk() when the
driver is not compiled with debugging enabled. Thanks to Carl-Daniel
Heilfinger from SuSE for pointing this out.

Please apply. Thanks!

For the benefit of non-BK users and to make code review easier, I am
sending each ChangeSet in a separate email as a diff -u style patch.

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/

This will update the following files:

fs/ntfs/ChangeLog | 7 +++++++
fs/ntfs/debug.c | 8 ++++++++
2 files changed, 15 insertions(+)

through these ChangeSets:

<aia21@xxxxxxxxxx> (05/01/25 1.1983.6.1)
NTFS: Add printk rate limiting for ntfs_warning() and ntfs_error() when
compiled without debug. This avoids a possible denial of service
attack. Thanks to Carl-Daniel Hailfinger from SuSE for pointing this
out.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/