Kernel panics. what should I do

I am having multiple kernel panic since I last updated and I dont know what is the issue. following are the logs from pstore dmsg.txts . i used copilot to narrow down whats relevant, but still its beyond my expertise to read and understand them.
Please let me know if i should add any other info and which command to run.

Key Kernel Panic Logs

Intel Wireless Driver Module Issues (Recent)

Jun 12 18:34:01 nixos kernel: Oops: general protection fault, probably for non-canonical address 0x423af9004232f78: 0000 [#26] PREEMPT SMP NOPTI
Jun 12 18:34:01 nixos kernel: CPU: 7 UID: 0 PID: 789 Comm: irq/198-iwlwifi Tainted: G     U             6.12.32 #1-NixOS
Jun 12 18:34:01 nixos kernel: Tainted: [U]=USER
Jun 12 18:34:01 nixos kernel: Hardware name: HP HP EliteBook 840 G8 Notebook PC/880D, BIOS T76 Ver. 01.10.00 07/15/2022
Jun 12 18:34:01 nixos kernel: RIP: 0010:mod_find+0x36/0x90
Jun 12 18:34:01 nixos kernel: RSP: 0000:fffffe3510a31ba0 EFLAGS: 00010006
Jun 12 18:34:01 nixos kernel: RAX: 0423af9004232f90 RBX: ffffffffc0fc8338 RCX: 0420af900847df10
Jun 12 18:34:01 nixos kernel: RDX: 0423af9004232f90 RSI: ffffffffab207a00 RDI: 000000000427af80
Jun 12 18:34:01 nixos kernel: Call Trace:
Jun 12 18:34:01 nixos kernel:  <#DF>
Jun 12 18:34:01 nixos kernel:  __module_address+0x42/0xf0
Jun 12 18:34:01 nixos kernel: Oops: general protection fault, probably for non-canonical address 0x423af9004232f78: 0000 [#27] PREEMPT SMP NOPTI
Jun 12 18:34:01 nixos kernel: CPU: 7 UID: 0 PID: 789 Comm: irq/198-iwlwifi Tainted: G     U             6.12.32 #1-NixOS
Jun 12 18:34:01 nixos kernel: Tainted: [U]=USER
Jun 12 18:34:01 nixos kernel: Hardware name: HP HP EliteBook 840 G8 Notebook PC/880D, BIOS T76 Ver. 01.10.00 07/15/2022

Memory List Corruption During Hibernation

[1065.883846] list_del corruption. next->prev should be ffff8b1261aacec8, but was 02c3b4cb02c7b4c3. (next=ffff8b12556a0e08)
[1065.883866] ------------[ cut here ]------------
[1065.883867] kernel BUG at lib/list_debug.c:65!
[1065.883881] Oops: invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[1065.883887] CPU: 0 UID: 0 PID: 87 Comm: kswapd0 Tainted: G     U             6.12.32 #1-NixOS
[1065.883891] Hardware name: HP HP EliteBook 840 G8 Notebook PC/880D, BIOS T76 Ver. 01.10.00 07/15/2022
[1065.883894] RIP: 0010:__list_del_entry_valid_or_report.cold+0x25/0x75
[1065.883902] Code: fe ff 90 0f 0b 48 89 fe 48 c7 c7 b0 3c c9 9d e8 0a 89 fe ff 90 0f 0b 48 89 d1 48 c7 c7 d0 3d c9 9d 48 89 c2 e8 f5 88 fe ff 90 <0f> 0b 48 89 f2 48 89 fe 48 c7 c7 80 3d c9 9d e8 e0 88 fe ff 90 0f
[1065.883904] RSP: 0018:ffffce2d0040b9d0 EFLAGS: 00010246

Hibernation Process Call Stack

[1064.513103] PM: Image not found (code -16)
[1064.513713] PM: hibernation: hibernation entry
[1064.622240] Filesystems sync: 0.012 seconds
[1064.622789] Freezing user space processes
[1064.624782] Freezing user space processes completed (elapsed 0.001 seconds)
[1064.624788] OOM killer disabled.
[1064.625024] PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
[1064.634560] PM: hibernation: Basic memory bitmaps created
[1064.634819] PM: hibernation: Preallocating image memory
[1065.883846] list_del corruption. next->prev should be ffff8b1261aacec8, but was 02c3b4cb02c7b4c3. (next=ffff8b12556a0e08)
[1065.953235] preallocate_image_memory+0x30/0x70
[1065.953237] hibernate_preallocate_memory+0x230/0x3b0
[1065.953240] hibernation_snapshot+0x74/0x560
[1065.953243] hibernate.cold+0xcd/0x32f
[1065.953245] state_store+0xcf/0xe0
[1065.953248] kernfs_fop_write_iter+0x175/0x200
[1065.953251] vfs_write+0x2a1/0x460
[1065.953255] ksys_write+0x6d/0xf0
[1065.953258] do_syscall_64+0xb7/0x210
[1065.953262] entry_SYSCALL_64_after_hwframe+0x77/0x7f

Intel Wireless Driver CET Violation (Control-flow Enforcement Technology)

[2556.266394] Missing ENDBR: iwl_mvm_rx_bt_coex_old_notif+0x0/0x120 [iwlmvm]
[2556.266536] ------------[ cut here ]------------
[2556.266538] kernel BUG at arch/x86/kernel/cet.c:132!
[2556.266548] Oops: invalid opcode: 0000 [#4] PREEMPT SMP NOPTI
[2556.266555] CPU: 2 UID: 0 PID: 11695 Comm: kworker/u32:36 Tainted: G     UD W          6.12.32 #1-NixOS
[2556.266567] Workqueue: events_unbound cfg80211_wiphy_work [cfg80211]
[2556.266636] RIP: 0010:exc_control_protection+0x1fd/0x200
[2556.266684] asm_exc_control_protection+0x26/0x30
[2556.266690] RIP: 0010:iwl_mvm_rx_bt_coex_old_notif+0x0/0x120 [iwlmvm]
[2556.266747] ? __pfx_iwl_mvm_rx_bt_coex_old_notif+0x10/0x10 [iwlmvm]
[2556.266784] iwl_mvm_async_handlers_by_context+0x132/0x1d0 [iwlmvm]
[2556.266819] cfg80211_wiphy_work+0xef/0x160 [cfg80211]
[2556.266871] process_one_work+0x18d/0x350
[2556.266878] worker_thread+0x234/0x360

Memory Compaction Issues

[1066.222617] Oops: general protection fault, probably for non-canonical address 0x3919e6503911e7d: 0000 [#3] PREEMPT SMP NOPTI
[1066.222633] CPU: 0 UID: 0 PID: 74 Comm: kcompactd0 Tainted: G     UD W          6.12.32 #1-NixOS
[1066.222649] RIP: 0010:vma_interval_tree_subtree_search+0xe/0x70
[1066.222663] Code: 31 d2 31 f6 31 ff c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 48 8b 47 48 48 85 c0 74 06 <48> 39 70 18 73 2d 48 8b 4f 78 48 39 ca 72 33 48 8b 47 08 48 2b 07
[1066.222667] RSP: 0018:ffffce2d0037f990 EFLAGS: 00010206
[1066.222674] RAX: 03919e6503911e65 RBX: ffff8b12488fa9a0 RCX: 0000000000000000
[1066.222714] rmap_walk_file+0x104/0x1f0
[1066.222725] try_to_migrate+0x107/0x120
[1066.222751] migrate_pages_batch+0x2fc/0xcf0
[1066.222765] migrate_pages+0xb04/0xe10
[1066.222800] compact_zone+0xa00/0x1070
[1066.222827] kcompactd+0x35a/0x460

Another Memory Compaction Error with Different Address

[8590.269853] Oops: general protection fault, probably for non-canonical address 0x4068d8004048d96: 0000 [#5] PREEMPT SMP NOPTI
[8590.269868] CPU: 2 UID: 0 PID: 740 Comm: hwrng Tainted: G     UD W          6.12.32 #1-NixOS
[8590.269882] RIP: 0010:vma_interval_tree_subtree_search+0xe/0x70
[8590.269901] RSP: 0018:ffffce2d011c7618 EFLAGS: 00010206
[8590.269907] RAX: 04068d8004048d7e RBX: ffff8b125f94d000 RCX: 0000000000000000
[8590.269944] rmap_walk_file+0x104/0x1f0
[8590.269954] folio_referenced+0x14b/0x1a0
[8590.269978] shrink_folio_list+0xac7/0xd90
[8590.269990] evict_folios+0x24c/0x640
[8590.269998] try_to_shrink_lruvec+0x241/0x2d0
[8590.270005] shrink_node+0x9f9/0xc30
[8590.270033] try_to_free_pages+0x115/0x210

System Process Crash During Sleep

[1066.009508] CPU: 3 UID: 0 PID: 11924 Comm: systemd-sleep Tainted: G     UD W          6.12.32 #1-NixOS
[1066.009511] Tainted: [U]=USER, [D]=DIE, [W]=WARN
[1066.009512] Hardware name: HP HP EliteBook 840 G8 Notebook PC/880D, BIOS T76 Ver. 01.10.00 07/15/2022
[1066.009513] RIP: 0010:do_exit+0x85d/0xa80
[1066.009516] Code: a3 90 07 00 00 48 89 6c 24 10 48 8b 83 b0 09 00 00 e9 30 fe ff ff 48 8b bb 70 07 00 00 31 f6 e8 09 e3 ff ff e9 cd fd ff ff 90 <0f> 0b 90 e9 16 f8 ff ff 90 0f 0b 90 e9 d1 f7 ff ff 4c 89 e6 bf 05
[1066.009531] <TASK>
[1066.009533] ? ksys_write+0x6d/0xf0
[1066.009537] make_task_dead+0x90/0x90
[1066.009540] rewind_stack_and_make_dead+0x16/0x20
[1066.009542] RIP: 0033:0x7f104630eb04

Call Stack During Memory Corruption

[1065.883924] <TASK>
[1065.883925] __list_lru_walk_one+0x123/0x1d0
[1065.883929] ? __pfx_dentry_lru_isolate+0x10/0x10
[1065.883937] list_lru_walk_one+0x5d/0xa0
[1065.883939] prune_dcache_sb+0x4b/0x90
[1065.883942] super_cache_scan+0x131/0x200
[1065.883945] do_shrink_slab+0x143/0x360
[1065.883949] shrink_slab+0x294/0x3a0
[1065.883953] shrink_one+0x125/0x200
[1065.883956] shrink_node+0x9f9/0xc30
[1065.883962] balance_pgdat+0x550/0x9e0
[1065.883977] kswapd+0x1f9/0x390

TPM (Trusted Platform Module) Related Errors

[8590.270071] tpm_buf_init+0x3b/0x80 [tpm]
[8590.270092] tpm2_start_auth_session+0x196/0x410 [tpm]
[8590.270109] tpm2_get_random+0x69/0x260 [tpm]
[8590.270126] ? tpm_chip_start+0x70/0xc0 [tpm]
[8590.270140] tpm_get_random+0x65/0x80 [tpm]
[8590.270156] hwrng_fillfn+0xa3/0x1b0 [rng_core]
[8590.270164] ? __pfx_hwrng_fillfn+0x10/0x10 [rng_core]

I have made some changes to hardware configuration.nix ( I dont even know if they are safe) i copied them from Nixos/nixos-hardware

Configuration.nix

  hardware.graphics = {
    extraPackages = with pkgs; [
      intel-media-driver
      vaapiIntel
      vaapiVdpau
      libvdpau-va-gl
      vpl-gpu-rt
    ];
  };

  hardware.enableRedistributableFirmware = true;

Hardware-configuration.nix

  # -------------------------------------------------------- Custom config
  boot.initrd.availableKernelModules =
    [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usbhid" "usb_storage" "sd_mod" ];

  boot.kernelParams = [ "i915.enable_guc=3" ];
  boot.initrd.kernelModules = [ "i915" ];

  # boot.kernelPackages = pkgs.linuxPackages_6_15;
  # boot.kernelPackages = pkgs.linuxPackages_latest;

  boot.extraModprobeConfig = ''
    options iwlwifi power_save=0 disable_11ax=1 11n_disable=8
  ''; # beacuse the iwlwifi thing matched in the logs and repo :D

I really don’t have any idea how to fix it, or if my fixes are even safe, let alone the solution to problem.

System Info

NixOS KDE Plasma system running on an HP EliteBook 840 G8
nixpkgs ver : “8fe3e32e7f210522377c3bcff80931a3284ace6a”