Commit cc44578b authored by Philipp Reisner's avatar Philipp Reisner Committed by David S. Miller
Browse files

uvesafb/connector: Disallow unpliviged users to send netlink packets

Signed-off-by: default avatarPhilipp Reisner <>
Signed-off-by: default avatarDavid S. Miller <>
parent 98a5783a
......@@ -72,6 +72,9 @@ static void uvesafb_cn_callback(struct cn_msg *msg, struct netlink_skb_parms *ns
struct uvesafb_task *utask;
struct uvesafb_ktask *task;
if (!cap_raised(nsp->eff_cap, CAP_SYS_ADMIN))
if (msg->seq >= UVESAFB_TASKS_MAX)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment