[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140306.170649.2053437094145326106.davem@davemloft.net>
Date: Thu, 06 Mar 2014 17:06:49 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sasha.levin@...cle.com
Cc: fubar@...ibm.com, vfalico@...hat.com, andy@...yhouse.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
nikolay@...hat.com
Subject: Re: [PATCH v2] bonding: correctly handle out of range parameters
for lp_interval
From: Sasha Levin <sasha.levin@...cle.com>
Date: Thu, 6 Mar 2014 16:53:11 -0500
> We didn't correctly check cases where the value for lp_interval is not
> within the legal range due to a missing table terminator.
>
> This would let userspace trigger a kernel panic by specifying a value out
> of range:
>
> echo -1 > /sys/devices/virtual/net/bond0/bonding/lp_interval
>
> Introduced by commit 4325b374f84 ("bonding: convert lp_interval to use
> the new option API").
>
> Acked-by: Nikolay Aleksandrov <nikolay@...hat.com>
> Signed-off-by: Sasha Levin <sasha.levin@...cle.com>
Applied, thanks.
--
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