Messages in this thread | | | Date | Thu, 05 Apr 2012 19:06:49 -0400 (EDT) | Subject | Re: [PATCH v2] phonet: Check input from user before allocating | From | David Miller <> |
| |
From: "Rémi Denis-Courmont" <remi@remlab.net> Date: Thu, 5 Apr 2012 22:14:54 +0300
> Le vendredi 6 avril 2012 01:07:45 Sasha Levin, vous avez écrit : >> A phonet packet is limited to USHRT_MAX bytes, this is never checked during >> tx which means that the user can specify any size he wishes, and the kernel >> will attempt to allocate that size. >> >> In the good case, it'll lead to the following warning, but it may also >> cause the kernel to kick in the OOM and kill a random task on the server. ... >> Signed-off-by: Sasha Levin <levinsasha928@gmail.com> > > Acked-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Applied and queued up for -stable, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |