ACK: [SRU Impish 0/2] CVE-2022-28356 followup

Stefan Bader stefan.bader at canonical.com
Fri Jun 24 08:07:54 UTC 2022


On 21.06.22 21:09, Thadeu Lima de Souza Cascardo wrote:
> [Impact]
> When binding an already bound LLC socket, network devices references would
> be put, leading to a use-after-free.
> 
> [Test case]
> A program binding an LLC socket multiple times was used to test this.
> 
> [Backport]
> A pre-req commit is included as it allows dev_put to be called with a NULL parameter.
> The fix is the one applied to 5.10.y tree as the upstream version of the
> original fix required a new function that is not present on 5.13.
> 
> [Review]
> Other error paths on the affected functions were reviewed.
> 
> [Potential regression]
> LLC socket users would be affected. LLC require CAP_NET_RAW on the initial network namespace.
> 
> Eric Dumazet (1):
>    llc: only change llc->dev when bind() succeeds
> 
> Yajun Deng (1):
>    netdevice: add the case if dev is NULL
> 
>   include/linux/netdevice.h | 12 ++++++---
>   net/llc/af_llc.c          | 57 ++++++++++++++++++++++-----------------
>   2 files changed, 40 insertions(+), 29 deletions(-)
> 

Acked-by: Stefan Bader <stefan.bader at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20220624/70e1f3d5/attachment.sig>


More information about the kernel-team mailing list