Re: [PATCH 1/4] NET: AX.25: Check ioctl arguments to avoid overflows further down the road.
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
From: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Date: Thu, 24 Nov 2011 16:12:59 +0000 > Very large, nonsenical arguments or use in very extreme conditions could > result in integer overflows. Check ioctls arguments to avoid such > overflows and return -EINVAL for too large arguments. > > To allow the use of AX.25 for even the most extreme setup (think packet > radio to the Phase 5E mars probe) we make no further attempt to clamp the > argument range. > > Originally reported by Fan Long <longfancn@xxxxxxxxx> and a first patch > was sent by Xi Wang <xi.wang@xxxxxxxxx>. > > Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html