🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.kernel
1 messages
1 total messages Started by Ioannis Dressos Mon, 16 Nov 2026 07:40
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
Author: 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--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads