lkml.org 
[lkml]   [2017]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 4.9 000/105] 4.9.55-stable review
From
From: Xin Long <lucien.xin@gmail.com>
Date: Thu, 12 Oct 2017 23:25:10 +0800

> pls try revert:
> commit 02f7e4101092b88e57c73171174976c8a72a3eba
> Author: Eric Dumazet <edumazet@google.com>
> Date: Mon Oct 2 12:20:51 2017 -0700
>
> socket, bpf: fix possible use after free
>
> which caused a obvious issue in __sk_attach_prog():
> atomic_set(&fp->refcnt, 0); <----
>
> if (!sk_filter_charge(sk, fp)) {
> kfree(fp);
> return -ENOMEM;
> }

Yeah this is the bad patch, my backport was buggy.

Greg, please revert.

\
 
 \ /
  Last update: 2017-10-12 19:18    [W:0.387 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site