Race between MADV_DONTNEED and NUMA hinting node migration code in Red Hat Enterprise Linux 7

Solution Verified - Updated -

Issue

  • System crashed with list corruption or down_read_trylock.
[589570.661039] BUG: Bad page state in process cas  pfn:2207dff
[625759.760775] BUG: Bad page map in process python  pte:80003fddf8200904 pmd:205c25d067
[625759.880053] BUG: Bad page state in process python  pfn:2207dff
[625760.834004] WARNING: CPU: 19 PID: 76354 at lib/list_debug.c:62 __list_del_entry+0x82/0xd0

[531007.980839] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008 [531008.020282] IP: [<ffffffffa66c0519>] down_read_trylock+0x9/0x50

Environment

  • Red Hat Enterprise Linux 7
  • THP / numa enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In