Article View: linux.debian.kernel
Article #674Bug#1154153: NULL pointer dereference in ext4_mb_load_buddy_gfp+0xbc, regression from 6.1.190-1 confirmed
From: Restless Italia
Date: Mon, 16 Nov 2026 13:00
Date: Mon, 16 Nov 2026 13:00
64 lines
5085 bytes
5085 bytes
Hello, I see the same bug on my server and can add some information. Kernel: linux-image-6.1.0-55-cloud-amd64 (6.1.192-1) Same oops: RIP ext4_mb_load_buddy_gfp+0xbc/0x380, process fstrim. Regression confirmed: 6.1.0-54 (6.1.190-1) works. After booting back into it, with the same configuration and the same cron jobs, the problem is gone and the hourly run completes normally. Trigger on this machine: an hourly cron job runs, in this order: 1. echo 1 > /proc/sys/vm/drop_caches 2. fstrim / The oops happens right after drop_caches, in the fstrim process. It happened 3 times on 2026-11-16, each time at the first hourly run after boot. Not tested yet: fstrim alone, without drop_caches. After the oops all filesystem I/O blocks: processes stay in D state, systemd-journald hits its start timeout, services stop answering. Only a hard reset recovers the system. Environment: - Debian 12 (bookworm), KVM/QEMU virtual machine (i440FX), 8 vCPU, 23 GiB RAM - Single virtual SCSI disk, 200 GB, discard supported (DISC-GRAN 4K, DISC-MAX 1G) - Root filesystem: ext4, mounted rw,relatime,discard,errors=remount-ro Kernel log. The call trace was not captured: the filesystem was already blocked and journald could not write the rest to disk. [ 383.672829] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 383.674450] #PF: supervisor read access in kernel mode [ 383.675785] #PF: error_code(0x0000) - not-present page [ 383.676986] PGD 0 P4D 0 [ 383.677710] Oops: 0000 [#1] PREEMPT SMP NOPTI [ 383.678806] CPU: 5 PID: 4257 Comm: fstrim Not tainted 6.1.0-55-cloud-amd64 #1 Debian 6.1.192-1 [ 383.680712] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 383.683178] RIP: 0010:ext4_mb_load_buddy_gfp+0xbc/0x380 [ 383.684441] Code: 89 44 24 08 f7 3c 24 48 63 d8 89 54 24 0c ba 01 00 00 00 48 89 de e8 33 d8 e3 ff 49 89 c7 48 3d 00 f0 ff ff 0f 87 28 01 00 00 <48> 8b 00 a8 04 0f 84 12 01 00 00 49 8b 07 a8 01 0f 85 07 01 00 00 [ 383.688310] RSP: 0018:ffffcf9503daba60 EFLAGS: 00010207 [ 383.689562] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 383.691126] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8cf244326500 [ 383.692716] RBP: ffff8cf24665a800 R08: ffffcf9503dabadc R09: 0000000000008000 Bug #1154151 has the same subject and may be a duplicate of this one; #1154101 (system freeze after update to 6.1.0-55) may be related too. Possibly related upstream: a NULL pointer dereference in ext4_mb_load_buddy_gfp was reported during the 6.1.167-rc1 stable review and bisected to the backport of "ext4: convert bd_buddy_page to bd_buddy_folio": https://lkml.iu.edu/2603.3/01511.html Regards, Mauro
Technical Details
Message-ID:
<O04tr-cfJv-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<O04tr-cfJv-9@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod From: Restless Italia <restlessitalia@restless.it> Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#1154153: NULL pointer dereference in ext4_mb_load_buddy_gfp+0xbc, regression from 6.1.190-1 confirmed Date: Mon, 16 Nov 2026 14:00:01 +0100 Message-ID: <O04tr-cfJv-7@gated-at.bofh.it> References: <O04tr-cfJv-9@gated-at.bofh.it> X-Original-To: 1154153@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 16 12:57:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -0.451 Reply-To: Restless Italia <restlessitalia@restless.it>, 1154153@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-kernel@lists.debian.org X-Debian-Pr-Message: followup 1154153 X-Debian-Pr-Package: src:linux X-Debian-Pr-Source: linux MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: it, en-GB Disposition-Notification-To: Restless Italia <restlessitalia@restless.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Cmae-Envelope: MS4xfIK93N44NMsQGJvXET+thyHGhpf2/T0ZhRXhv089gBdlYG8k2aXUSmDsVokksounb9RRp+IMAPeSpbf3yxzjrDq6kXnsk7POkKDX/OHsRnCpOw8KAch+ hpUftG3LSAJgpwgNG473LYT9F7GG4ZCo9Xz9lx2IYb7CkdxpKBMomWCJbNrJq1z47x01DPOm4nSyfeOgnTkirwn5EKPs0o9K9iCNiME1oMKs2I4jIuzsRXWZ X-Greylist: delayed 422 seconds by postgrey-1.37 at buxtehude; Mon, 16 Nov 2026 12:54:32 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002966 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 64 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: archivio@restless.it X-Original-Date: Mon, 16 Nov 2026 13:47:19 +0100 X-Original-Message-ID: <a8d1727a-7c39-4d56-8d0d-ea9ab8e70664@restless.it> X-Original-References: <CAKR5Mf1fi9CaUgKWneCTNpOtV1g4tMA0iq8FBGSF702J5YvNjQ@mail.gmail.com>