[PATCH 0/2] IPC DoS fix

From: Mathias Krause
Date: Sat Nov 02 2013 - 17:28:19 EST


Hi Linus,

this series fixes a bug in the IPC code that allows root to instantly crash
the system. The first patch fixes the bug, the second one prevents msgmax
from getting negative in the first place. As that *might* break existing
userspace (for good?!) it's a separate patch.

The cc list is quite randomly choosen as there seem to be no maintainer for
ipc/. :/

Please apply!


Mathias Krause (2):
ipc, msg: fix message length check for negative values
ipc, msg: forbid negative values for "msgmax"

ipc/ipc_sysctl.c | 6 +++---
ipc/msg.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)

--
1.7.10.4

--
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/