lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1db64a42-626d-4b3a-be08-c65e47333ce2@linux.ibm.com>
Date: Wed, 16 Apr 2025 12:37:15 +0530
From: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>
To: LKML <linux-kernel@...r.kernel.org>,
        Madhavan Srinivasan <maddy@...ux.ibm.com>,
        Hari Bathini <hbathini@...ux.ibm.com>,
        Steven Rostedt <rostedt@...dmis.org>
Subject: [mainline]Kernel crash while running ftrace selftest

Hello,


I am seeing kernel crash while running ftrace selftest on today mainline 
kernel.

Head Commit: g1a1d569a75f3.


After reverting below commit 0ae6b8ce200da00a78f33c055fdc4fe3225d22ec, 
issue is not seen.


Traces:

[15137.589286] Oops: Kernel access of bad area, sig: 11 [#1]
[15137.589291] LE PAGE_SIZE=64K MMU=Hash  SMP NR_CPUS=8192 NUMA pSeries
[15137.589298] Modules linked in: nft_compat(E) ext4(E) crc16(E) 
mbcache(E) jbd2(E) 8021q(E) garp(E) mrp(E) stp(E) llc(E) vrf(E) tun(E) 
veth(E) bonding(E) tls(E) nft_fib_inet(E) nft_fib_ipv4(E) 
nft_fib_ipv6(E) nft_fib(E) nft_reject_inet(E) nf_reject_ipv4(E) 
nf_reject_ipv6(E) nft_reject(E) nft_ct(E) rfkill(E) nft_chain_nat(E) 
ip_set(E) bnx2x(E) pseries_rng(E) be2net(E) mdio(E) ibmveth(E) hvcs(E) 
hvcserver(E) sg(E) vmx_crypto(E) drm(E) dm_mod(E) fuse(E) 
drm_panel_orientation_quirks(E) xfs(E) lpfc(E) nvmet_fc(E) nvmet(E) 
sr_mod(E) sd_mod(E) cdrom(E) nvme_fc(E) nvme_fabrics(E) ibmvscsi(E) 
scsi_transport_srp(E) nvme_core(E) scsi_transport_fc(E) [last unloaded: 
test_bpf(E)]
[15137.589400] CPU: 0 UID: 0 PID: 146764 Comm: ftracetest Tainted: 
G        W  OE       6.15.0-rc2-g1a1d569a75f3 #1 VOLUNTARY
[15137.589410] Tainted: [W]=WARN, [O]=OOT_MODULE, [E]=UNSIGNED_MODULE
[15137.589415] Hardware name: IBM,8375-42A POWER9 (architected) 0x4e0202 
0xf000005 of:IBM,FW950.80 (VL950_131) hv:phyp pSeries
[15137.589422] NIP:  c0000000003e4738 LR: c0000000003ec708 CTR: 
000000000000a6a4
[15137.589428] REGS: c00000001473f720 TRAP: 0300   Tainted: G        W  
OE        (6.15.0-rc2-g1a1d569a75f3)
[15137.589435] MSR:  800000000280b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  
CR: 42228282  XER: 00000000
[15137.589459] CFAR: c00000000000dbac DAR: 0000000000000014 DSISR: 
40000000 IRQMASK: 0
[15137.589459] GPR00: c0000000003ec6ec c00000001473f9c0 c000000001da8100 
0000000000000004
[15137.589459] GPR04: c000000001356618 0000000000000001 0000000000000000 
c000000002ccbb88
[15137.589459] GPR08: 0000000000002710 0000000000000004 0000000000000000 
0000000000008000
[15137.589459] GPR12: c00000001473f6a8 c000000002fd0000 0000000000000000 
0000000000000000
[15137.589459] GPR16: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[15137.589459] GPR20: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[15137.589459] GPR24: 0000000000000000 c0000000aeb5b1b0 0000000000000004 
c000000156bbdd00
[15137.589459] GPR28: c000000002c24988 0000000000000004 c000000156bbdd00 
c000000002c24960
[15137.589546] NIP [c0000000003e4738] ops_equal+0x8/0x170
[15137.589553] LR [c0000000003ec708] ftrace_update_ops+0x78/0xe0
[15137.589561] Call Trace:
[15137.589564] [c00000001473f9c0] [c0000000003ec6ec] 
ftrace_update_ops+0x5c/0xe0 (unreliable)
[15137.589575] [c00000001473fa00] [c0000000003f31b4] 
ftrace_startup_subops+0x124/0x5c0
[15137.589583] [c00000001473faa0] [c0000000004351fc] 
register_ftrace_graph+0x2cc/0x550
[15137.589592] [c00000001473fb80] [c00000000042c374] 
graph_trace_init+0x74/0xa0
[15137.589600] [c00000001473fbb0] [c000000000413828] 
tracing_set_tracer+0x3c8/0x610
[15137.589609] [c00000001473fc50] [c000000000413b1c] 
tracing_set_trace_write+0xac/0x120
[15137.589618] [c00000001473fd10] [c0000000006ecb90] vfs_write+0x160/0x4d0
[15137.589626] [c00000001473fdc0] [c0000000006ed230] ksys_write+0x80/0x150
[15137.589635] [c00000001473fe10] [c0000000000325a4] 
system_call_exception+0x114/0x300
[15137.589644] [c00000001473fe50] [c00000000000d05c] 
system_call_vectored_common+0x15c/0x2ec
[15137.589653] --- interrupt: 3000 at 0x7fff88416234
[15137.589661] NIP:  00007fff88416234 LR: 00007fff88416234 CTR: 
0000000000000000
[15137.589666] REGS: c00000001473fe80 TRAP: 3000   Tainted: G        W  
OE        (6.15.0-rc2-g1a1d569a75f3)
[15137.589673] MSR:  800000000280f033 
<SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE>  CR: 4822244e  XER: 00000000
[15137.589696] IRQMASK: 0
[15137.589696] GPR00: 0000000000000004 00007fffed647a40 00007fff88527100 
0000000000000001
[15137.589696] GPR04: 000001003178d420 000000000000000f 000000006172675f 
000000000000000e
[15137.589696] GPR08: 0000000000000000 0000000000000000 0000000000000000 
0000000000000000
[15137.589696] GPR12: 0000000000000000 00007fff8868b1c0 0000000124cc005c 
000001003180ab30
[15137.589696] GPR16: 0000000124cc9528 000001003180aba0 0000000040000000 
0000000124bd2f20
[15137.589696] GPR20: 0000000000000000 00007fffed647c64 0000000000000001 
0000000124c72d68
[15137.589696] GPR24: 0000000124cc8bac 0000000124cc8bb8 0000000000000000 
000001003178d420
[15137.589696] GPR28: 000000000000000f 00007fff885217f0 000001003178d420 
000000000000000f
[15137.589777] NIP [00007fff88416234] 0x7fff88416234
[15137.589783] LR [00007fff88416234] 0x7fff88416234
[15137.589788] --- interrupt: 3000
[15137.589792] Code: 60000000 60000000 e92500d0 2c290000 4d820020 
f9260110 4e800020 60000000 60000000 60000000 7c691b79 4182011c 
<e9490010> 2c2a0000 418200d0 2c240000
[15137.589824] ---[ end trace 0000000000000000 ]---


If you happen to fix this issue, please add below tag.


Reported-by: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>


Regards,

Venkat.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