FS#78908 - [linux] nftables WARNING: list_add corruption. prev->next should be next

Attached to Project: Arch Linux
Opened by Cebtenzzre (cebtenzzre) - Wednesday, 28 June 2023, 03:26 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 06 July 2023, 03:44 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This issue affects kernels 6.4 (linux in testing), 6.3.9 (linux in core), and 6.1.35 (linux-lts in core).

I usually get this oops when firewalld starts at boot:

Jun 28 02:54:46 kernel: list_add corruption. prev->next should be next (ffff9187c1b22c10), but was 00000000342e313a. (prev=ffff9187c88ad468).
Jun 28 02:54:46 kernel: WARNING: CPU: 11 PID: 778 at lib/list_debug.c:30 __list_add_valid+0x83/0xa0

Someone on LKML got this one:

<3>[ 61.206481] list_del corruption. next->prev should be ffff8ceb11b24f60, but was 0000000000000000. (next=ffff8ceb11b27ac8)
<4>[ 61.206494] ------------[ cut here ]------------
<2>[ 61.206495] kernel BUG at lib/list_debug.c:62!

Steps to reproduce:
1. Install an affected kernel
2. Run nft with a simple reproducer ruleset here: https://lkml.org/lkml/2023/6/26/24
3. Look in dmesg for a WARNING or BUG

Upstream bug report: https://lkml.org/lkml/2023/6/25/349
   oops.txt (4.3 KiB)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 06 July 2023, 03:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux 6.4.1.arch1-1

Loading...