Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35f15800 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "audit: fix NULL Pointer dereference at netlink_unicast"

parents 7a1125ff 329c49e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -908,9 +908,9 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
			}
			if (audit_enabled != AUDIT_OFF)
				audit_log_config_change("audit_pid", new_pid, audit_pid, 1);
			mutex_lock(&audit_sock_mutex);
			audit_pid = new_pid;
			audit_nlk_portid = NETLINK_CB(skb).portid;
			mutex_lock(&audit_sock_mutex);
			audit_sock = skb->sk;
			mutex_unlock(&audit_sock_mutex);
		}