We have experienced multiple crashes due to memory corruptions,
which happend after multiple kernel complains about "BUG: Bad page state".

Using debug commit dba1b8a7ab68 ("mm/page_pool: catch page_pool memory leaks")
we have caught the detailed reason:
  page dumped because: page_pool leak

which should probably be fixed with ms commit:
  c3198822c6cb ("net: esp: fix bad handling of pages from page_pool")

RHEL9.5 has already backported this commit along with several others,
so let's backport all of those commits in order to simplify later rebase.

https://virtuozzo.atlassian.net/browse/ASUP-1064
https://virtuozzo.atlassian.net/browse/VSTOR-101702

Sabrina Dubroca (6):
  ms/xfrm: interface: use DEV_STATS_INC()
  ms/xfrm: fix a data-race in xfrm_gen_index()
  ms/xfrm: annotate data-race around use_time
  ms/xfrm: fix a data-race in xfrm_lookup_with_ifid()
  ms/net: skbuff: don't include <net/page_pool/types.h> to
    <linux/skbuff.h>
  ms/net: esp: fix bad handling of pages from page_pool

 include/linux/skbuff.h         | 15 ++++++++++--
 include/net/netns/xfrm.h       |  1 +
 include/net/page_pool/types.h  |  2 --
 net/core/page_pool.c           | 39 -----------------------------
 net/core/skbuff.c              | 45 ++++++++++++++++++++++++++++++++--
 net/ipv4/esp4.c                |  8 +++---
 net/ipv6/esp6.c                |  8 +++---
 net/xfrm/xfrm_interface_core.c | 22 ++++++++---------
 net/xfrm/xfrm_policy.c         | 19 +++++++-------
 net/xfrm/xfrm_state.c          | 10 ++++----
 10 files changed, 90 insertions(+), 79 deletions(-)

-- 
2.43.0

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to