WARNING: Kernel Errors Present - BUG: KFENCE:

Hy every one, is this bug fix because I am seeing kind of the same but more about my cpu.
I dit upgrade my firewall like 3 months ago but i did notice any thing till now.
Oficialy i dont notice any thing just this ero:

 WARNING:  Kernel Errors Present
    BUG: KFENCE: use-after-free read in ipt_do_t ...:  24 Time(s)

 72 Time(s):  __do_softirq+0xf0/0x302
 72 Time(s):  __irq_exit_rcu+0xc9/0x110
 26 Time(s):  __napi_poll+0x2c/0x170
 2 Time(s):  __netif_receive_skb_list_core+0x232/0x250
 46 Time(s):  __netif_receive_skb_one_core+0x93/0xb0
 24 Time(s):  __pskb_pull_tail+0x50/0x470
 72 Time(s):  asm_common_interrupt+0x22/0x40
 24 Time(s):  bnx2_alloc_rx_data+0x3f/0x1a0 [bnx2]
 24 Time(s):  bnx2_poll_msix+0x33/0xe0 [bnx2]
 2 Time(s):  bnx2_poll_msix+0x9f/0xe0 [bnx2]
 24 Time(s):  bnx2_poll_work+0x961/0xf70 [bnx2]
 72 Time(s):  common_interrupt+0xb8/0xd0
 72 Time(s):  cpu_startup_entry+0x19/0x20
 72 Time(s):  cpuidle_enter+0x29/0x40
 72 Time(s):  cpuidle_enter_state+0xde/0x430
 72 Time(s):  do_idle+0x1cc/0x200
 46 Time(s):  ifb_ri_tasklet+0x17a/0x299 [ifb]
 2 Time(s):  ip_forward+0x424/0x570
 2 Time(s):  ip_list_rcv+0xf8/0x130
 2 Time(s):  ip_output+0x13a/0x180
 46 Time(s):  ip_rcv+0x130/0x1c0
 2 Time(s):  ip_sublist_rcv+0x186/0x220
 2 Time(s):  ip_sublist_rcv_finish+0x6f/0x80
 24 Time(s):  ipt_do_table+0x193/0x770
 24 Time(s):  ipt_do_table+0x2b7/0x770
 24 Time(s):  match+0x146/0x66d [xt_layer7]
 2 Time(s):  napi_complete_done+0x6f/0x1c0
 26 Time(s):  net_rx_action+0x2cc/0x310
 46 Time(s):  netif_receive_skb+0x49/0x180
 2 Time(s):  netif_receive_skb_list_internal+0x1b0/0x2f0
 48 Time(s):  nf_hook_slow+0x3f/0xc0
 24 Time(s):  pskb_expand_head+0x136/0x350
 72 Time(s):  secondary_startup_64_no_verify+0xce/0xdb
 72 Time(s):  start_secondary+0x117/0x140
 46 Time(s):  tasklet_action_common.constprop.0+0xbf/0xe0
 48 Time(s): ==================================================================
 1 Time(s): CPU: 10 PID: 0 Comm: swapper/10 Tainted: G    B              6.1.11-ipfire #1
 10 Time(s): CPU: 2 PID: 0 Comm: swapper/2 Tainted: G    B              6.1.11-ipfire #1
 6 Time(s): CPU: 3 PID: 0 Comm: swapper/3 Tainted: G    B              6.1.11-ipfire #1
 7 Time(s): CPU: 4 PID: 0 Comm: swapper/4 Tainted: G    B              6.1.11-ipfire #1
 24 Time(s): Hardware name: ASUS System Product Name/PRIME B550M-K, BIOS 2803 04/28/2022
 1 Time(s): Use-after-free read at 0x0000000007040e5f (in kfence-#228):
 1 Time(s): Use-after-free read at 0x000000000b1a21ce (in kfence-#231):
 1 Time(s): Use-after-free read at 0x000000000c6c134c (in kfence-#141):
 1 Time(s): Use-after-free read at 0x0000000026d6bdb5 (in kfence-#136):
 1 Time(s): Use-after-free read at 0x00000000309a2ede (in kfence-#183):
 1 Time(s): Use-after-free read at 0x00000000350249d2 (in kfence-#184):
 1 Time(s): Use-after-free read at 0x000000003ca713fb (in kfence-#192):
 2 Time(s): Use-after-free read at 0x00000000487214f6 (in kfence-#36):
 1 Time(s): Use-after-free read at 0x00000000489a2e1d (in kfence-#13):
 1 Time(s): Use-after-free read at 0x0000000061578cce (in kfence-#153):
 1 Time(s): Use-after-free read at 0x00000000705e9bed (in kfence-#57):
 1 Time(s): Use-after-free read at 0x000000007e0ab78c (in kfence-#159):
 1 Time(s): Use-after-free read at 0x000000008a1c4774 (in kfence-#65):
 1 Time(s): Use-after-free read at 0x000000008a54d5b4 (in kfence-#15):
 1 Time(s): Use-after-free read at 0x00000000a8214b40 (in kfence-#141):
 1 Time(s): Use-after-free read at 0x00000000c79b9c45 (in kfence-#88):
 1 Time(s): Use-after-free read at 0x00000000ca019875 (in kfence-#8):
 2 Time(s): Use-after-free read at 0x00000000e58c1d28 (in kfence-#121):
 2 Time(s): Use-after-free read at 0x00000000f159deb8 (in kfence-#53):
 1 Time(s): Use-after-free read at 0x00000000f4b2f6f4 (in kfence-#169):
 1 Time(s): Use-after-free read at 0x00000000fb179746 (in kfence-#219):
 1 Time(s): allocated by task 0 on cpu 10 at 625448.092233s:
 1 Time(s): allocated by task 0 on cpu 2 at 570320.851714s:
 1 Time(s): allocated by task 0 on cpu 2 at 570553.196172s:
 1 Time(s): allocated by task 0 on cpu 2 at 574544.364914s:
 1 Time(s): allocated by task 0 on cpu 2 at 576866.723589s:
 1 Time(s): allocated by task 0 on cpu 2 at 577100.498870s:
 1 Time(s): allocated by task 0 on cpu 2 at 582206.514842s:
 1 Time(s): allocated by task 0 on cpu 2 at 587833.242225s:
 1 Time(s): allocated by task 0 on cpu 2 at 596916.268493s:
 1 Time(s): allocated by task 0 on cpu 2 at 605275.824924s:
 1 Time(s): allocated by task 0 on cpu 3 at 567661.816103s:
 1 Time(s): allocated by task 0 on cpu 3 at 569565.740494s:
 1 Time(s): allocated by task 0 on cpu 3 at 584616.757026s:
 1 Time(s): allocated by task 0 on cpu 3 at 588039.021906s:
 1 Time(s): allocated by task 0 on cpu 3 at 600609.186069s:
 1 Time(s): allocated by task 0 on cpu 3 at 613085.827746s:
 1 Time(s): allocated by task 0 on cpu 3 at 619451.361841s:
 1 Time(s): allocated by task 0 on cpu 3 at 624645.506802s:
 1 Time(s): allocated by task 0 on cpu 4 at 570269.041404s:
 1 Time(s): allocated by task 0 on cpu 4 at 587153.201921s:
 1 Time(s): allocated by task 0 on cpu 4 at 589701.643770s:
 1 Time(s): allocated by task 0 on cpu 4 at 591898.611868s:
 1 Time(s): allocated by task 0 on cpu 4 at 601573.732908s:
 1 Time(s): allocated by task 0 on cpu 4 at 607377.531411s:
 1 Time(s): freed by task 0 on cpu 10 at 625490.312676s:
 1 Time(s): freed by task 0 on cpu 2 at 570327.842072s:
 1 Time(s): freed by task 0 on cpu 2 at 570601.254386s:
 1 Time(s): freed by task 0 on cpu 2 at 574572.914549s:
 1 Time(s): freed by task 0 on cpu 2 at 576891.541074s:
 1 Time(s): freed by task 0 on cpu 2 at 577136.929519s:
 1 Time(s): freed by task 0 on cpu 2 at 582230.961003s:
 1 Time(s): freed by task 0 on cpu 2 at 587839.687864s:
 1 Time(s): freed by task 0 on cpu 2 at 588045.298029s:
 1 Time(s): freed by task 0 on cpu 2 at 596935.292736s:
 1 Time(s): freed by task 0 on cpu 2 at 605284.918530s:
 1 Time(s): freed by task 0 on cpu 3 at 567677.768538s:
 1 Time(s): freed by task 0 on cpu 3 at 584618.044338s:
 1 Time(s): freed by task 0 on cpu 3 at 600612.872698s:
 1 Time(s): freed by task 0 on cpu 3 at 613099.969949s:
 1 Time(s): freed by task 0 on cpu 3 at 619468.265966s:
 1 Time(s): freed by task 0 on cpu 3 at 624683.289698s:
 1 Time(s): freed by task 0 on cpu 4 at 569599.403049s:
 1 Time(s): freed by task 0 on cpu 4 at 570301.282639s:
 1 Time(s): freed by task 0 on cpu 4 at 587154.415911s:
 1 Time(s): freed by task 0 on cpu 4 at 589762.569684s:
 1 Time(s): freed by task 0 on cpu 4 at 591947.742437s:
 1 Time(s): freed by task 0 on cpu 4 at 601586.007988s:
 1 Time(s): freed by task 0 on cpu 4 at 607430.162353s:
 2 Time(s): kfence-#121: 0x0000000018713e5f-0x000000005af3464f, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#136: 0x000000003bc0eb05-0x0000000050c122e8, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#13: 0x000000008dc5c6f0-0x00000000e25e28f4, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#141: 0x000000007055b3f8-0x000000004661512b, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#141: 0x00000000a7da0330-0x00000000b9bbdc14, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#153: 0x0000000050d299ad-0x0000000089090eed, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#159: 0x00000000e5160055-0x00000000ffa1ba36, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#15: 0x000000006890425d-0x000000009ac7245b, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#169: 0x00000000cfe2a095-0x000000006a45abe9, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#183: 0x00000000f4ebccc4-0x00000000c6e4ceb7, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#184: 0x00000000170a3672-0x0000000074195481, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#192: 0x00000000a5f2fc4f-0x0000000089e1076f, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#219: 0x000000000d33a3a5-0x00000000e18efcdf, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#228: 0x000000000c78a1f0-0x0000000029640cc4, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#231: 0x000000000f1249ad-0x000000006e21770d, size=1024, cache=kmalloc-1k
 2 Time(s): kfence-#36: 0x00000000cb8f2c4a-0x00000000b9a3005d, size=1024, cache=kmalloc-1k
 2 Time(s): kfence-#53: 0x0000000067300f25-0x00000000e9252c27, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#57: 0x00000000d0604fa7-0x00000000500f52c4, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#65: 0x00000000722d8231-0x00000000b5ecedbe, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#88: 0x000000000853fe8a-0x000000001e79b157, size=1024, cache=kmalloc-1k
 1 Time(s): kfence-#8: 0x00000000c90b16aa-0x000000000965a7d2, size=1024, cache=kmalloc-1k

I am using: IPFire 2.27 (x86_64) - Core-Update 174
my new ipfire hardware is a Ryzen 5600G apu
https://fireinfo.ipfire.org/profile/782d109b426be6ed9859d73c24bf5e7187912432

what am I missing

Best regards

Neopegasus

People earlier in the thread had the problem with their nic driver resolved by the update to kernel 5.15.35 in CU167 from 5.15 in CU162.

Others still had the problem with that kernel version but have not reported back about the problem continuing as newer kernel versions have been released.

We are now on kernel 6.1.11 in CU174. In between there have been 5.15.71 in CU171, 5.15.59 in CU170 and 5.15.49 in CU169.

If you didn’t see it when you upgraded 3 months ago but do now with CU174 then it sounds like a new bug has been introduced into the nic drivers in the kernel for either your Nextreme or Realtek nics.

Unfortunately all we can do is wait for the next kernel update and see if updated drivers have been supplied to the kernel developers and hope that those fix the problem.

From previous threads in the forum on the BUG: KFENCE it looks not to affect functionality as this is the kernel stopping the driver from re-using memory space it has said it no longer needed, so the driver has to request new memory space.

1 Like

Thanks @bonnietwin ,

I check in my log and the first time I see it is on second of march.

At that time it look like this:

WARNING:  Kernel Errors Present
    amd_pstate_ut: amd_pstate_ut_pstate_enable rdmsrl_safe MSR_AMD_CPPC_ENABLE ret=-5 error! ...:  1 Time(s)

 1 Time(s):  sda: sda1 sda2 sda3 sda4
 2 Time(s): , receive & transmit flow control ON
 1 Time(s): 8021q: 802.1Q VLAN Support v1.8
 1 Time(s): <27>udevd[688]: specified group 'input' unknown
 1 Time(s): <27>udevd[688]: specified group 'kvm' unknown
 1 Time(s): <30>dracut: /dev/disk/by-uuid/078ed12e-1890-470e-adfd-9f08e70164dd: clean, 192493/30449664 files, 9441044/121793030 blocks
 1 Time(s): <30>dracut: Checking ext4: /dev/disk/by-uuid/078ed12e-1890-470e-adfd-9f08e70164dd
 1 Time(s): <30>dracut: IPFire-2
 1 Time(s): <30>dracut: Mounted root filesystem /dev/sda4
 1 Time(s): <30>dracut: Mounting /dev/disk/by-uuid/078ed12e-1890-470e-adfd-9f08e70164dd with -o defaults,ro
 1 Time(s): <30>dracut: Switching root
 1 Time(s): <30>dracut: issuing e2fsck -a /dev/disk/by-uuid/078ed12e-1890-470e-adfd-9f08e70164dd
 1 Time(s): <30>udevd[334]: starting eudev-3.2.11
 1 Time(s): <30>udevd[689]: starting eudev-3.2.11
 1 Time(s): ACPI: video: Video Device [VGA1] (multi-head: yes  rom: no  post: no)
 1 Time(s): ACPI: video: Video Device [VGA] (multi-head: yes  rom: no  post: no)
 1 Time(s): AES CTR mode by8 optimization enabled
 1 Time(s): AVX version of gcm_enc/dec engaged.
 1 Time(s): Adding 1048572k swap on /dev/sda3.  Priority:1 extents:1 across:1048572k SS
 1 Time(s): Bridge firewalling registered
 1 Time(s): Console: switching to colour frame buffer device 128x48
 1 Time(s): Freeing initrd memory: 28096K
 1 Time(s): Freeing unused kernel image (initmem) memory: 1868K
 1 Time(s): Freeing unused kernel image (rodata/data gap) memory: 2020K
 1 Time(s): Freeing unused kernel image (text/rodata gap) memory: 2040K
 1 Time(s): Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
 1 Time(s): IPI shorthand broadcast: enabled
 2 Time(s): IPv4: martian source 255.255.255.255 from 192.168.10.31, on dev green0
 1 Time(s): In-situ OAM (IOAM) with IPv6
 1 Time(s): Initializing XFRM netlink socket
 1 Time(s): Kernel log daemon terminating.
 1 Time(s): Kernel logging (proc) stopped.
 1 Time(s): Key type dns_resolver registered
 1 Time(s): Loaded X.509 cert 'IPFire.org: Build time autogenerated kernel key: 16245aa7c79e00c807e988bbb30e7394bc7b1956'
 1 Time(s): Loading compiled-in X.509 certificates
 1 Time(s): MCE: In-kernel MCE decoding enabled.
 1 Time(s): NET: Registered PF_INET6 protocol family
 1 Time(s): NET: Registered PF_PACKET protocol family
 1 Time(s): Run /init as init process
 1 Time(s): SVM: LBR virtualization supported
 1 Time(s): SVM: TSC scaling supported
 1 Time(s): SVM: kvm: Nested Paging enabled
 1 Time(s): Segment Routing with IPv6
 1 Time(s): Write protecting the kernel read-only data: 22528k
 1 Time(s): amd_pstate_ut: 1    amd_pstate_ut_acpi_cpc_valid^I fail!
 1 Time(s): amd_pstate_ut: 2    amd_pstate_ut_check_enabled^I fail!
 1 Time(s): amd_pstate_ut: 3    amd_pstate_ut_check_perf^I success!
 1 Time(s): amd_pstate_ut: 4    amd_pstate_ut_check_freq^I success!
 1 Time(s): amd_pstate_ut: amd_pstate_ut_acpi_cpc_valid the _CPC object is not present in SBIOS!
 1 Time(s): amd_pstate_ut: get_shared_mem unable to open /sys/module/amd_pstate/parameters/shared_mem file!
 1 Time(s): ata1.00: 976773168 sectors, multi 1: LBA48 NCQ (depth 32), AA
 1 Time(s): ata1.00: ATA-11: Samsung SSD 870 EVO 500GB, SVT01B6Q, max UDMA/133
 2 Time(s): ata1.00: Enabling discard_zeroes_data
 1 Time(s): ata1.00: Features: Trust Dev-Sleep NCQ-sndrcv
 1 Time(s): ata1.00: configured for UDMA/133
 2 Time(s): ata1.00: supports DRM functions and may not be fully accessible
 1 Time(s): ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
 1 Time(s): ata2: SATA link down (SStatus 0 SControl 300)
 1 Time(s): bnx2 0000:01:00.0 eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem fc000000, IRQ 39, node addr f4:ce:46:bd:0a:a8
 1 Time(s): bnx2 0000:01:00.0 red0: NIC Copper Link is Up, 1000 Mbps full duplex
 1 Time(s): bnx2 0000:01:00.0 red0: renamed from eth0
 1 Time(s): bnx2 0000:01:00.0 red0: using MSIX
 1 Time(s): bnx2 0000:01:00.1 eth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem fa000000, IRQ 40, node addr f4:ce:46:bd:0a:aa
 1 Time(s): bnx2 0000:01:00.1 green0: NIC Copper Link is Up, 1000 Mbps full duplex
 1 Time(s): bnx2 0000:01:00.1 green0: renamed from eth1
 1 Time(s): bnx2 0000:01:00.1 green0: using MSIX
 1 Time(s): cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
 1 Time(s): cfg80211: Loading compiled-in X.509 certificates for regulatory database
 1 Time(s): clocksource: Switched to clocksource tsc
 1 Time(s): clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1594c522ce2, max_idle_ns: 440795237962 ns
 1 Time(s): device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
 1 Time(s): device-mapper: uevent: version 1.0.3
 1 Time(s): hid: raw HID events driver (C) Jiri Kosina
 1 Time(s): hub 3-0:1.0: 2 ports detected
 1 Time(s): hub 3-0:1.0: USB hub found
 1 Time(s): hub 4-0:1.0: 2 ports detected
 1 Time(s): hub 4-0:1.0: USB hub found
 1 Time(s): hub 5-0:1.0: 4 ports detected
 1 Time(s): hub 5-0:1.0: USB hub found
 1 Time(s): hub 6-0:1.0: 4 ports detected
 1 Time(s): hub 6-0:1.0: USB hub found
 1 Time(s): hwmon_vid: Unknown VRM version of your x86 CPU
 1 Time(s): i8042: PNP: No PS/2 controller found.
 1 Time(s): input: PC Speaker as /devices/platform/pcspkr/input/input4
 1 Time(s): input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input2
 1 Time(s): input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:02/LNXVIDEO:01/input/input3
 1 Time(s): kvm: Nested Virtualization enabled
 1 Time(s): ledtrig-cpu: registered to indicate activity on CPUs
 2 Time(s): ll header: 00000000: ff ff ff ff ff ff b4 fb e3 f8 1d 17 08 00
 1 Time(s): lp: driver loaded but no devices found
 1 Time(s): microcode: CPU0: patch_level=0x0700010f
 1 Time(s): microcode: CPU1: patch_level=0x0700010f
 1 Time(s): microcode: CPU2: patch_level=0x0700010f
 1 Time(s): microcode: CPU3: patch_level=0x0700010f
 1 Time(s): microcode: Microcode Update Driver: v2.2.
 1 Time(s): microcode: microcode updated early to new patch_level=0x0700010f
 1 Time(s): mousedev: PS/2 mouse device common for all mice
 1 Time(s): nct6775: Found NCT6776D/F or compatible chip at 0x2e:0x290
 1 Time(s): net_ratelimit: 2 callbacks suppressed
 1 Time(s): ohci-pci 0000:00:12.0: OHCI PCI host controller
 1 Time(s): ohci-pci 0000:00:12.0: irq 18, io mem 0xfe265000
 1 Time(s): ohci-pci 0000:00:12.0: new USB bus registered, assigned bus number 5
 1 Time(s): ohci-pci 0000:00:13.0: OHCI PCI host controller
 1 Time(s): ohci-pci 0000:00:13.0: irq 18, io mem 0xfe263000
 1 Time(s): ohci-pci 0000:00:13.0: new USB bus registered, assigned bus number 6
 1 Time(s): perf: interrupt took too long (2512 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
 1 Time(s): perf: interrupt took too long (3149 > 3140), lowering kernel.perf_event_max_sample_rate to 63000
 1 Time(s): piix4_smbus 0000:00:14.0: Auxiliary SMBus Host Controller at 0xb20
 1 Time(s): piix4_smbus 0000:00:14.0: SMBus Host Controller at 0xb00, revision 0
 1 Time(s): piix4_smbus 0000:00:14.0: Using register 0x02 for SMBus port selection
 1 Time(s): pstore: Registered efi as persistent store backend
 1 Time(s): pstore: Using crash dump compression: deflate
 1 Time(s): r8169 0000:03:00.0 blue0: Link is Down
 1 Time(s): r8169 0000:03:00.0 blue0: renamed from eth2
 1 Time(s): r8169 0000:03:00.0 eth2: RTL8168g/8111g, d0:50:99:a5:23:22, XID 4c0, IRQ 42
 1 Time(s): r8169 0000:03:00.0 eth2: jumbo features [frames: 9194 bytes, tx checksumming: ko]
 1 Time(s): random: crng init done
 1 Time(s): registered taskstats version 1
 1 Time(s): rtc_cmos 00:04: RTC can wake from S4
 1 Time(s): rtc_cmos 00:04: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
 1 Time(s): rtc_cmos 00:04: registered as rtc0
 1 Time(s): rtc_cmos 00:04: setting system clock to 2023-03-02T02:11:45 UTC (1677723105)
 1 Time(s): sched_clock: Marking stable (846642804, 1389975)->(852067408, -4034629)
 1 Time(s): scsi 0:0:0:0: Direct-Access     ATA      Samsung SSD 870  1B6Q PQ: 0 ANSI: 5
 1 Time(s): sd 0:0:0:0: Attached scsi generic sg0 type 0
 1 Time(s): sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
 1 Time(s): sd 0:0:0:0: [sda] Attached SCSI removable disk
 1 Time(s): sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
 1 Time(s): sd 0:0:0:0: [sda] Write Protect is off
 1 Time(s): sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 1 Time(s): simple-framebuffer simple-framebuffer.0: fb0: simplefb registered!
 1 Time(s): simple-framebuffer simple-framebuffer.0: format=a8r8g8b8, mode=1024x768x32, linelength=4096
 1 Time(s): simple-framebuffer simple-framebuffer.0: framebuffer at 0xf4000000, 0x300000 bytes
 1 Time(s): sp5100-tco sp5100-tco: Using 0xfed80b00 for watchdog MMIO address
 1 Time(s): sp5100-tco sp5100-tco: initialized. heartbeat=60 sec (nowayout=1)
 1 Time(s): sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
 1 Time(s): tsc: Refined TSC clocksource calibration: 1497.191 MHz
 1 Time(s): tun: Universal TUN/TAP device driver, 1.6
 1 Time(s): usb usb3: Manufacturer: Linux 6.1.11-ipfire xhci-hcd
 1 Time(s): usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
 1 Time(s): usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 1 Time(s): usb usb3: Product: xHCI Host Controller
 1 Time(s): usb usb3: SerialNumber: 0000:00:10.0
 1 Time(s): usb usb4: Manufacturer: Linux 6.1.11-ipfire xhci-hcd
 1 Time(s): usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
 1 Time(s): usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 1 Time(s): usb usb4: Product: xHCI Host Controller
 1 Time(s): usb usb4: SerialNumber: 0000:00:10.0
 1 Time(s): usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
 1 Time(s): usb usb5: Manufacturer: Linux 6.1.11-ipfire ohci_hcd
 1 Time(s): usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
 1 Time(s): usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 1 Time(s): usb usb5: Product: OHCI PCI host controller
 1 Time(s): usb usb5: SerialNumber: 0000:00:12.0
 1 Time(s): usb usb6: Manufacturer: Linux 6.1.11-ipfire ohci_hcd
 1 Time(s): usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
 1 Time(s): usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 1 Time(s): usb usb6: Product: OHCI PCI host controller
 1 Time(s): usb usb6: SerialNumber: 0000:00:13.0
 1 Time(s): usbcore: registered new interface driver uas
 1 Time(s): usbcore: registered new interface driver usb-storage
 1 Time(s): usbcore: registered new interface driver usbhid
 1 Time(s): usbhid: USB HID core driver
 1 Time(s): x86/mm: Checked W+X mappings: passed, no W+X pages found.
 1 Time(s): x86/pm: family 0x16 cpu detected, MSR saving is needed during suspending.

Before with the same hardware no problem.

Also I notice in the log that two days later it didn’t give problem for 3 days and then boom its back.

2-03-2023 is a just after core 173, maybe that info help?

is there something I can search or so? if yes, let me know I will search for it and report.

Best regards

Sharlon

This is a totally different kernel error than your first reported one

The BUG: KFENCE error was being seen multiple times and is related to one of the NICs.

The earlier kernel error was seen only once and is related to the AMD p-state driver for CPU Frequency control mechanism similar to the Intel p-state driver for their cpu chips.

If this error only occurred once and is not seen again in the logs then I am not sure I would worry about it too much. It looks like an error was reported when it tried to do something with enabling the p-state.

If the same kernel error occurs more frequently then hopefully other people are experiencing the same problem and have reported it as a bug to the kernel/amd p-state driver developers and a fix is released in a future kernel update.

The only other option would be for you to report it upstream into the kernel bugzilla.

Doing a search on the internet did not flag up that specific kernel error.

CU173 is when the kernel 6.1.11 was introduced. However I have no real knowledge about the kernel and can’t say what might be causing the problem you are seeing.
@arne_f do you have any input on this?

1 Like

Thanks @bonnietwin , I checked and I have the AMD error on: 2, 9 and 16 of march, the kfence i have the rest of the days but some days are no error.

I dig deeper to find out the exact day that I upgrade to the new hardware, and it was on 18 of march and not 3 moths ago as I was thinking, sorry for that.

would it help if I on assign the realtek nic as its more as a backup nic, and leave the nextreme on?

this because before I didn’t have the error so much with the old hardware but with this one (realtek) on the new motherboard look like giving some problem.

I will give it a try later on.

Wat els can I look for ? or what am I missing ?

Best regards

Sharlon

The amd pstate and the use_after_free are two different problems.

The use_after_free looks like a bug in the broadcom driver. But it could also a more basic protocol handler.
I know that such an error is fixed in kernel 6.1.13 but IPFire should not use the mpls protocol.

The amd pstate tries to access an unsave marked processor status register so the kernel prevent the access. Not sure if this is a bug in the kernel internal acl or the driver.

Have you a spare ssd and can try the unstable update which update the kernel to 6.1.24 ?

1 Like

@arne_f thanks Arne, If I am not mistaken, I have a free hdd in the box, my only thing is the amd pstate error was done with the old hardware,its a litle dificult to put that back in action, I will check in the wekend what I can do and report back , the new hardware is also amd but i did not see the error yet.

Best regards
Sharlon