Subject: [REGRESSION] [next-20251117] ppc64le: WARNING in vmalloc_fix_flags with __GFP_ACCOUNT in BPF/seccomp path

From: Misbah Anjum N <[email-masked]>
Date: Tue, 18 Nov 2025 10:12:02 +0530

Hi,

I'm reporting a regression in linux-next that was introduced between 
20251114 and 20251117.

Regression Info:
- Working: 6.18.0-rc5-next-20251114
- Broken: 6.18.0-rc6-next-20251117

Environment:
- IBM Power11 pSeries (ppc64le)
- Fedora43 Distro

Issue:
WARNING: mm/vmalloc.c:3937 at vmalloc_fix_flags+0x6c/0xa0
"Unexpected gfp: 0x400000 (__GFP_ACCOUNT). Fixing up to gfp: 0xdc0 
(GFP_KERNEL|__GFP_ZERO). Fix your code!"

Call Trace:
[  523.921345] Unexpected gfp: 0x400000 (__GFP_ACCOUNT). Fixing up to 
gfp: 0xdc0 (GFP_KERNEL|__GFP_ZERO). Fix your code!
[  523.921356] WARNING: mm/vmalloc.c:3937 at 
vmalloc_fix_flags+0x6c/0xa0, CPU#69: (ostnamed)/6500
[  523.921365] Modules linked in: rpcrdma rdma_cm iw_cm ib_cm ib_core 
kvm_hv kvm bonding rfkill binfmt_misc pseries_rng vmx_crypto nfsd 
auth_rpcgss drm nfs_acl lockd grace loop drm_panel_orientation_quirks 
vsock_loopback vmw_vsock_virtio_transport_common vsock zram ext4 crc16 
mbcache jbd2 sr_mod sd_mod cdrom ibmvscsi ibmveth scsi_transport_srp 
btrfs blake2b libblake2b xor raid6_pq zstd_compress sunrpc dm_mirror 
dm_region_hash dm_log be2iscsi bnx2i cnic uio cxgb4i cxgb4 tls libcxgbi 
libcxgb qla4xxx iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi i2c_dev dm_multipath fuse dm_mod nfnetlink
[  523.921485] CPU: 69 UID: 0 PID: 6500 Comm: (ostnamed) Kdump: loaded 
Tainted: G        W           6.18.0-rc6-next-20251117 #1 VOLUNTARY
[  523.921504] Tainted: [W]=WARN
[  523.921511] Hardware name: IBM,9824-42A Power11 (architected) 
0x820200 0xf000007 of:IBM,FW1110.00 (RB1110_082) hv:phyp pSeries
[  523.921523] NIP:  c00000000063f8fc LR: c00000000063f8f8 CTR: 
00000000005d7e44
[  523.921537] REGS: c0000001ad0f78e0 TRAP: 0700   Tainted: G        W   
          (6.18.0-rc6-next-20251117)
[  523.921544] MSR:  8000000000029033 <SF,EE,ME,IR,DR,RI,LE>  CR: 
2824222f  XER: 0000000a
[  523.921564] CFAR: c00000000023225c IRQMASK: 0
[  523.921564] GPR00: c00000000063f8f8 c0000001ad0f7b80 c0000000017f8100 
0000000000000069
[  523.921564] GPR04: 00000000ffff7fff c0000001ad0f7970 00000027f9c50000 
0000000000000001
[  523.921564] GPR08: 0000000000000027 0000000000000000 0000000000000000 
0000000000000003
[  523.921564] GPR12: c0000000028fe748 c0000027fde3c300 0000000000000000 
0000000000000000
[  523.921564] GPR16: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[  523.921564] GPR20: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[  523.921564] GPR24: c000000001711608 0000000000000000 0000000000000000 
c0000001270c7858
[  523.921564] GPR28: 0000000000000000 0000000000000dc0 0000000000010000 
0000000000400000
[  523.921626] NIP [c00000000063f8fc] vmalloc_fix_flags+0x6c/0xa0
[  523.921631] LR [c00000000063f8f8] vmalloc_fix_flags+0x68/0xa0
[  523.921636] Call Trace:
[  523.921639] [c0000001ad0f7b80] [c00000000063f8f8] 
vmalloc_fix_flags+0x68/0xa0 (unreliable)
[  523.921646] [c0000001ad0f7c00] [c00000000064a7a0] 
__vmalloc_noprof+0x90/0xa0
[  523.921653] [c0000001ad0f7c80] [c0000000004addf4] 
bpf_prog_alloc_no_stats+0x54/0x270
[  523.921660] [c0000001ad0f7cd0] [c0000000004ae03c] 
bpf_prog_alloc+0x2c/0x130
[  523.921665] [c0000001ad0f7d10] [c000000000f39d24] 
bpf_prog_create_from_user+0x74/0x180
[  523.921673] [c0000001ad0f7d80] [c0000000003f2400] 
seccomp_set_mode_filter+0x1e0/0x790
[  523.921690] [c0000001ad0f7e10] [c000000000033758] 
system_call_exception+0x128/0x310
[  523.921701] [c0000001ad0f7e50] [c00000000000d05c] 
system_call_vectored_common+0x15c/0x2ec
[  523.921716] ---- interrupt: 3000 at 0x7fffa8750d3c
[  523.921725] NIP:  00007fffa8750d3c LR: 00007fffa8750d3c CTR: 
0000000000000000
[  523.921737] REGS: c0000001ad0f7e80 TRAP: 3000   Tainted: G        W   
          (6.18.0-rc6-next-20251117)
[  523.921750] MSR:  800000000280f033 
<SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE>  CR: 44244224  XER: 00000000
[  523.921775] IRQMASK: 0
[  523.921775] GPR00: 0000000000000166 00007fffeec77650 00007fffa8837c00 
0000000000000001
[  523.921775] GPR04: 0000000000000000 00000001524c2af0 0000000000000000 
0000000000000000
[  523.921775] GPR08: 0000000040000000 0000000000000000 0000000000000000 
0000000000000000
[  523.921775] GPR12: 0000000000000000 00007fffa9571520 00007fffeec77a90 
000000013fa85300
[  523.921775] GPR16: 0000000000000001 0000000000000000 000000013fa8a610 
0000000000000093
[  523.921775] GPR20: 000000007fff0000 000000013face248 0000000152102d28 
000000007ffffffe
[  523.921775] GPR24: 0000000000050026 0000000000050001 0000000000000092 
00000001524c4e30
[  523.921775] GPR28: 000000013fae0088 00000000c0000015 0000000000000000 
00000001524c4e30
[  523.921835] NIP [00007fffa8750d3c] 0x7fffa8750d3c
[  523.921841] LR [00007fffa8750d3c] 0x7fffa8750d3c
[  523.921850] ---- interrupt: 3000
[  523.921857] Code: 79440020 79260020 38e1006c 38a10074 9101006c 
e90d0c78 f9010078 39000000 91410074 9121006c 4bbf2885 60000000 
<0fe00000> e9410078 e92d0c78 7d4a4a79
[  523.921882] ---[ end trace 0000000000000000 ]---

Reported-by: Misbah Anjum N <[email-masked]>

Regards,
Misbah Anjum N