Linux 3.2.88
I'm announcing the release of the 3.2.88 kernel.
All users of the 3.2 kernel series should upgrade.
The updated 3.2.y git tree can be found at:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.2.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git
The diff from 3.2.87 is attached to this message.
Ben.
------------
Makefile | 2 +- mm/huge_memory.c | 2 +- net/ipv4/ip_sockglue.c | 3 ++- net/l2tp/l2tp_ip.c | 5 +++-- security/keys/keyring.c | 6 +++--- 5 files changed, 10 insertions(+), 8 deletions(-)
Ben Hutchings (2):
keys: Guard against null match function in keyring_search_aux() Linux 3.2.88
Eric Dumazet (1):
ipv4: keep skb->dst around in presence of IP options
Guillaume Nault (1):
l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
Michal Hocko (1):
mm/huge_memory.c: fix up "mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp" backport
Makefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 2 -SUBLEVEL = 87 +SUBLEVEL = 88 EXTRAVERSION = NAME = Saber-toothed Squirrel
mm/huge_memory.c +1 -1
@@ -989,7 +989,7 @@ struct page *follow_trans_huge_pmd(struct mm_struct *mm,VM_BUG_ON (!PageHead (page));if (flags &FOLL_WRITE && !can_follow_write_pmd (*pmd, page, flags)) - goto out; +return NULL ;if (flags &FOLL_TOUCH ) {pmd_t _pmd;
net/ipv4/ip_sockglue.c +2 -1
@@ -1009,7 +1009,8 @@ e_inval:*/ int ip_queue_rcv_skb (struct sock *sk,struct sk_buff *skb) { -if (!(inet_sk (sk)->cmsg_flags &IP_CMSG_PKTINFO )) +if (!(inet_sk (sk)->cmsg_flags &IP_CMSG_PKTINFO ) && + !IPCB (skb)->opt.optlen)skb_dst_drop (skb);return sock_queue_rcv_skb (sk, skb); }
net/l2tp/l2tp_ip.c +3 -2
@@ -257,8 +257,6 @@ static int l2tp_ip_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)int ret;int chk_addr_ret; -if (!sock_flag (sk,SOCK_ZAPPED )) -return -EINVAL ;if (addr_len <sizeof (struct sockaddr_l2tpip ))return -EINVAL ;if (addr->l2tp_family !=AF_INET )
@@ -272,6 +270,9 @@ static int l2tp_ip_bind(struct sock *sk, struct sockaddr *uaddr, int addr_len)read_unlock_bh (&l2tp_ip_lock);lock_sock (sk); +if (!sock_flag (sk,SOCK_ZAPPED )) + goto out; +if (sk->sk_state !=TCP_CLOSE || addr_len <sizeof (struct sockaddr_l2tpip )) goto out;
security/keys/keyring.c +3 -3
@@ -336,6 +336,9 @@ key_ref_t keyring_search_aux(key_ref_t keyring_ref,if (keyring->type != &key_type_keyring) goto error; +if (!match) +return ERR_PTR (-ENOKEY ); +rcu_read_lock (); now =current_kernel_time ();
@@ -484,9 +487,6 @@ key_ref_t keyring_search(key_ref_t keyring,struct key_type *type, const char *description) { -if (!type->match) -return ERR_PTR (-ENOKEY ); - return keyring_search_aux(keyring, current->cred, type, description, type->match, false); }