Public bug reported:
Two oopses on 7.0.0-44-generic land in the same VFS inode-teardown path
(iput_final() -> dentry_unlink_inode() -> __dentry_kill()), one from
kswapd0 during dentry cache reclaim, one from a userspace task in
iput()/evict(). In both cases a non-NULL but unmapped/garbage kernel
pointer is dereferenced or called, which points at kernel memory
corruption rather than a plain NULL deref. With panic_on_oops=1 both
oopses panicked the machine, and the host hard-reset: 2 panics with
kdump captures in 8 days plus 2 further hard freezes without an oops on
the same host.
== Environment ==
kernel: 7.0.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 6 02:38:04 UTC
2026
version_signature: Ubuntu 7.0.0-44.44-generic 7.0.14
distro: Ubuntu 26.04 (resolute)
hardware: Dell Inc. Precision 5760/0T7J1J, BIOS 1.39.0 03/31/2026, i7
TigerLake-H, 64 GiB RAM, RTX A3000 + i915, NVMe MTFDKBA1T0QGN-1B
root fs: btrfs (single device, data=single, metadata=DUP), 776 GiB used of 953
GiB
lspci-vnvn.log attached
== Oops 1: 2026-11-30 13:47, kswapd0, dentry cache reclaim ==
BUG: unable to handle page fault for address: ffffaf2602b31b50
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0
Oops: Oops: 0000 [#1] SMP NOPTI
CPU: 2 UID: 0 PID: 144 Comm: kswapd0 Kdump: loaded Tainted: G OE
7.0.0-44-generic #44-Ubuntu PREEMPT(lazy)
Tainted: [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
Hardware name: Dell Inc. Precision 5760/0T7J1J, BIOS 1.39.0 03/31/2026
RIP: 0010:mem_cgroup_from_virt+0x100/0x210
Code: ff d3 e8 41 01 c2 41 80 fb 1f 0f 87 19 b1 98 ff 44 89 d7 44 89 d9 d3 ef
41 0f af 78 2c 4a 8b 04 0f 48 85 c0 0f 84 8b 00 00 00 <48> 8b 40 10 c9 31 d2 31
c9 31 f6 31 ff 45 31 c0 45 31 c9 45 31 d2
RSP: 0018:ffffcfe400c838d8 EFLAGS: 00010282
RAX: ffffaf2602b31b40 RBX: ffff8f3026c464f8 RCX: 0000000000000009
RDX: ffff8f2606a96300 RSI: fffffcf82c9b1180 RDI: 00000000000000c8
RBP: ffffcfe400c838f8 R08: fffffcf82c9b1000 R09: ffff8f3026c47e00
R10: 0000000000003349 R11: 0000000000000009 R12: ffff8f2615e20800
R13: ffff8f301d389048 R14: 00000000000086e5 R15: 0000000000003800
FS: 0000000000000000(0000) GS:ffff8f356daf7000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffaf2602b31b50 CR3: 0000000bd8c44006 CR4: 0000000000f70ef0
PKRU: 55555554
Call Trace:
<TASK>
list_lru_add_obj+0x6e/0xd0
? __call_rcu_common+0xcc/0x380
iput_final+0x1d2/0x210
iput+0x8c/0x120
dentry_unlink_inode+0xdc/0x160
__dentry_kill+0x70/0x1b0
shrink_dentry_list+0x68/0xe0
prune_dcache_sb+0x55/0x90
super_cache_scan+0x12a/0x220
do_shrink_slab+0x14b/0x420
shrink_slab_memcg+0x184/0x270
shrink_slab+0x165/0x190
shrink_one+0xea/0x1c0
shrink_many+0x13e/0x2c0
shrink_node+0x4a6/0x570
balance_pgdat+0x2b3/0x920
kswapd+0xeb/0x1a0
kthread+0xf7/0x130
ret_from_fork+0x195/0x2a0
ret_from_fork_asm+0x1a/0x30
</TASK>
Register read: the faulting instruction is `48 8b 40 10` = mov
0x10(%rax),%rax. RAX was loaded from memory by the preceding `4a 8b 04
0f` (mov (%rdi,%rcx,1),%rax) and the pointer is non-NULL (test rax,rax /
jz was not taken), yet CR2 = RAX+0x10 = ffffaf2602b31b50 is not mapped
at all (PGD 0 P4D 0). A value that was non-NULL in memory but points
into unmapped space means the memcg/objcg linkage list_lru_add_obj()
read was garbage, not a legitimate NULL. Note this host has no cgroup v1
controllers in use and no memcg limits set; kswapd reached
shrink_slab_memcg() with an ordinary root-cgroup reclaim.
== Oops 2: 2026-11-25 10:12, userspace task in iput()/evict() ==
kernel tried to execute NX-protected page - exploit attempt? (uid: 1000)
BUG: unable to handle page fault for address: ffffffffb9fee261
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0011) - permissions violation
PGD fe3a47067 P4D fe3a47067 PUD fe3a48063 PMD 8000000fe2e001a1
Oops: Oops: 0011 [#1] SMP NOPTI
CPU: 13 UID: 1000 PID: 10650 Comm: mars::cdn Kdump: loaded Tainted: G
OE 7.0.0-44-generic #44-Ubuntu PREEMPT(lazy)
RIP: 0010:kallsyms_seqs_of_names+0x1da8fd/0x23465c
Code: 72 5f 77 61 69 74 00 70 69 70 65 2d 6d 61 78 2d 73 69 7a 65 00 70 69 70
65 2d 75 73 65 72 2d 70 61 67 65 73 2d 68 61 72 64 00 <70> 69 70 65 2d 75 73 65
72 2d 70 61 67 65 73 2d 73 6f 66 74 00 70
RAX: ffffffffb9fee261 RBX: ffff8a279198fc28 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8a279198fc28
RBP: ffffd2669d1afc50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8a279198fca8
R13: ffff8a279198fc28 R14: ffffffffb9852dc0 R15: ffff8a284784f740
CR2: ffffffffb9fee261
Call Trace:
<TASK>
? evict+0x109/0x290
iput_final+0xb0/0x210
iput+0x8c/0x120
dentry_unlink_inode+0xdc/0x160
__dentry_kill+0x70/0x1b0
finish_dput+0x28/0xb0
dput.part.0+0xcc/0x130
dput+0x13/0x30
__fput+0x13d/0x2d0
Register read: RIP was resolved to kallsyms_seqs_of_names+0x1da8fd only
because the address falls inside that symbol range; the Code bytes at
RIP are printable ASCII ("pipe-user-pages-soft" is the sysctl name
table), i.e. control was transferred into .rodata. A jump to a rodata
address means a function pointer in the inode being torn down (or in its
superblock) held a value taken from elsewhere in kernel memory, again
corruption rather than a clean NULL call.
Both traces converge on iput_final(); Oops 1 diverges inside
list_lru_add_obj() (memcg accounting of the inode's LRU insertion), Oops
2 diverges at the inode eviction function-pointer call right after
iput_final()'s f_op/final teardown (0xb0 vs 0x1d2 offset). Same
structural place, different consumed pointer.
== Frequency ==
kexec/kdump is enabled (kdump-tools active, KDUMP_COREDIR=/var/crash).
panic_on_oops=1, panic=0.
2026-11-25 10:12:41 (dump 1.4 GiB, dmesg attached as dmesg-20261125-1012.txt)
2026-11-30 13:47:xx (dump 1.5 GiB, dmesg attached as dmesg-20261130-1347.txt)
Both boots died from the oops; `last -x reboot` marks them as crash, and each
boot after them shows "Journal file corrupted, rotating" plus a dirty btrfs
tree-log replay.
Same host also produced 2 additional hard freezes with no oops at all
(2026-11-30 21:07 and 2026-12-01 05:31) - see the last section; those are not
necessarily the same bug.
== Ruled out on this host ==
- NVMe: SMART Critical Warning 0x00, Media and Data Integrity Errors 0,
Available Spare 100%, Percentage Used 13%, Error Information Log Entries 0,
short self-test passed; full-device `btrfs scrub` over 774 GiB: 0 read errors,
1 csum error in a single Firefox cache file. 1 GiB fsync write at 1.2 GB/s.
- RAM: no MCE / EDAC corrected errors logged, temperatures normal (CPU package
62 C at idle), memtest not run yet.
So for the two oopses the storage and thermal story is clean; the corruption
signature is what points at the kernel.
== Similar reports elsewhere (same code path, newer kernels) ==
- Proxmox 7.0.14-9-pve, kswapd0, GPF in list_lru_isolate_move() while pruning
the inode cache; kswapd0 died holding the list_lru spinlock and the host
soft-locked (forum.proxmox.com thread 185582, Aug 2026). Same kernel series
7.0.14, same inode-cache reclaim path.
- Amazon Linux 2023 6.12.110, kernel panic in list_lru_add+0xe4 via
list_lru_add_obj() -> workingset_update_node() -> shrink_folio_list() -> kswapd
(awslabs/amazon-eks-ami#2845).
- syzbot "BUG: corrupted list in list_lru_add" (2024).
This looks like a regression in the list_lru/memcg accounting rework that is
reached from inode/dentry reclaim, rather than something specific to this
machine.
== Requests ==
1. Is this a known regression in 7.0.14 (list_lru_add_obj / objcg accounting
reached from iput_final)?
2. Is there a fix in -proposed I could test? I can boot any kernel you point me
at; 7.0.0-43 and 7.0.0-31 are still installed here, so I can also bisect across
those if that helps.
3. What else would be useful? I kept both kdump dmesg logs (attached) but
purged the 1.4/1.5 GiB vmcore images to free disk; kdump is active, so I can
capture and upload a full vmcore for the next occurrence, or run your debug
kernel.
== Other kernel-side events on this host, likely unrelated ==
- 2026-11-30 21:07:41 "page: refcount:2 mapcount:0 ... aops:btree_aops [btrfs]
ino:1" followed by 7 minutes of silence and a hard reset (no oops, no kdump).
- 2026-12-01 05:31:33 btrfs turned the root filesystem read-only (userspace saw
"WAL checkpoint failed: disk I/O error" then "OSError: [Errno 30] Read-only
file system"), followed by 15 minutes of silence and a hard reset. Scrub
afterwards is clean, so no media error preceded it.
These two are lockups rather than oopses; I am enabling
hung_task_panic/softlockup_panic so the next one produces a kdump I can attach
separately.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: kernel-daily-bug
** Attachment added: "kdump dmesg for the 2026-11-30 13:47 oops (kswapd0)"
https://bugs.launchpad.net/bugs/2178483/+attachment/6022288/+files/dmesg-20261130-1347.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178483
Title:
7.0.0-44-generic: oops in iput_final()/list_lru_add_obj() from kswapd0
and from iput() — corruption in the inode teardown path (2 kdump
captures in 8 days)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2178483/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs