🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.kernel
Article #654

Bug#1154132: linux-image-6.1.0-55-amd64: NULL pointer oops in ext4_mb_load_buddy_gfp, system hangs (regression from 6.1.190-1)

#654
From: Ioannis Dressos
Date: Mon, 16 Nov 2026 07:40
151 lines
9465 bytes
--Apple-Mail=_1D4E0BC0-F320-4EB3-900E-4BAA21AB3EF1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Package: src:linux
Version: 6.1.192-1
Severity: critical
Tags: regression upstream

After upgrading to linux-image-6.1.0-55-amd64 (6.1.192-1), two of four =
bookworm servers hard-hung: kernel still answers ping, all userspace =
frozen, ACPI shutdown ignored, nothing written to the journal. One =
crashed ~160 s after boot, the other after ~4 hours. Both are stable =
again on 6.1.0-54-amd64 (6.1.190-1).

Affected: one Hetzner Cloud KVM guest (virtio) and one bare-metal Intel =
i9-13900 with md RAID1 on NVMe + SATA, so this is not hardware-specific. =
All filesystems are ext4. The hang occurs from a deletion (rm) path, =
consistent with page cache pressure evicting the buddy cache.

Console of the KVM guest:

  RIP: 0010:ext4_mb_load_buddy_gfp+0xbc/0x380 [ext4]
  Code: ... <48> 8b 00 ...
  RAX: 0000000000000000
  CR2: 0000000000000000
  note: rm[5397] exited with irqs disabled

followed by journald and timesyncd watchdog timeouts and an unkillable =
system.

This appears to be the known 6.1.y backport bug: 6.1.191 backported the =
mballoc folio conversion but kept IS_ERR() checks, while =
__filemap_get_folio() in 6.1 returns NULL. When the buddy cache pages =
are evicted, the next allocation or free dereferences NULL. An upstream =
6.1.y fix ("ext4: fix NULL folio dereference in mballoc") reportedly =
exists but is not in 6.1.192.

References:
- https://github.com/sporevm/kernels/pull/13
- https://lkml.iu.edu/2603.3/01511.html (same oops bisected to "ext4: =
convert bd_bitmap_page to bd_bitmap_folio" during 6.1.167-rc1 review)

Since 6.1.192-1 also carries the CVE-2026-99288 fix, users who roll back =
to 6.1.190-1 to avoid the hang lose that fix. Could the ext4 fix be =
cherry-picked into the next bookworm-security upload?

Thanks.

Ioannis Dressos
Information Technology Department	 <https://aviet.aero/>
m: +30 698 284 5673
e: idressos@aviet.aero	AVIET LTD
Airways Building
1 Triq Ganni Vassallo
Luqa, Malta LQA1510
www.aviet.aero <https://aviet.aero/>

--Apple-Mail=_1D4E0BC0-F320-4EB3-900E-4BAA21AB3EF1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" =
content=3D"text/html; charset=3Dus-ascii"></head><body =
style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; =
line-break: after-white-space;"><div>Package: =
src:linux</div><div>Version: 6.1.192-1</div><div>Severity: =
critical</div><div>Tags: regression =
upstream</div><div><br></div><div>After upgrading to =
linux-image-6.1.0-55-amd64 (6.1.192-1), two of four bookworm servers =
hard-hung: kernel still answers ping, all userspace frozen, ACPI =
shutdown ignored, nothing written to the journal. One crashed ~160 s =
after boot, the other after ~4 hours. Both are stable again on =
6.1.0-54-amd64 (6.1.190-1).</div><div><br></div><div>Affected: one =
Hetzner Cloud KVM guest (virtio) and one bare-metal Intel i9-13900 with =
md RAID1 on NVMe + SATA, so this is not hardware-specific. All =
filesystems are ext4. The hang occurs from a deletion (rm) path, =
consistent with page cache pressure evicting the buddy =
cache.</div><div><br></div><div>Console of the KVM =
guest:</div><div><br></div><div>&nbsp; RIP: =
0010:ext4_mb_load_buddy_gfp+0xbc/0x380 [ext4]</div><div>&nbsp; Code: ... =
&lt;48&gt; 8b 00 ...</div><div>&nbsp; RAX: =
0000000000000000</div><div>&nbsp; CR2: 0000000000000000</div><div>&nbsp; =
note: rm[5397] exited with irqs =
disabled</div><div><br></div><div>followed by journald and timesyncd =
watchdog timeouts and an unkillable =
system.</div><div><br></div><div>This appears to be the known 6.1.y =
backport bug: 6.1.191 backported the mballoc folio conversion but kept =
IS_ERR() checks, while __filemap_get_folio() in 6.1 returns NULL. When =
the buddy cache pages are evicted, the next allocation or free =
dereferences NULL. An upstream 6.1.y fix ("ext4: fix NULL folio =
dereference in mballoc") reportedly exists but is not in =
6.1.192.</div><div><br></div><div>References:</div><div>- =
https://github.com/sporevm/kernels/pull/13</div><div>- =
https://lkml.iu.edu/2603.3/01511.html (same oops bisected to "ext4: =
convert bd_bitmap_page to bd_bitmap_folio" during 6.1.167-rc1 =
review)</div><div><br></div><div>Since 6.1.192-1 also carries the =
CVE-2026-99288 fix, users who roll back to 6.1.190-1 to avoid the hang =
lose that fix. Could the ext4 fix be cherry-picked into the next =
bookworm-security =
upload?</div><div><br></div><div>Thanks.</div><div><br></div><table =
width=3D"450" cellpadding=3D"0" cellspacing=3D"0" style=3D"width: =
450px;"><tbody style=3D"vertical-align:top;"><tr><td =
style=3D"border-bottom:1px solid; border-bottom-color:#4a6481; =
padding-bottom:10px; padding-top:0; padding-left:0; padding-right:0; =
vertical-align:bottom; font-family:Verdana, sans-serif; color:#3b4908;" =
valign=3D"bottom"><strong><span style=3D"font-size: 14pt; color: rgb(74, =
100, 129);">Ioannis&nbsp;Dressos</span></strong><br><span =
style=3D"font-size: 10pt; color: rgb(68, 68, 68);"><span style=3D"color: =
rgb(44, 44, 44);">Information Technology Department</span></span>
                    </td><td style=3D"border-bottom:1px solid; =
border-bottom-color:#4a6481; padding-bottom:5px; padding-top:0; =
padding-left:0; padding-right:15px; vertical-align:top; =
text-align:center; font-family:Verdana, sans-serif; color:#3b4908;" =
valign=3D"top"><a href=3D"https://aviet.aero/" target=3D"_blank"><img =
border=3D"0" alt=3D"Logo" width=3D"129" style=3D"width:129px; =
height:auto; border:0;" =
src=3D"https://aviet.aero/wp-content/uploads/2023/11/aviet-small.png"></a>=
</td></tr><tr><td style=3D"width:60%; padding-top:10px; =
padding-bottom:0; padding-left:0; padding-right:0; line-height:18px; =
vertical-align:top; font-family:Verdana, sans-serif; font-size:10pt; =
color:#444444;" valign=3D"top" width=3D"60%"><span style=3D"font-size: =
10pt; color: rgb(44, 44, 44);">m: +30 698 284 5673<br></span>
                        <span style=3D"font-size: 10pt; color: rgb(44, =
44, 44);">e: idressos@aviet.aero</span>
                    </td><td style=3D"width:40%; padding-top:10px; =
padding-bottom:0; padding-left:0; padding-right:0; line-height:18px; =
vertical-align:top; font-family:Verdana, sans-serif; font-size:10pt; =
color:#444444;" valign=3D"top" width=3D"40%"><span style=3D"font-size: =
10pt; color: rgb(44, 44, 44);">AVIET LTD<br></span>		=09
                        <span style=3D"font-size: 10pt; color: rgb(44, =
44, 44);">Airways Building<br>1 Triq Ganni Vassallo<br></span>
                        <span style=3D"font-size: 10pt; color: rgb(44, =
44, 44);">Luqa, Malta LQA1510</span>
                    </td></tr><tr><td style=3D"width:60%; =
padding-top:10px; padding-bottom:0; padding-left:0; padding-right:0; =
vertical-align:top" width=3D"60%" valign=3D"top"></td><td =
style=3D"width:40%; padding-top:10px; padding-bottom:0; padding-left:0; =
padding-right:0; vertical-align:top" width=3D"40%" =
valign=3D"top"><strong><a href=3D"https://aviet.aero/" target=3D"_blank" =
rel=3D"noopener" style=3D"text-decoration:none;"><span =
style=3D"font-family:Verdana, sans-serif; font-size:10pt; =
color:#3b4908;"><span style=3D"color: rgb(74, 100, =
129);">www.aviet.aero</span></span></a></strong></td></tr></tbody></table>=

<br></body></html>=

--Apple-Mail=_1D4E0BC0-F320-4EB3-900E-4BAA21AB3EF1--
Technical Details
Message-ID: <NZZtL-ccUO-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Ioannis Dressos <idressos@aviet.aero>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1154132: linux-image-6.1.0-55-amd64: NULL pointer oops in ext4_mb_load_buddy_gfp, system hangs (regression from 6.1.190-1)
Date: Mon, 16 Nov 2026 08:40:01 +0100
Message-ID: <NZZtL-ccUO-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 16 07:39:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.44
Reply-To: Ioannis Dressos <idressos@aviet.aero>, 1154132@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: report 1154132
X-Debian-Pr-Package: src:linux
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: linux
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_1D4E0BC0-F320-4EB3-900E-4BAA21AB3EF1"
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3901.200.71.1.16\))
X-Mailer: Apple Mail (2.3901.200.71.1.16)
X-Greylist: delayed 340 seconds by postgrey-1.37 at buxtehude; Mon, 16 Nov 2026 07:38:03 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002892
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 151
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Matthias Abddisa <matthias@aviet.aero>
X-Original-Date: Mon, 16 Nov 2026 09:32:06 +0200
X-Original-Message-ID: <8A91C8B1-2320-43CC-B7F5-D7C4B73724EB@aviet.aero>