Package: src:linux
Version: 6.1.192-1
Followup-For: Bug #1154153

Dear Maintainer,

* What led up to the situation?

Debian 12 VM on OpenStack (KVM), cloud kernel flavour, root filesystem
ext4 on /dev/sda1 (~40 GB, 68% used). Workload: Docker Compose stack
(PostgreSQL, .NET and Node.js services, mail server).

unattended-upgrades installed linux-image-6.1.0-55-cloud-amd64
(6.1.192-1) on 2026-11-16 and the VM rebooted into it. Before that the
system ran stable for months on 6.1.0-54 (6.1.190-1) and earlier kernels.

Within ~36 hours on 6.1.192-1 the VM crashed repeatedly:
- 2026-11-17 01:00: NULL pointer dereference in ext4_mb_load_buddy_gfp
  via ext4_discard_preallocations / ext4_release_file (process:
  ".NET Long Running" thread)
- 2026-11-17 02:46: second oops, same location (kernel tainted D),
  VM hung afterwards
- 2026-11-17 ~15:00: same oops seen on the console, this time from
  kworker (Workqueue: writeback wb_workfn (flush-8:0)), VM hung again

* What exactly did you do (or not do) that was effective (or
  ineffective)?

- Ran a forced e2fsck -f on the root filesystem: no errors found,
  filesystem clean. So this is not caused by on-disk corruption.
- Booted the previous kernel 6.1.0-54-cloud-amd64 (6.1.190-1) and
  pinned it via GRUB_DEFAULT.

Upstream 6.1.191 contains "ext4: convert bd_buddy_page to
bd_buddy_folio" (and related mballoc folio conversions). The same oops
with the same call path was bisected to that commit during the
6.1.167-rc1 stable review:
https://lkml.iu.edu/2603.3/01511.html

* What was the outcome of this action?

The system is running stable on 6.1.190-1 so far.

* What outcome did you expect instead?

6.1.192-1 should not crash with a NULL pointer dereference in ext4 during 
normal file close / writeback.

Trace of first oops:

