[SRU D/E/F/G/U 0/1] Revert code that causes crashes on default configurations

Thadeu Lima de Souza Cascardo cascardo at canonical.com
Thu Jul 9 19:54:00 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1886668

This is the same patch as sent to Bionic 4.15 kernels.

[Impact]
On systems using cgroups and sockets extensively, like docker, kubernetes,
lxd, libvirt, a crash might happen when using linux 4.15.0-109-generic.

[Fix]
Revert the patch that disables sk_alloc cgroup refcounting when tasks
are added to net_prio cgroup.

[Test case]
Test that such environments where the issue is reproduced survive some hours of
uptime. A different bug was reproduced with a work-in-progress code and was not
reproduced with the culprit reverted.

[Regression potential]
The reverted commit fix a memory leak on similar scenarios. But a leak is
better than a crash. Two other bugs have been opened to track a real fix for
this issue and the leak.

Thadeu Lima de Souza Cascardo (1):
  UBUNTU: SAUCE: Revert "netprio_cgroup: Fix unlimited memory leak of v2
    cgroups"

 net/core/netprio_cgroup.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list