rtlwifi: aggressive memory leak

TJ ubuntu at iam.tj
Thu Jun 27 19:54:40 UTC 2019

Bug #1831751 rtlwifi: aggressive memory leak


Please cherry-pick the upstream fix and backport to 4.18, 4.15 etc.

commit 8cfa272b0d321160ebb5b45073e39ef0a6ad73f2
Author: Larry Finger <Larry.Finger at lwfinger.net>
Date:   Sat Nov 17 20:55:03 2018 -0600

    rtlwifi: Fix leak of skb when processing C2H_BT_INFO

    With commit 0a9f8f0a1ba9 ("rtlwifi: fix btmpinfo timeout while
    C2H_BT_INFO"), calling rtl_c2hcmd_enqueue() with rtl_c2h_fast_cmd()
    the routine returns without freeing that skb, thereby leaking it.

    This issue has been discussed at
    and the fix tested there.

    Fixes: 0a9f8f0a1ba9 ("rtlwifi: fix btmpinfo timeout while processing

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20190627/ec49bbd9/attachment.sig>

More information about the kernel-team mailing list