Nov 17 01:00:00 <hostname> kernel: BUG: kernel NULL pointer dereference, 
address: 0000000000000000
Nov 17 01:00:00 <hostname> kernel: #PF: supervisor read access in kernel mode
Nov 17 01:00:00 <hostname> kernel: #PF: error_code(0x0000) - not-present page
Nov 17 01:00:00 <hostname> kernel: PGD 0 P4D 0
Nov 17 01:00:00 <hostname> kernel: Oops: 0000 [#1] PREEMPT SMP PTI
Nov 17 01:00:00 <hostname> kernel: CPU: 1 PID: 2403 Comm: .NET Long Runni Not 
tainted 6.1.0-55-cloud-amd64 #1  Debian 6.1.192-1
Nov 17 01:00:00 <hostname> kernel: Hardware name: OpenStack Foundation 
OpenStack Nova, BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Nov 17 01:00:00 <hostname> kernel: RIP: 0010:ext4_mb_load_buddy_gfp+0xbc/0x380
Nov 17 01:00:00 <hostname> kernel: 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
Nov 17 01:00:00 <hostname> kernel: RSP: 0018:ffffd0dd416dfbd0 EFLAGS: 00010207
Nov 17 01:00:00 <hostname> kernel: RAX: 0000000000000000 RBX: 000000000000026a 
RCX: 0000000000000003
Nov 17 01:00:00 <hostname> kernel: RDX: 000000000000002a RSI: ffff8e10c564b240 
RDI: ffff8e0fcdf30000
Nov 17 01:00:00 <hostname> kernel: RBP: ffff8e10c1706800 R08: ffffd0dd416dfc28 
R09: ffff8e1029a5c128
Nov 17 01:00:00 <hostname> kernel: R10: ffffd0dd416dfcd0 R11: 0000000000000000 
R12: ffffd0dd416dfc38
Nov 17 01:00:00 <hostname> kernel: R13: 0000000000008c40 R14: ffff8e10c1360a78 
R15: 0000000000000000
Nov 17 01:00:00 <hostname> kernel: FS:  00007f25c1c39b30(0000) 
GS:ffff8e10f5d00000(0000) knlGS:0000000000000000
Nov 17 01:00:00 <hostname> kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
Nov 17 01:00:00 <hostname> kernel: CR2: 0000000000000000 CR3: 0000000057ce0004 
CR4: 00000000001706a0
Nov 17 01:00:00 <hostname> kernel: Call Trace:
Nov 17 01:00:00 <hostname> kernel:  <TASK>
Nov 17 01:00:00 <hostname> kernel:  ext4_discard_preallocations+0x31e/0x460
Nov 17 01:00:00 <hostname> kernel:  ext4_release_file+0x9a/0xb0
Nov 17 01:00:00 <hostname> kernel:  __fput+0x93/0x250
Nov 17 01:00:00 <hostname> kernel:  task_work_run+0x59/0x90
Nov 17 01:00:00 <hostname> kernel:  exit_to_user_mode_prepare+0x23d/0x240
Nov 17 01:00:00 <hostname> kernel:  syscall_exit_to_user_mode+0x17/0x40
Nov 17 01:00:00 <hostname> kernel:  do_syscall_64+0x69/0x90
Nov 17 01:00:00 <hostname> kernel:  ? syscall_exit_to_user_mode+0x1e/0x40
Nov 17 01:00:00 <hostname> kernel:  ? do_syscall_64+0x69/0x90
Nov 17 01:00:00 <hostname> kernel:  ? do_fault+0x1a7/0x410
Nov 17 01:00:00 <hostname> kernel:  ? __handle_mm_fault+0x660/0xfa0
Nov 17 01:00:00 <hostname> kernel:  ? restore_fpregs_from_fpstate+0x38/0x90
Nov 17 01:00:00 <hostname> kernel:  ? handle_mm_fault+0xdb/0x2d0
Nov 17 01:00:00 <hostname> kernel:  ? do_user_addr_fault+0x1b0/0x560
Nov 17 01:00:00 <hostname> kernel:  ? exit_to_user_mode_prepare+0x44/0x240
Nov 17 01:00:00 <hostname> kernel:  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
Nov 17 01:00:00 <hostname> kernel: RIP: 0033:0x7f2700150347
Nov 17 01:00:00 <hostname> kernel: Code: c3 8b 07 85 c0 75 24 49 89 fb 48 89 f0 
48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 
08 0f 05 <c3> e9 ea d8 ff ff 41 54 b8 02 00 00 00 55 48 89 f5 be 00 88 08 00
Nov 17 01:00:00 <hostname> kernel: RSP: 002b:00007f25c1c39078 EFLAGS: 00000246 
ORIG_RAX: 0000000000000003
Nov 17 01:00:00 <hostname> kernel: RAX: 0000000000000000 RBX: 0000000000000003 
RCX: 00007f2700150347
Nov 17 01:00:00 <hostname> kernel: RDX: 0000000000000000 RSI: 0000000000000000 
RDI: 0000000000000181
--
Nov 17 01:00:00 <hostname> kernel: 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
Nov 17 01:00:00 <hostname> kernel: RSP: 0018:ffffd0dd416dfbd0 EFLAGS: 00010207
Nov 17 01:00:00 <hostname> kernel: RAX: 0000000000000000 RBX: 000000000000026a 
RCX: 0000000000000003
Nov 17 01:00:00 <hostname> kernel: RDX: 000000000000002a RSI: ffff8e10c564b240 
RDI: ffff8e0fcdf30000
Nov 17 01:00:00 <hostname> kernel: RBP: ffff8e10c1706800 R08: ffffd0dd416dfc28 
R09: ffff8e1029a5c128
Nov 17 01:00:00 <hostname> kernel: R10: ffffd0dd416dfcd0 R11: 0000000000000000 
R12: ffffd0dd416dfc38
Nov 17 01:00:00 <hostname> kernel: R13: 0000000000008c40 R14: ffff8e10c1360a78 
R15: 0000000000000000
Nov 17 01:00:00 <hostname> kernel: FS:  00007f25c1c39b30(0000) 
GS:ffff8e10f5d00000(0000) knlGS:0000000000000000
Nov 17 01:00:00 <hostname> kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
Nov 17 01:00:00 <hostname> kernel: CR2: 0000000000000000 CR3: 0000000057ce0004 
CR4: 00000000001706a0
Nov 17 02:46:43 <hostname> kernel: BUG: kernel NULL pointer dereference, 
address: 0000000000000000
Nov 17 02:46:43 <hostname> kernel: #PF: supervisor read access in kernel mode
Nov 17 02:46:43 <hostname> kernel: #PF: error_code(0x0000) - not-present page
Nov 17 02:46:43 <hostname> kernel: PGD 8000000019b23067 P4D 8000000019b23067 
PUD 0
Nov 17 02:46:43 <hostname> kernel: Oops: 0000 [#2] PREEMPT SMP PTI
Nov 17 02:46:43 <hostname> kernel: CPU: 0 PID: 12263 Comm: libuv-worker 
Tainted: G      D            6.1.0-55-cloud-amd64 #1  Debian 6.1.192-1

-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information
sys_vendor: OpenStack Foundation
product_name: OpenStack Nova
product_version: 19.3.2
chassis_vendor: QEMU
chassis_version: pc-i440fx-9.2
bios_vendor: SeaBIOS
bios_version: 1.16.3-debian-1.16.3-2~bpo12+1

** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: 12.15
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-54-cloud-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-6.1.0-55-cloud-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.142+deb12u3
ii  kmod                                    30+20221128-1
ii  linux-base                              4.12.1~deb12u1

Versions of packages linux-image-6.1.0-55-cloud-amd64 recommends:
ii  apparmor             3.0.8-3
ii  firmware-linux-free  20200122-1

Versions of packages linux-image-6.1.0-55-cloud-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 2.06-13+deb12u2
pn  linux-doc-6.1           <none>

Versions of packages linux-image-6.1.0-55-cloud-amd64 is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

Reply via email to