[Enter `^Ec?' for help] coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 bootblock starting... CPU: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz CPU: ID 806e9, Kabylake H0, ucode: 00000097 CPU: AES supported, TXT NOT supported, VT supported MCH: device id 590c (rev 02) is Kabylake-Y PCH: device id 9d4b (rev 21) is Kabylake-Y iHDCP 2.2 Premium IGD: device id 591c (rev 02) is Amberlake ULX GT2 VBOOT: Loading verstage. CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/verstage' CBFS: Found @ offset 1a0a80 size f47c coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 verstage starting... Probing TPM: . done! TPM ready after 0 ms Connected to device vid:did:rid of 1ae0:0028:00 Firmware version: B2-C:0 RO_B:0.0.11/4d655eab RW_A:0.5.6/cr50_v1.9308_87_mp.510-d2da4373 Initialized TPM device CR50 revision 0 tlcl_send_startup: Startup return code is 0 TPM: setup succeeded src/security/tpm/tss/tcg-2.0/tss.c:188 index 0x1007 return code 0 Chrome EC: UHEPI supported Phase 1 FMAP: Found "FLASH" version 1.1 at c10000. FMAP: base = ff000000 size = 1000000 #areas = 33 FMAP: area GBB found @ c11000 (978944 bytes) VB2:vb2_check_recovery() Recovery reason from previous boot: 0x0 / 0x0 Phase 2 Phase 3 FMAP: area GBB found @ c11000 (978944 bytes) VB2:vb2_report_dev_firmware() This is developer signed firmware FMAP: area VBLOCK_B found @ 5e8000 (65536 bytes) FMAP: area VBLOCK_B found @ 5e8000 (65536 bytes) VB2:vb2_verify_keyblock() Checking key block signature... FMAP: area VBLOCK_B found @ 5e8000 (65536 bytes) FMAP: area VBLOCK_B found @ 5e8000 (65536 bytes) VB2:vb2_verify_fw_preamble() Verifying preamble. Phase 4 FMAP: area FW_MAIN_B found @ 5f8000 (4030400 bytes) VB2:vb2api_init_hash() HW crypto for hash_alg 2 not supported, using SW VB2:vb2_rsa_verify_digest() Digest check failed! VB2:vb2_fail() Need recovery, reason: 0x1b / 0x7 Saving nvdata Reboot requested (10020007) board_reset() called! full_reset() called! coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 bootblock starting... CPU: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz CPU: ID 806e9, Kabylake H0, ucode: 00000097 CPU: AES supported, TXT NOT supported, VT supported MCH: device id 590c (rev 02) is Kabylake-Y PCH: device id 9d4b (rev 21) is Kabylake-Y iHDCP 2.2 Premium IGD: device id 591c (rev 02) is Amberlake ULX GT2 VBOOT: Loading verstage. CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/verstage' CBFS: Found @ offset 1a0a80 size f47c coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 verstage starting... Probing TPM: . done! TPM ready after 0 ms Connected to device vid:did:rid of 1ae0:0028:00 Firmware version: B2-C:0 RO_B:0.0.11/4d655eab RW_A:0.5.6/cr50_v1.9308_87_mp.510-d2da4373 Initialized TPM device CR50 revision 0 tlcl_send_startup: Startup return code is 0 TPM: setup succeeded src/security/tpm/tss/tcg-2.0/tss.c:188 index 0x1007 return code 0 Chrome EC: UHEPI supported Phase 1 FMAP: Found "FLASH" version 1.1 at c10000. FMAP: base = ff000000 size = 1000000 #areas = 33 FMAP: area GBB found @ c11000 (978944 bytes) VB2:vb2_check_recovery() Recovery reason from previous boot: 0x1b / 0x7 VB2:vb2_check_recovery() We have a recovery request: 0x1b / 0x0 Recovery requested (1009000e) Saving nvdata tlcl_extend: response is 0 tlcl_extend: response is 0 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/romstage' CBFS: Found @ offset 80 size 10ffc coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 romstage starting... pm1_sts: 0100 pm1_en: 0000 pm1_cnt: 00001c00 gpe0_sts[0]: 00000000 gpe0_en[0]: 00000000 gpe0_sts[1]: 00000000 gpe0_en[1]: 00000000 gpe0_sts[2]: 00000001 gpe0_en[2]: 00000000 gpe0_sts[3]: 00000000 gpe0_en[3]: 00010000 TCO_STS: 0000 0000 GEN_PMCON: e0040200 0000523a GBLRST_CAUSE: 00000000 00000000 prev_sleep_state 5 Boot Count incremented to 42954 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fspm.bin' CBFS: Found @ offset 103fc0 size 63000 Chrome EC: UHEPI supported FMAP: Found "FLASH" version 1.1 at c10000. FMAP: base = ff000000 size = 1000000 #areas = 33 FMAP: area RECOVERY_MRC_CACHE found @ 9d0000 (65536 bytes) Probing TPM: done! Connected to device vid:did:rid of 1ae0:0028:00 Firmware version: B2-C:0 RO_B:0.0.11/4d655eab RW_A:0.5.6/cr50_v1.9308_87_mp.510-d2da4373 Initialized TPM device CR50 revision 0 src/security/tpm/tss/tcg-2.0/tss.c:188 index 0x100b return code 0 MRC: Hash comparison successful. Using data from RECOVERY_MRC_CACHE MRC cache found, size 1868 bootmode is set to :2 SPD index 1 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'spd.bin' CBFS: Found @ offset 1a0240 size 800 SPD: module type is LPDDR3 SPD: module part is K4E8E324EB-EGCF SPD: banks 8, ranks 1, rows 15, columns 10, density 8192 Mb SPD: device width 32 bits, bus width 64 bits SPD: module size is 2048 MB (per channel) CBMEM: IMD: root @ 7afff000 254 entries. IMD: root @ 7affec00 62 entries. External stage cache: IMD: root @ 7b3ff000 254 entries. IMD: root @ 7b3fec00 62 entries. creating vboot_handoff structure Chrome EC: clear events_b mask to 0x0000000021004000 src/security/tpm/tss/tcg-2.0/tss.c:188 index 0x100b return code 0 tlcl_write: response is 0 src/security/tpm/tss/tcg-2.0/tss.c:188 index 0x100b return code 0 MRC: TPM MRC hash updated successfully. 2 DIMMs found top_of_ram = 0x7b000000 MTRR Range: Start=7a000000 End=7b000000 (Size 1000000) MTRR Range: Start=7b000000 End=7b800000 (Size 800000) MTRR Range: Start=ff000000 End=0 (Size 1000000) CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/postcar' CBFS: Found @ offset 197000 size 3f04 Decompressing stage fallback/postcar @ 0x7abd0fc0 (32720 bytes) Loading module at 7abd1000 with entry 7abd1000. filesize: 0x3cd0 memsize: 0x7f90 Processing 118 relocs. Offset value of 0x78bd1000 coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 postcar starting... CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/ramstage' CBFS: Found @ offset e8d80 size 1a462 Decompressing stage fallback/ramstage @ 0x7ab05fc0 (826808 bytes) Loading module at 7ab06000 with entry 7ab06000. filesize: 0x38d90 memsize: 0xc9d78 Processing 3657 relocs. Offset value of 0x79d06000 coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 ramstage starting... FMAP: Found "FLASH" version 1.1 at c10000. FMAP: base = ff000000 size = 1000000 #areas = 33 FMAP: area RO_VPD found @ c00000 (16384 bytes) WARNING: RO_VPD is uninitialized or empty. FMAP: area RW_VPD found @ 9f8000 (8192 bytes) FMAP: area RW_VPD found @ 9f8000 (8192 bytes) Normal boot. BS: BS_PRE_DEVICE times (us): entry 0 run 30 exit 0 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'cpu_microcode_blob.bin' CBFS: Found @ offset 11100 size d7c00 microcode: sig=0x806e9 pf=0x10 revision=0x97 Skip microcode update CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fsps.bin' CBFS: Found @ offset 167fc0 size 2f000 Detected 2 core, 4 thread CPU. Setting up SMI for CPU IED base = 0x7b400000 IED size = 0x00400000 Will perform SMM setup. CPU: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz. Loading module at 00030000 with entry 00030000. filesize: 0x170 memsize: 0x170 Processing 16 relocs. Offset value of 0x00030000 Attempting to start 3 APs Waiting for 10ms after sending INIT. Waiting for 1st SIPI to complete...done. AP: slot 2 apic_id 2. AP: slot 3 apic_id 3. AP: slot 1 apic_id 1. Waiting for 2nd SIPI to complete...done. Loading module at 00038000 with entry 00038000. filesize: 0x1a8 memsize: 0x1a8 Processing 13 relocs. Offset value of 0x00038000 SMM Module: stub loaded at 00038000. Will call 7ab21603(00000000) Installing SMM handler to 0x7b000000 Loading module at 7b010000 with entry 7b010a19. filesize: 0x3b08 memsize: 0x8bc0 Processing 243 relocs. Offset value of 0x7b010000 Loading module at 7b008000 with entry 7b008000. filesize: 0x1a8 memsize: 0x1a8 Processing 13 relocs. Offset value of 0x7b008000 SMM Module: placing jmp sequence at 7b007c00 rel16 0x03fd SMM Module: placing jmp sequence at 7b007800 rel16 0x07fd SMM Module: placing jmp sequence at 7b007400 rel16 0x0bfd SMM Module: stub loaded at 7b008000. Will call 7b010a19(00000000) Clearing SMI status registers SMI_STS: PM1 PM1_STS: PWRBTN TCO_STS: BOOT SECOND_TO New SMBASE 0x7b000000 In relocation handler: CPU 0 New SMBASE=0x7b000000 IEDBASE=0x7b400000 Writing SMRR. base = 0x7b000006, mask=0xff800800 Relocation complete. New SMBASE 0x7afffc00 In relocation handler: CPU 1 New SMBASE=0x7afffc00 IEDBASE=0x7b400000 Writing SMRR. base = 0x7b000006, mask=0xff800800 Relocation complete. New SMBASE 0x7afff400 In relocation handler: CPU 3 New SMBASE=0x7afff400 IEDBASE=0x7b400000 Writing SMRR. base = 0x7b000006, mask=0xff800800 Relocation complete. New SMBASE 0x7afff800 In relocation handler: CPU 2 New SMBASE=0x7afff800 IEDBASE=0x7b400000 Writing SMRR. base = 0x7b000006, mask=0xff800800 Relocation complete. Initializing CPU #0 CPU: vendor Intel device 806e9 CPU: family 06, model 8e, stepping 09 Setting up local APIC... apic_id: 0x00 done. Turbo is available but hidden Turbo has been enabled SGX : param.enable = 0 Skip microcode update CPU #0 initialized Initializing CPU #1 Initializing CPU #2 Initializing CPU #3 CPU: vendor Intel device 806e9 CPU: family 06, model 8e, stepping 09 CPU: vendor Intel device 806e9 CPU: family 06, model 8e, stepping 09 Setting up local APIC...CPU: vendor Intel device 806e9 CPU: family 06, model 8e, stepping 09 apic_id: 0x02 done. Setting up local APIC...Setting up local APIC... apic_id: 0x03 done. Skip microcode update Skip microcode update CPU #2 initialized CPU #3 initialized apic_id: 0x01 done. Skip microcode update CPU #1 initialized bsp_do_flight_plan done after 226 msecs. CPU: frequency set to 3400 MHz Enabling SMIs. Locking SMM. VMX : param.enable = 1 VMX status: enabled, unlocked SGX: pre-conditions not met VMX status: enabled, unlocked SGX: pre-conditions not met VMX status: enabled, unlocked VMX status: enabled, unlocked SGX: pre-conditions not met SGX: pre-conditions not met CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'vbt.bin' CBFS: Found @ offset 103a00 size 48e Found a VBT of 4608 bytes after decompression psys_pmax = 360 FMAP: area GBB found @ c11000 (978944 bytes) ITSS IRQ Polarities Before: IPC0: 0x00ff4000 IPC1: 0x00000007 IPC2: 0x00000000 IPC3: 0x00000000 ITSS IRQ Polarities After: IPC0: 0x00ff4000 IPC1: 0x00000007 IPC2: 0x00000000 IPC3: 0x00000000 Override DT after FSP-S, PCH is KBL/SKL PCH-LP SKU BS: BS_DEV_INIT_CHIPS times (us): entry 376179 run 166284 exit 0 Enumerating buses... Show all devs... Before device enumeration. Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 DOMAIN: 0000: enabled 1 APIC: 00: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:02.0: enabled 1 PCI: 00:14.0: enabled 1 PCI: 00:14.1: enabled 0 PCI: 00:14.2: enabled 1 PCI: 00:15.0: enabled 1 PCI: 00:15.1: enabled 1 PCI: 00:15.2: enabled 0 PCI: 00:15.3: enabled 0 PCI: 00:16.0: enabled 1 PCI: 00:16.1: enabled 0 PCI: 00:16.2: enabled 0 PCI: 00:16.3: enabled 0 PCI: 00:16.4: enabled 0 PCI: 00:17.0: enabled 0 PCI: 00:19.0: enabled 1 PCI: 00:19.1: enabled 1 PCI: 00:19.2: enabled 0 PCI: 00:1c.0: enabled 1 PCI: 00:1c.1: enabled 0 PCI: 00:1c.2: enabled 0 PCI: 00:1c.3: enabled 0 PCI: 00:1c.4: enabled 0 PCI: 00:1c.5: enabled 0 PCI: 00:1c.6: enabled 0 PCI: 00:1c.7: enabled 0 PCI: 00:1d.0: enabled 0 PCI: 00:1d.1: enabled 0 PCI: 00:1d.2: enabled 0 PCI: 00:1d.3: enabled 0 PCI: 00:1e.0: enabled 1 PCI: 00:1e.1: enabled 0 PCI: 00:1e.2: enabled 1 PCI: 00:1e.3: enabled 0 PCI: 00:1e.4: enabled 1 PCI: 00:1e.5: enabled 0 PCI: 00:1e.6: enabled 1 PCI: 00:1f.0: enabled 1 PCI: 00:1f.1: enabled 1 PCI: 00:1f.2: enabled 1 PCI: 00:1f.3: enabled 1 PCI: 00:1f.4: enabled 1 PCI: 00:1f.5: enabled 1 PCI: 00:1f.6: enabled 0 USB0 port 0: enabled 1 I2C: 00:5c: enabled 1 I2C: 00:15: enabled 1 I2C: 00:39: enabled 1 I2C: 00:3a: enabled 1 I2C: 00:1a: enabled 1 PCI: 00:00.0: enabled 1 SPI: 00: enabled 1 PNP: 0c09.0: enabled 1 USB2 port 0: enabled 1 USB2 port 1: enabled 1 USB2 port 2: enabled 1 USB2 port 4: enabled 1 USB2 port 8: enabled 1 APIC: 01: enabled 1 APIC: 02: enabled 1 APIC: 03: enabled 1 Compare with tree... Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 APIC: 00: enabled 1 APIC: 01: enabled 1 APIC: 02: enabled 1 APIC: 03: enabled 1 DOMAIN: 0000: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:02.0: enabled 1 PCI: 00:14.0: enabled 1 USB0 port 0: enabled 1 USB2 port 0: enabled 1 USB2 port 1: enabled 1 USB2 port 2: enabled 1 USB2 port 4: enabled 1 USB2 port 8: enabled 1 PCI: 00:14.1: enabled 0 PCI: 00:14.2: enabled 1 PCI: 00:15.0: enabled 1 I2C: 00:5c: enabled 1 PCI: 00:15.1: enabled 1 I2C: 00:15: enabled 1 PCI: 00:15.2: enabled 0 PCI: 00:15.3: enabled 0 PCI: 00:16.0: enabled 1 PCI: 00:16.1: enabled 0 PCI: 00:16.2: enabled 0 PCI: 00:16.3: enabled 0 PCI: 00:16.4: enabled 0 PCI: 00:17.0: enabled 0 PCI: 00:19.0: enabled 1 PCI: 00:19.1: enabled 1 I2C: 00:39: enabled 1 I2C: 00:3a: enabled 1 I2C: 00:1a: enabled 1 PCI: 00:19.2: enabled 0 PCI: 00:1c.0: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:1c.1: enabled 0 PCI: 00:1c.2: enabled 0 PCI: 00:1c.3: enabled 0 PCI: 00:1c.4: enabled 0 PCI: 00:1c.5: enabled 0 PCI: 00:1c.6: enabled 0 PCI: 00:1c.7: enabled 0 PCI: 00:1d.0: enabled 0 PCI: 00:1d.1: enabled 0 PCI: 00:1d.2: enabled 0 PCI: 00:1d.3: enabled 0 PCI: 00:1e.0: enabled 1 PCI: 00:1e.1: enabled 0 PCI: 00:1e.2: enabled 1 SPI: 00: enabled 1 PCI: 00:1e.3: enabled 0 PCI: 00:1e.4: enabled 1 PCI: 00:1e.5: enabled 0 PCI: 00:1e.6: enabled 1 PCI: 00:1f.0: enabled 1 PNP: 0c09.0: enabled 1 PCI: 00:1f.1: enabled 1 PCI: 00:1f.2: enabled 1 PCI: 00:1f.3: enabled 1 PCI: 00:1f.4: enabled 1 PCI: 00:1f.5: enabled 1 PCI: 00:1f.6: enabled 0 Root Device scanning... root_dev_scan_bus for Root Device CPU_CLUSTER: 0 enabled DOMAIN: 0000 enabled DOMAIN: 0000 scanning... PCI: pci_scan_bus for bus 00 PCI: 00:00.0 [8086/0000] ops PCI: 00:00.0 [8086/590c] enabled PCI: 00:02.0 [8086/0000] ops PCI: 00:02.0 [8086/591c] enabled PCI: 00:04.0 [8086/1903] enabled PCI: 00:08.0 [8086/1911] enabled PCI: 00:14.0 [8086/0000] bus ops PCI: 00:14.0 [8086/9d2f] enabled PCI: 00:14.2 [8086/9d31] enabled PCI: 00:15.0 [8086/0000] bus ops PCI: 00:15.0 [8086/9d60] enabled PCI: 00:15.1 [8086/0000] bus ops PCI: 00:15.1 [8086/9d61] enabled PCI: 00:16.0 [8086/0000] ops PCI: 00:16.0 [8086/9d3a] enabled PCI: 00:19.0 [8086/0000] ops PCI: 00:19.0 [8086/9d66] enabled PCI: 00:19.1 [8086/0000] bus ops PCI: 00:19.1 [8086/9d65] enabled PCI: 00:1c.0 [8086/0000] bus ops PCI: 00:1c.0 [8086/9d10] enabled PCI: 00:1e.0 [8086/0000] ops PCI: 00:1e.0 [8086/9d27] enabled PCI: 00:1e.2 [8086/0000] bus ops PCI: 00:1e.2 [8086/9d29] enabled PCI: 00:1e.4 [8086/9d2b] enabled PCI: 00:1e.6 [8086/0000] ops PCI: 00:1e.6 [8086/9d2d] enabled PCI: 00:1f.0 [8086/0000] bus ops PCI: 00:1f.0 [8086/9d4b] enabled PCI: Static device PCI: 00:1f.1 not found, disabling it. PCI: 00:1f.2 [8086/0000] bus ops PCI: 00:1f.2 [8086/9d21] enabled PCI: 00:1f.3 [8086/0000] bus ops PCI: 00:1f.3 [8086/9d71] enabled PCI: 00:1f.4 [8086/0000] bus ops PCI: 00:1f.4 [8086/9d23] enabled PCI: 00:1f.5 [8086/0000] bus ops PCI: 00:1f.5 [8086/9d24] enabled PCI: 00:14.0 scanning... scan_usb_bus for PCI: 00:14.0 USB0 port 0 enabled USB0 port 0 scanning... scan_usb_bus for USB0 port 0 USB2 port 0 enabled USB2 port 1 enabled USB2 port 2 enabled USB2 port 4 enabled USB2 port 8 enabled USB2 port 0 scanning... scan_usb_bus for USB2 port 0 scan_usb_bus for USB2 port 0 done scan_bus: scanning of bus USB2 port 0 took 8974 usecs USB2 port 1 scanning... scan_usb_bus for USB2 port 1 scan_usb_bus for USB2 port 1 done scan_bus: scanning of bus USB2 port 1 took 8973 usecs USB2 port 2 scanning... scan_usb_bus for USB2 port 2 scan_usb_bus for USB2 port 2 done scan_bus: scanning of bus USB2 port 2 took 8973 usecs USB2 port 4 scanning... scan_usb_bus for USB2 port 4 scan_usb_bus for USB2 port 4 done scan_bus: scanning of bus USB2 port 4 took 8973 usecs USB2 port 8 scanning... scan_usb_bus for USB2 port 8 scan_usb_bus for USB2 port 8 done scan_bus: scanning of bus USB2 port 8 took 8971 usecs scan_usb_bus for USB0 port 0 done scan_bus: scanning of bus USB0 port 0 took 90959 usecs scan_usb_bus for PCI: 00:14.0 done scan_bus: scanning of bus PCI: 00:14.0 took 107741 usecs PCI: 00:15.0 scanning... scan_generic_bus for PCI: 00:15.0 bus: PCI: 00:15.0[0]->I2C: 01:5c enabled scan_generic_bus for PCI: 00:15.0 done scan_bus: scanning of bus PCI: 00:15.0 took 14157 usecs PCI: 00:15.1 scanning... scan_generic_bus for PCI: 00:15.1 bus: PCI: 00:15.1[0]->I2C: 02:15 enabled scan_generic_bus for PCI: 00:15.1 done scan_bus: scanning of bus PCI: 00:15.1 took 14158 usecs PCI: 00:19.1 scanning... scan_generic_bus for PCI: 00:19.1 bus: PCI: 00:19.1[0]->I2C: 03:39 enabled bus: PCI: 00:19.1[0]->I2C: 03:3a enabled bus: PCI: 00:19.1[0]->I2C: 03:1a enabled scan_generic_bus for PCI: 00:19.1 done scan_bus: scanning of bus PCI: 00:19.1 took 22372 usecs PCI: 00:1c.0 scanning... do_pci_scan_bridge for PCI: 00:1c.0 PCI: pci_scan_bus for bus 01 PCI: 01:00.0 [8086/095a] enabled Capability: type 0x01 @ 0xc8 Capability: type 0x05 @ 0xd0 Capability: type 0x10 @ 0x40 Capability: type 0x10 @ 0x40 Enabling Common Clock Configuration L1 Sub-State supported from root port 28 L1 Sub-State Support = 0xf CommonModeRestoreTime = 0x28 Power On Value = 0x1e, Power On Scale = 0x0 ASPM: Enabled L1 Capability: type 0x01 @ 0xc8 Capability: type 0x05 @ 0xd0 Capability: type 0x10 @ 0x40 scan_bus: scanning of bus PCI: 00:1c.0 took 53541 usecs PCI: 00:1e.2 scanning... scan_generic_bus for PCI: 00:1e.2 bus: PCI: 00:1e.2[0]->SPI: 00 enabled scan_generic_bus for PCI: 00:1e.2 done scan_bus: scanning of bus PCI: 00:1e.2 took 13887 usecs PCI: 00:1f.0 scanning... scan_lpc_bus for PCI: 00:1f.0 PNP: 0c09.0 enabled scan_lpc_bus for PCI: 00:1f.0 done scan_bus: scanning of bus PCI: 00:1f.0 took 11318 usecs PCI: 00:1f.2 scanning... scan_lpc_bus for PCI: 00:1f.2 scan_lpc_bus for PCI: 00:1f.2 done scan_bus: scanning of bus PCI: 00:1f.2 took 9269 usecs PCI: 00:1f.3 scanning... scan_bus: scanning of bus PCI: 00:1f.3 took 2719 usecs PCI: 00:1f.4 scanning... scan_generic_bus for PCI: 00:1f.4 scan_generic_bus for PCI: 00:1f.4 done scan_bus: scanning of bus PCI: 00:1f.4 took 10052 usecs PCI: 00:1f.5 scanning... scan_generic_bus for PCI: 00:1f.5 scan_generic_bus for PCI: 00:1f.5 done scan_bus: scanning of bus PCI: 00:1f.5 took 10046 usecs scan_bus: scanning of bus DOMAIN: 0000 took 466115 usecs root_dev_scan_bus for Root Device done scan_bus: scanning of bus Root Device took 486227 usecs done Chrome EC: UHEPI supported FMAP: area RECOVERY_MRC_CACHE found @ 9d0000 (65536 bytes) MRC: Checking cached data update for 'RECOVERY_MRC_CACHE'. SF: Detected FAST_SPI Hardware Sequencer with sector size 0x1000, total 0x1000000 FMAP: area UNIFIED_MRC_CACHE found @ 9d0000 (131072 bytes) SPI flash protection: WPSW=0 SRP0=0 MRC: NOT enabling PRR for 'UNIFIED_MRC_CACHE'. BS: BS_DEV_ENUMERATE times (us): entry 0 run 826026 exit 39569 found VGA at PCI: 00:02.0 Setting up VGA for PCI: 00:02.0 Setting PCI_BRIDGE_CTL_VGA for bridge DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device Allocating resources... Reading resources... Root Device read_resources bus 0 link: 0 CPU_CLUSTER: 0 read_resources bus 0 link: 0 CPU_CLUSTER: 0 read_resources bus 0 link: 0 done DOMAIN: 0000 read_resources bus 0 link: 0 PCI: 00:14.0 read_resources bus 0 link: 0 USB0 port 0 read_resources bus 0 link: 0 USB0 port 0 read_resources bus 0 link: 0 done PCI: 00:14.0 read_resources bus 0 link: 0 done PCI: 00:15.0 read_resources bus 1 link: 0 PCI: 00:15.0 read_resources bus 1 link: 0 done PCI: 00:15.1 read_resources bus 2 link: 0 PCI: 00:15.1 read_resources bus 2 link: 0 done PCI: 00:19.1 read_resources bus 3 link: 0 PCI: 00:19.1 read_resources bus 3 link: 0 done PCI: 00:1c.0 read_resources bus 1 link: 0 PCI: 00:1c.0 read_resources bus 1 link: 0 done PCI: 00:1e.2 read_resources bus 4 link: 0 PCI: 00:1e.2 read_resources bus 4 link: 0 done PCI: 00:1f.0 read_resources bus 0 link: 0 PCI: 00:1f.0 read_resources bus 0 link: 0 done DOMAIN: 0000 read_resources bus 0 link: 0 done Root Device read_resources bus 0 link: 0 done Done reading resources. Show resources in subtree (Root Device)...After reading. Root Device child on link 0 CPU_CLUSTER: 0 CPU_CLUSTER: 0 child on link 0 APIC: 00 APIC: 00 APIC: 01 APIC: 02 APIC: 03 DOMAIN: 0000 child on link 0 PCI: 00:00.0 DOMAIN: 0000 resource base 0 size 0 align 0 gran 0 limit ffff flags 40040100 index 10000000 DOMAIN: 0000 resource base 0 size 0 align 0 gran 0 limit ffffffff flags 40040200 index 10000100 PCI: 00:00.0 PCI: 00:00.0 resource base e0000000 size 4000000 align 0 gran 0 limit 0 flags f0000200 index 0 PCI: 00:00.0 resource base fed10000 size 8000 align 0 gran 0 limit 0 flags f0000200 index 1 PCI: 00:00.0 resource base fed18000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 2 PCI: 00:00.0 resource base fed19000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 3 PCI: 00:00.0 resource base fed84000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 4 PCI: 00:00.0 resource base fed80000 size 4000 align 0 gran 0 limit 0 flags f0000200 index 5 PCI: 00:00.0 resource base fed90000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 6 PCI: 00:00.0 resource base fed91000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 7 PCI: 00:00.0 resource base 0 size a0000 align 0 gran 0 limit 0 flags e0004200 index 8 PCI: 00:00.0 resource base c0000 size 7af40000 align 0 gran 0 limit 0 flags e0004200 index 9 PCI: 00:00.0 resource base 7b000000 size 800000 align 0 gran 0 limit 0 flags f0004200 index b PCI: 00:00.0 resource base 7b800000 size 4800000 align 0 gran 0 limit 0 flags f0000200 index c PCI: 00:00.0 resource base 100000000 size 7f000000 align 0 gran 0 limit 0 flags e0004200 index d PCI: 00:00.0 resource base a0000 size 20000 align 0 gran 0 limit 0 flags f0000200 index e PCI: 00:00.0 resource base c0000 size 40000 align 0 gran 0 limit 0 flags f0004200 index f PCI: 00:02.0 PCI: 00:02.0 resource base 0 size 1000000 align 24 gran 24 limit ffffffffffffffff flags 201 index 10 PCI: 00:02.0 resource base 0 size 10000000 align 28 gran 28 limit ffffffffffffffff flags 1201 index 18 PCI: 00:02.0 resource base 0 size 40 align 6 gran 6 limit ffff flags 100 index 20 PCI: 00:04.0 PCI: 00:04.0 resource base 0 size 8000 align 15 gran 15 limit ffffffffffffffff flags 201 index 10 PCI: 00:08.0 PCI: 00:08.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:14.0 child on link 0 USB0 port 0 PCI: 00:14.0 resource base 0 size 10000 align 16 gran 16 limit ffffffffffffffff flags 201 index 10 USB0 port 0 child on link 0 USB2 port 0 USB2 port 0 USB2 port 1 USB2 port 2 USB2 port 4 USB2 port 8 PCI: 00:14.1 PCI: 00:14.2 PCI: 00:14.2 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:15.0 child on link 0 I2C: 01:5c PCI: 00:15.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 I2C: 01:5c PCI: 00:15.1 child on link 0 I2C: 02:15 PCI: 00:15.1 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 I2C: 02:15 PCI: 00:15.2 PCI: 00:15.3 PCI: 00:16.0 PCI: 00:16.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:16.1 PCI: 00:16.2 PCI: 00:16.3 PCI: 00:16.4 PCI: 00:17.0 PCI: 00:19.0 PCI: 00:19.0 resource base fe034000 size 1000 align 12 gran 12 limit ffffffffffffffff flags c0000200 index 10 PCI: 00:19.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 18 PCI: 00:19.1 child on link 0 I2C: 03:39 PCI: 00:19.1 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 I2C: 03:39 I2C: 03:3a I2C: 03:1a PCI: 00:19.2 PCI: 00:1c.0 child on link 0 PCI: 01:00.0 PCI: 00:1c.0 resource base 0 size 0 align 12 gran 12 limit ffff flags 80102 index 1c PCI: 00:1c.0 resource base 0 size 0 align 20 gran 20 limit ffffffffffffffff flags 81202 index 24 PCI: 00:1c.0 resource base 0 size 0 align 20 gran 20 limit ffffffff flags 80202 index 20 PCI: 01:00.0 PCI: 01:00.0 resource base 0 size 2000 align 13 gran 13 limit ffffffffffffffff flags 201 index 10 PCI: 00:1c.1 PCI: 00:1c.2 PCI: 00:1c.3 PCI: 00:1c.4 PCI: 00:1c.5 PCI: 00:1c.6 PCI: 00:1c.7 PCI: 00:1d.0 PCI: 00:1d.1 PCI: 00:1d.2 PCI: 00:1d.3 PCI: 00:1e.0 PCI: 00:1e.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:1e.1 PCI: 00:1e.2 child on link 0 SPI: 00 PCI: 00:1e.2 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 SPI: 00 PCI: 00:1e.3 PCI: 00:1e.4 PCI: 00:1e.4 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:1e.5 PCI: 00:1e.6 PCI: 00:1e.6 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:1f.0 child on link 0 PNP: 0c09.0 PCI: 00:1f.0 resource base 0 size 1000 align 0 gran 0 limit 0 flags c0000100 index 0 PNP: 0c09.0 PNP: 0c09.0 resource base 800 size 1ff align 0 gran 0 limit 0 flags c0000100 index 0 PCI: 00:1f.1 PCI: 00:1f.2 PCI: 00:1f.2 resource base 0 size 4000 align 14 gran 14 limit ffffffff flags 200 index 10 PCI: 00:1f.2 resource base fe000000 size 10000 align 0 gran 0 limit 0 flags d0000200 index 48 PCI: 00:1f.2 resource base 1800 size 100 align 0 gran 0 limit 0 flags c0000100 index 40 PCI: 00:1f.3 PCI: 00:1f.3 resource base 0 size 4000 align 14 gran 14 limit ffffffffffffffff flags 201 index 10 PCI: 00:1f.3 resource base 0 size 10000 align 16 gran 16 limit ffffffffffffffff flags 201 index 20 PCI: 00:1f.4 PCI: 00:1f.4 resource base efa0 size 20 align 0 gran 0 limit efbf flags f0000100 index 20 PCI: 00:1f.4 resource base 0 size 100 align 12 gran 8 limit ffffffffffffffff flags 201 index 10 PCI: 00:1f.5 PCI: 00:1f.5 resource base 0 size 1000 align 12 gran 12 limit ffffffff flags 200 index 10 PCI: 00:1f.6 DOMAIN: 0000 io: base: 0 size: 0 align: 0 gran: 0 limit: ffff PCI: 00:1c.0 io: base: 0 size: 0 align: 12 gran: 12 limit: ffff PCI: 00:1c.0 io: base: 0 size: 0 align: 12 gran: 12 limit: ffff done PCI: 00:02.0 20 * [0x0 - 0x3f] io DOMAIN: 0000 io: base: 40 size: 40 align: 6 gran: 0 limit: ffff done DOMAIN: 0000 mem: base: 0 size: 0 align: 0 gran: 0 limit: ffffffff PCI: 00:1c.0 prefmem: base: 0 size: 0 align: 20 gran: 20 limit: ffffffffffffffff PCI: 00:1c.0 prefmem: base: 0 size: 0 align: 20 gran: 20 limit: ffffffffffffffff done PCI: 00:1c.0 mem: base: 0 size: 0 align: 20 gran: 20 limit: ffffffff PCI: 01:00.0 10 * [0x0 - 0x1fff] mem PCI: 00:1c.0 mem: base: 2000 size: 100000 align: 20 gran: 20 limit: ffffffff done PCI: 00:02.0 18 * [0x0 - 0xfffffff] prefmem PCI: 00:02.0 10 * [0x10000000 - 0x10ffffff] mem PCI: 00:1c.0 20 * [0x11000000 - 0x110fffff] mem PCI: 00:14.0 10 * [0x11100000 - 0x1110ffff] mem PCI: 00:1f.3 20 * [0x11110000 - 0x1111ffff] mem PCI: 00:04.0 10 * [0x11120000 - 0x11127fff] mem PCI: 00:1f.2 10 * [0x11128000 - 0x1112bfff] mem PCI: 00:1f.3 10 * [0x1112c000 - 0x1112ffff] mem PCI: 00:08.0 10 * [0x11130000 - 0x11130fff] mem PCI: 00:14.2 10 * [0x11131000 - 0x11131fff] mem PCI: 00:15.0 10 * [0x11132000 - 0x11132fff] mem PCI: 00:15.1 10 * [0x11133000 - 0x11133fff] mem PCI: 00:16.0 10 * [0x11134000 - 0x11134fff] mem PCI: 00:19.0 18 * [0x11135000 - 0x11135fff] mem PCI: 00:19.1 10 * [0x11136000 - 0x11136fff] mem PCI: 00:1e.0 10 * [0x11137000 - 0x11137fff] mem PCI: 00:1e.2 10 * [0x11138000 - 0x11138fff] mem PCI: 00:1e.4 10 * [0x11139000 - 0x11139fff] mem PCI: 00:1e.6 10 * [0x1113a000 - 0x1113afff] mem PCI: 00:1f.5 10 * [0x1113b000 - 0x1113bfff] mem PCI: 00:1f.4 10 * [0x1113c000 - 0x1113c0ff] mem DOMAIN: 0000 mem: base: 1113c100 size: 1113c100 align: 28 gran: 0 limit: ffffffff done avoid_fixed_resources: DOMAIN: 0000 avoid_fixed_resources:@DOMAIN: 0000 10000000 limit 0000ffff avoid_fixed_resources:@DOMAIN: 0000 10000100 limit ffffffff constrain_resources: PCI: 00:00.0 00 base e0000000 limit e3ffffff mem (fixed) constrain_resources: PCI: 00:00.0 08 base 00000000 limit 0009ffff mem (fixed) constrain_resources: PCI: 00:00.0 09 base 000c0000 limit 7affffff mem (fixed) constrain_resources: PCI: 00:00.0 0b base 7b000000 limit 7b7fffff mem (fixed) constrain_resources: PCI: 00:00.0 0c base 7b800000 limit 7fffffff mem (fixed) constrain_resources: PCI: 00:1f.0 00 base 00000000 limit 00000fff io (fixed) constrain_resources: PCI: 00:1f.2 40 base 00001800 limit 000018ff io (fixed) constrain_resources: PCI: 00:1f.4 20 base 0000efa0 limit 0000efbf io (fixed) avoid_fixed_resources:@DOMAIN: 0000 10000000 base 00001900 limit 0000ef9f avoid_fixed_resources:@DOMAIN: 0000 10000100 base c0000000 limit dfffffff Setting resources... DOMAIN: 0000 io: base:1900 size:40 align:6 gran:0 limit:ef9f PCI: 00:02.0 20 * [0x1c00 - 0x1c3f] io DOMAIN: 0000 io: next_base: 1c40 size: 40 align: 6 gran: 0 done PCI: 00:1c.0 io: base:ef9f size:0 align:12 gran:12 limit:ef9f PCI: 00:1c.0 io: next_base: ef9f size: 0 align: 12 gran: 12 done DOMAIN: 0000 mem: base:c0000000 size:1113c100 align:28 gran:0 limit:dfffffff PCI: 00:02.0 18 * [0xc0000000 - 0xcfffffff] prefmem PCI: 00:02.0 10 * [0xd0000000 - 0xd0ffffff] mem PCI: 00:1c.0 20 * [0xd1000000 - 0xd10fffff] mem PCI: 00:14.0 10 * [0xd1100000 - 0xd110ffff] mem PCI: 00:1f.3 20 * [0xd1110000 - 0xd111ffff] mem PCI: 00:04.0 10 * [0xd1120000 - 0xd1127fff] mem PCI: 00:1f.2 10 * [0xd1128000 - 0xd112bfff] mem PCI: 00:1f.3 10 * [0xd112c000 - 0xd112ffff] mem PCI: 00:08.0 10 * [0xd1130000 - 0xd1130fff] mem PCI: 00:14.2 10 * [0xd1131000 - 0xd1131fff] mem PCI: 00:15.0 10 * [0xd1132000 - 0xd1132fff] mem PCI: 00:15.1 10 * [0xd1133000 - 0xd1133fff] mem PCI: 00:16.0 10 * [0xd1134000 - 0xd1134fff] mem PCI: 00:19.0 18 * [0xd1135000 - 0xd1135fff] mem PCI: 00:19.1 10 * [0xd1136000 - 0xd1136fff] mem PCI: 00:1e.0 10 * [0xd1137000 - 0xd1137fff] mem PCI: 00:1e.2 10 * [0xd1138000 - 0xd1138fff] mem PCI: 00:1e.4 10 * [0xd1139000 - 0xd1139fff] mem PCI: 00:1e.6 10 * [0xd113a000 - 0xd113afff] mem PCI: 00:1f.5 10 * [0xd113b000 - 0xd113bfff] mem PCI: 00:1f.4 10 * [0xd113c000 - 0xd113c0ff] mem DOMAIN: 0000 mem: next_base: d113c100 size: 1113c100 align: 28 gran: 0 done PCI: 00:1c.0 prefmem: base:dfffffff size:0 align:20 gran:20 limit:dfffffff PCI: 00:1c.0 prefmem: next_base: dfffffff size: 0 align: 20 gran: 20 done PCI: 00:1c.0 mem: base:d1000000 size:100000 align:20 gran:20 limit:d10fffff PCI: 01:00.0 10 * [0xd1000000 - 0xd1001fff] mem PCI: 00:1c.0 mem: next_base: d1002000 size: 100000 align: 20 gran: 20 done Root Device assign_resources, bus 0 link: 0 DOMAIN: 0000 assign_resources, bus 0 link: 0 PCI: 00:02.0 10 <- [0x00d0000000 - 0x00d0ffffff] size 0x01000000 gran 0x18 mem64 PCI: 00:02.0 18 <- [0x00c0000000 - 0x00cfffffff] size 0x10000000 gran 0x1c prefmem64 PCI: 00:02.0 20 <- [0x0000001c00 - 0x0000001c3f] size 0x00000040 gran 0x06 io PCI: 00:04.0 10 <- [0x00d1120000 - 0x00d1127fff] size 0x00008000 gran 0x0f mem64 PCI: 00:08.0 10 <- [0x00d1130000 - 0x00d1130fff] size 0x00001000 gran 0x0c mem64 PCI: 00:14.0 10 <- [0x00d1100000 - 0x00d110ffff] size 0x00010000 gran 0x10 mem64 PCI: 00:14.0 assign_resources, bus 0 link: 0 PCI: 00:14.0 assign_resources, bus 0 link: 0 PCI: 00:14.2 10 <- [0x00d1131000 - 0x00d1131fff] size 0x00001000 gran 0x0c mem64 PCI: 00:15.0 10 <- [0x00d1132000 - 0x00d1132fff] size 0x00001000 gran 0x0c mem64 PCI: 00:15.0 assign_resources, bus 1 link: 0 PCI: 00:15.0 assign_resources, bus 1 link: 0 PCI: 00:15.1 10 <- [0x00d1133000 - 0x00d1133fff] size 0x00001000 gran 0x0c mem64 PCI: 00:15.1 assign_resources, bus 2 link: 0 PCI: 00:15.1 assign_resources, bus 2 link: 0 PCI: 00:16.0 10 <- [0x00d1134000 - 0x00d1134fff] size 0x00001000 gran 0x0c mem64 PCI: 00:19.0 18 <- [0x00d1135000 - 0x00d1135fff] size 0x00001000 gran 0x0c mem64 PCI: 00:19.1 10 <- [0x00d1136000 - 0x00d1136fff] size 0x00001000 gran 0x0c mem64 PCI: 00:19.1 assign_resources, bus 3 link: 0 PCI: 00:19.1 assign_resources, bus 3 link: 0 PCI: 00:1c.0 1c <- [0x000000ef9f - 0x000000ef9e] size 0x00000000 gran 0x0c bus 01 io PCI: 00:1c.0 24 <- [0x00dfffffff - 0x00dffffffe] size 0x00000000 gran 0x14 bus 01 prefmem PCI: 00:1c.0 20 <- [0x00d1000000 - 0x00d10fffff] size 0x00100000 gran 0x14 bus 01 mem PCI: 00:1c.0 assign_resources, bus 1 link: 0 PCI: 01:00.0 10 <- [0x00d1000000 - 0x00d1001fff] size 0x00002000 gran 0x0d mem64 PCI: 00:1c.0 assign_resources, bus 1 link: 0 PCI: 00:1e.0 10 <- [0x00d1137000 - 0x00d1137fff] size 0x00001000 gran 0x0c mem64 PCI: 00:1e.2 10 <- [0x00d1138000 - 0x00d1138fff] size 0x00001000 gran 0x0c mem64 PCI: 00:1e.2 assign_resources, bus 4 link: 0 PCI: 00:1e.2 assign_resources, bus 4 link: 0 PCI: 00:1e.4 10 <- [0x00d1139000 - 0x00d1139fff] size 0x00001000 gran 0x0c mem64 PCI: 00:1e.6 10 <- [0x00d113a000 - 0x00d113afff] size 0x00001000 gran 0x0c mem64 PCI: 00:1f.0 assign_resources, bus 0 link: 0 PCI: 00:1f.0 assign_resources, bus 0 link: 0 LPC: Trying to open IO window from 800 size 1ff PCI: 00:1f.2 10 <- [0x00d1128000 - 0x00d112bfff] size 0x00004000 gran 0x0e mem PCI: 00:1f.3 10 <- [0x00d112c000 - 0x00d112ffff] size 0x00004000 gran 0x0e mem64 PCI: 00:1f.3 20 <- [0x00d1110000 - 0x00d111ffff] size 0x00010000 gran 0x10 mem64 PCI: 00:1f.4 10 <- [0x00d113c000 - 0x00d113c0ff] size 0x00000100 gran 0x08 mem64 PCI: 00:1f.5 10 <- [0x00d113b000 - 0x00d113bfff] size 0x00001000 gran 0x0c mem DOMAIN: 0000 assign_resources, bus 0 link: 0 Root Device assign_resources, bus 0 link: 0 Done setting resources. Show resources in subtree (Root Device)...After assigning values. Root Device child on link 0 CPU_CLUSTER: 0 CPU_CLUSTER: 0 child on link 0 APIC: 00 APIC: 00 APIC: 01 APIC: 02 APIC: 03 DOMAIN: 0000 child on link 0 PCI: 00:00.0 DOMAIN: 0000 resource base 1900 size 40 align 6 gran 0 limit ef9f flags 40040100 index 10000000 DOMAIN: 0000 resource base c0000000 size 1113c100 align 28 gran 0 limit dfffffff flags 40040200 index 10000100 PCI: 00:00.0 PCI: 00:00.0 resource base e0000000 size 4000000 align 0 gran 0 limit 0 flags f0000200 index 0 PCI: 00:00.0 resource base fed10000 size 8000 align 0 gran 0 limit 0 flags f0000200 index 1 PCI: 00:00.0 resource base fed18000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 2 PCI: 00:00.0 resource base fed19000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 3 PCI: 00:00.0 resource base fed84000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 4 PCI: 00:00.0 resource base fed80000 size 4000 align 0 gran 0 limit 0 flags f0000200 index 5 PCI: 00:00.0 resource base fed90000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 6 PCI: 00:00.0 resource base fed91000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 7 PCI: 00:00.0 resource base 0 size a0000 align 0 gran 0 limit 0 flags e0004200 index 8 PCI: 00:00.0 resource base c0000 size 7af40000 align 0 gran 0 limit 0 flags e0004200 index 9 PCI: 00:00.0 resource base 7b000000 size 800000 align 0 gran 0 limit 0 flags f0004200 index b PCI: 00:00.0 resource base 7b800000 size 4800000 align 0 gran 0 limit 0 flags f0000200 index c PCI: 00:00.0 resource base 100000000 size 7f000000 align 0 gran 0 limit 0 flags e0004200 index d PCI: 00:00.0 resource base a0000 size 20000 align 0 gran 0 limit 0 flags f0000200 index e PCI: 00:00.0 resource base c0000 size 40000 align 0 gran 0 limit 0 flags f0004200 index f PCI: 00:02.0 PCI: 00:02.0 resource base d0000000 size 1000000 align 24 gran 24 limit d0ffffff flags 60000201 index 10 PCI: 00:02.0 resource base c0000000 size 10000000 align 28 gran 28 limit cfffffff flags 60001201 index 18 PCI: 00:02.0 resource base 1c00 size 40 align 6 gran 6 limit 1c3f flags 60000100 index 20 PCI: 00:04.0 PCI: 00:04.0 resource base d1120000 size 8000 align 15 gran 15 limit d1127fff flags 60000201 index 10 PCI: 00:08.0 PCI: 00:08.0 resource base d1130000 size 1000 align 12 gran 12 limit d1130fff flags 60000201 index 10 PCI: 00:14.0 child on link 0 USB0 port 0 PCI: 00:14.0 resource base d1100000 size 10000 align 16 gran 16 limit d110ffff flags 60000201 index 10 USB0 port 0 child on link 0 USB2 port 0 USB2 port 0 USB2 port 1 USB2 port 2 USB2 port 4 USB2 port 8 PCI: 00:14.1 PCI: 00:14.2 PCI: 00:14.2 resource base d1131000 size 1000 align 12 gran 12 limit d1131fff flags 60000201 index 10 PCI: 00:15.0 child on link 0 I2C: 01:5c PCI: 00:15.0 resource base d1132000 size 1000 align 12 gran 12 limit d1132fff flags 60000201 index 10 I2C: 01:5c PCI: 00:15.1 child on link 0 I2C: 02:15 PCI: 00:15.1 resource base d1133000 size 1000 align 12 gran 12 limit d1133fff flags 60000201 index 10 I2C: 02:15 PCI: 00:15.2 PCI: 00:15.3 PCI: 00:16.0 PCI: 00:16.0 resource base d1134000 size 1000 align 12 gran 12 limit d1134fff flags 60000201 index 10 PCI: 00:16.1 PCI: 00:16.2 PCI: 00:16.3 PCI: 00:16.4 PCI: 00:17.0 PCI: 00:19.0 PCI: 00:19.0 resource base fe034000 size 1000 align 12 gran 12 limit ffffffffffffffff flags c0000200 index 10 PCI: 00:19.0 resource base d1135000 size 1000 align 12 gran 12 limit d1135fff flags 60000201 index 18 PCI: 00:19.1 child on link 0 I2C: 03:39 PCI: 00:19.1 resource base d1136000 size 1000 align 12 gran 12 limit d1136fff flags 60000201 index 10 I2C: 03:39 I2C: 03:3a I2C: 03:1a PCI: 00:19.2 PCI: 00:1c.0 child on link 0 PCI: 01:00.0 PCI: 00:1c.0 resource base ef9f size 0 align 12 gran 12 limit ef9f flags 60080102 index 1c PCI: 00:1c.0 resource base dfffffff size 0 align 20 gran 20 limit dfffffff flags 60081202 index 24 PCI: 00:1c.0 resource base d1000000 size 100000 align 20 gran 20 limit d10fffff flags 60080202 index 20 PCI: 01:00.0 PCI: 01:00.0 resource base d1000000 size 2000 align 13 gran 13 limit d1001fff flags 60000201 index 10 PCI: 00:1c.1 PCI: 00:1c.2 PCI: 00:1c.3 PCI: 00:1c.4 PCI: 00:1c.5 PCI: 00:1c.6 PCI: 00:1c.7 PCI: 00:1d.0 PCI: 00:1d.1 PCI: 00:1d.2 PCI: 00:1d.3 PCI: 00:1e.0 PCI: 00:1e.0 resource base d1137000 size 1000 align 12 gran 12 limit d1137fff flags 60000201 index 10 PCI: 00:1e.1 PCI: 00:1e.2 child on link 0 SPI: 00 PCI: 00:1e.2 resource base d1138000 size 1000 align 12 gran 12 limit d1138fff flags 60000201 index 10 SPI: 00 PCI: 00:1e.3 PCI: 00:1e.4 PCI: 00:1e.4 resource base d1139000 size 1000 align 12 gran 12 limit d1139fff flags 60000201 index 10 PCI: 00:1e.5 PCI: 00:1e.6 PCI: 00:1e.6 resource base d113a000 size 1000 align 12 gran 12 limit d113afff flags 60000201 index 10 PCI: 00:1f.0 child on link 0 PNP: 0c09.0 PCI: 00:1f.0 resource base 0 size 1000 align 0 gran 0 limit 0 flags c0000100 index 0 PNP: 0c09.0 PNP: 0c09.0 resource base 800 size 1ff align 0 gran 0 limit 0 flags c0000100 index 0 PCI: 00:1f.1 PCI: 00:1f.2 PCI: 00:1f.2 resource base d1128000 size 4000 align 14 gran 14 limit d112bfff flags 60000200 index 10 PCI: 00:1f.2 resource base fe000000 size 10000 align 0 gran 0 limit 0 flags d0000200 index 48 PCI: 00:1f.2 resource base 1800 size 100 align 0 gran 0 limit 0 flags c0000100 index 40 PCI: 00:1f.3 PCI: 00:1f.3 resource base d112c000 size 4000 align 14 gran 14 limit d112ffff flags 60000201 index 10 PCI: 00:1f.3 resource base d1110000 size 10000 align 16 gran 16 limit d111ffff flags 60000201 index 20 PCI: 00:1f.4 PCI: 00:1f.4 resource base efa0 size 20 align 0 gran 0 limit efbf flags f0000100 index 20 PCI: 00:1f.4 resource base d113c000 size 100 align 12 gran 8 limit d113c0ff flags 60000201 index 10 PCI: 00:1f.5 PCI: 00:1f.5 resource base d113b000 size 1000 align 12 gran 12 limit d113bfff flags 60000200 index 10 PCI: 00:1f.6 Done allocating resources. BS: BS_DEV_RESOURCES times (us): entry 0 run 2114168 exit 30 Enabling resources... PCI: 00:00.0 subsystem <- 8086/590c PCI: 00:00.0 cmd <- 06 PCI: 00:02.0 subsystem <- 8086/591c PCI: 00:02.0 cmd <- 03 PCI: 00:04.0 cmd <- 02 PCI: 00:08.0 cmd <- 06 PCI: 00:14.0 subsystem <- 8086/9d2f PCI: 00:14.0 cmd <- 02 PCI: 00:14.2 subsystem <- 8086/9d31 PCI: 00:14.2 cmd <- 02 PCI: 00:15.0 subsystem <- 8086/9d60 PCI: 00:15.0 cmd <- 06 PCI: 00:15.1 subsystem <- 8086/9d61 PCI: 00:15.1 cmd <- 06 PCI: 00:16.0 subsystem <- 8086/9d3a PCI: 00:16.0 cmd <- 02 PCI: 00:19.0 subsystem <- 8086/9d66 PCI: 00:19.0 cmd <- 06 PCI: 00:19.1 subsystem <- 8086/9d65 PCI: 00:19.1 cmd <- 06 PCI: 00:1c.0 bridge ctrl <- 0003 PCI: 00:1c.0 subsystem <- 8086/9d10 PCI: 00:1c.0 cmd <- 06 PCI: 00:1e.0 subsystem <- 8086/9d27 PCI: 00:1e.0 cmd <- 06 PCI: 00:1e.2 subsystem <- 8086/9d29 PCI: 00:1e.2 cmd <- 06 PCI: 00:1e.4 subsystem <- 8086/9d2b PCI: 00:1e.4 cmd <- 06 PCI: 00:1e.6 subsystem <- 8086/9d2d PCI: 00:1e.6 cmd <- 06 PCI: 00:1f.0 subsystem <- 8086/9d4b PCI: 00:1f.0 cmd <- 407 PCI: 00:1f.2 subsystem <- 8086/9d21 PCI: 00:1f.2 cmd <- 02 PCI: 00:1f.3 subsystem <- 8086/9d71 PCI: 00:1f.3 cmd <- 02 PCI: 00:1f.4 subsystem <- 8086/9d23 PCI: 00:1f.4 cmd <- 03 PCI: 00:1f.5 subsystem <- 8086/9d24 PCI: 00:1f.5 cmd <- 406 PCI: 01:00.0 subsystem <- 8086/095a PCI: 01:00.0 cmd <- 02 done. ME: Version : 11.8.50.3470 BS: BS_DEV_ENABLE times (us): entry 291 run 139305 exit 19573 Initializing devices... Root Device init ... Chrome EC: Set SMI mask to 0x0000000000000001 Chrome EC: Set S5 LAZY WAKE mask to 0x0000000000000006 Chrome EC: Set S3 LAZY WAKE mask to 0x0000000010001006 Chrome EC: Set S0iX LAZY WAKE mask to 0x0000000010001006 Chrome EC: Set WAKE mask to 0x0000000000000000 Root Device init finished in 30859 usecs CPU_CLUSTER: 0 init ... CPU_CLUSTER: 0 init finished in 2445 usecs PCI: 00:00.0 init ... CPU TDP: 5 Watts CPU PL2 = 18 Watts PCI: 00:00.0 init finished in 6985 usecs PCI: 00:02.0 init ... PCI: 00:02.0 init finished in 2250 usecs PCI: 00:04.0 init ... PCI: 00:04.0 init finished in 2249 usecs PCI: 00:08.0 init ... PCI: 00:08.0 init finished in 2248 usecs PCI: 00:14.0 init ... PCI: 00:14.0 init finished in 2249 usecs PCI: 00:14.2 init ... PCI: 00:14.2 init finished in 2249 usecs PCI: 00:15.0 init ... DW I2C bus 0 at 0xd1132000 (400 KHz) PCI: 00:15.0 init finished in 5967 usecs PCI: 00:15.1 init ... DW I2C bus 1 at 0xd1133000 (400 KHz) PCI: 00:15.1 init finished in 5966 usecs PCI: 00:16.0 init ... PCI: 00:16.0 init finished in 2248 usecs PCI: 00:19.1 init ... DW I2C bus 5 at 0xd1136000 (400 KHz) PCI: 00:19.1 init finished in 5968 usecs PCI: 00:1c.0 init ... Initializing PCH PCIe bridge. PCI: 00:1c.0 init finished in 5287 usecs PCI: 00:1e.4 init ... PCI: 00:1e.4 init finished in 2248 usecs PCI: 00:1f.0 init ... IOAPIC: Initializing IOAPIC at 0xfec00000 IOAPIC: Bootstrap Processor Local APIC = 0x00 IOAPIC: ID = 0x02 IOAPIC: Dumping registers reg 0x0000: 0x02000000 reg 0x0001: 0x00770020 reg 0x0002: 0x00000000 PCI: 00:1f.0 init finished in 23490 usecs PCI: 00:1f.2 init ... RTC Init Set power on after power failure. Disabling ACPI via APMC: done. Disabling Deep S3 Disabling Deep S3 Enabling Deep S4 Enabling Deep S4 Enabling Deep S5 Enabling Deep S5 PCI: 00:1f.2 init finished in 23818 usecs PCI: 00:1f.4 init ... PCI: 00:1f.4 init finished in 2259 usecs PCI: 01:00.0 init ... PCI: 01:00.0 init finished in 2394 usecs PNP: 0c09.0 init ... Google Chrome EC: Hello got back 11223344 status (0) Google Chrome EC: version: ro: rammus_v2.0.387-f0df0fe2e rw: rammus_v2.0.425-6e0dd622e running image: 1 EC returned error result code 1 PNP: 0c09.0 init finished in 24468 usecs Devices initialized Show all devs... After init. Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 DOMAIN: 0000: enabled 1 APIC: 00: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:02.0: enabled 1 PCI: 00:14.0: enabled 1 PCI: 00:14.1: enabled 0 PCI: 00:14.2: enabled 1 PCI: 00:15.0: enabled 1 PCI: 00:15.1: enabled 1 PCI: 00:15.2: enabled 0 PCI: 00:15.3: enabled 0 PCI: 00:16.0: enabled 1 PCI: 00:16.1: enabled 0 PCI: 00:16.2: enabled 0 PCI: 00:16.3: enabled 0 PCI: 00:16.4: enabled 0 PCI: 00:17.0: enabled 0 PCI: 00:19.0: enabled 1 PCI: 00:19.1: enabled 1 PCI: 00:19.2: enabled 0 PCI: 00:1c.0: enabled 1 PCI: 00:1c.1: enabled 0 PCI: 00:1c.2: enabled 0 PCI: 00:1c.3: enabled 0 PCI: 00:1c.4: enabled 0 PCI: 00:1c.5: enabled 0 PCI: 00:1c.6: enabled 0 PCI: 00:1c.7: enabled 0 PCI: 00:1d.0: enabled 0 PCI: 00:1d.1: enabled 0 PCI: 00:1d.2: enabled 0 PCI: 00:1d.3: enabled 0 PCI: 00:1e.0: enabled 1 PCI: 00:1e.1: enabled 0 PCI: 00:1e.2: enabled 1 PCI: 00:1e.3: enabled 0 PCI: 00:1e.4: enabled 1 PCI: 00:1e.5: enabled 0 PCI: 00:1e.6: enabled 1 PCI: 00:1f.0: enabled 1 PCI: 00:1f.1: enabled 0 PCI: 00:1f.2: enabled 1 PCI: 00:1f.3: enabled 1 PCI: 00:1f.4: enabled 1 PCI: 00:1f.5: enabled 1 PCI: 00:1f.6: enabled 0 USB0 port 0: enabled 1 I2C: 01:5c: enabled 1 I2C: 02:15: enabled 1 I2C: 03:39: enabled 1 I2C: 03:3a: enabled 1 I2C: 03:1a: enabled 1 PCI: 01:00.0: enabled 1 SPI: 00: enabled 1 PNP: 0c09.0: enabled 1 USB2 port 0: enabled 1 USB2 port 1: enabled 1 USB2 port 2: enabled 1 USB2 port 4: enabled 1 USB2 port 8: enabled 1 APIC: 01: enabled 1 APIC: 02: enabled 1 APIC: 03: enabled 1 PCI: 00:04.0: enabled 1 PCI: 00:08.0: enabled 1 FMAP: area RW_ELOG found @ 9f0000 (16384 bytes) ELOG: NV offset 0x9f0000 size 0x4000 ELOG: area is 4096 bytes, full threshold 3842, shrink size 1024 ELOG: Event(17) added with size 13 at 2023-01-14 13:00:49 UTC POST: Unexpected post code in previous boot: 0x34 ELOG: Event(A3) added with size 11 at 2023-01-14 13:00:49 UTC ELOG: Event(92) added with size 9 at 2023-01-14 13:00:49 UTC ELOG: Event(9A) added with size 9 at 2023-01-14 13:00:49 UTC ELOG: Event(16) added with size 11 at 2023-01-14 13:00:49 UTC Erasing flash addr 9f0000 + 4 KiB ELOG: Event(AD) added with size 10 at 2023-01-14 13:00:49 UTC ELOG: Event(9F) added with size 14 at 2023-01-14 13:00:49 UTC BS: BS_DEV_INIT times (us): entry 0 run 417113 exit 125983 ELOG: Event(A1) added with size 10 at 2023-01-14 13:00:49 UTC elog_add_boot_reason: Logged recovery mode boot (Dev-switch on), reason: 0x1b ELOG: Event(A0) added with size 9 at 2023-01-14 13:00:49 UTC elog_add_boot_reason: Logged dev mode boot Finalize devices... Devices finalized FMAP: area RW_NVRAM found @ 9fa000 (24576 bytes) BS: BS_POST_DEVICE times (us): entry 25572 run 3959 exit 5191 BS: BS_OS_RESUME_CHECK times (us): entry 0 run 55 exit 0 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/dsdt.aml' CBFS: Found @ offset 19af40 size 4691 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/slic' CBFS: 'fallback/slic' not found. ACPI: Writing ACPI tables at 7aa9a000. ACPI: * FACS ACPI: * DSDT Ramoops buffer: 0x100000@0x7a999000. SGX: not enabled or not supported. skip gnvs fill ACPI: * FADT SCI is IRQ9 ACPI: added table 1/32, length now 40 ACPI: * SSDT Found 1 CPU(s) with 4 core(s) each. \_SB.PCI0.I2C0.H05C: SISC Touchscreen at I2C: 01:5c \_SB.PCI0.I2C1.D015: ELAN Touchpad at I2C: 02:15 \_SB.PCI0.I2C5.MAXR: Maxim MAX98927 Codec address 039h \_SB.PCI0.I2C5.MAXL: Maxim MAX98927 Codec address 03ah \_SB.PCI0.I2C5.DLG7: Dialog Semiconductor DA7219 Audio Codec address 01ah irq 105 Error: Could not locate 'wifi_sar' in VPD. Error: failed from getting SAR limits! \_SB.PCI0.RP01.WIFI: Intel WiFi PCI: 01:00.0 \_SB.PCI0.SPI0.S001: SPI Device at SPI: 00 \_SB.PCI0.XHCI.RHUB.HS01: USB Type C Port 1 at USB2 port 0 \_SB.PCI0.XHCI.RHUB.HS02: USB Type A Port 1 at USB2 port 1 \_SB.PCI0.XHCI.RHUB.HS03: Bluetooth at USB2 port 2 \_SB.PCI0.XHCI.RHUB.HS05: USB Type C Port 2 at USB2 port 4 \_SB.PCI0.XHCI.RHUB.HS09: Camera at USB2 port 8 ACPI: added table 2/32, length now 44 ACPI: * MCFG ACPI: added table 3/32, length now 48 ACPI: * TPM2 ACPI: added table 4/32, length now 52 ACPI: * MADT SCI is IRQ9 ACPI: added table 5/32, length now 56 current = 7aa9fa60 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'dmic-4ch-48khz-16b.bin' CBFS: Found @ offset 167000 size ba8 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'dmic-4ch-48khz-32b.bin' CBFS: Found @ offset 19f640 size ba8 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'dialog-2ch-48khz-24b.bin' CBFS: Found @ offset 167cc0 size 64 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'dialog-2ch-48khz-24b.bin' CBFS: Found @ offset 167cc0 size 64 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'max98927-render-2ch-48khz-24b.bin' CBFS: Found @ offset 167c00 size 64 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'max98927-render-2ch-48khz-16b.bin' CBFS: Found @ offset 103f00 size 64 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'max98927-render-2ch-48khz-16b.bin' CBFS: Found @ offset 103f00 size 64 ACPI: * NHLT ACPI: added table 6/32, length now 60 ACPI: * DMAR ACPI: added table 7/32, length now 64 ACPI: * IGD OpRegion GMA: Found VBT in CBFS GMA: Found valid VBT in CBFS current = 7aaa3610 ACPI: added table 8/32, length now 68 ACPI: * HPET ACPI: added table 9/32, length now 72 ACPI: done. ACPI tables: 38592 bytes. smbios_write_tables: 7a998000 Create SMBIOS type 17 PCI: 01:00.0 (Intel WiFi) SMBIOS tables: 662 bytes. Writing table forward entry at 0x00000500 Wrote coreboot table at: 00000500, 0x10 bytes, checksum a532 Writing coreboot table at 0x7aabe000 0. 0000000000000000-0000000000000fff: CONFIGURATION TABLES 1. 0000000000001000-000000000009ffff: RAM 2. 00000000000a0000-00000000000fffff: RESERVED 3. 0000000000100000-000000007a997fff: RAM 4. 000000007a998000-000000007ab05fff: CONFIGURATION TABLES 5. 000000007ab06000-000000007abcffff: RAMSTAGE 6. 000000007abd0000-000000007affffff: CONFIGURATION TABLES 7. 000000007b000000-000000007fffffff: RESERVED 8. 00000000e0000000-00000000e3ffffff: RESERVED 9. 00000000fe000000-00000000fe00ffff: RESERVED 10. 00000000fed10000-00000000fed19fff: RESERVED 11. 00000000fed80000-00000000fed84fff: RESERVED 12. 00000000fed90000-00000000fed91fff: RESERVED 13. 0000000100000000-000000017effffff: RAM Graphics framebuffer located at 0xc0000000 Passing 6 GPIOs to payload: NAME | PORT | POLARITY | VALUE write protect | undefined | high | low recovery | undefined | high | low lid | undefined | high | high power | undefined | high | low oprom | undefined | high | low EC in RW | 0x00000036 | high | low Board ID: 6 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) Wrote coreboot table at: 7aabe000, 0x5a4 bytes, checksum daa6 coreboot table: 1468 bytes. IMD ROOT 0. 7afff000 00001000 IMD SMALL 1. 7affe000 00001000 FSP MEMORY 2. 7abfe000 00400000 CONSOLE 3. 7abde000 00020000 TIME STAMP 4. 7abdd000 00000910 VBOOT 5. 7abdc000 00000c0c MRC DATA 6. 7abda000 00001878 ROMSTG STCK 7. 7abd9000 00000400 AFTER CAR 8. 7abd0000 00009000 RAMSTAGE 9. 7ab05000 000cb000 REFCODE 10. 7aad6000 0002f000 SMM BACKUP 11. 7aac6000 00010000 COREBOOT 12. 7aabe000 00008000 ACPI 13. 7aa9a000 00024000 ACPI GNVS 14. 7aa99000 00001000 RAMOOPS 15. 7a999000 00100000 SMBIOS 16. 7a998000 00000800 IMD small region: IMD ROOT 0. 7affec00 00000400 FSP RUNTIME 1. 7affebe0 00000004 VBOOT SEL 2. 7affebc0 00000008 EC HOSTEVENT 3. 7affeba0 00000008 POWER STATE 4. 7affeb60 00000040 ROMSTAGE 5. 7affeb40 00000004 MEM INFO 6. 7affe980 000001a9 VPD 7. 7affe900 0000006c COREBOOTFWD 8. 7affe8c0 00000028 MTRR: Physical address space: 0x0000000000000000 - 0x00000000000a0000 size 0x000a0000 type 6 0x00000000000a0000 - 0x00000000000c0000 size 0x00020000 type 0 0x00000000000c0000 - 0x000000007b800000 size 0x7b740000 type 6 0x000000007b800000 - 0x00000000c0000000 size 0x44800000 type 0 0x00000000c0000000 - 0x00000000d0000000 size 0x10000000 type 1 0x00000000d0000000 - 0x0000000100000000 size 0x30000000 type 0 0x0000000100000000 - 0x000000017f000000 size 0x7f000000 type 6 MTRR: Fixed MSR 0x250 0x0606060606060606 MTRR: Fixed MSR 0x258 0x0606060606060606 MTRR: Fixed MSR 0x259 0x0000000000000000 MTRR: Fixed MSR 0x268 0x0606060606060606 MTRR: Fixed MSR 0x269 0x0606060606060606 MTRR: Fixed MSR 0x26a 0x0606060606060606 MTRR: Fixed MSR 0x26b 0x0606060606060606 MTRR: Fixed MSR 0x26c 0x0606060606060606 MTRR: Fixed MSR 0x26d 0x0606060606060606 MTRR: Fixed MSR 0x26e 0x0606060606060606 MTRR: Fixed MSR 0x26f 0x0606060606060606 call enable_fixed_mtrr() CPU physical address size: 39 bits MTRR: default type WB/UC MTRR counts: 6/5. MTRR: UC selected as default type. MTRR: 0 base 0x0000000000000000 mask 0x0000007f80000000 type 6 MTRR: 1 base 0x000000007b800000 mask 0x0000007fff800000 type 0 MTRR: 2 base 0x000000007c000000 mask 0x0000007ffc000000 type 0 MTRR: 3 base 0x00000000c0000000 mask 0x0000007ff0000000 type 1 MTRR: 4 base 0x0000000100000000 mask 0x0000007f80000000 type 6 MTRR check Fixed MTRRs : Enabled Variable MTRRs: Enabled MTRR: Fixed MSR 0x250 0x0606060606060606 MTRR: Fixed MSR 0x258 0x0606060606060606 MTRR: Fixed MSR 0x259 0x0000000000000000 MTRR: Fixed MSR 0x268 0x0606060606060606 MTRR: Fixed MSR 0x269 0x0606060606060606 MTRR: Fixed MSR 0x26a 0x0606060606060606 MTRR: Fixed MSR 0x26b 0x0606060606060606 MTRR: Fixed MSR 0x26c 0x0606060606060606 MTRR: Fixed MSR 0x26d 0x0606060606060606 MTRR: Fixed MSR 0x26e 0x0606060606060606 MTRR: Fixed MSR 0x26f 0x0606060606060606 BS: BS_WRITE_TABLES times (us): entry 0 run 537418 exit 146861 call enable_fixed_mtrr() MTRR: Fixed MSR 0x250 0x0606060606060606 MTRR: Fixed MSR 0x250 0x0606060606060606 MTRR: Fixed MSR 0x258 0x0606060606060606 MTRR: Fixed MSR 0x259 0x0000000000000000 MTRR: Fixed MSR 0x268 0x0606060606060606 MTRR: Fixed MSR 0x269 0x0606060606060606 MTRR: Fixed MSR 0x26a 0x0606060606060606 MTRR: Fixed MSR 0x26b 0x0606060606060606 MTRR: Fixed MSR 0x26c 0x0606060606060606 MTRR: Fixed MSR 0x26d 0x0606060606060606 MTRR: Fixed MSR 0x26e 0x0606060606060606 MTRR: Fixed MSR 0x26f 0x0606060606060606 MTRR: Fixed MSR 0x258 0x0606060606060606 MTRR: Fixed MSR 0x259 0x0000000000000000 MTRR: Fixed MSR 0x268 0x0606060606060606 MTRR: Fixed MSR 0x269 0x0606060606060606 MTRR: Fixed MSR 0x26a 0x0606060606060606 MTRR: Fixed MSR 0x26b 0x0606060606060606 MTRR: Fixed MSR 0x26c 0x0606060606060606 MTRR: Fixed MSR 0x26d 0x0606060606060606 MTRR: Fixed MSR 0x26e 0x0606060606060606 MTRR: Fixed MSR 0x26f 0x0606060606060606 call enable_fixed_mtrr() call enable_fixed_mtrr() CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CPU physical address size: 39 bits CBFS: Locating 'fallback/payload' CPU physical address size: 39 bits CPU physical address size: 39 bits CBFS: Found @ offset 223040 size 360b4 Checking segment from ROM address 0xfff23078 Checking segment from ROM address 0xfff23094 Loading segment from ROM address 0xfff23078 code (compression=0) New segment dstaddr 0x30104020 memsize 0x64d8b0 srcaddr 0xfff230b0 filesize 0x3607c Loading Segment: addr: 0x30104020 memsz: 0x000000000064d8b0 filesz: 0x000000000003607c it's not compressed! [ 0x30104020, 3013a09c, 0x307518d0) <- fff230b0 Clearing Segment: addr: 0x000000003013a09c memsz: 0x0000000000617834 Loading segment from ROM address 0xfff23094 Entry Point 0x30104020 Loaded segments Finalizing chipset. ME: Host Firmware Status Register 1 : 0x90000245 ME: Host Firmware Status Register 2 : 0x6B000306 ME: Host Firmware Status Register 3 : 0x00000020 ME: Host Firmware Status Register 4 : 0x00084000 ME: Host Firmware Status Register 5 : 0x00000000 ME: Host Firmware Status Register 6 : 0x40000002 ME: FW Partition Table : OK ME: Bringup Loader Failure : NO ME: Firmware Init Complete : YES ME: Manufacturing Mode : NO ME: Boot Options Present : NO ME: Update In Progress : NO ME: D3 Support : NO ME: D0i3 Support : YES ME: Low Power State Enabled : YES ME: CPU Replaced : NO ME: CPU Replacement Valid : YES ME: Current Working State : Normal ME: Current Operation State : M0 with UMA ME: Current Operation Mode : Normal ME: Error Code : No Error ME: Progress Phase : Host Communication ME: Power Management Event : Power cycle reset through Moff ME: Progress Phase State : Host communication established ME: Power Down Mitigation : NO ME: FPF status : fused Clearing MCA. Finalizing SMM. BS: BS_PAYLOAD_LOAD times (us): entry 1020 run 261467 exit 135659 mp_park_aps done after 0 msecs. Jumping to boot code at 30104020(7aabe000) CPU0: stack: 7ab46000 - 7ab47000, lowest used address 7ab46abc, stack used: 1348 bytes Starting depthcharge on rammus... WARNING: can't convert coreboot GPIOs, 'lid' won't be resampled at runtime! WARNING: can't convert coreboot GPIOs, 'power' won't be resampled at runtime! The GBB signature is at 0x30004020 and is: 24 47 42 42 [firmware-rammus-11275.B-collabora] Dec 11 2020 10:26:21 rammus:tftpboot 192.168.201.1 8718797/tftp-deploy-j_h79m5t/kernel/bzImage 8718797/tftp-deploy-j_h79m5t/kernel/cmdline 8718797/tftp-deploy-j_h79m5t/ramdisk/ramdisk.cpio.gz tftpboot 192.168.201.1 8718797/tftp-deploy-j_h79m5t/kernel/bzImaoy-j_h79m5t/kernel/cmdline 8718797/tftp-deploy-j_h79m5t/ramdisk/ramdisk.cpio.gz Waiting for link R8152: Initializing Version 9 (ocp_data = 6010) R8152: Done initializing Adding net device done. MAC: 00:e0:4c:68:01:e7 Sending DHCP discover... done. Waiting for reply... done. Sending DHCP request... done. Waiting for reply... done. My ip is 192.168.201.11 The DHCP server ip is 192.168.201.1 TFTP server IP predefined by user: 192.168.201.1 Bootfile predefined by user: 8718797/tftp-deploy-j_h79m5t/kernel/bzImage Sending tftp read request... done. Waiting for the transfer... 00000000 ################################################################ 00080000 ################################################################ 00100000 ################################################################ 00180000 ################################################################ 00200000 ################################################################ 00280000 ################################################################ 00300000 ################################################################ 00380000 ################################################################ 00400000 ################################################################ 00480000 ################################################################ 00500000 ################################################################ 00580000 ################################################################ 00600000 ################################################################ 00680000 ################################################################ 00700000 ################################################################ 00780000 ################################################################ 00800000 ################################################################ 00880000 ################################################################ 00900000 ################################################################ 00980000 ################################################################ 00a00000 ################################################################ 00a80000 ################################################################ 00b00000 ################################################################ 00b80000 ################################################################ 00c00000 ################################################################ 00c80000 ################################################################ 00d00000 ################################################################ 00d80000 ###################################### done. The bootfile was 14459616 bytes long. Sending tftp read request... done. Waiting for the transfer... 00000000 ################################################################ 00080000 ################################################################ 00100000 ################################################################ 00180000 ################################################################ 00200000 ################################################################ 00280000 ################################################################ 00300000 ################################################################ 00380000 ################################################################ 00400000 ################################################################ 00480000 ################################################################ 00500000 ################################################################ 00580000 ################################################################ 00600000 ################################################################ 00680000 ################################################################ 00700000 ################################################################ 00780000 ################################################################ 00800000 ##### done. Sending tftp read request... done. Waiting for the transfer... 00000000 # done. Command line loaded dynamically from TFTP file: 8718797/tftp-deploy-j_h79m5t/kernel/cmdline The command line is: earlyprintk=uart8250,mmio32,0xde000000,115200n8 console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.201.1:/var/lib/lava/dispatcher/tmp/8718797/extract-nfsrootfs-8zjxoqfs,tcp,hard ip=dhcp tftpserverip=192.168.201.1 Shutting down all USB controllers. Removing current net device Finalizing coreboot Exiting depthcharge with code 4 at timestamp: 18634587 Starting kernel ... [ 0.000000] Linux version 5.10.163-cip24 (KernelCI@build-j850406-x86-64-gcc-10-x86-64-defconfig-x86-chromeboorf9x9) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Sat Jan 14 12:52:49 UTC 2023 [ 0.000000] Command line: earlyprintk=uart8250,mmio32,0xde000000,115200n8 console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.201.1:/var/lib/lava/dispatcher/tmp/8718797/extract-nfsrootfs-8zjxoqfs,tcp,hard ip=dhcp tftpserverip=192.168.201.1 [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64 [ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64 [ 0.000000] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format. [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000000fff] type 16 [ 0.000000] BIOS-e820: [mem 0x0000000000001000-0x000000000009ffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007a997fff] usable [ 0.000000] BIOS-e820: [mem 0x000000007a998000-0x000000007affffff] type 16 [ 0.000000] BIOS-e820: [mem 0x000000007b000000-0x000000007fffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000e3ffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fe000000-0x00000000fe00ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed80000-0x00000000fed84fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed90000-0x00000000fed91fff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000017effffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.7 present. [ 0.000000] DMI: Google Rammus/Rammus, BIOS 09/04/2020 [ 0.000000] tsc: Detected 1600.000 MHz processor [ 0.000000] tsc: Detected 1599.960 MHz TSC [ 0.000059] last_pfn = 0x17f000 max_arch_pfn = 0x400000000 [ 0.001405] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.007235] last_pfn = 0x7a998 max_arch_pfn = 0x400000000 [ 0.026359] check: Scanning 1 areas for low memory corruption [ 0.026372] Using GB pages for direct mapping [ 0.026963] RAMDISK: [mem 0x377f6000-0x37ffffff] [ 0.026972] ACPI: Early table checksum verification disabled [ 0.026979] ACPI: RSDP 0x00000000000F0000 000024 (v02 CORE ) [ 0.026993] ACPI: XSDT 0x000000007AA9A0E0 00006C (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027010] ACPI: FACP 0x000000007AA9E970 0000F4 (v04 CORE COREBOOT 00000000 CORE 00000000) [ 0.027027] ACPI: DSDT 0x000000007AA9A280 0046E3 (v05 COREv4 COREBOOT 20110725 INTL 20180531) [ 0.027040] ACPI: FACS 0x000000007AA9A240 000040 [ 0.027052] ACPI: FACS 0x000000007AA9A240 000040 [ 0.027063] ACPI: SSDT 0x000000007AA9EA70 000EFA (v02 CORE COREBOOT 0000002A CORE 0000002A) [ 0.027076] ACPI: MCFG 0x000000007AA9F970 00003C (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027089] ACPI: TPM2 0x000000007AA9F9B0 000040 (v04 CORE COREBOOT 00000000 CORE 00000000) [ 0.027101] ACPI: APIC 0x000000007AA9F9F0 00006C (v02 CORE COREBOOT 00000000 CORE 00000000) [ 0.027114] ACPI: NHLT 0x000000007AA9FA60 001B1C (v05 GOOGLE RAMMUS 00000000 CORE 00000000) [ 0.027127] ACPI: DMAR 0x000000007AAA1580 000088 (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027139] ACPI: DBG2 0x000000007AAA3610 000061 (v00 CORE COREBOOT 00000000 CORE 00000000) [ 0.027152] ACPI: HPET 0x000000007AAA3680 000038 (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027164] ACPI: Reserving FACP table memory at [mem 0x7aa9e970-0x7aa9ea63] [ 0.027170] ACPI: Reserving DSDT table memory at [mem 0x7aa9a280-0x7aa9e962] [ 0.027175] ACPI: Reserving FACS table memory at [mem 0x7aa9a240-0x7aa9a27f] [ 0.027180] ACPI: Reserving FACS table memory at [mem 0x7aa9a240-0x7aa9a27f] [ 0.027184] ACPI: Reserving SSDT table memory at [mem 0x7aa9ea70-0x7aa9f969] [ 0.027189] ACPI: Reserving MCFG table memory at [mem 0x7aa9f970-0x7aa9f9ab] [ 0.027194] ACPI: Reserving TPM2 table memory at [mem 0x7aa9f9b0-0x7aa9f9ef] [ 0.027199] ACPI: Reserving APIC table memory at [mem 0x7aa9f9f0-0x7aa9fa5b] [ 0.027204] ACPI: Reserving NHLT table memory at [mem 0x7aa9fa60-0x7aaa157b] [ 0.027209] ACPI: Reserving DMAR table memory at [mem 0x7aaa1580-0x7aaa1607] [ 0.027214] ACPI: Reserving DBG2 table memory at [mem 0x7aaa3610-0x7aaa3670] [ 0.027219] ACPI: Reserving HPET table memory at [mem 0x7aaa3680-0x7aaa36b7] [ 0.027359] No NUMA configuration found [ 0.027364] Faking a node at [mem 0x0000000000000000-0x000000017effffff] [ 0.027374] NODE_DATA(0) allocated [mem 0x17effc000-0x17effffff] [ 0.027419] Zone ranges: [ 0.027425] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.027432] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.027440] Normal [mem 0x0000000100000000-0x000000017effffff] [ 0.027448] Movable zone start for each node [ 0.027452] Early memory node ranges [ 0.027458] node 0: [mem 0x0000000000001000-0x000000000009ffff] [ 0.027463] node 0: [mem 0x0000000000100000-0x000000007a997fff] [ 0.027468] node 0: [mem 0x0000000100000000-0x000000017effffff] [ 0.027474] Initmem setup node 0 [mem 0x0000000000001000-0x000000017effffff] [ 0.027511] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.027556] On node 0, zone DMA: 96 pages in unavailable ranges [ 0.039047] On node 0, zone Normal: 22120 pages in unavailable ranges [ 0.039133] On node 0, zone Normal: 4096 pages in unavailable ranges [ 0.039160] Reserving Intel graphics memory at [mem 0x7c000000-0x7fffffff] [ 0.039523] ACPI: PM-Timer IO Port: 0x1808 [ 0.039580] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119 [ 0.039594] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.039600] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.039615] Using ACPI (MADT) for SMP configuration information [ 0.039622] ACPI: HPET id: 0x8086a701 base: 0xfed00000 [ 0.039630] TSC deadline timer available [ 0.039635] smpboot: Allowing 4 CPUs, 0 hotplug CPUs [ 0.039667] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.039674] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.039680] PM: hibernation: Registered nosave memory: [mem 0x7a998000-0x7affffff] [ 0.039684] PM: hibernation: Registered nosave memory: [mem 0x7b000000-0x7fffffff] [ 0.039689] PM: hibernation: Registered nosave memory: [mem 0x80000000-0xdfffffff] [ 0.039694] PM: hibernation: Registered nosave memory: [mem 0xe0000000-0xe3ffffff] [ 0.039698] PM: hibernation: Registered nosave memory: [mem 0xe4000000-0xfdffffff] [ 0.039703] PM: hibernation: Registered nosave memory: [mem 0xfe000000-0xfe00ffff] [ 0.039708] PM: hibernation: Registered nosave memory: [mem 0xfe010000-0xfed0ffff] [ 0.039712] PM: hibernation: Registered nosave memory: [mem 0xfed10000-0xfed19fff] [ 0.039717] PM: hibernation: Registered nosave memory: [mem 0xfed1a000-0xfed7ffff] [ 0.039722] PM: hibernation: Registered nosave memory: [mem 0xfed80000-0xfed84fff] [ 0.039726] PM: hibernation: Registered nosave memory: [mem 0xfed85000-0xfed8ffff] [ 0.039731] PM: hibernation: Registered nosave memory: [mem 0xfed90000-0xfed91fff] [ 0.039735] PM: hibernation: Registered nosave memory: [mem 0xfed92000-0xffffffff] [ 0.039745] [mem 0x80000000-0xdfffffff] available for PCI devices [ 0.039753] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.054790] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 nr_node_ids:1 [ 0.055083] percpu: Embedded 59 pages/cpu s200848 r8192 d32624 u524288 [ 0.055166] Built 1 zonelists, mobility grouping on. Total pages: 1006266 [ 0.055172] Policy zone: Normal [ 0.055186] Kernel command line: earlyprintk=uart8250,mmio32,0xde000000,115200n8 console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.201.1:/var/lib/lava/dispatcher/tmp/8718797/extract-nfsrootfs-8zjxoqfs,tcp,hard ip=dhcp tftpserverip=192.168.201.1 [ 0.055742] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.056004] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.056099] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.078451] Memory: 3888560K/4089052K available (18450K kernel code, 3467K rwdata, 8032K rodata, 2020K init, 13244K bss, 200232K reserved, 0K cma-reserved) [ 0.078611] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.078674] Kernel/User page tables isolation: enabled [ 0.078758] ftrace: allocating 53445 entries in 209 pages [ 0.140015] ftrace: allocated 209 pages with 4 groups [ 0.140336] Running RCU self tests [ 0.140355] rcu: Hierarchical RCU implementation. [ 0.140360] rcu: RCU event tracing is enabled. [ 0.140365] rcu: RCU lockdep checking is enabled. [ 0.140370] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. [ 0.140376] Rude variant of Tasks RCU enabled. [ 0.140380] Tracing variant of Tasks RCU enabled. [ 0.140386] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.140391] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.151584] NR_IRQS: 4352, nr_irqs: 1024, preallocated irqs: 16 [ 0.152107] random: crng init done [ 0.152221] Console: colour dummy device 80x25 [ 0.227489] printk: console [ttyS0] enabled [ 0.227858] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.228521] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.228882] ... MAX_LOCK_DEPTH: 48 [ 0.229250] ... MAX_LOCKDEP_KEYS: 8192 [ 0.229632] ... CLASSHASH_SIZE: 4096 [ 0.230015] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.230405] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.230794] ... CHAINHASH_SIZE: 32768 [ 0.231183] memory used by lock dependency info: 6365 kB [ 0.231652] memory used for stack traces: 4224 kB [ 0.232070] per task-struct memory footprint: 1920 bytes [ 0.232602] ACPI: Core revision 20200925 [ 0.233221] hpet: HPET dysfunctional in PC10. Force disabled. [ 0.233722] APIC: Switch to symmetric I/O mode setup [ 0.238176] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x170fff30cc4, max_idle_ns: 440795237869 ns [ 0.239100] Calibrating delay loop (skipped), value calculated using timer frequency.. 3199.92 BogoMIPS (lpj=1599960) [ 0.240006] pid_max: default: 32768 minimum: 301 [ 0.240081] LSM: Security Framework initializing [ 0.240081] SELinux: Initializing. [ 0.240081] LSM support for eBPF active [ 0.240081] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.240081] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.240081] mce: CPU0: Thermal monitoring enabled (TM1) [ 0.240081] process: using mwait in idle threads [ 0.240081] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8 [ 0.240081] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 [ 0.240081] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 0.240081] Spectre V2 : Mitigation: IBRS [ 0.240081] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.240081] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT [ 0.240081] RETBleed: Mitigation: IBRS [ 0.240081] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.240081] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 0.240081] MDS: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.240081] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.240081] SRBDS: Vulnerable: No microcode [ 0.240081] ------------[ cut here ]------------ [ 0.240081] missing return thunk: lkdtm_rodata_do_nothing+0x0/0x10-lkdtm_rodata_do_nothing+0x5/0x10: e9 00 00 00 00 [ 0.240081] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:712 apply_returns+0x1f5/0x220 [ 0.240081] Modules linked in: [ 0.240081] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.163-cip24 #1 [ 0.240081] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 0.240081] RIP: 0010:apply_returns+0x1f5/0x220 [ 0.240081] Code: e4 01 00 0f 85 e1 fe ff ff 49 89 e8 b9 05 00 00 00 4c 89 f2 48 89 ee 48 c7 c7 d0 a0 df 9d c6 05 88 5f e4 01 01 e8 32 e5 e8 00 <0f> 0b e9 b9 fe ff ff 44 89 f9 c7 00 cc cc cc cc c7 44 08 fc cc cc [ 0.240081] RSP: 0000:ffffffff9e003de0 EFLAGS: 00010282 [ 0.240081] RAX: 0000000000000000 RBX: ffffffff9eae2840 RCX: 0000000000000000 [ 0.240081] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff9c57aad1 [ 0.240081] RBP: ffffffff9dad1440 R08: 0000000000000001 R09: 0000000000000001 [ 0.240081] R10: ffffffff9e08fd20 R11: 3fffffffffffffff R12: ffffffff9eafa468 [ 0.240081] R13: cccccccccccccccc R14: ffffffff9dad1445 R15: 0000000000000004 [ 0.240081] FS: 0000000000000000(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 0.240081] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.240081] CR2: ffff8deb5b601000 CR3: 0000000119e26001 CR4: 00000000003706f0 [ 0.240081] Call Trace: [ 0.240081] alternative_instructions+0x7d/0x143 [ 0.240081] check_bugs+0xece/0xf2a [ 0.240081] start_kernel+0x517/0x54d [ 0.240081] secondary_startup_64_no_verify+0xc2/0xcb [ 0.240081] irq event stamp: 162635 [ 0.240081] hardirqs last enabled at (162643): [] console_unlock+0x4d1/0x5f0 [ 0.240081] hardirqs last disabled at (162650): [] console_unlock+0x444/0x5f0 [ 0.240081] softirqs last enabled at (1820): [] cgroup_idr_alloc.constprop.0+0x5b/0xe0 [ 0.240081] softirqs last disabled at (1818): [] cgroup_idr_alloc.constprop.0+0x2e/0xe0 [ 0.240081] ---[ end trace 6f9b28459bd77898 ]--- [ 0.240081] Freeing SMP alternatives memory: 44K [ 0.240081] smpboot: CPU0: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz (family: 0x6, model: 0x8e, stepping: 0x9) [ 0.241014] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver. [ 0.241100] ... version: 4 [ 0.241459] ... bit width: 48 [ 0.241822] ... generic registers: 4 [ 0.242089] ... value mask: 0000ffffffffffff [ 0.242555] ... max period: 00007fffffffffff [ 0.243018] ... fixed-purpose events: 3 [ 0.243089] ... event mask: 000000070000000f [ 0.244239] rcu: Hierarchical SRCU implementation. [ 0.247162] smp: Bringing up secondary CPUs ... [ 0.248594] x86: Booting SMP configuration: [ 0.248993] .... node #0, CPUs: #1 [ 0.249594] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details. [ 0.251091] MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details. [ 0.252973] #2 #3 [ 0.256172] smp: Brought up 1 node, 4 CPUs [ 0.256731] smpboot: Max logical packages: 1 [ 0.257092] smpboot: Total of 4 processors activated (12799.68 BogoMIPS) [ 0.260095] devtmpfs: initialized [ 0.260857] x86/mm: Memory block size: 128MB [ 0.266280] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.267113] futex hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.268301] pinctrl core: initialized pinctrl subsystem [ 0.269263] PM: RTC time: 13:01:03, date: 2023-01-14 [ 0.270446] NET: Registered protocol family 16 [ 0.271903] audit: initializing netlink subsys (disabled) [ 0.272138] audit: type=2000 audit(1673701263.033:1): state=initialized audit_enabled=0 res=1 [ 0.273282] thermal_sys: Registered thermal governor 'step_wise' [ 0.273289] thermal_sys: Registered thermal governor 'user_space' [ 0.273920] cpuidle: using governor menu [ 0.274549] ACPI: bus type PCI registered [ 0.275595] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) [ 0.276096] PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in E820 [ 0.276733] PCI: Using configuration type 1 for base access [ 0.308456] Kprobes globally optimized [ 0.309241] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.309703] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.310346] cryptomgr_test (39) used greatest stack depth: 15296 bytes left [ 0.310789] cryptomgr_test (38) used greatest stack depth: 14880 bytes left [ 0.314396] ACPI: Added _OSI(Module Device) [ 0.314773] ACPI: Added _OSI(Processor Device) [ 0.315092] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.315510] ACPI: Added _OSI(Processor Aggregator Device) [ 0.315987] ACPI: Added _OSI(Linux-Dell-Video) [ 0.316097] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.316566] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.335163] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 0.346884] ACPI: EC: EC started [ 0.347087] ACPI: EC: interrupt blocked [ 0.348490] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.348941] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions [ 0.350092] ACPI: Interpreter enabled [ 0.350521] ACPI: (supports S0 S3 S4 S5) [ 0.350874] ACPI: Using IOAPIC for interrupt routing [ 0.351195] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.375732] ACPI: Power Resource [PRIC] (on) [ 0.509514] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.510068] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] [ 0.511511] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability LTR] [ 0.512178] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge [ 0.513947] PCI host bridge to bus 0000:00 [ 0.514096] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.514687] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.515092] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.515739] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff window] [ 0.516092] pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff window] [ 0.516739] pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff window] [ 0.518093] pci_bus 0000:00: root bus resource [mem 0x000cc000-0x000cffff window] [ 0.518740] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff window] [ 0.519091] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff window] [ 0.519739] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff window] [ 0.520091] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff window] [ 0.520739] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff window] [ 0.522093] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff window] [ 0.522740] pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff window] [ 0.523091] pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff window] [ 0.523740] pci_bus 0000:00: root bus resource [mem 0x000f0000-0x000fffff window] [ 0.524091] pci_bus 0000:00: root bus resource [mem 0x80000001-0xdfffffff window] [ 0.524739] pci_bus 0000:00: root bus resource [mem 0x800000000-0xbffffffff window] [ 0.526093] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfe7fffff window] [ 0.526740] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window] [ 0.527092] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.527681] pci 0000:00:00.0: [8086:590c] type 00 class 0x060000 [ 0.529498] pci 0000:00:02.0: [8086:591c] type 00 class 0x030000 [ 0.530052] pci 0000:00:02.0: reg 0x10: [mem 0xd0000000-0xd0ffffff 64bit] [ 0.530109] pci 0000:00:02.0: reg 0x18: [mem 0xc0000000-0xcfffffff 64bit pref] [ 0.530745] pci 0000:00:02.0: reg 0x20: [io 0x1c00-0x1c3f] [ 0.532997] pci 0000:00:04.0: [8086:1903] type 00 class 0x118000 [ 0.533120] pci 0000:00:04.0: reg 0x10: [mem 0xd1120000-0xd1127fff 64bit] [ 0.534799] pci 0000:00:08.0: [8086:1911] type 00 class 0x088000 [ 0.535122] pci 0000:00:08.0: reg 0x10: [mem 0xd1130000-0xd1130fff 64bit] [ 0.536625] pci 0000:00:14.0: [8086:9d2f] type 00 class 0x0c0330 [ 0.537134] pci 0000:00:14.0: reg 0x10: [mem 0xd1100000-0xd110ffff 64bit] [ 0.537895] pci 0000:00:14.0: PME# supported from D3hot D3cold [ 0.540152] pci 0000:00:14.2: [8086:9d31] type 00 class 0x118000 [ 0.540717] pci 0000:00:14.2: reg 0x10: [mem 0xd1131000-0xd1131fff 64bit] [ 0.542029] pci 0000:00:15.0: [8086:9d60] type 00 class 0x118000 [ 0.542142] pci 0000:00:15.0: reg 0x10: [mem 0xd1132000-0xd1132fff 64bit] [ 0.543851] pci 0000:00:15.1: [8086:9d61] type 00 class 0x118000 [ 0.545144] pci 0000:00:15.1: reg 0x10: [mem 0xd1133000-0xd1133fff 64bit] [ 0.546879] pci 0000:00:19.0: [8086:9d66] type 00 class 0x118000 [ 0.547143] pci 0000:00:19.0: reg 0x10: [mem 0xfe034000-0xfe034fff 64bit] [ 0.547763] pci 0000:00:19.0: reg 0x18: [mem 0xd1135000-0xd1135fff 64bit] [ 0.549174] pci 0000:00:19.1: [8086:9d65] type 00 class 0x118000 [ 0.549746] pci 0000:00:19.1: reg 0x10: [mem 0xd1136000-0xd1136fff 64bit] [ 0.551266] pci 0000:00:1c.0: [8086:9d10] type 01 class 0x060400 [ 0.552023] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.554169] pci 0000:00:1e.0: [8086:9d27] type 00 class 0x118000 [ 0.554742] pci 0000:00:1e.0: reg 0x10: [mem 0xd1137000-0xd1137fff 64bit] [ 0.556209] pci 0000:00:1e.2: [8086:9d29] type 00 class 0x118000 [ 0.556782] pci 0000:00:1e.2: reg 0x10: [mem 0xd1138000-0xd1138fff 64bit] [ 0.558213] pci 0000:00:1e.4: [8086:9d2b] type 00 class 0x080501 [ 0.558778] pci 0000:00:1e.4: reg 0x10: [mem 0xd1139000-0xd1139fff 64bit] [ 0.561365] pci 0000:00:1e.6: [8086:9d2d] type 00 class 0x080501 [ 0.561935] pci 0000:00:1e.6: reg 0x10: [mem 0xd113a000-0xd113afff 64bit] [ 0.563172] pci 0000:00:1f.0: [8086:9d4b] type 00 class 0x060100 [ 0.564765] pci 0000:00:1f.2: [8086:9d21] type 00 class 0x058000 [ 0.565127] pci 0000:00:1f.2: reg 0x10: [mem 0xd1128000-0xd112bfff] [ 0.566725] pci 0000:00:1f.3: [8086:9d71] type 00 class 0x040100 [ 0.567139] pci 0000:00:1f.3: reg 0x10: [mem 0xd112c000-0xd112ffff 64bit] [ 0.567791] pci 0000:00:1f.3: reg 0x20: [mem 0xd1110000-0xd111ffff 64bit] [ 0.569219] pci 0000:00:1f.3: PME# supported from D3hot D3cold [ 0.570791] pci 0000:00:1f.4: [8086:9d23] type 00 class 0x0c0500 [ 0.571160] pci 0000:00:1f.4: reg 0x10: [mem 0xd113c000-0xd113c0ff 64bit] [ 0.571826] pci 0000:00:1f.4: reg 0x20: [io 0xefa0-0xefbf] [ 0.573101] pci 0000:00:1f.5: [8086:9d24] type 00 class 0x000000 [ 0.573659] pci 0000:00:1f.5: reg 0x10: [mem 0xfe010000-0xfe010fff] [ 0.575785] pci 0000:01:00.0: [8086:095a] type 00 class 0x028000 [ 0.578036] pci 0000:01:00.0: reg 0x10: [mem 0xd1000000-0xd1001fff 64bit] [ 0.582536] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.585518] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.585975] pci 0000:00:1c.0: bridge window [mem 0xd1000000-0xd10fffff] [ 0.588901] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.589478] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *10 12 14 15) [ 0.590468] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.591466] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.592484] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.593535] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.595490] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.596518] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.604744] ACPI: EC: interrupt unblocked [ 0.605088] ACPI: EC: event unblocked [ 0.605436] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.605888] ACPI: EC: GPE=0x6e [ 0.606097] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC initialization complete [ 0.606713] ACPI: \_SB_.PCI0.LPCB.EC0_: EC: Used to handle transactions and events [ 0.608149] iommu: Default domain type: Translated [ 0.609181] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.609731] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.610116] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.610619] vgaarb: loaded [ 0.611550] SCSI subsystem initialized [ 0.612319] ACPI: bus type USB registered [ 0.612834] usbcore: registered new interface driver usbfs [ 0.613179] usbcore: registered new interface driver hub [ 0.613694] usbcore: registered new device driver usb [ 0.614257] pps_core: LinuxPPS API ver. 1 registered [ 0.614695] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.615104] PTP clock support registered [ 0.616153] Advanced Linux Sound Architecture Driver Initialized. [ 0.617954] NetLabel: Initializing [ 0.618092] NetLabel: domain hash size = 128 [ 0.618479] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.619064] NetLabel: unlabeled traffic allowed by default [ 0.619249] PCI: Using ACPI for IRQ routing [ 0.627552] clocksource: Switched to clocksource tsc-early [ 1.154260] VFS: Disk quotas dquot_6.6.0 [ 1.154676] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.155804] pnp: PnP ACPI init [ 1.157224] system 00:00: [mem 0xfed10000-0xfed17fff] has been reserved [ 1.157808] system 00:00: [mem 0xfed18000-0xfed18fff] has been reserved [ 1.158414] system 00:00: [mem 0xfed19000-0xfed19fff] has been reserved [ 1.158994] system 00:00: [mem 0xe0000000-0xe3ffffff] has been reserved [ 1.159596] system 00:00: [mem 0xfed20000-0xfed3ffff] has been reserved [ 1.160200] system 00:00: [mem 0xfed90000-0xfed93fff] could not be reserved [ 1.160809] system 00:00: [mem 0xfed45000-0xfed8ffff] could not be reserved [ 1.161438] system 00:00: [mem 0xff000000-0xffffffff] has been reserved [ 1.162019] system 00:00: [mem 0xfee00000-0xfeefffff] has been reserved [ 1.162619] system 00:00: [mem 0xfed00000-0xfed003ff] has been reserved [ 1.164484] system 00:01: [io 0x1800-0x18fe] has been reserved [ 1.165556] system 00:03: [io 0x0900-0x09fe] has been reserved [ 1.166452] system 00:04: [io 0x0200] has been reserved [ 1.166925] system 00:04: [io 0x0204] has been reserved [ 1.167423] system 00:04: [io 0x0800-0x087f] has been reserved [ 1.167946] system 00:04: [io 0x0880-0x08ff] has been reserved [ 1.172016] pnp: PnP ACPI: found 6 devices [ 1.189902] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 1.190851] NET: Registered protocol family 2 [ 1.191449] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 1.194151] tcp_listen_portaddr_hash hash table entries: 2048 (order: 5, 163840 bytes, linear) [ 1.195196] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 1.196181] TCP bind hash table entries: 32768 (order: 9, 2359296 bytes, linear) [ 1.199129] TCP: Hash tables configured (established 32768 bind 32768) [ 1.200143] MPTCP token hash table entries: 4096 (order: 6, 360448 bytes, linear) [ 1.201167] UDP hash table entries: 2048 (order: 6, 327680 bytes, linear) [ 1.202100] UDP-Lite hash table entries: 2048 (order: 6, 327680 bytes, linear) [ 1.203226] NET: Registered protocol family 1 [ 1.204512] RPC: Registered named UNIX socket transport module. [ 1.205062] RPC: Registered udp transport module. [ 1.205511] RPC: Registered tcp transport module. [ 1.205929] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.207241] NET: Registered protocol family 44 [ 1.207658] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 1.208143] pci 0000:00:1c.0: bridge window [mem 0xd1000000-0xd10fffff] [ 1.208752] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 1.209308] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 1.209847] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 1.210535] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000c3fff window] [ 1.211152] pci_bus 0000:00: resource 8 [mem 0x000c4000-0x000c7fff window] [ 1.211751] pci_bus 0000:00: resource 9 [mem 0x000c8000-0x000cbfff window] [ 1.212366] pci_bus 0000:00: resource 10 [mem 0x000cc000-0x000cffff window] [ 1.212972] pci_bus 0000:00: resource 11 [mem 0x000d0000-0x000d3fff window] [ 1.213595] pci_bus 0000:00: resource 12 [mem 0x000d4000-0x000d7fff window] [ 1.214272] pci_bus 0000:00: resource 13 [mem 0x000d8000-0x000dbfff window] [ 1.214876] pci_bus 0000:00: resource 14 [mem 0x000dc000-0x000dffff window] [ 1.215500] pci_bus 0000:00: resource 15 [mem 0x000e0000-0x000e3fff window] [ 1.216125] pci_bus 0000:00: resource 16 [mem 0x000e4000-0x000e7fff window] [ 1.216731] pci_bus 0000:00: resource 17 [mem 0x000e8000-0x000ebfff window] [ 1.217354] pci_bus 0000:00: resource 18 [mem 0x000ec000-0x000effff window] [ 1.217960] pci_bus 0000:00: resource 19 [mem 0x000f0000-0x000fffff window] [ 1.218583] pci_bus 0000:00: resource 20 [mem 0x80000001-0xdfffffff window] [ 1.219207] pci_bus 0000:00: resource 21 [mem 0x800000000-0xbffffffff window] [ 1.219828] pci_bus 0000:00: resource 22 [mem 0xfd000000-0xfe7fffff window] [ 1.220450] pci_bus 0000:00: resource 23 [mem 0xfed40000-0xfed44fff window] [ 1.221057] pci_bus 0000:01: resource 1 [mem 0xd1000000-0xd10fffff] [ 1.222291] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 1.225704] PCI: CLS 64 bytes, default 64 [ 1.226555] Unpacking initramfs... [ 1.590668] Freeing initrd memory: 8232K [ 1.591124] DMAR: Host address width 39 [ 1.591504] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 1.592045] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e [ 1.592832] DMAR: RMRR base: 0x0000007b800000 end: 0x0000007fffffff [ 1.593399] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 1.593888] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da [ 1.594707] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 1.595287] software IO TLB: mapped [mem 0x0000000076998000-0x000000007a998000] (64MB) [ 1.596269] RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer [ 1.596954] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules [ 1.597483] RAPL PMU: hw unit of domain package 2^-14 Joules [ 1.597979] RAPL PMU: hw unit of domain dram 2^-14 Joules [ 1.598469] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules [ 1.598964] RAPL PMU: hw unit of domain psys 2^-14 Joules [ 1.601789] kvm: already loaded the other module [ 1.605471] check: Scanning for low memory corruption every 60 seconds [ 1.610274] Initialise system trusted keyrings [ 1.610965] workingset: timestamp_bits=56 max_order=20 bucket_order=0 [ 1.638204] NFS: Registering the id_resolver key type [ 1.638693] Key type id_resolver registered [ 1.639123] Key type id_legacy registered [ 1.662625] Key type asymmetric registered [ 1.663025] Asymmetric key parser 'x509' registered [ 1.663545] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.664221] io scheduler mq-deadline registered [ 1.664625] io scheduler kyber registered [ 1.665296] test_firmware: interface ready [ 1.667736] pcieport 0000:00:1c.0: PME: Signaling with IRQ 120 [ 1.669934] ACPI: AC Adapter [AC] (on-line) [ 1.670834] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/PNP0C09:00/PNP0C0D:00/input/input0 [ 1.672828] ACPI: Lid Switch [LID0] [ 1.673533] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 1.674526] ACPI: Power Button [PWRF] [ 1.675472] ACPI: \_PR_.CP00: Found 3 idle states [ 1.676824] ACPI: \_PR_.CP01: Found 3 idle states [ 1.678055] ACPI: \_PR_.CP02: Found 3 idle states [ 1.679446] ACPI: \_PR_.CP03: Found 3 idle states [ 1.681457] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.684995] hpet_acpi_add: no address or irqs in _CRS [ 1.685785] Non-volatile memory driver v1.3 [ 1.686394] Linux agpgart interface v0.103 [ 1.686868] battery: ACPI: Battery Slot [BAT0] (battery present) [ 1.690333] i915 0000:00:02.0: vgaarb: deactivate vga console [ 1.743630] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 1.745448] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) [ 1.773125] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0 [ 1.777954] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 1 [ 1.800815] loop: module loaded [ 1.802202] lkdtm: No crash points registered, enable through debugfs [ 1.833433] printk: console [ttyS0] disabled [ 1.834852] dw-apb-uart.2: ttyS0 at MMIO 0xfe034000 (irq = 32, base_baud = 115200) is a 16550A [ 2.638271] tsc: Refined TSC clocksource calibration: 1608.000 MHz [ 2.648254] printk: console [ttyS0] enabled [ 2.656735] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x172daa3a18b, max_idle_ns: 440795212390 ns [ 2.681332] dw-apb-uart.4: ttyS1 at MMIO 0xd1137000 (irq = 20, base_baud = 115200) is a 16550A [ 5.259002] clocksource: Switched to clocksource tsc [ 5.259208] fbcon: i915drmfb (fb0) is primary device [ 5.261779] pxa2xx-spi pxa2xx-spi.5: no DMA channels available, using PIO [ 5.272533] e100: Intel(R) PRO/100 Network Driver [ 5.272537] e100: Copyright(c) 1999-2006 Intel Corporation [ 5.272615] e1000: Intel(R) PRO/1000 Network Driver [ 5.272618] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 5.272718] e1000e: Intel(R) PRO/1000 Network Driver [ 5.272720] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 5.272836] sky2: driver version 1.30 [ 5.273398] usbcore: registered new interface driver r8152 [ 5.273970] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.273993] ehci-pci: EHCI PCI platform driver [ 5.274077] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.274190] ohci-pci: OHCI PCI platform driver [ 5.274266] uhci_hcd: USB Universal Host Controller Interface driver [ 5.274505] tpm_tis_spi spi-PRP0001:00: TPM ready IRQ confirmed on attempt 2 [ 5.276143] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 5.277297] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 [ 5.278875] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810 [ 5.278932] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported [ 5.282554] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 5.282584] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.282591] usb usb1: Product: xHCI Host Controller [ 5.282598] usb usb1: Manufacturer: Linux 5.10.163-cip24 xhci-hcd [ 5.282604] usb usb1: SerialNumber: 0000:00:14.0 [ 5.285763] hub 1-0:1.0: USB hub found [ 5.285969] hub 1-0:1.0: 12 ports detected [ 5.291297] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 5.291871] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [ 5.291887] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed [ 5.292358] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 5.292368] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.292373] usb usb2: Product: xHCI Host Controller [ 5.292377] usb usb2: Manufacturer: Linux 5.10.163-cip24 xhci-hcd [ 5.292381] usb usb2: SerialNumber: 0000:00:14.0 [ 5.293823] hub 2-0:1.0: USB hub found [ 5.293939] hub 2-0:1.0: 6 ports detected [ 5.294435] Console: switching to colour frame buffer device 240x67 [ 5.296383] usbcore: registered new interface driver usblp [ 5.296472] usbcore: registered new interface driver usb-storage [ 5.297005] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers [ 5.297177] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 [ 5.297181] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp [ 5.297910] i8042: Warning: Keylock active [ 5.298200] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 5.301067] rtc_cmos 00:02: RTC can wake from S4 [ 5.301531] tpm_tis_spi spi-PRP0001:00: 2.0 TPM (device-id 0x28, rev-id 0) [ 5.303669] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 5.306227] rtc_cmos 00:02: registered as rtc0 [ 5.306466] rtc_cmos 00:02: alarms up to one month, 242 bytes nvram [ 5.307654] i801_smbus 0000:00:1f.4: SPD Write Disable is set [ 5.307706] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt [ 5.308844] i2c i2c-9: 2/2 memory slots populated (from DMI) [ 5.310835] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com [ 5.316275] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device [ 5.321889] intel_pstate: Intel P-state driver initializing [ 5.438250] tpm_tis_spi spi-PRP0001:00: Cr50 firmware version: B2-C:0 RO_B:0.0.11/4d655eab RW_A:0.5.6/cr50_v1.9308_87_mp.510-d2 [ 5.464042] intel_pstate: HWP enabled [ 5.538106] usb 1-3: new full-speed USB device number 2 using xhci_hcd [ 5.541009] sdhci: Secure Digital Host Controller Interface driver [ 5.673228] usb 1-3: New USB device found, idVendor=8087, idProduct=0a2a, bcdDevice= 0.03 [ 5.677058] sdhci: Copyright(c) Pierre Ossman [ 5.677144] sdhci-pci 0000:00:1e.4: SDHCI controller found [8086:9d2b] (rev 21) [ 5.684496] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 5.692003] mmc0: SDHCI controller on PCI [0000:00:1e.4] using ADMA 64-bit [ 5.760244] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.770219] hid: raw HID events driver (C) Jiri Kosina [ 5.776538] usbcore: registered new interface driver usbhid [ 5.782774] usbhid: USB HID core driver [ 5.787178] usb 2-3: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 5.787613] input: Tablet Mode Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/PNP0C09:00/GOOG0006:00/input/input3 [ 5.807791] usb 2-3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00 [ 5.813049] cros_ec_lpcs GOOG0004:00: Chrome EC device registered [ 5.817421] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ 5.824995] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 5.832272] usb 2-3: Product: USB 10/100/1000 LAN [ 5.832275] usb 2-3: Manufacturer: Realtek [ 5.832277] usb 2-3: SerialNumber: 001000001 [ 5.843358] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 5.863451] gre: GRE over IPv4 demultiplexor driver [ 5.868917] ip_gre: GRE over IPv4 tunneling driver [ 5.875142] IPv4 over IPsec tunneling driver [ 5.880230] Initializing XFRM netlink socket [ 5.886403] NET: Registered protocol family 10 [ 5.893010] Segment Routing with IPv6 [ 5.897729] ip6_gre: GRE over IPv6 tunneling driver [ 5.903567] NET: Registered protocol family 17 [ 5.908825] 8021q: 802.1Q VLAN Support v1.8 [ 5.913598] Key type dns_resolver registered [ 5.919223] microcode: sig=0x806e9, pf=0x10, revision=0x98 [ 5.925386] usb 1-9: new high-speed USB device number 3 using xhci_hcd [ 5.925450] microcode: Microcode Update Driver: v2.2. [ 5.932719] IPI shorthand broadcast: enabled [ 5.944174] sched_clock: Marking stable (5857113998, 87016125)->(6046774913, -102644790) [ 5.948004] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops) [ 5.963180] registered taskstats version 1 [ 5.967795] Loading compiled-in X.509 certificates [ 5.975049] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.984831] snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up [ 5.985700] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.001748] PM: Magic number: 7:360:28 [ 6.006391] printk: console [netcon0] enabled [ 6.011320] netconsole: network logging started [ 6.022184] mmc0: new HS400 MMC card at address 0001 [ 6.028550] mmcblk0: mmc0:0001 DA4064 58.2 GiB [ 6.033728] mmcblk0boot0: mmc0:0001 DA4064 partition 1 4.00 MiB [ 6.040445] mmcblk0boot1: mmc0:0001 DA4064 partition 2 4.00 MiB [ 6.047372] mmcblk0rpmb: mmc0:0001 DA4064 partition 3 16.0 MiB, chardev (246:0) [ 6.069052] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 [ 6.081069] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.088479] usb 1-9: New USB device found, idVendor=13d3, idProduct=56d4, bcdDevice=18.07 [ 6.098434] usb 1-9: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 6.106444] usb 1-9: Product: USB2.0 HD UVC WebCam [ 6.111831] usb 1-9: Manufacturer: Azurewave [ 6.116632] usb 1-9: SerialNumber: 0x0001 [ 6.125683] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.177250] usb 2-3: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 6.221315] r8152 2-3:1.0: load rtl8153b-2 v1 10/23/19 successfully [ 6.258289] r8152 2-3:1.0 eth0: v1.11.11 [ 6.263568] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.264151] IP-Config: Failed to open gretap0 [ 6.276874] IP-Config: Failed to open erspan0 [ 6.299296] Sending DHCP requests . [ 7.892384] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.903727] r8152 2-3:1.0 eth0: carrier on [ 9.123259] ., OK [ 9.133659] IP-Config: Got DHCP answer from 192.168.201.1, my address is 192.168.201.11 [ 9.142694] IP-Config: Complete: [ 9.146333] device=eth0, hwaddr=00:e0:4c:68:01:e7, ipaddr=192.168.201.11, mask=255.255.255.0, gw=192.168.201.1 [ 9.158026] host=asus-C433TA-AJ0005-rammus-cbg-1, domain=lava-rack, nis-domain=(none) [ 9.167296] bootserver=192.168.201.1, rootserver=192.168.201.1, rootpath= [ 9.167300] nameserver0=192.168.201.1 [ 9.180350] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9.192143] modprobe (100) used greatest stack depth: 14032 bytes left [ 9.195310] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9.207077] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 9.207209] ALSA device list: [ 9.216826] cfg80211: failed to load regulatory.db [ 9.220152] No soundcards found. [ 9.229739] dw-apb-uart dw-apb-uart.2: forbid DMA for kernel console [ 9.239924] Freeing unused kernel image (initmem) memory: 2020K [ 9.258381] Write protecting the kernel read-only data: 28672k [ 9.266098] Freeing unused kernel image (text/rodata gap) memory: 2028K [ 9.273758] Freeing unused kernel image (rodata/data gap) memory: 160K [ 9.281112] Run /init as init process Loading, please wait... Starting version 247.3-7+deb11u1 [ 9.303016] systemd-udevd (122) used greatest stack depth: 13800 bytes left [ 9.359219] udevadm (124) used greatest stack depth: 13576 bytes left [ 9.515682] cros-usbpd-notify-acpi GOOG0003:00: Couldn't get Chrome EC device pointer. [ 9.525074] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.540818] udevadm (134) used greatest stack depth: 13176 bytes left [ 9.568435] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.617558] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.628001] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.638486] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.657328] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.667454] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/nfs-top ... done. Begin: Running /scripts/nfs-premount ... Waiting up to 60 secs for any ethernet to become available Device /sys/class/net/erspan0 found done. IP-Config: eth0 hardware address 00:e0:4c:68:01:e7 mtu 1500 DHCP IP-Config: gretap0 hardware address 00:00:00:00:00:00 mtu 1462 DHCP SIOCSIFFLAGS: Cannot assign requested address IP-Config: erspan0 hardware address 00:00:00:00:00:00 mtu 1450 DHCP SIOCSIFFLAGS: Cannot assign requested address IP-Config: eth0 complete (dhcp from 192.168.201.1): address: 192.168.201.11 broadcast: 192.168.201.255 netmask: 255.255.255.0 gateway: 192.168.201.1 dns0 : 192.168.201.1 dns1 : 0.0.0.0 host : asus-C433TA-AJ0005-rammus-cbg-1 domain : lava-rack rootserver: 192.168.201.1 rootpath: filename : [ 9.937346] nfsmount (166) used greatest stack depth: 12688 bytes left done. Begin: Running /scripts/nfs-bottom ... done. Begin: Running /scripts/init-bottom ... done. SELinux: Could not open policy file <= /etc/selinux/targeted/policy/policy.33: No such file or directory [ 11.162808] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) [ 11.201442] systemd[1]: Detected architecture x86-64. Welcome to Debian GNU/Linux 11 (bullseye)! [ 11.236699] systemd[1]: Set hostname to . [ 12.035418] systemd[1]: Queued start job for default target Graphical Interface. [ 12.047338] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 12.064749] systemd[1]: Created slice system-modprobe.slice. [ OK ] Created slice system-modprobe.slice. [ 12.080694] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 12.097717] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 12.113655] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 12.132545] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 12.154361] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ OK ] Set up automount Arbitrary…s File System Automount Point. [ 12.177483] systemd[1]: Reached target Local Encrypted Volumes. [ OK ] Reached target Local Encrypted Volumes. [ 12.193400] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 12.204359] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 12.220673] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 12.232547] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 12.244488] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 12.264257] systemd[1]: Listening on Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 12.282791] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 12.301056] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 12.317970] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 12.339060] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 12.355687] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 12.377384] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 12.393922] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 12.413049] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 12.427912] systemd[1]: Mounting Kernel Trace File System... Mounting Kernel Trace File System... [ 12.448527] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... [ 12.470006] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 12.486844] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 12.500898] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 12.518398] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 12.532185] systemd[1]: Starting Journal Service... Starting Journal Service... [ 12.544778] fuse: init (API version 7.32) [ 12.554642] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 12.568052] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 12.585985] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 12.605655] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System. [ 12.620634] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 12.636415] systemd[1]: Mounted Kernel Debug File System. [ OK ] Mounted Kernel Debug File System. [ 12.652414] systemd[1]: Mounted Kernel Trace File System. [ OK ] Mounted Kernel Trace File System. [ 12.669606] systemd[1]: Finished Create list of static device nodes for the current kernel. [ OK ] Finished Create list of st… nodes for the current kernel. [ 12.690146] systemd[1]: modprobe@configfs.service: Succeeded. [ 12.697153] systemd[1]: Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module configfs. [ 12.714211] systemd[1]: modprobe@drm.service: Succeeded. [ 12.720957] systemd[1]: Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module drm. [ 12.737210] systemd[1]: modprobe@fuse.service: Succeeded. [ 12.744065] systemd[1]: Finished Load Kernel Module fuse. [ OK ] Finished Load Kernel Module fuse. [ 12.761315] systemd[1]: Finished Load Kernel Modules. [ OK ] Finished Load Kernel Modules. [ 12.776059] systemd[1]: Finished Remount Root and Kernel File Systems. [ OK ] Finished Remount Root and Kernel File Systems. [ 12.793722] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. Mounting FUSE Control File System... Mounting Kernel Configuration File System... Starting Flush Journal to Persistent Storage... Starting Load/Save Random Seed... Starting Apply Kernel Variables... Starting Create System Users... [ OK ] Mounted FUSE Control File System[0[ 12.875943] systemd-journald[202]: Received client request to flush runtime journal. m. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Load/Save Random Seed. [ OK ] Finished Apply Kernel Variables. [ OK ] Finished Coldplug All udev Devices. [ OK ] Finished Create System Users. Starting Create Static Device Nodes in /dev... [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... Starting Rule-based Manage…for Device Events and Files... [ OK ] Started Rule-based Manager for Device Events and Files. Starting Network Service... [ OK ] Finished Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Found device Sunrise Point-LP Serial IO UART Controller. [ OK ] Finished Update UTMP about System Boot/Shutdown. [ OK ] Created slice system-systemd\x2dbacklight.slice. [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. Starting Load/Save Screen …f backlight:intel_backlight... [ OK ] Finished Load/Save Screen … of backlight:intel_backlight. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Started Periodic ext4 Onli…ata Check for All Filesystems. [ OK ] Started Discard unused blocks once a week. [ OK ] Reached target Timers. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started D-Bus System Message Bus. Starting Remove Stale Onli…t4 Metadata Check Snapshots... Starting User Login Management... [ OK ] Started Network Service. Starting Network Name Resolution... [ OK ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots. [ OK ] Started User Login Management. [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Permit User Sessions... [ OK ] Finished Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Finished Update UTMP about System Runlevel Changes. Debian GNU/Linux 11 debian-bullseye-amd64 ttyS0 debian-bullseye-amd64 login: root (automatic login) Linux debian-bullseye-amd64 5.10.163-cip24 #1 SMP Sat Jan 14 12:52:49 UTC 2023 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. / # / # export NFS_ROOTFS='/var/lib/lava/dispatcher/tmp/8718797/extract-nfsrootfs-8zjxoqfs' export NFS_ROOTFS='/var/lib/lava/dispatcher/tmp/8718797/extract-nfsrootfs-8zjxoqfs' / # export NFS_SERVER_IP='192.168.201.1' export NFS_SERVER_IP='192.168.201.1' / ## # / # export SHELL=/bin/bash export SHELL=/bin/bash / # . /lava-8718797/environment . /lava-8718797/environment / # /lava-8718797/bin/lava-test-runner /lava-8718797/0 /lava-8718797/bin/lava-test-runner /lava-8718797/0 + export TESTRUN_ID=0_timesync-off + TESTRUN_ID=0_timesync-off + cd /lava-8718797/0/tests/0_timesync-off ++ cat uuid + UUID=8718797_1.5.2.3.1 + set +x + systemctl stop systemd-timesyncd [ 18.572586] systemd-timesyn (243) used greatest stack depth: 12608 bytes left + set +x + export TESTRUN_ID=1_kselftest-lkdtm + TESTRUN_ID=1_kselftest-lkdtm + cd /lava-8718797/0/tests/1_kselftest-lkdtm ++ cat uuid + UUID=8718797_1.5.2.3.5 + set +x + cd ./automated/linux/kselftest/ + ./kselftest.sh -c lkdtm -T '' -t kselftest_armhf.tar.gz -s false -u http://storage.kernelci.org/cip-gitlab/ci-iwamatsu-linux-5.10.y-cip-rc/v5.10.162-cip24-788-g63c30712099cf/x86_64/x86_64_defconfig+x86-chromebook+kselftest/gcc-10/kselftest.tar.xz -L '' -S skipfile-lkft.yaml -b asus-C433TA-AJ0005-rammus -g cip-gitlab -e '' -p /opt/kselftests/mainline/ -n 1 -i 1 INFO: Generating a skipfile based on /lava-8718797/0/tests/1_kselftest-lkdtm/automated/linux/kselftest/skipfile-lkft.yaml INFO: Using the following generated skipfile contents (until EOF): breakpoints:breakpoint_test breakpoints:step_after_suspend_test ftrace:ftracetest net:rtnetlink.sh net:tls netfilter:bridge_brouter.sh netfilter:nft_flowtable.sh netfilter:nft_trans_stress.sh pidfd:pidfd_wait INFO: EOF INFO: Installing sed perl wget xz-utils iproute2 Hit:1 http://deb.debian.org/debian bullseye InRelease [ 20.005908] cat (408) used greatest stack depth: 12528 bytes left Reading package lists... Reading package lists... Building dependency tree... Reading state information... iproute2 is already the newest version (5.10.0-4). perl is already the newest version (5.32.1-4+deb11u2). sed is already the newest version (4.7-1). wget is already the newest version (1.21-1+deb11u1). xz-utils is already the newest version (5.2.5-2.1~deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. --2023-01-14 13:01:40-- http://storage.kernelci.org/cip-gitlab/ci-iwamatsu-linux-5.10.y-cip-rc/v5.10.162-cip24-788-g63c30712099cf/x86_64/x86_64_defconfig+x86-chromebook+kselftest/gcc-10/kselftest.tar.xz Resolving storage.kernelci.org (storage.kernelci.org)... 52.250.1.28 Connecting to storage.kernelci.org (storage.kernelci.org)|52.250.1.28|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3542436 (3.4M) [application/octet-stream] Saving to: 'kselftest.tar.xz' kselftest.tar.xz 0%[ ] 0 --.-KB/s kselftest.tar.xz 1%[ ] 46.39K 164KB/s kselftest.tar.xz 6%[> ] 214.67K 376KB/s kselftest.tar.xz 23%[===> ] 818.47K 777KB/s kselftest.tar.xz 70%[=============> ] 2.39M 1.86MB/s kselftest.tar.xz 100%[===================>] 3.38M 2.28MB/s in 1.5s 2023-01-14 13:01:42 (2.28 MB/s) - 'kselftest.tar.xz' saved [3542436/3542436] skiplist: ======================================== breakpoints:breakpoint_test breakpoints:step_after_suspend_test ftrace:ftracetest net:rtnetlink.sh net:tls netfilter:bridge_brouter.sh netfilter:nft_flowtable.sh netfilter:nft_trans_stress.sh pidfd:pidfd_wait ======================================== lkdtm:PANIC.sh lkdtm:BUG.sh lkdtm:WARNING.sh lkdtm:WARNING_MESSAGE.sh lkdtm:EXCEPTION.sh lkdtm:LOOP.sh lkdtm:EXHAUST_STACK.sh lkdtm:CORRUPT_STACK.sh lkdtm:CORRUPT_STACK_STRONG.sh lkdtm:CORRUPT_LIST_ADD.sh lkdtm:CORRUPT_LIST_DEL.sh lkdtm:STACK_GUARD_PAGE_LEADING.sh lkdtm:STACK_GUARD_PAGE_TRAILING.sh lkdtm:UNSET_SMEP.sh lkdtm:DOUBLE_FAULT.sh lkdtm:CORRUPT_PAC.sh lkdtm:UNALIGNED_LOAD_STORE_WRITE.sh lkdtm:OVERWRITE_ALLOCATION.sh lkdtm:WRITE_AFTER_FREE.sh lkdtm:READ_AFTER_FREE.sh lkdtm:WRITE_BUDDY_AFTER_FREE.sh lkdtm:READ_BUDDY_AFTER_FREE.sh lkdtm:SLAB_FREE_DOUBLE.sh lkdtm:SLAB_FREE_CROSS.sh lkdtm:SLAB_FREE_PAGE.sh lkdtm:SOFTLOCKUP.sh lkdtm:HARDLOCKUP.sh lkdtm:SPINLOCKUP.sh lkdtm:HUNG_TASK.sh lkdtm:EXEC_DATA.sh lkdtm:EXEC_STACK.sh lkdtm:EXEC_KMALLOC.sh lkdtm:EXEC_VMALLOC.sh lkdtm:EXEC_RODATA.sh lkdtm:EXEC_USERSPACE.sh lkdtm:EXEC_NULL.sh lkdtm:ACCESS_USERSPACE.sh lkdtm:ACCESS_NULL.sh lkdtm:WRITE_RO.sh lkdtm:WRITE_RO_AFTER_INIT.sh lkdtm:WRITE_KERN.sh lkdtm:REFCOUNT_INC_OVERFLOW.sh lkdtm:REFCOUNT_ADD_OVERFLOW.sh lkdtm:REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh lkdtm:REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh lkdtm:REFCOUNT_DEC_ZERO.sh lkdtm:REFCOUNT_DEC_NEGATIVE.sh lkdtm:REFCOUNT_DEC_AND_TEST_NEGATIVE.sh lkdtm:REFCOUNT_SUB_AND_TEST_NEGATIVE.sh lkdtm:REFCOUNT_INC_ZERO.sh lkdtm:REFCOUNT_ADD_ZERO.sh lkdtm:REFCOUNT_INC_SATURATED.sh lkdtm:REFCOUNT_DEC_SATURATED.sh lkdtm:REFCOUNT_ADD_SATURATED.sh lkdtm:REFCOUNT_INC_NOT_ZERO_SATURATED.sh lkdtm:REFCOUNT_ADD_NOT_ZERO_SATURATED.sh lkdtm:REFCOUNT_DEC_AND_TEST_SATURATED.sh lkdtm:REFCOUNT_SUB_AND_TEST_SATURATED.sh lkdtm:REFCOUNT_TIMING.sh lkdtm:ATOMIC_TIMING.sh lkdtm:USERCOPY_HEAP_SIZE_TO.sh lkdtm:USERCOPY_HEAP_SIZE_FROM.sh lkdtm:USERCOPY_HEAP_WHITELIST_TO.sh lkdtm:USERCOPY_HEAP_WHITELIST_FROM.sh lkdtm:USERCOPY_STACK_FRAME_TO.sh lkdtm:USERCOPY_STACK_FRAME_FROM.sh lkdtm:USERCOPY_STACK_BEYOND.sh lkdtm:USERCOPY_KERNEL.sh lkdtm:STACKLEAK_ERASING.sh lkdtm:CFI_FORWARD_PROTO.sh ============== Tests to run =============== lkdtm:PANIC.sh lkdtm:BUG.sh lkdtm:WARNING.sh lkdtm:WARNING_MESSAGE.sh lkdtm:EXCEPTION.sh lkdtm:LOOP.sh lkdtm:EXHAUST_STACK.sh lkdtm:CORRUPT_STACK.sh lkdtm:CORRUPT_STACK_STRONG.sh lkdtm:CORRUPT_LIST_ADD.sh lkdtm:CORRUPT_LIST_DEL.sh lkdtm:STACK_GUARD_PAGE_LEADING.sh lkdtm:STACK_GUARD_PAGE_TRAILING.sh lkdtm:UNSET_SMEP.sh lkdtm:DOUBLE_FAULT.sh lkdtm:CORRUPT_PAC.sh lkdtm:UNALIGNED_LOAD_STORE_WRITE.sh lkdtm:OVERWRITE_ALLOCATION.sh lkdtm:WRITE_AFTER_FREE.sh lkdtm:READ_AFTER_FREE.sh lkdtm:WRITE_BUDDY_AFTER_FREE.sh lkdtm:READ_BUDDY_AFTER_FREE.sh lkdtm:SLAB_FREE_DOUBLE.sh lkdtm:SLAB_FREE_CROSS.sh lkdtm:SLAB_FREE_PAGE.sh lkdtm:SOFTLOCKUP.sh lkdtm:HARDLOCKUP.sh lkdtm:SPINLOCKUP.sh lkdtm:HUNG_TASK.sh lkdtm:EXEC_DATA.sh lkdtm:EXEC_STACK.sh lkdtm:EXEC_KMALLOC.sh lkdtm:EXEC_VMALLOC.sh lkdtm:EXEC_RODATA.sh lkdtm:EXEC_USERSPACE.sh lkdtm:EXEC_NULL.sh lkdtm:ACCESS_USERSPACE.sh lkdtm:ACCESS_NULL.sh lkdtm:WRITE_RO.sh lkdtm:WRITE_RO_AFTER_INIT.sh lkdtm:WRITE_KERN.sh lkdtm:REFCOUNT_INC_OVERFLOW.sh lkdtm:REFCOUNT_ADD_OVERFLOW.sh lkdtm:REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh lkdtm:REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh lkdtm:REFCOUNT_DEC_ZERO.sh lkdtm:REFCOUNT_DEC_NEGATIVE.sh lkdtm:REFCOUNT_DEC_AND_TEST_NEGATIVE.sh lkdtm:REFCOUNT_SUB_AND_TEST_NEGATIVE.sh lkdtm:REFCOUNT_INC_ZERO.sh lkdtm:REFCOUNT_ADD_ZERO.sh lkdtm:REFCOUNT_INC_SATURATED.sh lkdtm:REFCOUNT_DEC_SATURATED.sh lkdtm:REFCOUNT_ADD_SATURATED.sh lkdtm:REFCOUNT_INC_NOT_ZERO_SATURATED.sh lkdtm:REFCOUNT_ADD_NOT_ZERO_SATURATED.sh lkdtm:REFCOUNT_DEC_AND_TEST_SATURATED.sh lkdtm:REFCOUNT_SUB_AND_TEST_SATURATED.sh lkdtm:REFCOUNT_TIMING.sh lkdtm:ATOMIC_TIMING.sh lkdtm:USERCOPY_HEAP_SIZE_TO.sh lkdtm:USERCOPY_HEAP_SIZE_FROM.sh lkdtm:USERCOPY_HEAP_WHITELIST_TO.sh lkdtm:USERCOPY_HEAP_WHITELIST_FROM.sh lkdtm:USERCOPY_STACK_FRAME_TO.sh lkdtm:USERCOPY_STACK_FRAME_FROM.sh lkdtm:USERCOPY_STACK_BEYOND.sh lkdtm:USERCOPY_KERNEL.sh lkdtm:STACKLEAK_ERASING.sh lkdtm:CFI_FORWARD_PROTO.sh ===========End Tests to run =============== [ 49.671268] kselftest: Running tests in lkdtm TAP version 13 1..70 # selftests: lkdtm: PANIC.sh # Skipping PANIC: crashes entire system ok 1 selftests: lkdtm: PANIC.sh # SKIP # selftests: lkdtm: BUG.sh [ 49.875087] lkdtm: Performing direct entry BUG [ 49.880175] ------------[ cut here ]------------ [ 49.885367] kernel BUG at drivers/misc/lkdtm/bugs.c:76! [ 49.891313] invalid opcode: 0000 [#1] SMP PTI [ 49.896184] CPU: 0 PID: 741 Comm: cat Tainted: G W 5.10.163-cip24 #1 [ 49.904739] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 49.911550] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 49.915933] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 49.936912] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 49.942740] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 49.950701] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 49.958672] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 49.966643] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 49.974613] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 49.982585] FS: 00007f12ad031580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 49.991616] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.998025] CR2: 00007f12ace3a000 CR3: 0000000105592003 CR4: 00000000003706f0 [ 50.005998] Call Trace: [ 50.008718] direct_entry.cold+0x2c/0x38 [ 50.013098] full_proxy_write+0x53/0x80 [ 50.017379] vfs_write+0xe7/0x3a0 [ 50.021074] ksys_write+0x68/0xf0 [ 50.024774] do_syscall_64+0x30/0x40 [ 50.028764] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 50.034395] RIP: 0033:0x7f12acf47833 [ 50.038377] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 50.059363] RSP: 002b:00007fff970faaa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.067811] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f12acf47833 [ 50.075783] RDX: 0000000000000004 RSI: 00007f12ace3a000 RDI: 0000000000000001 [ 50.083754] RBP: 00007f12ace3a000 R08: 00007f12ace39010 R09: 0000000000000000 [ 50.091726] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 50.099686] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 50.107663] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 50.134190] ---[ end trace 6f9b28459bd7789a ]--- [ 50.139396] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 50.143841] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 50.164874] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 50.170758] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 50.178774] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 50.186786] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 50.194819] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 50.202812] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 50.210815] FS: 00007f12ad031580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 50.219880] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.226343] CR2: 00007f12ace3a000 CR3: 0000000105592003 CR4: 00000000003706f0 # Segmentation fault # [ 49.875087] lkdtm: Performing direct entry BUG # [ 49.880175] ------------[ cut here ]------------ # [ 49.885367] kernel BUG at drivers/misc/lkdtm/bugs.c:76! # [ 49.891313] invalid opcode: 0000 [#1] SMP PTI # [ 49.896184] CPU: 0 PID: 741 Comm: cat Tainted: G W 5.10.163-cip24 #1 # [ 49.904739] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 49.911550] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 49.915933] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 49.936912] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 49.942740] RAX: ffffff[ 50.344153] lkdtm: Performing direct entry WARNING ff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 49[ 50.351189] ------------[ cut here ]------------ .950701] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffff[ 50.362566] WARNING: CPU: 1 PID: 777 at drivers/misc/lkdtm/bugs.c:83 lkdtm_WARNING+0x13/0x20 ff9dad0fb0 # [ 49.958672] RBP: ffffffff9df17a00 R08: 00000000[ 50.378193] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 00000001 R09: 0000000000000001 # [ 49.966643] R10: 00000000ff[ 50.410833] CPU: 1 PID: 777 Comm: cat Tainted: G D W 5.10.163-cip24 #1 ffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 49.974[ 50.425597] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 613] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44[ 50.438622] RIP: 0010:lkdtm_WARNING+0x13/0x20 c94000 # [ 49.982585] FS: 00007f12ad031580(0000) GS:ffff8deb[ 50.449703] Code: c0 f4 ff ff ff eb c9 0f 1f 44 00 00 0f 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 01 75 05 c3 cc cc cc cc <0f> 0b c3 cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 8b 05 a1 85 bac00000(0000) knlGS:0000000000000000 # [ 49.991616] CS: 001[ 50.476904] RSP: 0018:ffff9a50414c7e60 EFLAGS: 00010202 [ 50.488955] RAX: ffffffff9cce40a0 RBX: 0000000000000002 RCX: 0000000000000000 0 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 49.998025] CR2:[ 50.496926] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffffffff9dad0fc0 00007f12ace3a000 CR3: 0000000105592003 CR4: 00000000003706f0 #[ 50.511123] RBP: ffffffff9debc25f R08: 0000000000000000 R09: 0000000000000000 [ 50.005998] Call Trace: # [ 50.008718] direct_entry.cold[ 50.525312] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000008 +0x2c/0x38 # [ 50.013098] full_proxy_write+0x53/0x80 # [ [ 50.539501] R13: ffff9a50414c7f10 R14: ffff9a50414c7f10 R15: ffff8deb43f94000 50.017379] vfs_write+0xe7/0x3a0 # [ 50.021074] ksys_write+0[ 50.553688] FS: 00007f8ecfc4f580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 50.568945] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 x68/0xf0 # [ 50.024774] do_syscall_64+0x30/0x40 # [ 50.02[ 50.575363] CR2: 00007f8ecfa58000 CR3: 00000001033e0005 CR4: 00000000003706e0 8764] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 50.034395[ 50.589544] Call Trace: ] RIP: 0033:0x7f12acf47833 # [ 50.038377] Code: 8b 15 61 26 0[ 50.598491] direct_entry.cold+0x2c/0x38 e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04[ 50.609112] full_proxy_write+0x53/0x80 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 f[ 50.619581] vfs_write+0xe7/0x3a0 f ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 50.0[ 50.629496] ksys_write+0x68/0xf0 59363] RSP: 002b:00007fff970faaa8 EFLAGS: 00000246 ORIG_RAX: 000[ 50.639412] do_syscall_64+0x30/0x40 0000000000001 # [ 50.067811] RAX: ffffffffffffffda RBX: 00000[ 50.649618] entry_SYSCALL_64_after_hwframe+0x61/0xc6 00000000004 RCX: 00007f12acf47833 # [ 50.075783] RDX: 0000000[ 50.661474] RIP: 0033:0x7f8ecfb65833 000000004 RSI: 00007f12ace3a000 RDI: 0000000000000001 # [ 50.[ 50.671679] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 083754] RBP: 00007f12ace3a000 R08: 00007f12ace39010 R09: 0000000[ 50.698875] RSP: 002b:00007ffed79952b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 000000000 # [ 50.091726] R10: fffffffffffffbc5 R11: 000000000[ 50.713548] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f8ecfb65833 [ 50.727731] RDX: 0000000000000008 RSI: 00007f8ecfa58000 RDI: 0000000000000001 0000246 R12: 0000000000000001 # [ 50.099686] R13: 00000000000[ 50.735704] RBP: 00007f8ecfa58000 R08: 00007f8ecfa57010 R09: 0000000000000000 [ 50.749886] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 00001 R14: 0000000000020000 R15: 0000000000020000 # [ 50.1076[ 50.757860] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 63] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_se[ 50.772061] irq event stamp: 0 [ 50.781661] hardirqs last enabled at (0): [<0000000000000000>] 0x0 nsors_core industrialio_triggered_buffer kfifo_buf industrialio [ 50.788664] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs c[ 50.804011] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 ros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_not[ 50.819364] softirqs last disabled at (0): [<0000000000000000>] 0x0 ify # [ 50.134190] ---[ end trace 6f9b28459bd7789a ]--- # [ [ 50.832574] ---[ end trace 6f9b28459bd7789b ]--- 50.139396] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 50.143841] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 50.164874] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 50.170758] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 50.178774] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 50.186786] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 50.194819] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 50.202812] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 50.210815] FS: 00007f12ad031580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 50.219880] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 50.226343] CR2: 00007f12ace3a000 CR3: 0000000105592003 CR4: 00000000003706f0 # BUG: saw 'kernel BUG at': ok ok[ 50.937283] lkdtm: Performing direct entry WARNING_MESSAGE [ 50.949541] ------------[ cut here ]------------ [ 50.954746] Warning message trigger count: 2 [ 50.959564] WARNING: CPU: 3 PID: 812 at drivers/misc/lkdtm/bugs.c:88 lkdtm_WARNING_MESSAGE+0x20/0x30 [ 50.969782] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 50.996243] CPU: 3 PID: 812 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 51.004820] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 51.011627] RIP: 0010:lkdtm_WARNING_MESSAGE+0x20/0x30 [ 51.017269] Code: cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 8b 05 a1 85 93 02 48 c7 c7 c0 c7 eb 9d 8d 70 01 89 35 91 85 93 02 e8 27 37 66 00 <0f> 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 c7 [ 51.038256] RSP: 0018:ffff9a504157fe60 EFLAGS: 00010286 [ 51.044109] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 2 selftests: lkdtm: BUG.sh # selftests: lkdtm: WARNING.sh # [[ 51.052088] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 51.066271] RBP: ffffffff9debc267 R08: 0000000000000000 R09: 0000000000000000 50.344153] lkdtm: Performing direct entry WARNING # [ 50.3[ 51.074245] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000010 [ 51.088430] R13: ffff9a504157ff10 R14: ffff9a504157ff10 R15: ffff8deb43cc9000 [ 51.096401] FS: 00007fe3c2c1b580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 51.105440] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 51.111858] CR2: 00007fe3c2a24000 CR3: 0000000103390001 CR4: 00000000003706e0 [ 51.119830] Call Trace: 51189] ------------[ cut here ]------------ # [ 50.362566] WA[ 51.122563] direct_entry.cold+0x2c/0x38 [ 51.133190] full_proxy_write+0x53/0x80 RNING: CPU: 1 PID: 777 at drivers/misc/lkdtm/bugs.c:83 lkdtm_WAR[ 51.137485] vfs_write+0xe7/0x3a0 [ 51.147387] ksys_write+0x68/0xf0 NING+0x13/0x20 # [ 50.378193] Modules linked in: fuse ip_tabl[ 51.151123] do_syscall_64+0x30/0x40 [ 51.161328] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 51.166970] RIP: 0033:0x7fe3c2b31833 [ 51.170961] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 51.191943] RSP: 002b:00007fff30959608 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.200401] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fe3c2b31833 [ 51.208372] RDX: 0000000000000010 RSI: 00007fe3c2a24000 RDI: 0000000000000001 [ 51.216344] RBP: 00007fe3c2a24000 R08: 00007fe3c2a23010 R09: 0000000000000000 [ 51.224316] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 51.232286] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 51.240277] irq event stamp: 0 es cros_ec_sensors cros_ec_sensors_core industrialio_triggered_b[ 51.243694] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 51.256904] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 51.266042] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 51.275179] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 51.282179] ---[ end trace 6f9b28459bd7789c ]--- uffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 50.410833] CPU: 1 PID: 777 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 50.425597] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 50.438622] RIP: 0010:lkdtm_WARNING+0x13/0x20 # [ 50.449703] Code: c0 f4 ff ff ff eb c9 0f 1f 44 00 00 0f 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 01 75 05 c3 cc cc cc cc <0f> 0b c3 cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 8b 05 a1 85 # [ 50.476904] RSP: 0018:ffff9a50414c7e60 EFLAGS: 00010202 # [ 50.488955] RAX: ffffffff9cce40a0 RBX: 0000000000000002 RCX: 0000000000000000 # [ 50.496926] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffffffff9dad0fc0 # [ 50.511123] RBP: ffffffff9debc25f R08: 0000000000000000 R09: 0000000000000000 # [ 50.525312] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000008 # [ 50.539501] R13: ffff9a50414c7f10 R14: ffff9a50414c7f10 R15: ffff8deb43f94000 # [ 50.553688] FS: 00007f8ecfc4f580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 50.568945] CS: 0010 DS: 0000 ES: 0000 [ 51.400414] lkdtm: Performing direct entry EXCEPTION CR0: 0000000080050033 # [ 50.575363] CR2: 00007f8ecfa58000 CR[ 51.411017] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 51.424995] #PF: supervisor write access in kernel mode [ 51.430831] #PF: error_code(0x0002) - not-present page [ 51.436559] PGD 0 P4D 0 [ 51.439383] Oops: 0002 [#2] SMP PTI [ 51.443272] CPU: 1 PID: 844 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 51.451823] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 51.458629] RIP: 0010:lkdtm_EXCEPTION+0x5/0x20 3: 00000001033e0005 CR4: 00000000003706e0 # [ 50.589544] Call[ 51.463590] Code: 48 c7 c7 c0 c7 eb 9d 8d 70 01 89 35 91 85 93 02 e8 27 37 66 00 0f 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 04 25 00 00 00 00 00 00 00 00 c3 cc cc cc cc 66 66 2e 0f 1f 84 [ 51.490779] RSP: 0018:ffff9a50415ffe60 EFLAGS: 00010286 [ 51.496602] RAX: ffffffff9cce40f0 RBX: 0000000000000004 RCX: 0000000000000000 [ 51.504568] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffffffff9dad0fe0 [ 51.512536] RBP: ffffffff9ddf1267 R08: 0000000000000000 R09: 0000000000000000 [ 51.520501] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 51.528468] R13: ffff9a50415fff10 R14: ffff9a50415fff10 R15: ffff8deb43e89000 [ 51.536434] FS: 00007ff42c5a3580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 51.545470] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 51.551884] CR2: 0000000000000000 CR3: 0000000104c96005 CR4: 00000000003706e0 [ 51.559852] Call Trace: [ 51.562580] direct_entry.cold+0x2c/0x38 Trace: # [ 50.598491] direct_entry.cold+0x2c/0x38 # [ 50[ 51.566958] full_proxy_write+0x53/0x80 [ 51.577447] vfs_write+0xe7/0x3a0 [ 51.581146] ksys_write+0x68/0xf0 [ 51.584864] do_syscall_64+0x30/0x40 [ 51.588842] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 51.594480] RIP: 0033:0x7ff42c4b9833 [ 51.598467] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 51.619445] RSP: 002b:00007fffa0cf0dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.627898] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007ff42c4b9833 [ 51.635865] RDX: 000000000000000a RSI: 00007ff42c3ac000 RDI: 0000000000000001 [ 51.643831] RBP: 00007ff42c3ac000 R08: 00007ff42c3ab010 R09: 0000000000000000 [ 51.651799] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 51.659766] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 .609112] full_proxy_write+0x53/0x80 # [ 50.619581] vfs_writ[ 51.667737] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 51.700367] CR2: 0000000000000000 [ 51.704063] ---[ end trace 6f9b28459bd7789d ]--- [ 51.709215] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 51.713589] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 51.734566] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 51.740397] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 51.748362] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 51.756328] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 51.764294] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 51.772260] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 51.780228] FS: 00007ff42c5a3580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 51.789254] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 51.795666] CR2: 0000000000000000 CR3: 0000000104c96005 CR4: 00000000003706e0 [ 51.803635] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 51.813547] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 844, name: cat [ 51.821900] INFO: lockdep is turned off. [ 51.826275] irq event stamp: 0 [ 51.829679] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 51.836677] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 51.845803] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 51.854931] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 51.861929] CPU: 1 PID: 844 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 51.870479] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 51.877280] Call Trace: [ 51.880007] dump_stack+0x77/0x9b [ 51.883706] ___might_sleep.cold+0xa6/0xb6 [ 51.888278] exit_signals+0x1c/0x2e0 [ 51.892265] do_exit+0xc2/0xaf0 [ 51.895759] ? ksys_write+0x68/0xf0 [ 51.899651] rewind_stack_do_exit+0x17/0x20 e+0xe7/0x3a0 # [ 50.629496] ksys_write+0x68/0xf0 # [ 50.6[ 51.904321] RIP: 0033:0x7ff42c4b9833 [ 51.914518] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 51.935495] RSP: 002b:00007fffa0cf0dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.943947] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007ff42c4b9833 [ 51.951913] RDX: 000000000000000a RSI: 00007ff42c3ac000 RDI: 0000000000000001 [ 51.959879] RBP: 00007ff42c3ac000 R08: 00007ff42c3ab010 R09: 0000000000000000 [ 51.967848] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 51.975816] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 39412] do_syscall_64+0x30/0x40 # [ 50.649618] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 50.661474] RIP: 0033:0x7f8ecfb65833 # [ 50.671679] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 50.698875] RSP: 002b:00007ffed79952b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 50.713548] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f8ecfb65833 # [ 50.727731] RDX: 0000000000000008 RSI: 00007f8ecfa58000 RDI: 0000000000000001 # [ 50.735704] RBP: 00007f8ecfa58000 R08: 00007f8ecfa57010 R09: 0000000000000000 # [ 50.749886] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 50.757860] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 50.772061] irq event stamp: 0 # [ 50.781661] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 50.788664] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 50.804011] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 50.819364] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 50.832574] ---[ end trace 6f9b28459bd7789b ]--- # WARNING: saw 'WARNING:': ok ok 3 selftests: lkdtm: WARNING.sh # selftests: lkdtm: WARNING_MESSAGE.sh # [ 50.937283] lkdtm: Performing direct entry WARNING_MESSAGE # [ 50.949541] ------------[ cut here ]------------ # [ 50.954746] Warning message trigger count: 2 # [ 50.959564] WARNING: CPU: 3 PID: 812 at drivers/misc/lkdtm/bugs.c:88 lkdtm_WARNING_MESSAGE+0x20/0x30 # [ 50.969782] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 50.996243] CPU: 3 PID: 812 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 51.004820] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 51.011627] RIP: 0010:lkdtm_WARNING_MESSAGE+0x20/0x30 # [ 51.017269] Code: cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 8b 05 a1 85 93 02 48 c7 c7 c0 c7 eb 9d 8d 70 01 89 35 91 85 93 02 e8 27 37 66 00 <0f> 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 c7 # [ 51.038256] RSP: 0018:ffff9a504157fe60 EFLAGS: 00010286 # [ 51.044109] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 # [ 51.052088] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 51.066271] RBP: ffffffff9debc267 R08: 0000000000000000 R09: 0000000000000000 # [ 51.074245] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000010 # [ 51.088430] R13: fff[ 52.252754] lkdtm: Performing direct entry CORRUPT_LIST_ADD f9a504157ff10 R14: ffff9a504157ff10 R15: ffff8deb43cc9000 # [ [ 52.263492] lkdtm: attempting good list addition 51.096401] FS: 00007fe3c2c1b580(0000) GS:ffff8debbad80000(0000[ 52.274866] lkdtm: attempting corrupted list addition ) knlGS:0000000000000000 # [ 51.105440] CS: 0010 DS: 0000 ES[ 52.286721] lkdtm: list_add() corruption not detected! : 0000 CR0: 0000000080050033 # [ 51.111858] CR2: 00007fe3c2a24000 CR3: 0000000103390001 CR4: 00000000003706e0 # [ 51.119830] Call Trace: # [ 51.122563] direct_entry.cold+0x2c/0x38 # [ 51.133190] full_proxy_write+0x53/0x80 # [ 51.137485] vfs_write+0xe7/0x3a0 # [ 51.147387] ksys_write+0x68/0xf0 # [ 51.151123] do_syscall_64+0x30/0x40 # [ 51.161328] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 51.166970] RIP: 0033:0x7fe3c2b31833 # [ 51.170961] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 51.191943] RSP: 002b:00007fff30959608 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 51.200401] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fe3c2b31833 # [ 51.208372] RDX: 0000000000000010 RSI: 00007fe3c2a24000 RDI: 0000000000000001 # [ 51.216344] RBP: 00007fe3c2a24000 R08: 00007fe3c2a23010 R09: 0000000000000000 # [ 51.224316] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 51.232286] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 51.240277] irq event stamp: 0 # [ 51.243694] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 51.256904] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.26[ 52.432429] lkdtm: Performing direct entry CORRUPT_LIST_DEL [ 52.441720] lkdtm: attempting good list removal [ 52.446831] lkdtm: attempting corrupted list removal [ 52.452405] lkdtm: list_del() corruption not detected! 6042] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.275179] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 51.282179] ---[ end trace 6f9b28459bd7789c ]--- # WARNING_MESSAGE: saw 'message trigger': ok ok 4 selftests: lkdtm: WARNING_MESSAGE.sh # selftests: lkdtm: EXCEPTION.sh # Killed # [ 51.400414] lkdtm: Performing direct entry EXCEPTION # [ 51.411017] BUG: kernel NULL pointer dereference, address: 0000000000000000 # [ 51.424995] #PF: supervisor write access in kernel mode # [ 51.430831] #PF: error_code(0x0002) - not-present page # [ 51.436559] PGD 0 P4D 0 # [ 51.439383] Oops: 0002 [#2] SMP PTI # [ 51.443272] CPU: 1 PID: 844 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 51.451823] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 51.458629] RIP: 0010:lkdtm_EXCEPTION+0x5/0x20 # [ 51.463590] Code: 48 c7 c7 c0 c7 eb 9d 8d 70 01 89 35 91 85 93 02 e8 27 37 66 00 0f 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 04 25 00 00 00 00 00 00 00 00 c3 cc cc cc cc 66 66 2e 0f 1f 84 # [ 51.490779] RSP: 0018:ffff9a50415ffe60 EFLAGS: 00010286 # [ 51.496602] RAX: ffffffff9cce40f0 RBX: 0000000000000004 RCX: 0000000000000000 # [ 51.504568] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffffffff9dad0fe0 # [ 51.512536] RBP: ffffffff9ddf1267 R08: 0000000000000000 R09: 0000000000000000 # [ 51.520501] R10: 00000000ffffe000 R1[ 52.600266] lkdtm: Performing direct entry STACK_GUARD_PAGE_LEADING 1: 3fffffffffffffff R12: 000000000000000a # [ 51.528468] R13:[ 52.608139] lkdtm: attempting bad read from page below current stack ffff9a50415fff10 R14: ffff9a50415fff10 R15: ffff8deb43e89000 #[ 52.621474] BUG: stack guard page was hit at 000000002f23235f (stack is 0000000006989a44..0000000075638d12) [ 52.638533] kernel stack overflow (page fault): 0000 [#3] SMP PTI [ 52.645338] CPU: 0 PID: 1069 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 52.653984] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 52.660790] RIP: 0010:lkdtm_STACK_GUARD_PAGE_LEADING+0x27/0x3a [ 52.667307] Code: cc cc cc 0f 1f 44 00 00 53 48 c7 c7 60 cb eb 9d 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 28 9d fd ff 48 c7 c7 a0 cb eb 9d <8a> 43 ff 88 44 24 07 0f b6 74 24 07 5a 5b e9 0e 9d fd ff 0f 1f 44 [ 52.688284] RSP: 0018:ffff9a5041967e50 EFLAGS: 00010246 [ 52.694116] RAX: 0000000000000038 RBX: ffff9a5041964000 RCX: 0000000000000000 [ 52.702083] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9debcba0 [ 52.710041] RBP: ffffffff9debc2ca R08: 0000000000000000 R09: 0000000000000000 [ 52.718008] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000019 [ 52.725974] R13: ffff9a5041967f10 R14: ffff9a5041967f10 R15: ffff8deb426d0000 [ 52.733941] FS: 00007f514ee22580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 52.742975] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.749388] CR2: ffff9a5041963fff CR3: 0000000104c96004 CR4: 00000000003706f0 [ 52.757355] Call Trace: [ 52.760080] ? lkdtm_CORRUPT_LIST_DEL+0xe0/0xe0 [ 52.765137] direct_entry.cold+0x2c/0x38 [ 52.769517] full_proxy_write+0x53/0x80 [ 52.773804] vfs_write+0xe7/0x3a0 [ 52.777506] ksys_write+0x68/0xf0 [ 52.781203] do_syscall_64+0x30/0x40 [ 52.785192] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 52.790830] RIP: 0033:0x7f514ed38833 [ 52.794816] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 52.815796] RSP: 002b:00007ffeb9e59578 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 52.824251] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f514ed38833 [ 52.832219] RDX: 0000000000000019 RSI: 00007f514ec2b000 RDI: 0000000000000001 [ 52.840188] RBP: 00007f514ec2b000 R08: 00007f514ec2a010 R09: 0000000000000000 [ 52.848159] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 52.856128] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 52.864102] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 52.890540] ---[ end trace 6f9b28459bd7789e ]--- [ 52.895693] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 52.900070] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 52.921049] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 52.926881] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 52.934849] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 52.942816] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 52.950776] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 52.958742] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 52.966711] FS: 00007f514ee22580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 52.975747] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.982162] CR2: ffff9a5041963fff CR3: 0000000104c96004 CR4: 00000000003706f0 [ 52.990130] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 53.000032] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1069, name: cat [ 53.008484] INFO: lockdep is turned off. [ 53.012859] irq event stamp: 0 [ 53.016263] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 53.023261] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 53.032393] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 53.041526] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 53.048524] CPU: 0 PID: 1069 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 53.057163] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 53.063964] Call Trace: [ 53.066691] dump_stack+0x77/0x9b [ 53.070394] ___might_sleep.cold+0xa6/0xb6 [ 53.074972] exit_signals+0x1c/0x2e0 [ 53.078959] do_exit+0xc2/0xaf0 [ 53.082463] ? ksys_write+0x68/0xf0 [ 53.086354] rewind_stack_do_exit+0x17/0x20 [ 53.091028] RIP: 0033:0x7f514ed38833 [ 53.095008] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 53.115976] RSP: 002b:00007ffeb9e59578 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 53.124430] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f514ed38833 [ 53.132397] RDX: 0000000000000019 RSI: 00007f514ec2b000 RDI: 0000000000000001 [ 53.140355] RBP: 00007f514ec2b000 R08: 00007f514ec2a010 R09: 0000000000000000 [ 53.148321] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 53.156291] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 51.536434] FS: 00007ff42c5a3580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 51.545470] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 51.551884] CR2: 0000000000000000 CR3: 0000000104c96005 CR4: 00000000003706e0 # [ 51.559852] Call Trace: # [ 51.562580] direct_entry.cold+0x2c/0x38 # [ 51.566958] full_proxy_write+0x53/0x80 # [ 51.577447] vfs_write+0xe7/0x3a0 # [ 51.581146] ksys_write+0x68/0xf0 # [ 51.584864] do_syscall_64+0x30/0x40 # [ 51.588842] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 51.594480] RIP: 0033:0x7ff42c4b9833 # [ 51.598467] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 51.619445] RSP: 002b:00007fffa0cf0dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 51.627898] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007ff42c4b9833 # [ 51.635865] RDX: 000000000000000a RSI: 00007ff42c3ac000 RDI: 0000000000000001 # [ 51.643831] RBP: 00007ff42c3ac000 R08: 00007ff42c3ab010 R09: 0000000000000000[ 53.270524] lkdtm: Performing direct entry STACK_GUARD_PAGE_TRAILING # [ 51.651799] R10: fffffffffffffbc5 R11: 0000000000000246 R[ 53.283271] lkdtm: attempting bad read from page above current stack 12: 0000000000000001 # [ 51.659766] R13: 0000000000000001 R14[ 53.296581] BUG: stack guard page was hit at 00000000864f2365 (stack is 00000000a3f892f5..000000005c4419d8) [ 53.313656] kernel stack overflow (page fault): 0000 [#4] SMP PTI : 0000000000020000 R15: 0000000000020000 # [ 51.667737] Modul[ 53.320461] CPU: 1 PID: 1102 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 53.335320] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 53.342127] RIP: 0010:lkdtm_STACK_GUARD_PAGE_TRAILING+0x27/0x3d es linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_cor[ 53.348737] Code: 9d fd ff 0f 1f 44 00 00 53 48 c7 c7 d8 cb eb 9d 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 ee 9c fd ff 48 c7 c7 18 cc eb 9d <8a> 83 00 40 00 00 88 44 24 07 0f b6 74 24 07 5a 5b e9 d1 9c fd ff [ 53.375925] RSP: 0018:ffff9a50419c7e50 EFLAGS: 00010246 [ 53.381757] RAX: 0000000000000038 RBX: ffff9a50419c4000 RCX: 0000000000000000 [ 53.389723] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffffffff9debcc18 [ 53.397689] RBP: ffffffff9debc2e3 R08: 0000000000000000 R09: 0000000000000000 [ 53.405657] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001a [ 53.413625] R13: ffff9a50419c7f10 R14: ffff9a50419c7f10 R15: ffff8deb43e9e000 [ 53.421591] FS: 00007f027996a580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 53.430627] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.437040] CR2: ffff9a50419c8000 CR3: 0000000103f96002 CR4: 00000000003706e0 [ 53.445005] Call Trace: [ 53.447731] ? lkdtm_STACK_GUARD_PAGE_LEADING+0x3a/0x3a [ 53.453566] direct_entry.cold+0x2c/0x38 [ 53.457944] full_proxy_write+0x53/0x80 e industrialio_triggered_buffer kfifo_buf industrialio cros_ec_s[ 53.462226] vfs_write+0xe7/0x3a0 [ 53.472131] ksys_write+0x68/0xf0 [ 53.475831] do_syscall_64+0x30/0x40 [ 53.479819] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 53.485457] RIP: 0033:0x7f0279880833 [ 53.489444] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 53.510421] RSP: 002b:00007ffc74a15e58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 53.518866] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f0279880833 [ 53.526832] RDX: 000000000000001a RSI: 00007f0279773000 RDI: 0000000000000001 [ 53.534799] RBP: 00007f0279773000 R08: 00007f0279772010 R09: 0000000000000000 [ 53.542766] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 53.550731] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 ysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_se[ 53.558702] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 53.591334] ---[ end trace 6f9b28459bd7789f ]--- [ 53.596488] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 53.600864] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 53.621843] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 53.627674] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 53.635642] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 53.643608] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 53.651574] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 53.659541] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 53.667508] FS: 00007f027996a580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 53.676543] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.682956] CR2: ffff9a50419c8000 CR3: 0000000103f96002 CR4: 00000000003706e0 nsorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 51.700367] CR2: 0000000000000000 # [ 51.704063] ---[ end trace 6f9b28459bd7789d ]--- # [ 51.709215] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 51.713589] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 51.734566] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 51.740397] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 51.748362] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 51.756328] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 51.764294] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 51.772260] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c9[ 53.777222] lkdtm: Performing direct entry UNSET_SMEP [ 53.783584] lkdtm: trying to clear SMEP normally [ 53.788745] ------------[ cut here ]------------ [ 53.793911] pinned CR4 bits changed: 0x100000!? [ 53.798987] WARNING: CPU: 3 PID: 1138 at arch/x86/kernel/cpu/common.c:392 native_write_cr4+0x45/0x60 [ 53.809200] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 4000 # [ 51.780228] FS: 00007ff42c5a3580(0000) GS:ffff8debba[ 53.835660] CPU: 3 PID: 1138 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 53.850520] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 53.857357] RIP: 0010:native_write_cr4+0x45/0x60 [ 53.862514] Code: 39 c2 75 2d 48 85 f6 75 05 c3 cc cc cc cc 80 3d 90 a5 e3 01 00 75 f2 48 c7 c7 80 b2 df 9d c6 05 80 a5 e3 01 01 e8 12 2b e8 00 <0f> 0b c3 cc cc cc cc 48 89 d6 48 81 e7 ff f7 ce ff 48 31 c6 48 09 [ 53.883494] RSP: 0018:ffff9a5041a27e48 EFLAGS: 00010286 [ 53.889332] RAX: 0000000000000000 RBX: 00000000002706e0 RCX: 0000000000000000 [ 53.897302] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 53.905275] RBP: ffffffff9debc2fd R08: 0000000000000000 R09: 0000000000000000 [ 53.913248] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b [ 53.921220] R13: ffff9a5041a27f10 R14: ffff9a5041a27f10 R15: ffff8deb44c9b000 [ 53.929190] FS: 00007f3acbf01580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 53.938231] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.944648] CR2: 00007f3acbd0a000 CR3: 00000001028dc004 CR4: 00000000003706e0 c80000(0000) knlGS:0000000000000000 # [ 51.789254] CS: 0010 [ 53.952619] Call Trace: DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 51.795666] CR2: 0[ 53.961566] lkdtm_UNSET_SMEP.cold+0x1d/0x103 000000000000000 CR3: 0000000104c96005 CR4: 00000000003706e0 # [[ 53.972644] direct_entry.cold+0x2c/0x38 51.803635] BUG: sleeping function called from invalid context[ 53.983235] full_proxy_write+0x53/0x80 [ 53.993734] vfs_write+0xe7/0x3a0 at include/linux/percpu-rwsem.h:49 # [ 51.813547] in_atomic([ 53.997462] ksys_write+0x68/0xf0 [ 54.007370] do_syscall_64+0x30/0x40 [ 54.011391] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 54.017036] RIP: 0033:0x7f3acbe17833 [ 54.021057] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 54.042063] RSP: 002b:00007fff58338558 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 ): 0, irqs_disabled(): 1, non_block: 0, pid: 844, name: cat # [[ 54.050537] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f3acbe17833 [ 54.064710] RDX: 000000000000000b RSI: 00007f3acbd0a000 RDI: 0000000000000001 [ 54.072679] RBP: 00007f3acbd0a000 R08: 00007f3acbd09010 R09: 0000000000000000 [ 54.080651] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 54.088621] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 54.096615] irq event stamp: 0 51.821900] INFO: lockdep is turned off. # [ 51.826275] irq[ 54.100023] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 54.113232] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 54.122398] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 54.131536] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 54.138537] ---[ end trace 6f9b28459bd778a0 ]--- [ 54.143693] lkdtm: ok: SMEP did not get cleared [ 54.148750] lkdtm: trying to clear SMEP with call gadget [ 54.154681] lkdtm: ok: SMEP removal was reverted event stamp: 0 # [ 51.829679] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 51.836677] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.845803] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.854931] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 51.861929] CPU: 1 PID: 844 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 51.870479] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 51.877280] Call Trace: # [ 51.880007] dump_stack+0x77/0x9b # [ 51.883706] ___might_sleep.cold+0xa6/0xb6 # [ 51.888278] exit_signals+0x1c/0x2e0 # [ 51.892265] do_exit+0xc2/0xaf0 # [ 51.895759] ? ksys_write+0x68/0xf0 # [ 51.899651] rewind_stack_do_exit+0x17/0x20 # [ 51.904321] RIP: 0033:0x7ff42c4b9833 # [ 51.914518] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 51.935495] RSP: 002b:00007fffa0cf0dd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 51.943947] RAX: ffffffffffffffda RBX: 00000000000[ 54.273762] lkdtm: Performing direct entry DOUBLE_FAULT [ 54.283911] lkdtm: XFAIL: this test is ia32-only 0000a RCX: 00007ff42c4b9833 # [ 51.951913] RDX: 000000000000000a RSI: 00007ff42c3ac000 RDI: 0000000000000001 # [ 51.959879] RBP: 00007ff42c3ac000 R08: 00007ff42c3ab010 R09: 0000000000000000 # [ 51.967848] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 51.975816] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXCEPTION: saw 'call trace:': ok ok 5 selftests: lkdtm: EXCEPTION.sh # selftests: lkdtm: LOOP.sh # Skipping LOOP: Hangs the system ok 6 selftests: lkdtm: LOOP.sh # SKIP # selftests: lkdtm: EXHAUST_STACK.sh # Skipping EXHAUST_STACK: Corrupts memory on failure ok 7 selftests: lkdtm: EXHAUST_STACK.sh # SKIP # selftests: lkdtm: CORRUPT_STACK.sh # Skipping CORRUPT_STACK: Crashes entire system on success ok 8 selftests: lkdtm: CORRUPT_STACK.sh # SKIP # selftests: lkdtm: CORRUPT_STACK_STRONG.sh # Skipping CORRUPT_STACK_STRONG: Crashes entire system on success ok 9 selftests: lkdtm: CORRUPT_STACK_STRONG.sh # SKIP # selftests: lkdtm: CORRUPT_LIST_ADD.sh # [ 52.252754] lkdtm: Performing direct entry CORRUPT_LIST_ADD # [ 52.263492] lkdtm: attempting good list addition # [ 52.274866] lkdtm: attempting corrupted list addition # [ 52.286721] lkdtm: list_add() corruption not detected! # CORRUPT_LIST_ADD: missing 'list_add corruption': [FAIL] not ok 10 selftests: lkdtm: CORRUPT_LIST_ADD.sh # exit=1 # selftests: lkdtm: CORRUPT_LIST_DEL.sh # [ 52.432429] lkdtm: Performing direct entry CORRUPT_LIST_DEL # [ 52.441720] lkdtm: attempting good list removal # [ 52.446831] lkdtm: attempting corrupted [ 54.441703] lkdtm: Performing direct entry CORRUPT_PAC list removal # [ 52.452405] lkdtm: list_del() corruption not [ 54.450377] lkdtm: XFAIL: this test is arm64-only detected! # CORRUPT_LIST_DEL: missing 'list_del corruption': [FAIL] not ok 11 selftests: lkdtm: CORRUPT_LIST_DEL.sh # exit=1 # selftests: lkdtm: STACK_GUARD_PAGE_LEADING.sh # Segmentation fault # [ 52.600266] lkdtm: Performing direct entry STACK_GUARD_PAGE_LEADING # [ 52.608139] lkdtm: attempting bad read from page below current stack # [ 52.621474] BUG: stack guard page was hit at 000000002f23235f (stack is 0000000006989a44..0000000075638d12) # [ 52.638533] kernel stack overflow (page fault): 0000 [#3] SMP PTI # [ 52.645338] CPU: 0 PID: 1069 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 52.653984] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 52.660790] RIP: 0010:lkdtm_STACK_GUARD_PAGE_LEADING+0x27/0x3a # [ 52.667307] Code: cc cc cc 0f 1f 44 00 00 53 48 c7 c7 60 cb eb 9d 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 28 9d fd ff 48 c7 c7 a0 cb eb 9d <8a> 43 ff 88 44 24 07 0f b6 74 24 07 5a 5b e9 0e 9d fd ff 0f 1f 44 # [ 52.688284] RSP: 0018:ffff9a5041967e50 EFLAGS: 00010246 # [ 52.694116] RAX: 0000000000000038 RBX: ffff9a5041964000 RCX: 0000000000000000 # [ 52.702083] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9debcba0 # [ 52.710041] RBP: ffffffff9debc2ca R08: 0000000000000000 R09: [ 54.583650] lkdtm: Performing direct entry UNALIGNED_LOAD_STORE_WRITE 0000000000000000 # [ 52.718008] R10: 00000000ffffe000 R11: 3f[ 54.593361] lkdtm: XFAIL: arch has CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS ffffffffffffff R12: 0000000000000019 # [ 52.725974] R13: ffff9a5041967f10 R14: ffff9a5041967f10 R15: ffff8deb426d0000 # [ 52.733941] FS: 00007f514ee22580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 52.742975] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 52.749388] CR2: ffff9a5041963fff CR3: 0000000104c96004 CR4: 00000000003706f0 # [ 52.757355] Call Trace: # [ 52.760080] ? lkdtm_CORRUPT_LIST_DEL+0xe0/0xe0 # [ 52.765137] direct_entry.cold+0x2c/0x38 # [ 52.769517] full_proxy_write+0x53/0x80 # [ 52.773804] vfs_write+0xe7/0x3a0 # [ 52.777506] ksys_write+0x68/0xf0 # [ 52.781203] do_syscall_64+0x30/0x40 # [ 52.785192] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 52.790830] RIP: 0033:0x7f514ed38833 # [ 52.794816] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 52.815796] RSP: 002b:00007ffeb9e59578 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 52.824251] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f514ed38833 # [ 52.832219] RDX: 0000000000000019 RSI: 00007f514ec2b000 RDI: 0000000000000001 # [ 52.840188] RBP: 00007f514ec2b000 R08: 00007f514ec2a010 R09: 0000000000000000 # [ 52.848159] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 52.856128] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 52.864102] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg[ 54.774042] lkdtm: Performing direct entry READ_AFTER_FREE _temp_thermal cros_ec_dev cros_usbpd_notify # [ 52.890540] --[ 54.781131] lkdtm: Value in memory before free: 12345678 -[ end trace 6f9b28459bd7789e ]--- # [ 52.895693] RIP: 0010:l[ 54.793283] lkdtm: Attempting bad read from freed memory kdtm_BUG+0x5/0x10 # [ 52.900070] Code: 89 ff e8 de 6a a3 ff 4[ 54.805441] lkdtm: Memory was not poisoned 8 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 52.921049] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 52.926881] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 52.934849] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 52.942816] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 52.950776] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 52.958742] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 52.966711] FS: 00007f514ee22580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 52.975747] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 52.982162] CR2: ffff9a5041963fff CR3: 0000000104c96004 CR4: 00000000003706f0 # [ 52.990130] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 53.000032] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1069, name: cat # [ 53.008484] INFO: lockdep is turned off. # [ 53.012859] irq event stamp: 0 # [ 53.016263] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 53.023261] hardirqs last disabled at (0): [] copy_process+0x664/0x1[ 54.946324] lkdtm: Performing direct entry READ_BUDDY_AFTER_FREE [ 54.953439] lkdtm: Value in memory before free: 12345678 cb0 # [ 53.032393] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 53.041526] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 53.048524] CPU: 0 PID: 1069 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 53.057163] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 53.063964] Call Trace: # [ 53.066691] dump_stack+0x77/0x9b # [ 53.070394] ___might_sleep.cold+0xa6/0xb6 # [ 53.074972] exit_signals+0x1c/0x2e0 # [ 53.078959] do_exit+0xc2/0xaf0 # [ 53.082463] ? ksys_write+0x68/0xf0 # [ 53.086354] rewind_stack_do_exit+0x17/0x20 # [ 53.091028] RIP: 0033:0x7f514ed38833 # [ 53.095008] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 53.115976] RSP: 002b:00007ffeb9e59578 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 53.124430] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f514ed38833 # [ 53.132397] RDX: 0000000000000019 RSI: 00007f514ec2b000 RDI: 0000000000000001 # [ 53.140355] RBP: 00007f514ec2b000 R08: 00007f514ec2a010 R09: 00[ 55.088047] lkdtm: Performing direct entry SLAB_FREE_DOUBLE 00000000000000 # [ 53.148321] R10: fffffffffffffbc5 R11: 0000[ 55.094559] lkdtm: Attempting double slab free ... 000000000246 R12: 0000000000000001 # [ 53.156291] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # STACK_GUARD_PAGE_LEADING: saw 'call trace:': ok ok 12 selftests: lkdtm: STACK_GUARD_PAGE_LEADING.sh # selftests: lkdtm: STACK_GUARD_PAGE_TRAILING.sh # Segmentation fault # [ 53.270524] lkdtm: Performing direct entry STACK_GUARD_PAGE_TRAILING # [ 53.283271] lkdtm: attempting bad read from page above current stack # [ 53.296581] BUG: stack guard page was hit at 00000000864f2365 (stack is 00000000a3f892f5..000000005c4419d8) # [ 53.313656] kernel stack overflow (page fault): 0000 [#4] SMP PTI # [ 53.320461] CPU: 1 PID: 1102 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 53.335320] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 53.342127] RIP: 0010:lkdtm_STACK_GUARD_PAGE_TRAILING+0x27/0x3d # [ 53.348737] Code: 9d fd ff 0f 1f 44 00 00 53 48 c7 c7 d8 cb eb 9d 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 ee 9c fd ff 48 c7 c7 18 cc eb 9d <8a> 83 00 40 00 00 88 44 24 07 0f b6 74 24 07 5a 5b e9 d1 9c fd ff # [ 53.375925] RSP: 0018:ffff9a50419c7e50 EFLAGS: 00010246 # [ 53.381757] RAX: 0000000000000038 RBX: ffff9a50419c4000 RCX: 0000000000000000 # [ 53.389723] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffffffff9debcc18 # [ 53.397689] RBP: ffffffff9debc2e3 R08: 0000000000000000 R09: 0000000000000000 # [ 53.40[ 55.241223] lkdtm: Performing direct entry SLAB_FREE_CROSS [ 55.248995] lkdtm: Attempting cross-cache slab free ... 5657] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001a # [ 53.413625] R13: ffff9a50419c7f10 R14: ffff9a50419c7f10 R15: ffff8deb43e9e000 # [ 53.421591] FS: 00007f027996a580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 53.430627] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 53.437040] CR2: ffff9a50419c8000 CR3: 0000000103f96002 CR4: 00000000003706e0 # [ 53.445005] Call Trace: # [ 53.447731] ? lkdtm_STACK_GUARD_PAGE_LEADING+0x3a/0x3a # [ 53.453566] direct_entry.cold+0x2c/0x38 # [ 53.457944] full_proxy_write+0x53/0x80 # [ 53.462226] vfs_write+0xe7/0x3a0 # [ 53.472131] ksys_write+0x68/0xf0 # [ 53.475831] do_syscall_64+0x30/0x40 # [ 53.479819] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 53.485457] RIP: 0033:0x7f0279880833 # [ 53.489444] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 53.510421] RSP: 002b:00007ffc74a15e58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 53.518866] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f0279880833 # [ 53.526832] RDX: 000000000000001a RSI: 00007f0279773000 RDI: 00000000[ 55.373354] lkdtm: Performing direct entry SLAB_FREE_PAGE 00000001 # [ 53.534799] RBP: 00007f0279773000 R08: 00007f0279[ 55.385307] lkdtm: Attempting non-Slab slab free ... 772010 R09: 0000000000000000 # [ 53.542766] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 53.550731] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 53.558702] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 53.591334] ---[ end trace 6f9b28459bd7789f ]--- # [ 53.596488] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 53.600864] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 53.621843] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 53.627674] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 53.635642] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 53.643608] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 53.651574] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 53.659541] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 53.667508] FS: 00007f027996a580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 53.676543] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 53.682956] CR2: ffff9a50419c8000 CR3: 0000000103f96002 CR4: 00000000003706e0 # STACK_GUARD_PAGE_TRAILING: saw 'call trace:': ok ok 13 selftests: lkdtm: STACK_GUARD_PAGE_TRAILING.sh # selftests: lkdtm: UNSET_SMEP.sh # [ 53.777222] lkdtm: Performing direct entry UNSET_SMEP # [ 53.783584] lkdtm: trying to clear SMEP normally # [ 53.788745] ------------[ cut here ]------------ # [ 53.793911] pinned CR4 bits changed: 0x100000!? # [ 53.798987] WARNING: CPU: 3 PID: 1138 at arch/x86/kernel/cpu/common.c:392 native_write_cr4+0x45/0x60 # [ 53.809200] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 53.835660] CPU: 3 PID: 1138 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 53.850520] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 53.857357] RIP: 0010:native_write_cr4+0x45/0x60 # [ 53.862514] Code: 39 c2 75 2d 48 85 f6 75 05 c3 cc cc cc cc 80 3d 90 a5 e3 01 00 75 f2 48 c7 c7 80 b2 df 9d c6 05 80 a5 e3 01 01 e8 12 2b e8 00 <0f> 0b c3 cc cc cc cc 48 89 d6 48 81 e7 ff f7 ce ff 48 31 c6 48 09 # [ 53.883494] RSP: 0018:ffff9a5041a27e48 EFLAGS: 00010286 # [ 53.889332] RAX: 0000000000000000 RBX: 00000000002706e0 RCX: 0000000000000000 # [ 53.897302] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 53.905275] RBP: ffffffff9debc2fd R08: 0000000000000000 R09: 0000000000000000 # [ 53.913248] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b # [ 53.921220] R13: ffff9a5041a27f10 R14: ffff9a5041a27f10 R15: ffff8deb44c9b000 # [ 53.929190[ 55.706165] lkdtm: Performing direct entry EXEC_DATA [ 55.713310] lkdtm: attempting ok execution at ffffffff9cce4460 [ 55.719832] lkdtm: attempting bad execution at ffffffff9f61c6a0 ] FS: 00007f3acbf01580(0000) GS:ffff8debbad80000(0000) knlGS:00[ 55.726456] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 55.741018] BUG: unable to handle page fault for address: ffffffff9f61c6a0 [ 55.748685] #PF: supervisor instruction fetch in kernel mode [ 55.755000] #PF: error_code(0x0011) - permissions violation [ 55.761220] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 800000011b4000e3 [ 55.768994] Oops: 0011 [#5] SMP PTI [ 55.772885] CPU: 3 PID: 1645 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 55.781532] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 55.788337] RIP: 0010:data_area+0x0/0x40 [ 55.792712] Code: ff ff 00 61 4a 44 eb 8d ff ff 00 60 4a 44 eb 8d ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <0f> 1f 44 00 00 c3 cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 55 [ 55.813689] RSP: 0018:ffff9a504220fe48 EFLAGS: 00010246 [ 55.819520] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 55.827489] RDX: 0000000000000000 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 55.835448] RBP: ffffffff9f61c6a0 R08: 0000000000000000 R09: 0000000000000000 [ 55.843415] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 55.851382] R13: ffff9a504220ff10 R14: ffff9a504220ff10 R15: ffff8deb44e8a000 [ 55.859349] FS: 00007fabef615580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 55.868386] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 55.874797] CR2: ffffffff9f61c6a0 CR3: 00000001033c4003 CR4: 00000000003706e0 [ 55.882764] Call Trace: [ 55.885492] ? execute_location+0x45/0x56 [ 55.889965] ? direct_entry.cold+0x2c/0x38 [ 55.894538] ? full_proxy_write+0x53/0x80 [ 55.899012] ? vfs_write+0xe7/0x3a0 [ 55.902902] ? ksys_write+0x68/0xf0 [ 55.906794] ? do_syscall_64+0x30/0x40 [ 55.910975] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 55.916811] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 00000000000000 # [ 53.938231] CS: 0010 DS: 0000 ES: 0000 CR0[ 55.943265] CR2: ffffffff9f61c6a0 [ 55.953172] ---[ end trace 6f9b28459bd778a1 ]--- [ 55.958315] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 55.962691] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 55.983659] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 55.989482] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 55.997448] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 56.005415] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 56.013382] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 56.021350] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 56.029316] FS: 00007fabef615580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 56.038350] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.044763] CR2: ffffffff9f61c6a0 CR3: 00000001033c4003 CR4: 00000000003706e0 [ 56.052732] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 56.062633] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1645, name: cat [ 56.071087] INFO: lockdep is turned off. [ 56.075461] irq event stamp: 0 [ 56.078866] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 56.085855] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 56.094978] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 56.104118] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 56.111120] CPU: 3 PID: 1645 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 56.119766] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 56.126567] Call Trace: [ 56.129292] dump_stack+0x77/0x9b [ 56.132989] ___might_sleep.cold+0xa6/0xb6 [ 56.137560] exit_signals+0x1c/0x2e0 [ 56.141547] do_exit+0xc2/0xaf0 [ 56.145041] ? ksys_write+0x68/0xf0 [ 56.148934] rewind_stack_do_exit+0x17/0x20 [ 56.153600] RIP: 0033:0x7fabef52b833 [ 56.157587] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 56.178567] RSP: 002b:00007ffcdbf57788 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.187021] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007fabef52b833 [ 56.194988] RDX: 000000000000000a RSI: 00007fabef41e000 RDI: 0000000000000001 [ 56.202955] RBP: 00007fabef41e000 R08: 00007fabef41d010 R09: 0000000000000000 [ 56.210922] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 56.218889] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 : 0000000080050033 # [ 53.944648] CR2: 00007f3acbd0a000 CR3: 00000001028dc004 CR4: 00000000003706e0 # [ 53.952619] Call Trace: # [ 53.961566] lkdtm_UNSET_SMEP.cold+0x1d/0x103 # [ 53.972644] direct_entry.cold+0x2c/0x38 # [ 53.983235] full_proxy_write+0x53/0x80 # [ 53.993734] vfs_write+0xe7/0x3a0 # [ 53.997462] ksys_write+0x68/0xf0 # [ 54.007370] do_syscall_64+0x30/0x40 # [ 54.011391] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 54.017036] RIP: 0033:0x7f3acbe17833 # [ 54.021057] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 54.042063] RSP: 002b:00007fff58338558 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 54.050537] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f3acbe17833 # [ 54.064710] RDX: 000000000000000b RSI: 00007f3acbd0a000 RDI: 0000000000000001 # [ 54.072679] RBP: 00007f3acbd0a000 R08: 00007f3acbd09010 R09: 0000000000000000 # [ 54.080651] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 54.088621] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 54.096615] irq event stamp: 0 # [ 54.10[ 56.348631] lkdtm: Performing direct entry EXEC_STACK [ 56.356844] lkdtm: attempting ok execution at ffffffff9cce4460 [ 56.363366] lkdtm: attempting bad execution at ffff9a5042297e18 [ 56.369992] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 56.378357] BUG: unable to handle page fault for address: ffff9a5042297e18 [ 56.386036] #PF: supervisor instruction fetch in kernel mode [ 56.392345] #PF: error_code(0x0011) - permissions violation 00[23] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # 56.398558] PGD 100000067 P4D 100000067 PUD 100211067 PMD 104096067 PTE 8000000104e5c063 [ 56.413812] Oops: 0011 [#6] SMP PTI [ 56.417706] CPU: 2 PID: 1681 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 56.426355] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 56.433167] RIP: 0010:0xffff9a5042297e18 [ 56.437544] Code: 00 00 18 7e 29 42 50 9a ff ff 13 39 37 9d ff ff ff ff 20 00 00 00 00 00 00 00 26 c4 eb 9d ff ff ff ff 42 3a 37 9d ff ff ff ff <0f> 1f 44 00 00 c3 cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 55 [ 56.458521] RSP: 0018:ffff9a5042297df8 EFLAGS: 00010246 [ 56.464353] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 56.472321] RDX: 0000000000000000 RSI: ffff8debbad1bf70 RDI: ffff8debbad1bf70 [ 56.480286] RBP: ffff9a5042297e18 R08: 0000000000000000 R09: 0000000000000000 [ 56.488253] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b [ 56.496220] R13: ffff9a5042297f10 R14: ffff9a5042297f10 R15: ffff8deb4579c000 [ 56.504186] FS: 00007f6ecf821580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 [ 56.513220] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.519632] CR2: ffff9a5042297e18 CR3: 00000001033d4001 CR4: 00000000003706e0 [ 56.527598] Call Trace: [ 56.530325] ? execute_location+0x45/0x56 [ 56.534798] ? lkdtm_EXEC_STACK+0x26/0x44 [ 56.539263] ? direct_entry.cold+0x2c/0x38 [ 56.543833] ? full_proxy_write+0x53/0x80 [ 54.113232] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 54.122398] softirqs last e[ 56.598763] CR2: ffff9a5042297e18 [ 56.608671] ---[ end trace 6f9b28459bd778a2 ]--- [ 56.613824] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 56.618200] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 56.639179] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 56.645010] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 56.652976] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 56.660942] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 56.668907] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 56.676874] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 56.684842] FS: 00007f6ecf821580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 [ 56.693878] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.700290] CR2: ffff9a5042297e18 CR3: 00000001033d4001 CR4: 00000000003706e0 nabled at (0): [] copy_process+0x664/0x1cb0 # [ 54.131536] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 54.138537] ---[ end trace 6f9b28459bd778a0 ]--- # [ 54.143693] lkdtm: ok: SMEP did not get cleared # [ 54.148750] lkdtm: trying to clear SMEP with call gadget # [ 54.154681] lkdtm: ok: SMEP removal was reverted # UNSET_SMEP: saw 'pinned CR4 bits changed:': ok ok 14 selftests: lkdtm: UNSET_SMEP.sh # selftests: lkdtm: DOUBLE_FAULT.sh # [ 54.273762] lkdtm: Performing direct entry DOUBLE_FAULT # [ 54.283911] lkdtm: XFAIL: this test is ia32-only # DOUBLE_FAULT: saw 'XFAIL': [SKIP] ok 15 selftests: lkdtm: DOUBLE_FAULT.sh # SKIP # selftests: lkdtm: CORRUPT_PAC.sh # [ 54.441703] lkdtm: Performing direct entry CORRUPT_PAC # [ 54.450377] lkdtm: XFAIL: this test is arm64-only # CORRUPT_PAC: saw 'XFAIL': [SKIP] ok 16 selftests: lkdtm: CORRUPT_PAC.sh # SKIP # selftests: lkdtm: UNALIGNED_LOAD_STORE_WRITE.sh # [ 54.583650] lkdtm: Performing direct entry UNALIGNED_LOAD_STORE_WRITE # [ 54.593361] lkdtm: XFAIL: arch has CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS # UNALIGNED_LOAD_STORE_WRITE: saw 'XFAIL': [SKIP] ok 17 selftests: lkdtm: UNALIGNED_LOAD_STORE_WRITE.sh # SKIP # selftests: lkdtm: OVERWRITE_ALLOCATION.sh # Skipping OVERWRITE_ALLOCATION: Corrupts memory on failure ok 18 selftests: lkdtm: OVERWRITE_ALLOCATION.sh # SKIP # selftests: lkdtm: WRITE_AFTER_FREE.sh # Skipping WRITE_AFTER_FREE: Corrupts memory on failure ok 19 selftests: lkdtm: WRITE_AFTER_FREE.sh # SKIP # selftests: lkdtm: READ_AFTER_FREE.sh # [ 54.774042] lkdtm: Performing direct entry READ_AFTER_FREE [ 56.864477] lkdtm: Performing direct entry EXEC_KMALLOC [ 56.875735] lkdtm: attempting ok execution at ffffffff9cce4460 [ 56.882262] lkdtm: attempting bad execution at ffff8deb44e9fc40 [ 56.888904] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 54.781131] lkdtm: Value in memory before free: 12345678 [ 56.897269] BUG: unable to handle page fault for address: ffff8deb44e9fc40 [ 56.911171] #PF: supervisor instruction fetch in kernel mode [ 56.917488] #PF: error_code(0x0011) - permissions violation [ 56.923708] PGD 11b601067 P4D 11b601067 PUD 100216063 PMD 104ec9063 PTE 8000000104e9f063 [ 56.932746] Oops: 0011 [#7] SMP PTI [ 56.936636] CPU: 3 PID: 1717 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 56.945283] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 56.952088] RIP: 0010:0xffff8deb44e9fc40 [ 56.956464] Code: ad de 80 f4 7c 42 eb 8d ff ff 40 f1 e9 44 eb 8d ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bb 24 50 9c ff ff ff ff <0f> 1f 44 00 00 c3 cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 55 [ 56.977441] RSP: 0018:ffff9a5042327e38 EFLAGS: 00010246 [ 56.983273] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 56.991240] RDX: 0000000000000000 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 56.999199] RBP: ffff8deb44e9fc40 R08: 0000000000000000 R09: 0000000000000000 [ 57.007168] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d [ 57.015135] R13: ffff9a5042327f10 R14: ffff9a5042327f10 R15: ffff8deb457b9000 [ 57.023116] FS: 00007fe3dab6f580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 57.032164] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.038579] CR2: ffff8deb44e9fc40 CR3: 00000001026d4005 CR4: 00000000003706e0 [ 57.046547] Call Trace: [ 57.049277] ? execute_location+0x45/0x56 [ 57.053754] ? lkdtm_EXEC_KMALLOC+0x2c/0x40 [ 57.058421] ? direct_entry.cold+0x2c/0x38 [ 57.062993] ? full_proxy_write+0x53/0x80 [ 57.067467] ? vfs_write+0xe7/0x3a0 [ 57.071357] ? ksys_write+0x68/0xf0 [ 57.075248] ? do_syscall_64+0x30/0x40 [ 57.079421] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 57.085255] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 54.793283] lkdtm: Attempting bad read from freed memory #[ 57.111713] CR2: ffff8deb44e9fc40 [ 57.121622] ---[ end trace 6f9b28459bd778a3 ]--- [ 57.126775] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 57.131165] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 57.152147] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 57.157999] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 57.165965] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 57.173933] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 57.181900] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 57.189869] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 57.197837] FS: 00007fe3dab6f580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 57.206871] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.213284] CR2: ffff8deb44e9fc40 CR3: 00000001026d4005 CR4: 00000000003706e0 [ 57.221252] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 57.231175] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1717, name: cat [ 57.239629] INFO: lockdep is turned off. [ 57.244004] irq event stamp: 0 [ 57.247409] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 57.254407] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 57.263531] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 57.272664] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 57.279662] CPU: 3 PID: 1717 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 57.288308] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 57.295116] Call Trace: [ 57.297844] dump_stack+0x77/0x9b [ 57.301542] ___might_sleep.cold+0xa6/0xb6 [ 57.306120] exit_signals+0x1c/0x2e0 [ 57.310120] do_exit+0xc2/0xaf0 [ 57.313623] ? ksys_write+0x68/0xf0 [ 57.317515] rewind_stack_do_exit+0x17/0x20 [ 57.322182] RIP: 0033:0x7fe3daa85833 [ 57.326172] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 57.347165] RSP: 002b:00007ffc863e8948 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.355613] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007fe3daa85833 [ 57.363581] RDX: 000000000000000d RSI: 00007fe3da978000 RDI: 0000000000000001 [ 57.371548] RBP: 00007fe3da978000 R08: 00007fe3da977010 R09: 0000000000000000 [ 57.379516] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 57.387483] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 54.805441] lkdtm: Memory was not poisoned # READ_AFTER_FREE: missing 'call trace:': [FAIL] not ok 20 selftests: lkdtm: READ_AFTER_FREE.sh # exit=1 # selftests: lkdtm: WRITE_BUDDY_AFTER_FREE.sh # Skipping WRITE_BUDDY_AFTER_FREE: Corrupts memory on failure ok 21 selftests: lkdtm: WRITE_BUDDY_AFTER_FREE.sh # SKIP # selftests: lkdtm: READ_BUDDY_AFTER_FREE.sh # [ 54.946324] lkdtm: Performing direct entry READ_BUDDY_AFTER_FREE # [ 54.953439] lkdtm: Value in memory before free: 12345678 # [ 54.959403] lkdtm: Attempting to read from freed memory # [ 54.971445] lkdtm: Buddy page was not poisoned # READ_BUDDY_AFTER_FREE: missing 'call trace:': [FAIL] not ok 22 selftests: lkdtm: READ_BUDDY_AFTER_FREE.sh # exit=1 # selftests: lkdtm: SLAB_FREE_DOUBLE.sh # [ 55.088047] lkdtm: Performing direct entry SLAB_FREE_DOUBLE # [ 55.094559] lkdtm: Attempting double slab free ... # SLAB_FREE_DOUBLE: missing 'call trace:': [FAIL] not ok 23 selftests: lkdtm: SLAB_FREE_DOUBLE.sh # exit=1 # selftests: lkdtm: SLAB_FREE_CROSS.sh # [ 55.241223] lkdtm: Performing direct entry SLAB_FREE_CROSS # [ 55.248995] lkdtm: Attempting cross-cache slab free ... # SLAB_FREE_CROSS: missing 'call trace:': [FAIL] not ok 24 selftests: lkdtm: SLAB_FREE_CROSS.sh # exit=1 # selftests: lkdtm: SLAB_FREE_PAGE.sh # [ 55.373354] lkdt[ 57.521521] lkdtm: Performing direct entry EXEC_VMALLOC [ 57.531862] lkdtm: attempting ok execution at ffffffff9cce4460 [ 57.538384] lkdtm: attempting bad execution at ffff9a504036d000 [ 57.545017] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) m: Performing direct entry SLAB_FREE_PAGE # [ 55.385307] lkdt[ 57.553383] BUG: unable to handle page fault for address: ffff9a504036d000 [ 57.567272] #PF: supervisor instruction fetch in kernel mode [ 57.573591] #PF: error_code(0x0011) - permissions violation m: Attempting non-Slab slab free ... # SLAB_FREE_PAGE: missing [ 57.579812] PGD 100000067 P4D 100000067 PUD 100211067 PMD 100997067 PTE 8000000103190063 [ 57.595066] Oops: 0011 [#8] SMP PTI [ 57.598958] CPU: 3 PID: 1753 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 57.607607] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 57.614414] RIP: 0010:0xffff9a504036d000 'call trace:': [FAIL] not ok 25 selftests: lkdtm: SLAB_FREE_PAG[ 57.618794] Code: Unable to access opcode bytes at RIP 0xffff9a504036cfd6. [ 57.632679] RSP: 0018:ffff9a50423afe38 EFLAGS: 00010246 [ 57.638503] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 57.646470] RDX: 0000000000000000 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 57.654437] RBP: ffff9a504036d000 R08: 0000000000000000 R09: 0000000000000000 [ 57.662404] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d [ 57.670372] R13: ffff9a50423aff10 R14: ffff9a50423aff10 R15: ffff8deb43190000 [ 57.678340] FS: 00007f333214d580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 57.687368] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.693781] CR2: ffff9a504036cfd6 CR3: 0000000105e7e001 CR4: 00000000003706e0 [ 57.701747] Call Trace: [ 57.704475] ? execute_location+0x45/0x56 [ 57.708951] ? lkdtm_EXEC_VMALLOC+0x20/0x30 [ 57.713618] ? direct_entry.cold+0x2c/0x38 [ 57.718181] ? full_proxy_write+0x53/0x80 [ 57.722656] ? vfs_write+0xe7/0x3a0 [ 57.726539] ? ksys_write+0x68/0xf0 [ 57.730429] ? do_syscall_64+0x30/0x40 [ 57.734603] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 57.740436] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify E.sh # exit=1 # selftests: lkdtm: SOFTLOCKUP.sh # Skipping SOF[ 57.766891] CR2: ffff9a504036d000 [ 57.776799] ---[ end trace 6f9b28459bd778a4 ]--- [ 57.781953] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 57.786329] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 57.807298] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 57.813130] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 57.821119] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 57.829086] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 57.837055] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 57.845021] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 57.852990] FS: 00007f333214d580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 57.862026] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.868439] CR2: ffff9a504036cfd6 CR3: 0000000105e7e001 CR4: 00000000003706e0 TLOCKUP: Hangs the system ok 26 selftests: lkdtm: SOFTLOCKUP.sh # SKIP # selftests: lkdtm: HARDLOCKUP.sh # Skipping HARDLOCKUP: Hangs the system ok 27 selftests: lkdtm: HARDLOCKUP.sh # SKIP # selftests: lkdtm: SPINLOCKUP.sh # Skipping SPINLOCKUP: Hangs the system ok 28 selftests: lkdtm: SPINLOCKUP.sh # SKIP # selftests: lkdtm: HUNG_TASK.sh # Skipping HUNG_TASK: Hangs the system ok 29 selftests: lkdtm: HUNG_TASK.sh # SKIP # selftests: lkdtm: EXEC_DATA.sh # Killed # [ 55.706165] lkdtm: Performing direct entry EXEC_DATA # [ 55.713310] lkdtm: attempting ok execution at ffffffff9cce4460 # [ 55.719832] lkdtm: attempting bad execution at ffffffff9f61c6a0 # [ 55.726456] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 55.741018] BUG: unable to handle page fault for address: ffffffff9f61c6a0 # [ 55.748685] #PF: supervisor instruction fetch in kernel mode # [ 55.755000] #PF: error_code(0x0011) - permissions violation # [ 55.761220] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 800000011b4000e3 # [ 55.768994] Oops: 0011 [#5] SMP PTI # [ 55.772885] CPU: 3 PID: 1645 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 55.781532] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 55.788337] RIP: 0010:data_area+0x0/0x40 # [ 55.792712] Code: ff ff 00 61 4a 44 eb 8d ff ff 00 60 4a 44 eb 8d ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <0f> 1f 44 00 00 c3 cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 55 # [ 55.813689] RSP: 0018:ffff9a504220fe48 EFLAGS: 00010246 # [ [ 58.026412] lkdtm: Performing direct entry EXEC_RODATA [ 58.037619] lkdtm: attempting ok execution at ffffffff9cce4460 55.819520] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000[ 58.044189] lkdtm: attempting bad execution at ffffffff9dad1440 [ 58.057020] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 58.065387] BUG: unable to handle page fault for address: ffffffff9dad1440 [ 58.073063] #PF: supervisor instruction fetch in kernel mode [ 58.079379] #PF: error_code(0x0011) - permissions violation [ 58.085598] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 80000001198000e1 [ 58.093375] Oops: 0011 [#9] SMP PTI [ 58.097257] CPU: 3 PID: 1789 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 58.105904] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 58.112709] RIP: 0010:lkdtm_rodata_do_nothing+0x0/0x10 [ 58.118443] Code: ff ff b2 4e 37 9d ff ff ff ff 72 c6 eb 9d ff ff ff ff f8 35 37 9d ff ff ff ff 55 aa 55 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 54 68 69 73 20 69 [ 58.139410] RSP: 0018:ffff9a504240fe48 EFLAGS: 00010246 [ 58.145242] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 [ 58.153208] RDX: 0000000000000000 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 58.161175] RBP: ffffffff9dad1440 R08: 0000000000000000 R09: 0000000000000000 [ 58.169142] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c [ 58.177129] R13: ffff9a504240ff10 R14: ffff9a504240ff10 R15: ffff8deb45da3000 [ 58.185119] FS: 00007f1c09f69580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 58.194169] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.200582] CR2: ffffffff9dad1440 CR3: 00000001033da005 CR4: 00000000003706e0 [ 58.208549] Call Trace: [ 58.211275] ? execute_location+0x45/0x56 [ 58.215748] ? direct_entry.cold+0x2c/0x38 [ 58.220311] ? full_proxy_write+0x53/0x80 [ 58.224786] ? vfs_write+0xe7/0x3a0 [ 58.228677] ? ksys_write+0x68/0xf0 [ 58.232560] ? do_syscall_64+0x30/0x40 [ 58.236741] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 58.242577] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 000000000000 # [ 55.827489] RDX: 0000000000000000 RSI: ffff8d[ 58.269032] CR2: ffffffff9dad1440 [ 58.278940] ---[ end trace 6f9b28459bd778a5 ]--- [ 58.284084] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 58.288459] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 58.309436] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 58.315259] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 58.323225] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 58.331191] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 58.339158] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 58.347126] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 58.355118] FS: 00007f1c09f69580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 58.364170] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.370584] CR2: ffffffff9dad1440 CR3: 00000001033da005 CR4: 00000000003706e0 [ 58.378551] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 58.388461] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1789, name: cat [ 58.396914] INFO: lockdep is turned off. [ 58.401289] irq event stamp: 0 [ 58.404694] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 58.411693] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 58.420826] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 58.429961] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 58.436960] CPU: 3 PID: 1789 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 58.445599] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 58.452402] Call Trace: [ 58.455129] dump_stack+0x77/0x9b [ 58.458827] ___might_sleep.cold+0xa6/0xb6 [ 58.463390] exit_signals+0x1c/0x2e0 [ 58.467378] do_exit+0xc2/0xaf0 [ 58.470871] ? ksys_write+0x68/0xf0 [ 58.474756] rewind_stack_do_exit+0x17/0x20 [ 58.479421] RIP: 0033:0x7f1c09e7f833 [ 58.483408] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 58.504385] RSP: 002b:00007ffe098644c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.512840] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f1c09e7f833 [ 58.520800] RDX: 000000000000000c RSI: 00007f1c09d72000 RDI: 0000000000000001 [ 58.528767] RBP: 00007f1c09d72000 R08: 00007f1c09d71010 R09: 0000000000000000 [ 58.536734] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 58.544701] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 ebbad9bf70 RDI: ffff8debbad9bf70 # [ 55.835448] RBP: ffffffff9f61c6a0 R08: 0000000000000000 R09: 0000000000000000 # [ 55.843415] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a # [ 55.851382] R13: ffff9a504220ff10 R14: ffff9a504220ff10 R15: ffff8deb44e8a000 # [ 55.859349] FS: 00007fabef615580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 55.868386] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 55.874797] CR2: ffffffff9f61c6a0 CR3: 00000001033c4003 CR4: 00000000003706e0 # [ 55.882764] Call Trace: # [ 55.885492] ? execute_location+0x45/0x56 # [ 55.889965] ? direct_entry.cold+0x2c/0x38 # [ 55.894538] ? full_proxy_write+0x53/0x80 # [ 55.899012] ? vfs_write+0xe7/0x3a0 # [ 55.902902] ? ksys_write+0x68/0xf0 # [ 55.906794] ? do_syscall_64+0x30/0x40 # [ 55.910975] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 55.916811] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 55.943265] CR2: ffffffff9f61c6a0 # [[ 58.666034] lkdtm: Performing direct entry EXEC_USERSPACE 55.953172] ---[ end trace 6f9b28459bd778a1 ]--- # [ 55.958[ 58.676852] lkdtm: attempting ok execution at ffffffff9cce4460 315] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 55.962691] Code: 89 ff [ 58.689626] lkdtm: attempting bad execution at 00007fc836832000 e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c[ 58.702431] unable to execute userspace code (SMEP?) (uid: 0) [ 58.715018] BUG: unable to handle page fault for address: 00007fc836832000 [ 58.722693] #PF: supervisor instruction fetch in kernel mode [ 58.729010] #PF: error_code(0x0011) - permissions violation [ 58.735230] PGD 8000000103b02067 P4D 8000000103b02067 PUD 104fa5067 PMD 104e23067 PTE 114654067 [ 58.744947] Oops: 0011 [#10] SMP PTI [ 58.748935] CPU: 0 PID: 1825 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 58.757581] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 58.764385] RIP: 0010:0x7fc836832000 [ 58.768370] Code: Unable to access opcode bytes at RIP 0x7fc836831fd6. [ 58.775657] RSP: 0018:ffff9a50424a7e50 EFLAGS: 00010246 [ 58.781489] RAX: 0000000000000033 RBX: 0000000000000024 RCX: 0000000000000000 [ 58.789456] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 [ 58.797424] RBP: 00007fc836832000 R08: 0000000000000000 R09: 0000000000000000 [ 58.805393] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000f [ 58.813359] R13: ffff9a50424a7f10 R14: ffff9a50424a7f10 R15: ffff8deb44e79000 [ 58.821326] FS: 00007fc836803580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 58.830362] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.836776] CR2: 00007fc836832000 CR3: 0000000103164001 CR4: 00000000003706f0 [ 58.844742] Call Trace: [ 58.847470] ? lkdtm_EXEC_USERSPACE.cold+0x66/0xae [ 58.852822] ? direct_entry.cold+0x2c/0x38 [ 58.857394] ? full_proxy_write+0x53/0x80 [ 58.861874] ? vfs_write+0xe7/0x3a0 [ 58.865756] ? ksys_write+0x68/0xf0 [ 58.869640] ? do_syscall_64+0x30/0x40 [ 58.873824] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 58.879661] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 58.906098] CR2: 00007fc836832000 [ 58.909796] ---[ end trace 6f9b28459bd778a6 ]--- [ 58.914949] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 58.919325] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 58.940302] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 58.946133] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 58.954100] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 58.962067] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 58.970035] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 58.978002] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 58.985970] FS: 00007fc836803580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 58.995005] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.001418] CR2: 00007fc836832000 CR3: 0000000103164001 CR4: 00000000003706f0 3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 55.983659] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 55.989482] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 55.997448] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 56.005415] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 56.013382] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 56.021350] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 56.029316] FS: 00007fabef615580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 56.038350] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 56.044763] CR2: ffffffff9f61c6a0 CR3: 00000001033c4003 CR4: 00000000003706e0 # [ 56.052732] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 56.062633] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1645, name: cat # [ 56.071087] INFO: lockdep is turned off. # [ 56.075461] irq event stamp: 0 # [ 56.078866] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 56.085855] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 56.094978] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 56.104118] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 56.111120] CPU: 3 PID: 1645 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 56.119766] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 56.126567] Call Trace: # [ 56.129292] dump_stack+0x77/0x9b # [ 56.132989] ___mig[ 59.171252] lkdtm: Performing direct entry EXEC_NULL ht_sleep.cold+0xa6/0xb6 # [ 56.137560] exit_signals+0x1c/0x2[ 59.182765] lkdtm: attempting ok execution at ffffffff9cce4460 e0 # [ 56.141547] do_exit+0xc2/0xaf0 # [ 56.145041] ? ks[ 59.195505] lkdtm: attempting bad execution at 0000000000000000 ys_write+0x68/0xf0 # [ 56.148934] rewind_stack_do_exit+0x17/[ 59.208364] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 59.222306] #PF: supervisor instruction fetch in kernel mode [ 59.228624] #PF: error_code(0x0010) - not-present page [ 59.234358] PGD 0 P4D 0 [ 59.237181] Oops: 0010 [#11] SMP PTI [ 59.241170] CPU: 0 PID: 1861 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 59.249808] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 59.256613] RIP: 0010:0x0 [ 59.259533] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. [ 59.267211] RSP: 0018:ffff9a504252fe48 EFLAGS: 00010246 [ 59.273034] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 [ 59.281001] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 [ 59.288968] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 59.296936] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 59.304904] R13: ffff9a504252ff10 R14: ffff9a504252ff10 R15: ffff8deb45439000 [ 59.312873] FS: 00007f2c43a01580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 59.321899] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.328312] CR2: ffffffffffffffd6 CR3: 000000010335a003 CR4: 00000000003706f0 [ 59.336277] Call Trace: [ 59.339005] execute_location+0x45/0x56 [ 59.343289] direct_entry.cold+0x2c/0x38 [ 59.347657] full_proxy_write+0x53/0x80 [ 59.351937] vfs_write+0xe7/0x3a0 [ 59.355633] ksys_write+0x68/0xf0 [ 59.359331] do_syscall_64+0x30/0x40 [ 59.363318] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 59.368955] RIP: 0033:0x7f2c43917833 [ 59.372941] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 59.393918] RSP: 002b:00007ffdff570cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.402371] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f2c43917833 [ 59.410338] RDX: 000000000000000a RSI: 00007f2c4380a000 RDI: 0000000000000001 [ 59.418304] RBP: 00007f2c4380a000 R08: 00007f2c43809010 R09: 0000000000000000 [ 59.426271] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 59.434238] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 59.442210] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 59.468643] CR2: 0000000000000000 [ 59.472339] ---[ end trace 6f9b28459bd778a7 ]--- [ 59.477493] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 59.481868] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 59.502846] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 59.508670] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 59.516636] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 59.524602] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 59.532569] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 59.540535] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 59.548503] FS: 00007f2c43a01580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 [ 59.557538] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.563951] CR2: ffffffffffffffd6 CR3: 000000010335a003 CR4: 00000000003706f0 [ 59.571919] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 59.581829] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1861, name: cat [ 59.590281] INFO: lockdep is turned off. [ 59.594657] irq event stamp: 0 [ 59.598062] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 59.605061] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 59.614195] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 59.623327] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 59.630323] CPU: 0 PID: 1861 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 59.638971] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 59.645772] Call Trace: [ 59.648499] dump_stack+0x77/0x9b [ 59.652202] ___might_sleep.cold+0xa6/0xb6 [ 59.656772] exit_signals+0x1c/0x2e0 [ 59.660759] do_exit+0xc2/0xaf0 [ 59.664262] ? ksys_write+0x68/0xf0 [ 59.668169] rewind_stack_do_exit+0x17/0x20 [ 59.672843] RIP: 0033:0x7f2c43917833 [ 59.676823] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 59.697801] RSP: 002b:00007ffdff570cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.706255] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f2c43917833 [ 59.714224] RDX: 000000000000000a RSI: 00007f2c4380a000 RDI: 0000000000000001 [ 59.722192] RBP: 00007f2c4380a000 R08: 00007f2c43809010 R09: 0000000000000000 [ 59.730168] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 59.738136] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 0x20 # [ 56.153600] RIP: 0033:0x7fabef52b833 # [ 56.157587] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 56.178567] RSP: 002b:00007ffcdbf57788 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 56.187021] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007fabef52b833 # [ 56.194988] RDX: 000000000000000a RSI: 00007fabef41e000 RDI: 0000000000000001 # [ 56.202955] RBP: 00007fabef41e000 R08: 00007fabef41d010 R09: 0000000000000000 # [ 56.210922] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 56.218889] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXEC_DATA: saw 'call trace:': ok ok 30 selftests: lkdtm: EXEC_DATA.sh # selftests: lkdtm: EXEC_STACK.sh # Killed # [ 56.348631] lkdtm: Performing direct entry EXEC_STACK # [ 56.356844] lkdtm: attempting ok execution at ffffffff9cce4460 # [ 56.363366] lkdtm: attempting bad execution at ffff9a5042297e18 # [ 56.369992] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 56.378357] BUG: unable to handle page fault for address: ffff9a5042297e18 # [ 56.386036] #PF: supervisor instruction fetch in kernel mode # [ 56.392345] #PF: error_code(0x0011) - permissions violation # [ 56.398558] PGD 100000067 P4D 100000067 PUD 100211067 PMD 104096067 PTE 8000000104e5c063 # [ 56.413812] Oops: 0011 [#6] SMP PTI # [ 56.417706] CPU: 2 PID: 1681 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 56.426355] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 56.433167] RIP: 0010:0xffff9a5042297e18 # [ 56.437544] Code: 00 00 18 7e 29 42 50 9a ff ff 13 39 37 9d ff ff ff ff 20 00 00 00 00 00 00 00 26 c4 eb 9d [ 59.920855] lkdtm: Performing direct entry ACCESS_USERSPACE [ 59.932609] lkdtm: attempting bad read at 00007f259255b000 [ 59.938753] BUG: unable to handle page fault for address: 00007f259255b000 [ 59.946439] #PF: supervisor read access in kernel mode [ 59.952175] #PF: error_code(0x0001) - permissions violation [ 59.958388] PGD 8000000104020067 P4D 8000000104020067 PUD 104ea8067 PMD 103ed7067 PTE 113a6a067 ff ff ff ff 42 3a 37 9d ff ff ff ff <0f> 1f 44 00 00 c3 cc cc cc[ 59.968111] Oops: 0001 [#12] SMP PTI [ 59.978310] CPU: 2 PID: 1896 Comm: cat Tainted: G D W 5.10.163-cip24 #1 cc 66 0f 1f 44 00 00 0f 1f 44 00 00 55 # [ 56.458521] RSP: 0[ 59.986961] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 01[8:ffff9a5042297df8 EFLAGS: 00010246 # [ 56.464353] RAX: 000 59.999980] RIP: 0010:lkdtm_ACCESS_USERSPACE.cold+0x41/0xa3 [ 60.012417] Code: 00 00 00 75 64 48 83 c4 10 5d c3 cc cc cc cc 48 89 ee 48 c7 c7 90 d3 eb 9d e8 62 96 fd ff 48 c7 c7 b8 d3 eb 9d b8 de c0 de c0 <48> 03 45 00 48 89 04 24 e8 49 96 fd ff 48 89 ee 48 c7 c7 e0 d3 eb 0000000000033 RBX: 0000000000000001 RCX: 0000000000000000 # [ [ 60.033400] RSP: 0018:ffff9a50425c7e48 EFLAGS: 00010246 [ 60.045445] RAX: 00000000c0dec0de RBX: 0000000000000026 RCX: 0000000000000000 [ 60.053414] RDX: 0000000000000000 RSI: ffff8debbad1bf70 RDI: ffffffff9debd3b8 [ 60.061382] RBP: 00007f259255b000 R08: 0000000000000000 R09: 0000000000000000 [ 60.069351] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000011 [ 60.077320] R13: ffff9a50425c7f10 R14: ffff9a50425c7f10 R15: ffff8deb44021000 [ 60.085289] FS: 00007f259252c580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 [ 60.094326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.100740] CR2: 00007f259255b000 CR3: 00000001055e8006 CR4: 00000000003706e0 [ 60.108709] Call Trace: [ 60.111439] direct_entry.cold+0x2c/0x38 [ 60.115816] full_proxy_write+0x53/0x80 [ 60.120120] vfs_write+0xe7/0x3a0 [ 60.123818] ksys_write+0x68/0xf0 [ 60.127515] do_syscall_64+0x30/0x40 [ 60.131494] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 60.137124] RIP: 0033:0x7f2592442833 [ 60.141118] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 60.162117] RSP: 002b:00007ffeb0404448 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 60.170571] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f2592442833 [ 60.178540] RDX: 0000000000000011 RSI: 00007f2592335000 RDI: 0000000000000001 [ 60.186507] RBP: 00007f2592335000 R08: 00007f2592334010 R09: 0000000000000000 [ 60.194474] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 60.202442] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 60.210414] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 56.472321] RDX: 0000000000000000 RSI: ffff8debbad1bf70 RDI: fff[ 60.236873] CR2: 00007f259255b000 [ 60.246781] ---[ end trace 6f9b28459bd778a8 ]--- [ 60.251934] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 60.256308] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 60.277285] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 60.283117] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 60.291086] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 60.299044] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 60.307012] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 60.314979] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 60.322946] FS: 00007f259252c580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 [ 60.331983] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.338398] CR2: 00007f259255b000 CR3: 00000001055e8006 CR4: 00000000003706e0 f8debbad1bf70 # [ 56.480286] RBP: ffff9a5042297e18 R08: 0000000000000000 R09: 0000000000000000 # [ 56.488253] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b # [ 56.496220] R13: ffff9a5042297f10 R14: ffff9a5042297f10 R15: ffff8deb4579c000 # [ 56.504186] FS: 00007f6ecf821580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 # [ 56.513220] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 56.519632] CR2: ffff9a5042297e18 CR3: 00000001033d4001 CR4: 00000000003706e0 # [ 56.527598] Call Trace: # [ 56.530325] ? execute_location+0x45/0x56 # [ 56.534798] ? lkdtm_EXEC_STACK+0x26/0x44 # [ 56.539263] ? direct_entry.cold+0x2c/0x38 # [ 56.543833] ? full_proxy_write+0x53/0x80 # [ 56.548309] ? vfs_write+0xe7/0x3a0 # [ 56.558409] ? ksys_write+0x68/0xf0 # [ 56.562291] ? do_syscall_64+0x30/0x40 # [ 56.566472] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 56.572308] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 56.59876[ 60.459306] lkdtm: Performing direct entry ACCESS_NULL 3] CR2: ffff9a5042297e18 # [ 56.608671] ---[ end trace 6f9b28[ 60.470243] lkdtm: attempting bad read at 0000000000000000 459bd778a2 ]--- # [ 56.613824] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 60.482593] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 60.496574] #PF: supervisor read access in kernel mode [ 60.502323] #PF: error_code(0x0000) - not-present page [ 60.508059] PGD 0 P4D 0 # [ 56.618200] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff[ 60.510884] Oops: 0000 [#13] SMP PTI [ 60.521085] CPU: 1 PID: 1931 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 60.529734] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 60.536542] RIP: 0010:lkdtm_ACCESS_NULL+0x14/0x53 eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff [ 60.541795] Code: 06 96 fd ff be 00 10 00 00 48 89 ef e8 43 42 39 ff e9 69 ff ff ff 0f 1f 44 00 00 53 31 f6 48 c7 c7 90 d3 eb 9d e8 e0 95 fd ff <48> 8b 1c 25 00 00 00 00 b8 de c0 de c0 48 c7 c7 b8 d3 eb 9d 48 01 [ 60.568991] RSP: 0018:ffff9a5042657e58 EFLAGS: 00010246 [ 60.574816] RAX: 000000000000002e RBX: 0000000000000027 RCX: 0000000000000000 [ 60.582787] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 [ 60.590756] RBP: ffffffff9debc481 R08: 0000000000000000 R09: 0000000000000000 [ 60.598725] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c [ 60.606692] R13: ffff9a5042657f10 R14: ffff9a5042657f10 R15: ffff8deb43bc0000 [ 60.614660] FS: 00007f8f1c90e580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 60.623695] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.630122] CR2: 0000000000000000 CR3: 0000000105c16004 CR4: 00000000003706e0 [ 60.638111] Call Trace: [ 60.640844] direct_entry.cold+0x2c/0x38 eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44[ 60.645223] full_proxy_write+0x53/0x80 [ 60.655717] vfs_write+0xe7/0x3a0 00 00 83 05 c0 85 93 02 # [ 56.639179] RSP: 0018:ffff9a50414[ 60.659417] ksys_write+0x68/0xf0 [ 60.669329] do_syscall_64+0x30/0x40 [ 60.673320] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 60.678958] RIP: 0033:0x7f8f1c824833 [ 60.682946] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 60.703932] RSP: 002b:00007ffecc6229a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 60.712390] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f8f1c824833 [ 60.720360] RDX: 000000000000000c RSI: 00007f8f1c717000 RDI: 0000000000000001 [ 60.728332] RBP: 00007f8f1c717000 R08: 00007f8f1c716010 R09: 0000000000000000 [ 60.736299] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 60.744270] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 47e60 EFLAGS: 00010286 # [ 56.645010] RAX: ffffffff9cce4090 R[ 60.752243] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 60.784881] CR2: 0000000000000000 [ 60.788580] ---[ end trace 6f9b28459bd778a9 ]--- [ 60.793736] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 60.798118] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 60.819117] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 60.824941] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 60.832909] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 60.840878] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 60.848848] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 60.856819] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 60.864790] FS: 00007f8f1c90e580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 60.873826] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.880240] CR2: 0000000000000000 CR3: 0000000105c16004 CR4: 00000000003706e0 [ 60.888209] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 60.898121] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1931, name: cat [ 60.906577] INFO: lockdep is turned off. [ 60.910954] irq event stamp: 0 [ 60.914358] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 60.921358] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 60.930494] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 60.939629] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 60.946619] CPU: 1 PID: 1931 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 60.955267] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 60.962071] Call Trace: [ 60.964798] dump_stack+0x77/0x9b [ 60.968498] ___might_sleep.cold+0xa6/0xb6 [ 60.973072] exit_signals+0x1c/0x2e0 [ 60.977061] do_exit+0xc2/0xaf0 [ 60.980565] ? ksys_write+0x68/0xf0 [ 60.984456] rewind_stack_do_exit+0x17/0x20 [ 60.989126] RIP: 0033:0x7f8f1c824833 [ 60.993117] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 61.014124] RSP: 002b:00007ffecc6229a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.022581] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f8f1c824833 [ 61.030551] RDX: 000000000000000c RSI: 00007f8f1c717000 RDI: 0000000000000001 [ 61.038521] RBP: 00007f8f1c717000 R08: 00007f8f1c716010 R09: 0000000000000000 [ 61.046491] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 61.054461] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 BX: 0000000000000001 RCX: 0000000000000000 # [ 56.652976] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 56.660942] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 56.668907] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 56.676874] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 56.684842] FS: 00007f6ecf821580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 # [ 56.693878] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 56.700290] CR2: ffff9a5042297e18 CR3: 00000001033d4001 CR4: 00000000003706e0 # EXEC_STACK: saw 'call trace:': ok ok 31 selftests: lkdtm: EXEC_STACK.sh # selftests: lkdtm: EXEC_KMALLOC.sh # Killed # [ 56.864477] lkdtm: Performing direct entry EXEC_KMALLOC # [ 56.875735] lkdtm: attempting ok execution at ffffffff9cce4460 # [ 56.882262] lkdtm: attempting bad execution at ffff8deb44e9fc40 # [ 56.888904] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 56.897269] BUG: unable to handle page fault for address: ffff8deb44e9fc40 # [ 56.911171] #PF: supervisor instruction fetch in kernel mode # [ 56.917488] #PF: error_code(0x0011) - permissions violation # [ 56.923708] PGD 11b601067 P4D 11b601067 PUD 100216063 PMD 104ec9063 PTE 8000000104e9f063 # [ 56.932746] Oops: 0011 [#7] SMP PTI # [ 56.936636] CPU: 3 PID: 1717 Comm: cat Tainted: G D W 5.10.163-c[ 61.199994] lkdtm: Performing direct entry WRITE_RO ip24 #1 # [ 56.945283] Hardware name: Google Rammus/Rammus, B[ 61.210843] lkdtm: attempting bad rodata write at ffffffff9dad1430 IOS 09/04/2020 # [ 56.952088] RIP: 0010:0xffff8deb44e9fc40 [ 61.223971] BUG: unable to handle page fault for address: ffffffff9dad1430 [ 61.237852] #PF: supervisor write access in kernel mode [ 61.243687] #PF: error_code(0x0003) - permissions violation # [ 56.956464] Code: ad de 80 f4 7c 42 eb 8d ff ff 40 f1 e9 44[ 61.249911] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 80000001198000e1 [ 61.263909] Oops: 0003 [#14] SMP PTI [ 61.267898] CPU: 1 PID: 1966 Comm: cat Tainted: G D W 5.10.163-cip24 #1 eb 8d ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bb [ 61.276548] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 61.289568] RIP: 0010:lkdtm_WRITE_RO+0x2e/0x3a 24 50 9c ff ff ff ff <0f> 1f 44 00 00 c3 cc cc cc cc 66 0f 1f 44[ 61.294529] Code: 00 48 c7 c7 70 d2 eb 9d 48 c7 c6 30 14 ad 9d e8 8a 98 fd ff 48 8b 05 ed da 75 00 ba 34 12 cd ab 48 c7 c7 a0 d2 eb 9d 48 31 d0 <48> 89 05 d7 da 75 00 e9 68 98 fd ff 0f 1f 44 00 00 48 8b 05 c6 69 [ 61.321723] RSP: 0018:ffff9a50426f7e60 EFLAGS: 00010202 [ 61.327557] RAX: 000000000198b861 RBX: 0000000000000028 RCX: 0000000000000000 [ 61.335517] RDX: 00000000abcd1234 RSI: ffff8debbac9bf70 RDI: ffffffff9debd2a0 [ 61.343486] RBP: ffffffff9debc48d R08: 0000000000000000 R09: 0000000000000000 [ 61.351457] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000009 [ 61.359428] R13: ffff9a50426f7f10 R14: ffff9a50426f7f10 R15: ffff8deb45592000 [ 61.367397] FS: 00007ff5bc789580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 61.376437] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.382854] CR2: ffffffff9dad1430 CR3: 000000010330c005 CR4: 00000000003706e0 [ 61.390815] Call Trace: [ 61.393542] direct_entry.cold+0x2c/0x38 [ 61.397924] full_proxy_write+0x53/0x80 00 00 0f 1f 44 00 00 55 # [ 56.977441] RSP: 0018:ffff9a50423[ 61.402207] vfs_write+0xe7/0x3a0 [ 61.412119] ksys_write+0x68/0xf0 [ 61.415819] do_syscall_64+0x30/0x40 [ 61.419810] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 61.425441] RIP: 0033:0x7ff5bc69f833 [ 61.429431] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 61.450409] RSP: 002b:00007ffd3e014188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.458865] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007ff5bc69f833 [ 61.466835] RDX: 0000000000000009 RSI: 00007ff5bc592000 RDI: 0000000000000001 [ 61.474805] RBP: 00007ff5bc592000 R08: 00007ff5bc591010 R09: 0000000000000000 [ 61.482774] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 61.490744] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 27e38 EFLAGS: 00010246 # [ 56.983273] RAX: 0000000000000033 R[ 61.498718] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 61.531357] CR2: ffffffff9dad1430 [ 61.535054] ---[ end trace 6f9b28459bd778aa ]--- [ 61.540200] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 61.544576] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 61.565559] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 61.571392] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 61.579362] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 61.587331] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 61.595301] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 61.603271] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 61.611241] FS: 00007ff5bc789580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 61.620281] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.626697] CR2: ffffffff9dad1430 CR3: 000000010330c005 CR4: 00000000003706e0 BX: 0000000000000001 RCX: 0000000000000000 # [ 56.991240] RDX: 0000000000000000 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 56.999199] RBP: ffff8deb44e9fc40 R08: 0000000000000000 R09: 0000000000000000 # [ 57.007168] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d # [ 57.015135] R13: ffff9a5042327f10 R14: ffff9a5042327f10 R15: ffff8deb457b9000 # [ 57.023116] FS: 00007fe3dab6f580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 57.032164] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 57.038579] CR2: ffff8deb44e9fc40 CR3: 00000001026d4005 CR4: 00000000003706e0 # [ 57.046547] Call Trace: # [ 57.049277] ? execute_location+0x45/0x56 # [ 57.053754] ? lkdtm_EXEC_KMALLOC+0x2c/0x40 # [ 57.058421] ? direct_entry.cold+0x2c/0x38 # [ 57.062993] ? full_proxy_write+0x53/0x80 # [ 57.067467] ? vfs_write+0xe7/0x3a0 # [ 57.071357] ? ksys_write+0x68/0xf0 # [ 57.075248] ? do_syscall_64+0x30/0x40 # [ 57.079421] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 57.085255] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 57.111713] CR2: ffff8[ 61.759947] lkdtm: Performing direct entry WRITE_RO_AFTER_INIT deb44e9fc40 # [ 57.121622] ---[ end trace 6f9b28459bd778a3 ]-[ 61.771719] lkdtm: attempting bad ro_after_init write at ffffffff9df3a330 -- # [ 57.126775] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 57.1311[ 61.785537] BUG: unable to handle page fault for address: ffffffff9df3a330 [ 61.799406] #PF: supervisor write access in kernel mode [ 61.805241] #PF: error_code(0x0003) - permissions violation 65] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 [ 61.811464] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 1049ee063 PTE 8000000119d3a061 [ 61.826722] Oops: 0003 [#15] SMP PTI [ 61.830712] CPU: 1 PID: 2001 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 61.839363] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 61.846186] RIP: 0010:lkdtm_WRITE_RO_AFTER_INIT+0x4e/0x5a c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 4[ 61.852217] Code: d2 eb 9d e9 3c 98 fd ff 48 c7 c7 f8 d2 eb 9d e8 30 98 fd ff 48 8b 05 93 69 bc 00 ba 34 12 cd ab 48 c7 c7 a0 d2 eb 9d 48 31 d0 <48> 89 05 7d 69 bc 00 e9 0e 98 fd ff 0f 1f 44 00 00 41 54 48 c7 c7 [ 61.879417] RSP: 0018:ffff9a504279fe60 EFLAGS: 00010202 [ 61.885252] RAX: 00000000fe67479e RBX: 0000000000000029 RCX: 0000000000000000 [ 61.893213] RDX: 00000000abcd1234 RSI: ffff8debbac9bf70 RDI: ffffffff9debd2a0 [ 61.901185] RBP: ffffffff9debc496 R08: 0000000000000000 R09: 0000000000000000 [ 61.909171] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000014 [ 61.917142] R13: ffff9a504279ff10 R14: ffff9a504279ff10 R15: ffff8deb44c7f000 [ 61.925117] FS: 00007fbd7bf53580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 61.934171] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.940587] CR2: ffffffff9df3a330 CR3: 0000000104fb2002 CR4: 00000000003706e0 [ 61.948556] Call Trace: [ 61.951284] direct_entry.cold+0x2c/0x38 [ 61.955656] full_proxy_write+0x53/0x80 4 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 [ 61.959939] vfs_write+0xe7/0x3a0 [ 61.969850] ksys_write+0x68/0xf0 [ 61.973550] do_syscall_64+0x30/0x40 [ 61.977539] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 61.983173] RIP: 0033:0x7fbd7be69833 [ 61.987168] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 62.008165] RSP: 002b:00007ffc83ed81a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 62.016621] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007fbd7be69833 [ 62.024591] RDX: 0000000000000014 RSI: 00007fbd7bd5c000 RDI: 0000000000000001 [ 62.032560] RBP: 00007fbd7bd5c000 R08: 00007fbd7bd5b010 R09: 0000000000000000 [ 62.040529] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 62.048498] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 c0 85 93 02 # [ 57.152147] RSP: 0018:ffff9a5041447e60 EFLAGS:[ 62.056473] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 62.089132] CR2: ffffffff9df3a330 [ 62.092831] ---[ end trace 6f9b28459bd778ab ]--- [ 62.097987] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 62.102365] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 62.123342] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 62.129186] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 00010286 # [ 57.157999] RAX: ffffffff9cce4090 RBX: 000000000[ 62.137176] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 62.151360] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 62.159328] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 62.167298] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 62.175269] FS: 00007fbd7bf53580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 62.184308] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.190721] CR2: ffffffff9df3a330 CR3: 0000000104fb2002 CR4: 00000000003706e0 [ 62.198693] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 62.208598] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 2001, name: cat [ 62.217052] INFO: lockdep is turned off. [ 62.221429] irq event stamp: 0 [ 62.224836] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 62.231826] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 62.240953] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 62.250089] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 62.257121] CPU: 1 PID: 2001 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 62.265770] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 62.272574] Call Trace: [ 62.275302] dump_stack+0x77/0x9b 0000001 RCX: 0000000000000000 # [ 57.165965] RDX: 00000000000[ 62.279004] ___might_sleep.cold+0xa6/0xb6 [ 62.289790] exit_signals+0x1c/0x2e0 [ 62.293781] do_exit+0xc2/0xaf0 [ 62.297285] ? ksys_write+0x68/0xf0 [ 62.301178] rewind_stack_do_exit+0x17/0x20 00000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 57.1739[ 62.305848] RIP: 0033:0x7fbd7be69833 [ 62.316052] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 62.337035] RSP: 002b:00007ffc83ed81a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 62.345491] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007fbd7be69833 [ 62.353460] RDX: 0000000000000014 RSI: 00007fbd7bd5c000 RDI: 0000000000000001 [ 62.361431] RBP: 00007fbd7bd5c000 R08: 00007fbd7bd5b010 R09: 0000000000000000 [ 62.369403] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 62.377373] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 33] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 57.181900] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 57.189869] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 57.197837] FS: 00007fe3dab6f580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 57.206871] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 57.213284] CR2: ffff8deb44e9fc40 CR3: 00000001026d4005 CR4: 00000000003706e0 # [ 57.221252] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 57.231175] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1717, name: cat # [ 57.239629] INFO: lockdep is turned off. # [ 57.244004] irq event stamp: 0 # [ 57.247409] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 57.254407] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 57.263531] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 57.272664] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 57.279662] CPU: 3 PID: 1717 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 57.288308] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 57.295116] Call Trace: # [ 57.297844] dump_stack+0x77/0x9b # [ 57.301542] ___might_sleep.cold+0xa6/0xb6 # [ 57.306120] exit_signals+0x1c/0x2e0 # [ 57.310120] do_exit+0xc2/0xaf0 # [ 57.313623] ? ksys_write+0x68/0xf0 # [ 57.317515] rewind_stack_do_exit+0x17/0x20 # [ 57.322182] RIP: 0033:0x7fe3daa85833 # [ 57.326172] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 4[ 62.554225] lkdtm: Performing direct entry WRITE_KERN 8 83 ec 28 48 89 54 24 18 # [ 57.347165] RSP: 002b:00007ffc86[ 62.565017] lkdtm: attempting bad 6878301 byte write at ffffffff9d3738bd 3e8948 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 57.355[ 62.578727] BUG: unable to handle page fault for address: ffffffff9d3738bd [ 62.592613] #PF: supervisor write access in kernel mode [ 62.598447] #PF: error_code(0x0003) - permissions violation [ 62.604669] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 1190000e1 613] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007fe3da[ 62.611768] Oops: 0003 [#16] SMP PTI [ 62.621971] CPU: 1 PID: 2036 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 62.630622] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 62.637429] RIP: 0010:lkdtm_WRITE_KERN+0x38/0x4e [ 62.642584] Code: 53 48 c7 c3 bd 38 37 9d 49 89 dc 48 89 da 49 81 ec 60 44 ce 9c 4c 89 e6 e8 e3 97 fd ff 48 89 df 4c 89 e1 48 c7 c6 60 44 ce 9c a4 48 c7 c7 a0 d2 eb 9d e8 c8 97 fd ff 5b 41 5c e9 b7 fe ff ff [ 62.663560] RSP: 0018:ffff9a5042817e50 EFLAGS: 00010246 [ 62.669394] RAX: 000000000000003c RBX: ffffffff9d3738bd RCX: 000000000068f45d [ 62.677365] RDX: 0000000000000000 RSI: ffffffff9cce4460 RDI: ffffffff9d3738bd [ 62.685328] RBP: ffffffff9debc4aa R08: 0000000000000000 R09: 0000000000000000 [ 62.693297] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000068f45d [ 62.701268] R13: ffff9a5042817f10 R14: ffff9a5042817f10 R15: ffff8deb43f8e000 [ 62.709239] FS: 00007f6aa9059580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 62.718279] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.724694] CR2: ffffffff9d3738bd CR3: 0000000104e00003 CR4: 00000000003706e0 [ 62.732666] Call Trace: [ 62.735394] direct_entry.cold+0x2c/0x38 a85833 # [ 57.363581] RDX: 000000000000000d RSI: 00007fe3da97[ 62.739773] full_proxy_write+0x53/0x80 [ 62.750266] vfs_write+0xe7/0x3a0 [ 62.753966] ksys_write+0x68/0xf0 [ 62.757663] do_syscall_64+0x30/0x40 [ 62.761653] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 62.767293] RIP: 0033:0x7f6aa8f6f833 [ 62.771282] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 62.792265] RSP: 002b:00007ffd61fa6378 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 62.800722] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f6aa8f6f833 [ 62.808693] RDX: 000000000000000b RSI: 00007f6aa8e62000 RDI: 0000000000000001 [ 62.816663] RBP: 00007f6aa8e62000 R08: 00007f6aa8e61010 R09: 0000000000000000 [ 62.824633] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 62.832604] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 8000 RDI: 0000000000000001 # [ 57.371548] RBP: 00007fe3da9780[ 62.840578] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 62.873221] CR2: ffffffff9d3738bd [ 62.876920] ---[ end trace 6f9b28459bd778ac ]--- [ 62.882077] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 62.886456] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 [ 62.907435] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 [ 62.913267] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 [ 62.921237] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 62.929206] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 [ 62.937176] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 62.945164] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 [ 62.953135] FS: 00007f6aa9059580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 62.962175] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 62.968592] CR2: ffffffff9d3738bd CR3: 0000000104e00003 CR4: 00000000003706e0 00 R08: 00007fe3da977010 R09: 0000000000000000 # [ 57.379516] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 57.387483] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXEC_KMALLOC: saw 'call trace:': ok ok 32 selftests: lkdtm: EXEC_KMALLOC.sh # selftests: lkdtm: EXEC_VMALLOC.sh # Killed # [ 57.521521] lkdtm: Performing direct entry EXEC_VMALLOC # [ 57.531862] lkdtm: attempting ok execution at ffffffff9cce4460 # [ 57.538384] lkdtm: attempting bad execution at ffff9a504036d000 # [ 57.545017] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 57.553383] BUG: unable to handle page fault for address: ffff9a504036d000 # [ 57.567272] #PF: supervisor instruction fetch in kernel mode # [ 57.573591] #PF: error_code(0x0011) - permissions violation # [ 57.579812] PGD 100000067 P4D 100000067 PUD 100211067 PMD 100997067 PTE 8000000103190063 # [ 57.595066] Oops: 0011 [#8] SMP PTI # [ 57.598958] CPU: 3 PID: 1753 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 57.607607] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 57.614414] RIP: 0010:0xffff9a504036d000 # [ 57.618794] Code: Unable to access opcode bytes at RIP 0xffff9a504036cfd6. # [ [ 63.100580] lkdtm: Performing direct entry REFCOUNT_INC_OVERFLOW [ 63.107607] lkdtm: attempting good refcount_inc() without overflow [ 63.114542] lkdtm: attempting bad refcount_inc() overflow [ 63.120587] ------------[ cut here ]------------ [ 63.125754] refcount_t: saturated; leaking memory. [ 63.131120] WARNING: CPU: 3 PID: 2071 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 57.632679] RSP: 0018:ffff9a50423afe38 EFLAGS: 00010246 # [ 57[ 63.140558] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 63.173192] CPU: 3 PID: 2071 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 63.181868] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 63.188676] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 63.194512] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c7 c7 a8 7c e5 9d c6 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 [ 63.215496] RSP: 0018:ffff9a50428c7e48 EFLAGS: 00010286 [ 63.221332] RAX: 0000000000000000 RBX: 000000000000002b RCX: 0000000000000000 [ 63.229305] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 .638503] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 000000[ 63.237279] RBP: ffffffff9debc4b5 R08: 0000000000000000 R09: 0000000000000000 0000000000 # [ 57.646470] RDX: 0000000000000000 RSI: ffff8deb[ 63.251469] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 [ 63.265656] R13: ffff9a50428c7f10 R14: ffff9a50428c7f10 R15: ffff8deb43320000 bad9bf70 RDI: ffff8debbad9bf70 # [ 57.654437] RBP: ffff9a5040[ 63.273631] FS: 00007f5e06d5e580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 63.288881] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.295298] CR2: 00007f5e06b67000 CR3: 00000001056ca002 CR4: 00000000003706e0 [ 63.303270] Call Trace: [ 63.306000] lkdtm_REFCOUNT_INC_OVERFLOW+0x70/0x98 [ 63.311381] direct_entry.cold+0x2c/0x38 [ 63.315786] full_proxy_write+0x53/0x80 [ 63.320094] vfs_write+0xe7/0x3a0 [ 63.323818] ksys_write+0x68/0xf0 36d000 R08: 0000000000000000 R09: 0000000000000000 # [ 57.662[ 63.327534] do_syscall_64+0x30/0x40 [ 63.337729] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 63.343372] RIP: 0033:0x7f5e06c74833 [ 63.347363] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 63.368346] RSP: 002b:00007fff4aa65158 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 63.376805] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f5e06c74833 [ 63.384777] RDX: 0000000000000016 RSI: 00007f5e06b67000 RDI: 0000000000000001 [ 63.392750] RBP: 00007f5e06b67000 R08: 00007f5e06b66010 R09: 0000000000000000 [ 63.400722] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 63.408693] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 63.416670] irq event stamp: 0 404] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000[ 63.420104] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 63.433316] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 63.442455] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 63.451594] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 63.458595] ---[ end trace 6f9b28459bd778ad ]--- [ 63.463751] lkdtm: Overflow detected: saturated 00000d # [ 57.670372] R13: ffff9a50423aff10 R14: ffff9a50423aff10 R15: ffff8deb43190000 # [ 57.678340] FS: 00007f333214d580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 57.687368] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 57.693781] CR2: ffff9a504036cfd6 CR3: 0000000105e7e001 CR4: 00000000003706e0 # [ 57.701747] Call Trace: # [ 57.704475] ? execute_location+0x45/0x56 # [ 57.708951] ? lkdtm_EXEC_VMALLOC+0x20/0x30 # [ 57.713618] ? direct_entry.cold+0x2c/0x38 # [ 57.718181] ? full_proxy_write+0x53/0x80 # [ 57.722656] ? vfs_write+0xe7/0x3a0 # [ 57.726539] ? ksys_write+0x68/0xf0 # [ 57.730429] ? do_syscall_64+0x30/0x40 # [ 57.734603] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 57.740436] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 57.766891] CR2: ffff9a504036d000 # [ 57.776799] ---[ end trace 6f9b28459bd778a4 ]--- # [ 57.781953] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 57.786329] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48[ 63.593003] lkdtm: Performing direct entry REFCOUNT_ADD_OVERFLOW c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 0[ 63.599874] lkdtm: attempting good refcount_add() without overflow 0 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 57.807298] RS[ 63.612999] lkdtm: attempting bad refcount_add() overflow P: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 57.813130] RAX:[ 63.625241] ------------[ cut here ]------------ [ 63.636612] refcount_t: saturated; leaking memory. ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 #[ 63.641973] WARNING: CPU: 1 PID: 2103 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 [ 57.821119] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI:[ 63.657604] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify ffffffff9dad0fb0 # [ 57.829086] RBP: ffffffff9df17a00 R08: 0[ 63.690267] CPU: 1 PID: 2103 Comm: cat Tainted: G D W 5.10.163-cip24 #1 000000000000001 R09: 0000000000000001 # [ 57.837055] R10: 000[ 63.705131] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 00000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ [ 63.718150] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 63.730201] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c7 c7 a8 7c e5 9d c6 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 57.845021] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: fff[ 63.751185] RSP: 0018:ffff9a504292fe48 EFLAGS: 00010286 [ 63.763230] RAX: 0000000000000000 RBX: 000000000000002c RCX: 0000000000000000 f8deb44c94000 # [ 57.852990] FS: 00007f333214d580(0000) GS:f[ 63.771203] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 [ 63.785387] RBP: ffffffff9debc4cb R08: 0000000000000000 R09: 0000000000000000 fff8debbad80000(0000) knlGS:0000000000000000 # [ 57.862026] C[ 63.793361] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 [ 63.807543] R13: ffff9a504292ff10 R14: ffff9a504292ff10 R15: ffff8deb4330e000 S: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 57.86843[ 63.815519] FS: 00007efdd070d580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 63.830768] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 9] CR2: ffff9a504036cfd6 CR3: 0000000105e7e001 CR4: 000000000037[ 63.837188] CR2: 00007efdd0516000 CR3: 0000000103390001 CR4: 00000000003706e0 [ 63.851370] Call Trace: 06e0 # EXEC_VMALLOC: saw 'call trace:': ok ok 33 selftests: lk[ 63.854127] lkdtm_REFCOUNT_ADD_OVERFLOW+0x7f/0xa7 dtm: EXEC_VMALLOC.sh # selftests: lkdtm: EXEC_RODATA.sh # Kill[ 63.865684] direct_entry.cold+0x2c/0x38 ed # [ 58.026412] lkdtm: Performing direct entry EXEC_RODATA [ 63.876278] full_proxy_write+0x53/0x80 # [ 58.037619] lkdtm: attempting ok execution at ffffffff9cce[ 63.886776] vfs_write+0xe7/0x3a0 4460 # [ 58.044189] lkdtm: attempting bad execution at ffffff[ 63.896690] ksys_write+0x68/0xf0 ff9dad1440 # [ 58.057020] kernel tried to execute NX-protecte[ 63.906610] do_syscall_64+0x30/0x40 d page - exploit attempt? (uid: 0) # [ 58.065387] BUG: unable[ 63.916816] entry_SYSCALL_64_after_hwframe+0x61/0xc6 to handle page fault for address: ffffffff9dad1440 # [ 58.07[ 63.928674] RIP: 0033:0x7efdd0623833 [ 63.938880] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 3063] #PF: supervisor instruction fetch in kernel mode # [ 58[ 63.959868] RSP: 002b:00007ffdcb6d3ae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 63.974537] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007efdd0623833 .079379] #PF: error_code(0x0011) - permissions violation # [ [ 63.982512] RDX: 0000000000000016 RSI: 00007efdd0516000 RDI: 0000000000000001 [ 63.996695] RBP: 00007efdd0516000 R08: 00007efdd0515010 R09: 0000000000000000 58.085598] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 8000000[ 64.004670] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 64.018852] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 1198000e1 # [ 58.093375] Oops: 0011 [#9] SMP PTI # [ 58.0[ 64.026848] irq event stamp: 0 [ 64.036444] hardirqs last enabled at (0): [<0000000000000000>] 0x0 97257] CPU: 3 PID: 1789 Comm: cat Tainted: G D W 5.[ 64.043450] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 64.058796] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 10.163-cip24 #1 # [ 58.105904] Hardware name: Google Rammus/R[ 64.067937] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 64.081147] ---[ end trace 6f9b28459bd778ae ]--- ammus, BIOS 09/04/2020 # [ 58.112709] RIP: 0010:lkdtm_rodata[ 64.086305] lkdtm: Overflow detected: saturated _do_nothing+0x0/0x10 # [ 58.118443] Code: ff ff b2 4e 37 9d ff ff ff ff 72 c6 eb 9d ff ff ff ff f8 35 37 9d ff ff ff ff 55 aa 55 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 54 68 69 73 20 69 # [ 58.139410] RSP: 0018:ffff9a504240fe48 EFLAGS: 00010246 # [ 58.145242] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 # [ 58.153208] RDX: 0000000000000000 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 58.161175] RBP: ffffffff9dad1440 R08: 0000000000000000 R09: 0000000000000000 # [ 58.169142] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c # [ 58.177129] R13: ffff9a504240ff10 R14: ffff9a504240ff10 R15: ffff8deb45da3000 # [ 58.185119] FS: 00007f1c09f69580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 58.194169] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 58.200582] CR2: ffffffff9dad1440 CR3: 00000001033da005 CR4: 00000000003706e0 # [ 58.208549] Call Trace: # [ 58.211275] ? execute_location+0x45/0x56 # [ 58.215748] ? direct_entry.cold+0x2c/0x38 # [ 58.220311] ? full_proxy_write+0x53/0x80 # [ 58.224786] ? vfs_write+0xe7/0x3a0 # [ 58.228677] ? ksys_write+0x68/0xf0 # [ 58.232560] ? do_syscall_64+0x30/0x40 # [ 5[ 64.216465] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_OVERFLOW 8.236741] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 58.[ 64.229579] lkdtm: attempting bad refcount_inc_not_zero() overflow 242577] Modules linked in: fuse ip_tables cros_ec_sensors cros_e[ 64.242693] ------------[ cut here ]------------ c_sensors_core industrialio_triggered_buffer kfifo_buf industria[ 64.254079] refcount_t: saturated; leaking memory. lio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debug[ 64.265698] WARNING: CPU: 0 PID: 2135 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 fs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd[ 64.281296] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify _notify # [ 58.269032] CR2: ffffffff9dad1440 # [ 58.278940[ 64.313974] CPU: 0 PID: 2135 Comm: cat Tainted: G D W 5.10.163-cip24 #1 ] ---[ end trace 6f9b28459bd778a5 ]--- # [ 58.284084] RIP: 00[ 64.328826] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 10:lkdtm_BUG+0x5/0x10 # [ 58.288459] Code: 89 ff e8 de 6a a3 [ 64.341834] RIP: 0010:refcount_warn_saturate+0x97/0x110 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc c[ 64.353865] Code: 01 01 e8 73 87 98 00 0f 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 c 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 [ 64.381062] RSP: 0018:ffff9a50429afe38 EFLAGS: 00010282 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 58.309436[ 64.393126] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 ] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 58.315259] [ 64.407334] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 000000000000000[ 64.421529] RBP: ffffffff9debc108 R08: 0000000000000000 R09: 0000000000000000 0 # [ 58.323225] RDX: 0000000000000000 RSI: ffff8debbac1bf70 [ 64.435748] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f RDI: ffffffff9dad0fb0 # [ 58.331191] RBP: ffffffff9df17a00 R0[ 64.449933] R13: ffff9a50429aff10 R14: ffff9a50429aff10 R15: ffff8deb43ecc000 8: 0000000000000001 R09: 0000000000000001 # [ 58.339158] R10:[ 64.464158] FS: 00007fb348809580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 #[ 64.479430] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.347126] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15:[ 64.492106] CR2: 00007fb348612000 CR3: 0000000105e1c002 CR4: 00000000003706f0 ffff8deb44c94000 # [ 58.355118] FS: 00007f1c09f69580(0000) [ 64.506288] Call Trace: GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 58.36417[ 64.515281] __refcount_add_not_zero.constprop.0+0x2a/0x35 0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 58.3[ 64.527606] lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW+0x3e/0x76 70584] CR2: ffffffff9dad1440 CR3: 00000001033da005 CR4: 00000000[ 64.540083] direct_entry.cold+0x2c/0x38 003706e0 # [ 58.378551] BUG: sleeping function called from in[ 64.550642] full_proxy_write+0x53/0x80 valid context at include/linux/percpu-rwsem.h:49 # [ 58.38846[ 64.561170] vfs_write+0xe7/0x3a0 1] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1789, [ 64.571123] ksys_write+0x68/0xf0 name: cat # [ 58.396914] INFO: lockdep is turned off. # [ [ 64.581060] do_syscall_64+0x30/0x40 58.401289] irq event stamp: 0 # [ 58.404694] hardirqs last e[ 64.591323] entry_SYSCALL_64_after_hwframe+0x61/0xc6 nabled at (0): [<0000000000000000>] 0x0 # [ 58.411693] hardir[ 64.603158] RIP: 0033:0x7fb34871f833 qs last disabled at (0): [] copy_process+0x664[ 64.613427] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 /0x1cb0 # [ 58.420826] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 58.429961] softir[ 64.655372] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007fb34871f833 qs last disabled at (0): [<0000000000000000>] 0x0 # [ 58.4369[ 64.669574] RDX: 000000000000001f RSI: 00007fb348612000 RDI: 0000000000000001 60] CPU: 3 PID: 1789 Comm: cat Tainted: G D W 5.10.[ 64.683755] RBP: 00007fb348612000 R08: 00007fb348611010 R09: 0000000000000000 163-cip24 #1 # [ 58.445599] Hardware name: Google Rammus/Ramm[ 64.697952] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 us, BIOS 09/04/2020 # [ 58.452402] Call Trace: # [ 58.455[ 64.712144] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 129] dump_stack+0x77/0x9b # [ 58.458827] ___might_sleep.col[ 64.726363] irq event stamp: 0 d+0xa6/0xb6 # [ 58.463390] exit_signals+0x1c/0x2e0 # [ 58[ 64.735968] hardirqs last enabled at (0): [<0000000000000000>] 0x0 .467378] do_exit+0xc2/0xaf0 # [ 58.470871] ? ksys_write+0x6[ 64.749188] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 8/0xf0 # [ 58.474756] rewind_stack_do_exit+0x17/0x20 # [ [ 64.764589] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 58.479421] RIP: 0033:0x7f1c09e7f833 # [ 58.483408] Code: 8b 1[ 64.779954] softirqs last disabled at (0): [<0000000000000000>] 0x0 5 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00[ 64.793203] ---[ end trace 6f9b28459bd778af ]--- 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3[ 64.804545] lkdtm: Overflow detected: saturated d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 58.504385] RSP: 002b:00007ffe098644c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 58.512840] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f1c09e7f833 # [ 58.520800] RDX: 000000000000000c RSI: 00007f1c09d72000 RDI: 0000000000000001 # [ 58.528767] RBP: 00007f1c09d72000 R08: 00007f1c09d71010 R09: 0000000000000000 # [ 58.536734] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 58.544701] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXEC_RODATA: saw 'call trace:': ok ok 34 selftests: lkdtm: EXEC_RODATA.sh # selftests: lkdtm: EXEC_USERSPACE.sh # Killed # [ 58.666034] lkdtm: Performing direct entry EXEC_USERSPACE # [ 58.676852] lkdtm: attempting ok execution at ffffffff9cce4460 # [ 58.689626] lkdtm: attempting bad execution at 00007fc836832000 # [ 58.702431] unable to execute userspace code (SMEP?) (uid: 0) # [ 58.715018] BUG: unable to handle page fault for address: 00007fc836832000 # [ 58.722693] #PF: supervisor instruction fetch in kernel mode # [ 58.729010] #PF: error_code(0x0011) - permissions violation # [ 58.735230] PGD 8000000103b02067 P4D 8000000103b02067 PUD 104fa5067 PMD 104e23067 PTE 114654067 # [ 58.744947] Oops: 0011 [#10] SMP PTI # [ 58.748935] CPU: 0 PID: 1825 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 58.757581] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 58.764385] RIP: 0010:0x7fc836832000 #[ 64.958973] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_OVERFLOW [ 58.768370] Code: Unable to access opcode bytes at RIP 0x7fc[ 64.972574] lkdtm: attempting bad refcount_add_not_zero() overflow 836831fd6. # [ 58.775657] RSP: 0018:ffff9a50424a7e50 EFLAGS: [ 64.985724] ------------[ cut here ]------------ 00010246 # [ 58.781489] RAX: 0000000000000033 RBX: 0000000000[ 64.997092] refcount_t: saturated; leaking memory. 000024 RCX: 0000000000000000 # [ 58.789456] RDX: 000000000000[ 65.008663] WARNING: CPU: 0 PID: 2167 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 0000 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 # [ 58.79742[ 65.024297] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 4] RBP: 00007fc836832000 R08: 0000000000000000 R09: 000000000000[ 65.056975] CPU: 0 PID: 2167 Comm: cat Tainted: G D W 5.10.163-cip24 #1 0000 # [ 58.805393] R10: 00000000ffffe000 R11: 3fffffffffffff[ 65.071811] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 ff R12: 000000000000000f # [ 58.813359] R13: ffff9a50424a7f10[ 65.084886] RIP: 0010:refcount_warn_saturate+0x97/0x110 R14: ffff9a50424a7f10 R15: ffff8deb44e79000 # [ 58.821326] F[ 65.096891] Code: 01 01 e8 73 87 98 00 0f 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 S: 00007fc836803580(0000) GS:ffff8debbac00000(0000) knlGS:00000[ 65.124166] RSP: 0018:ffff9a5042a2fe38 EFLAGS: 00010282 00000000000 # [ 58.830362] CS: 0010 DS: 0000 ES: 0000 CR0: 0[ 65.136176] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 000000080050033 # [ 58.836776] CR2: 00007fc836832000 CR3: 000[ 65.150365] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 0000103164001 CR4: 00000000003706f0 # [ 58.844742] Call Trace[ 65.164547] RBP: ffffffff9debc128 R08: 0000000000000000 R09: 0000000000000000 : # [ 58.847470] ? lkdtm_EXEC_USERSPACE.cold+0x66/0xae # [ [ 65.178788] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f 58.852822] ? direct_entry.cold+0x2c/0x38 # [ 58.857394] ?[ 65.192948] R13: ffff9a5042a2ff10 R14: ffff9a5042a2ff10 R15: ffff8deb44e8b000 full_proxy_write+0x53/0x80 # [ 58.861874] ? vfs_write+0xe7/[ 65.207169] FS: 00007ff5d0613580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 0x3a0 # [ 58.865756] ? ksys_write+0x68/0xf0 # [ 58.869640[ 65.222408] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ] ? do_syscall_64+0x30/0x40 # [ 58.873824] ? entry_SYSCALL_[ 65.235050] CR2: 00007ff5d041c000 CR3: 0000000105470005 CR4: 00000000003706f0 64_after_hwframe+0x61/0xc6 # [ 58.879661] Modules linked in: [ 65.249230] Call Trace: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio[ 65.258223] __refcount_add_not_zero.constprop.0+0x2a/0x35 _triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_c[ 65.270542] lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW+0x3e/0x76 hardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pk[ 65.282996] direct_entry.cold+0x2c/0x38 g_temp_thermal cros_ec_dev cros_usbpd_notify # [ 58.906098] C[ 65.293588] full_proxy_write+0x53/0x80 R2: 00007fc836832000 # [ 58.909796] ---[ end trace 6f9b28459b[ 65.304116] vfs_write+0xe7/0x3a0 d778a6 ]--- # [ 58.914949] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ [ 65.314008] ksys_write+0x68/0xf0 58.919325] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb [ 65.323957] do_syscall_64+0x30/0x40 de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c[ 65.334166] entry_SYSCALL_64_after_hwframe+0x61/0xc6 9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 [ 65.346056] RIP: 0033:0x7ff5d0529833 00 83 05 c0 85 93 02 # [ 58.940302] RSP: 0018:ffff9a5041447e6[ 65.356232] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 0 EFLAGS: 00010286 # [ 58.946133] RAX: ffffffff9cce4090 RBX: [ 65.383501] RSP: 002b:00007ffc99f2c5a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 0000000000000001 RCX: 0000000000000000 # [ 58.954100] RDX: 00[ 65.398175] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007ff5d0529833 00000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ [ 65.412353] RDX: 000000000000001f RSI: 00007ff5d041c000 RDI: 0000000000000001 58.962067] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 00[ 65.426525] RBP: 00007ff5d041c000 R08: 00007ff5d041b010 R09: 0000000000000000 00000000000001 # [ 58.970035] R10: 00000000ffffe000 R11: 3fff[ 65.440744] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 ffffffffffff R12: 0000000000000004 # [ 58.978002] R13: ffff9a[ 65.454915] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 58[ 65.469165] irq event stamp: 0 .985970] FS: 00007fc836803580(0000) GS:ffff8debbac00000(0000) k[ 65.478726] hardirqs last enabled at (0): [<0000000000000000>] 0x0 nlGS:0000000000000000 # [ 58.995005] CS: 0010 DS: 0000 ES: 0[ 65.491985] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 000 CR0: 0000000080050033 # [ 59.001418] CR2: 00007fc83683200[ 65.507312] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 0 CR3: 0000000103164001 CR4: 00000000003706f0 # EXEC_USERSPACE:[ 65.522708] softirqs last disabled at (0): [<0000000000000000>] 0x0 saw 'call trace:': ok ok 35 selftests: lkdtm: EXEC_USERSPACE.s[ 65.535927] ---[ end trace 6f9b28459bd778b0 ]--- h # selftests: lkdtm: EXEC_NULL.sh # Killed # [ 59.171252] [ 65.547297] lkdtm: Overflow detected: saturated lkdtm: Performing direct entry EXEC_NULL # [ 59.182765] lkdtm: attempting ok execution at ffffffff9cce4460 # [ 59.195505] lkdtm: attempting bad execution at 0000000000000000 # [ 59.208364] BUG: kernel NULL pointer dereference, address: 0000000000000000 # [ 59.222306] #PF: supervisor instruction fetch in kernel mode # [ 59.228624] #PF: error_code(0x0010) - not-present page # [ 59.234358] PGD 0 P4D 0 # [ 59.237181] Oops: 0010 [#11] SMP PTI # [ 59.241170] CPU: 0 PID: 1861 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 59.249808] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 59.256613] RIP: 0010:0x0 # [ 59.259533] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. # [ 59.267211] RSP: 0018:ffff9a504252fe48 EFLAGS: 00010246 # [ 59.273034] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 # [ 59.281001] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 # [ 59.288968] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 # [ 59.296936] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a # [ 59.304904] R13: ffff9a504252ff10 R14: ffff9a504252ff10 R15: ffff8deb45439000 # [ 59.312873] FS: 00007f2c43a01580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 59.321899] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 59.328312] CR2: ffffffffffffffd6 CR3: 000000010335a003 CR4: 00000000003706f0 # [ 59.336277] Call Trace: # [ 59.339005] execute_location+0x45/0x56 # [ 59.343289] direct_entry.cold+0x2c/0x38 # [ 5[ 65.711721] lkdtm: Performing direct entry REFCOUNT_DEC_ZERO 9.347657] full_proxy_write+0x53/0x80 # [ 59.351937] vfs_wri[ 65.720265] lkdtm: attempting good refcount_dec() te+0xe7/0x3a0 # [ 59.355633] ksys_write+0x68/0xf0 # [ 59.[ 65.731755] lkdtm: attempting bad refcount_dec() to zero 359331] do_syscall_64+0x30/0x40 # [ 59.363318] entry_SYSCAL[ 65.743891] ------------[ cut here ]------------ L_64_after_hwframe+0x61/0xc6 # [ 59.368955] RIP: 0033:0x7f2c4[ 65.755286] refcount_t: decrement hit 0; leaking memory. 3917833 # [ 59.372941] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02[ 65.767441] WARNING: CPU: 0 PID: 2199 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 [ 65.783114] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f[ 65.815738] CPU: 0 PID: 2199 Comm: cat Tainted: G D W 5.10.163-cip24 #1 40 00 48 83 ec 28 48 89 54 24 18 # [ 59.393918] RSP: 002b:00[ 65.830600] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 007ffdff570cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ [ 65.843628] RIP: 0010:refcount_warn_saturate+0xfb/0x110 59.402371] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00[ 65.855675] Code: 58 7d e5 9d c6 05 5a 02 94 01 01 e8 06 87 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 28 7d e5 9d c6 05 41 02 94 01 01 e8 ec 86 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b 007f2c43917833 # [ 59.410338] RDX: 000000000000000a RSI: 0000[ 65.882885] RSP: 0018:ffff9a5042aa7e48 EFLAGS: 00010286 7f2c4380a000 RDI: 0000000000000001 # [ 59.418304] RBP: 00007f[ 65.894904] RAX: 0000000000000000 RBX: 000000000000002f RCX: 0000000000000000 2c4380a000 R08: 00007f2c43809010 R09: 0000000000000000 # [ 59[ 65.909128] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 .426271] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 000000[ 65.923310] RBP: ffffffff9debc4e1 R08: 0000000000000000 R09: 0000000000000000 0000000001 # [ 59.434238] R13: 0000000000000001 R14: 00000000[ 65.937510] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 00020000 R15: 0000000000020000 # [ 59.442210] Modules linked [ 65.951692] R13: ffff9a5042aa7f10 R14: ffff9a5042aa7f10 R15: ffff8deb427d3000 in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industri[ 65.965882] FS: 00007f105f501580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 alio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_[ 65.981155] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x8[ 65.993793] CR2: 00007f105f30a000 CR3: 0000000103eca001 CR4: 00000000003706f0 6_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 59.46864[ 66.008003] Call Trace: 3] CR2: 0000000000000000 # [ 59.472339] ---[ end trace 6f9b28[ 66.016991] lkdtm_REFCOUNT_DEC_ZERO+0x4d/0xbd 459bd778a7 ]--- # [ 59.477493] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 66.028128] direct_entry.cold+0x2c/0x38 # [ 59.481868] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff[ 66.038823] full_proxy_write+0x53/0x80 eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff [ 66.049319] vfs_write+0xe7/0x3a0 eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44[ 66.059270] ksys_write+0x68/0xf0 00 00 83 05 c0 85 93 02 # [ 59.502846] RSP: 0018:ffff9a50414[ 66.069202] do_syscall_64+0x30/0x40 47e60 EFLAGS: 00010286 # [ 59.508670] RAX: ffffffff9cce4090 R[ 66.079431] entry_SYSCALL_64_after_hwframe+0x61/0xc6 BX: 0000000000000001 RCX: 0000000000000000 # [ 59.516636] RDX[ 66.091291] RIP: 0033:0x7f105f417833 : 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 [ 66.101537] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 59.524602] RBP: ffffffff9df17a00 R08: 0000000000000001 R09[ 66.128799] RSP: 002b:00007ffcaf5c0588 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 : 0000000000000001 # [ 59.532569] R10: 00000000ffffe000 R11: [ 66.143442] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f105f417833 3fffffffffffffff R12: 0000000000000004 # [ 59.540535] R13: ff[ 66.157620] RDX: 0000000000000012 RSI: 00007f105f30a000 RDI: 0000000000000001 ff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ [ 66.171834] RBP: 00007f105f30a000 R08: 00007f105f309010 R09: 0000000000000000 59.548503] FS: 00007f2c43a01580(0000) GS:ffff8debbac00000(000[ 66.186032] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 0) knlGS:0000000000000000 # [ 59.557538] CS: 0010 DS: 0000 E[ 66.200326] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 S: 0000 CR0: 0000000080050033 # [ 59.563951] CR2: fffffffffff[ 66.214483] irq event stamp: 0 fffd6 CR3: 000000010335a003 CR4: 00000000003706f0 # [ 59.5719[ 66.224097] hardirqs last enabled at (0): [<0000000000000000>] 0x0 19] BUG: sleeping function called from invalid context at includ[ 66.237297] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 e/linux/percpu-rwsem.h:49 # [ 59.581829] in_atomic(): 0, irqs[ 66.252647] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 _disabled(): 1, non_block: 0, pid: 1861, name: cat # [ 59.590[ 66.268007] softirqs last disabled at (0): [<0000000000000000>] 0x0 281] INFO: lockdep is turned off. # [ 59.594657] irq event st[ 66.281256] ---[ end trace 6f9b28459bd778b1 ]--- amp: 0 # [ 59.598062] hardirqs last enabled at (0): [<000000[ 66.292597] lkdtm: Zero detected: saturated 0000000000>] 0x0 # [ 59.605061] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 59.614195] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 59.623327] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 59.630323] CPU: 0 PID: 1861 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 59.638971] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 59.645772] Call Trace: # [ 59.648499] dump_stack+0x77/0x9b # [ 59.652202] ___might_sleep.cold+0xa6/0xb6 # [ 59.656772] exit_signals+0x1c/0x2e0 # [ 59.660759] do_exit+0xc2/0xaf0 # [ 59.664262] ? ksys_write+0x68/0xf0 # [ 59.668169] rewind_stack_do_exit+0x17/0x20 # [ 59.672843] RIP: 0033:0x7f2c43917833 # [ 59.676823] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 59.697801] RSP: 002b:00007ffdff570cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 59.706255] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f2c43917833 # [ 59.714224] RDX: 000000000000000a RSI: 00007f2c4380a000 RDI: 0000000000000001 # [ 59.722192] RBP: 00007f2c4380a000 R08: 00007f2c43809010 R09: 0000000000000000 # [[ 66.433720] lkdtm: Performing direct entry REFCOUNT_DEC_NEGATIVE [ 66.440701] lkdtm: attempting bad refcount_dec() below zero [ 66.446953] ------------[ cut here ]------------ [ 66.452140] refcount_t: decrement hit 0; leaking memory. 59.730168] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0[ 66.458126] WARNING: CPU: 3 PID: 2234 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 [ 66.473724] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 66.500179] CPU: 3 PID: 2234 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 66.508855] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 66.515665] RIP: 0010:refcount_warn_saturate+0xfb/0x110 [ 66.521502] Code: 58 7d e5 9d c6 05 5a 02 94 01 01 e8 06 87 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 28 7d e5 9d c6 05 41 02 94 01 01 e8 ec 86 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b [ 66.542490] RSP: 0018:ffff9a5042ad7e48 EFLAGS: 00010286 [ 66.548327] RAX: 0000000000000000 RBX: 0000000000000030 RCX: 0000000000000000 [ 66.556300] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 66.564274] RBP: ffffffff9debc4f3 R08: 0000000000000000 R09: 0000000000000000 000000000000001 # [ 59.738136] R13: 0000000000000001 R14: 000[ 66.572248] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 0000000020000 R15: 0000000000020000 # EXEC_NULL: saw 'call trac[ 66.586436] R13: ffff9a5042ad7f10 R14: ffff9a5042ad7f10 R15: ffff8deb45519000 [ 66.600626] FS: 00007fe79bf70580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 66.609668] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 66.616088] CR2: 00007fe79bd79000 CR3: 0000000105d2e001 CR4: 00000000003706e0 [ 66.624087] Call Trace: e:': ok ok 36 selftests: lkdtm: EXEC_NULL.sh # selftests: lkdt[ 66.626822] lkdtm_REFCOUNT_DEC_NEGATIVE+0x37/0x61 [ 66.638407] direct_entry.cold+0x2c/0x38 m: ACCESS_USERSPACE.sh # Killed # [ 59.920855] lkdtm: Perfor[ 66.642800] full_proxy_write+0x53/0x80 [ 66.653289] vfs_write+0xe7/0x3a0 [ 66.657020] ksys_write+0x68/0xf0 [ 66.660746] do_syscall_64+0x30/0x40 [ 66.664762] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 66.670430] RIP: 0033:0x7fe79be86833 [ 66.674421] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 66.695409] RSP: 002b:00007ffe6c099a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.703870] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007fe79be86833 [ 66.711844] RDX: 0000000000000016 RSI: 00007fe79bd79000 RDI: 0000000000000001 ming direct entry ACCESS_USERSPACE # [ 59.932609] lkdtm: atte[ 66.719823] RBP: 00007fe79bd79000 R08: 00007fe79bd78010 R09: 0000000000000000 [ 66.734003] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 66.741975] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 66.749953] irq event stamp: 0 mpting bad read at 00007f259255b000 # [ 59.938753] BUG: unabl[ 66.753388] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 66.766600] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 66.775762] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 66.784898] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 66.791899] ---[ end trace 6f9b28459bd778b2 ]--- [ 66.797055] lkdtm: Negative detected: saturated e to handle page fault for address: 00007f259255b000 # [ 59.946439] #PF: supervisor read access in kernel mode # [ 59.952175] #PF: error_code(0x0001) - permissions violation # [ 59.958388] PGD 8000000104020067 P4D 8000000104020067 PUD 104ea8067 PMD 103ed7067 PTE 113a6a067 # [ 59.968111] Oops: 0001 [#12] SMP PTI # [ 59.978310] CPU: 2 PID: 1896 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 59.986961] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 59.999980] RIP: 0010:lkdtm_ACCESS_USERSPACE.cold+0x41/0xa3 # [ 60.012417] Code: 00 00 00 75 64 48 83 c4 10 5d c3 cc cc cc cc 48 89 ee 48 c7 c7 90 d3 eb 9d e8 62 96 fd ff 48 c7 c7 b8 d3 eb 9d b8 de c0 de c0 <48> 03 45 00 48 89 04 24 e8 49 96 fd ff 48 89 ee 48 c7 c7 e0 d3 eb # [ 60.033400] RSP: 0018:ffff9a50425c7e48 EFLAGS: 00010246 # [ 60.045445] RAX: 00000000c0dec0de RBX: 0000000000000026 RCX: 0000000000000000 # [ 60.053414] RDX: 0000000000000000 RSI: ffff8debbad1bf70 RDI: ffffffff9debd3b8 # [ 60.061382] RBP: 00007f259255b000 R08: 0000000000000000 R09: 0000000000000000 # [ 60.069351] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000011 # [ 60.077320] R13: ffff9a50425c7f10 R14: ffff9a50425c7f10 R15: ffff8deb44021000 # [ 60.085289] FS: 00007f259252c580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 # [ 60.094326] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 60.100740] CR2: 00007f259255b000 CR3: 00000001055e8006 CR4: 00000000003706e0 # [ 60.108709] Call Trace: # [ 60.111439] direct_entry.cold+0x2c/0x38 # [ 60.115816] full_proxy_write+0x53/0x80 # [ 60.120120] vfs_write+0xe7/0x3a0 # [ 60.123818] ksys_write+0x68/0xf0 # [ 60.127515] do_syscall_64+0x30/0x40 # [ 60.131494] entry_SYSCALL_64_after_hwf[ 66.975774] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_NEGATIVE rame+0x61/0xc6 # [ 60.137124] RIP: 0033:0x7f2592442833 # [ [ 66.983737] lkdtm: attempting bad refcount_dec_and_test() below zero 60.141118] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff f[ 66.997054] ------------[ cut here ]------------ [ 67.008422] refcount_t: underflow; use-after-free. f ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01[ 67.013801] WARNING: CPU: 1 PID: 2269 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 e[ 67.029412] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify c 28 48 89 54 24 18 # [ 60.162117] RSP: 002b:00007ffeb0404448[ 67.062055] CPU: 1 PID: 2269 Comm: cat Tainted: G D W 5.10.163-cip24 #1 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 60.170571] R[ 67.076920] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 AX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f2592442833[ 67.089943] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 60.178540] RDX: 0000000000000011 RSI: 00007f2592335000 R[ 67.101997] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 DI: 0000000000000001 # [ 60.186507] RBP: 00007f2592335000 R08[ 67.129201] RSP: 0018:ffff9a5042b9fe40 EFLAGS: 00010286 : 00007f2592334010 R09: 0000000000000000 # [ 60.194474] R10: [ 67.141254] RAX: 0000000000000000 RBX: 0000000000000031 RCX: 0000000000000000 [ 67.155443] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 67.163418] RBP: ffffffff9debc148 R08: 0000000000000000 R09: 0000000000000000 [ 60.202442] R13: 0000000000000001 R14: 0000000000020000 R15: [ 67.177600] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f 0000000000020000 # [ 60.210414] Modules linked in: fuse ip_ta[ 67.191791] R13: ffff9a5042b9ff10 R14: ffff9a5042b9ff10 R15: ffff8deb45486000 bles cros_ec_sensors cros_ec_sensors_core industrialio_triggered[ 67.205985] FS: 00007fb6a1260580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 _buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cro[ 67.221239] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 s_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_the[ 67.233875] CR2: 00007fb6a1069000 CR3: 0000000104f00003 CR4: 00000000003706e0 rmal cros_ec_dev cros_usbpd_notify # [ 60.236873] CR2: 00007f[ 67.248061] Call Trace: 259255b000 # [ 60.246781] ---[ end trace 6f9b28459bd778a8 ]--[ 67.257013] __refcount_sub_and_test.constprop.0+0x3c/0x50 - # [ 60.251934] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 60.25630[ 67.269357] lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE+0x3e/0x78 8] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c[ 67.281797] direct_entry.cold+0x2c/0x38 0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44[ 67.292392] full_proxy_write+0x53/0x80 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c[ 67.302890] vfs_write+0xe7/0x3a0 0 85 93 02 # [ 60.277285] RSP: 0018:ffff9a5041447e60 EFLAGS: [ 67.312830] ksys_write+0x68/0xf0 00010286 # [ 60.283117] RAX: ffffffff9cce4090 RBX: 0000000000[ 67.322745] do_syscall_64+0x30/0x40 000001 RCX: 0000000000000000 # [ 60.291086] RDX: 000000000000[ 67.332935] entry_SYSCALL_64_after_hwframe+0x61/0xc6 0000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 60.29904[ 67.344792] RIP: 0033:0x7fb6a1176833 4] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 000000000000[ 67.355001] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 0001 # [ 60.307012] R10: 00000000ffffe000 R11: 3fffffffffffff[ 67.382204] RSP: 002b:00007fffc10c9c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 ff R12: 0000000000000004 # [ 60.314979] R13: ffff9a5041447f10[ 67.396879] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007fb6a1176833 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 60.322946] F[ 67.411070] RDX: 000000000000001f RSI: 00007fb6a1069000 RDI: 0000000000000001 S: 00007f259252c580(0000) GS:ffff8debbad00000(0000) knlGS:00000[ 67.425261] RBP: 00007fb6a1069000 R08: 00007fb6a1068010 R09: 0000000000000000 00000000000 # [ 60.331983] CS: 0010 DS: 0000 ES: 0000 CR0: 0[ 67.439452] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 000000080050033 # [ 60.338398] CR2: 00007f259255b000 CR3: 000[ 67.453643] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 00001055e8006 CR4: 00000000003706e0 # ACCESS_USERSPACE: saw 'ca[ 67.467838] irq event stamp: 0 ll trace:': ok ok 37 selftests: lkdtm: ACCESS_USERSPACE.sh # s[ 67.477460] hardirqs last enabled at (0): [<0000000000000000>] 0x0 elftests: lkdtm: ACCESS_NULL.sh # Killed # [ 60.459306] lkdt[ 67.490682] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 m: Performing direct entry ACCESS_NULL # [ 60.470243] lkdtm: [ 67.506037] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 attempting bad read at 0000000000000000 # [ 60.482593] BUG: k[ 67.521394] softirqs last disabled at (0): [<0000000000000000>] 0x0 ernel NULL pointer dereference, address: 0000000000000000 # [ [ 67.534614] ---[ end trace 6f9b28459bd778b3 ]--- 60.496574] #PF: supervisor read access in kernel mode # [ 60[ 67.545990] lkdtm: Negative detected: saturated .502323] #PF: error_code(0x0000) - not-present page # [ 60.508059] PGD 0 P4D 0 # [ 60.510884] Oops: 0000 [#13] SMP PTI # [ 60.521085] CPU: 1 PID: 1931 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 60.529734] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 60.536542] RIP: 0010:lkdtm_ACCESS_NULL+0x14/0x53 # [ 60.541795] Code: 06 96 fd ff be 00 10 00 00 48 89 ef e8 43 42 39 ff e9 69 ff ff ff 0f 1f 44 00 00 53 31 f6 48 c7 c7 90 d3 eb 9d e8 e0 95 fd ff <48> 8b 1c 25 00 00 00 00 b8 de c0 de c0 48 c7 c7 b8 d3 eb 9d 48 01 # [ 60.568991] RSP: 0018:ffff9a5042657e58 EFLAGS: 00010246 # [ 60.574816] RAX: 000000000000002e RBX: 0000000000000027 RCX: 0000000000000000 # [ 60.582787] RDX: 0000000000000000 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 # [ 60.590756] RBP: ffffffff9debc481 R08: 0000000000000000 R09: 0000000000000000 # [ 60.598725] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c # [ 60.606692] R13: ffff9a5042657f10 R14: ffff9a5042657f10 R15: ffff8deb43bc0000 # [ 60.614660] FS: 00007f8f1c90e580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 60.623695] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 60.630122] CR2: 0000000000000000 CR3: 0000000105c16004 CR4: 00000[ 67.680997] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_NEGATIVE [ 67.689157] lkdtm: attempting bad refcount_sub_and_test() below zero [ 67.696263] ------------[ cut here ]------------ [ 67.701427] refcount_t: underflow; use-after-free. [ 67.706788] WARNING: CPU: 3 PID: 2304 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 [ 67.716223] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 000003706e0 # [ 60.638111] Call Trace: # [ 60.640844] dir[ 67.742689] CPU: 3 PID: 2304 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 67.757552] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 67.764360] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 67.770198] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 [ 67.791185] RSP: 0018:ffff9a5042c17e40 EFLAGS: 00010286 ect_entry.cold+0x2c/0x38 # [ 60.645223] full_proxy_write+0x5[ 67.797024] RAX: 0000000000000000 RBX: 0000000000000032 RCX: 0000000000000000 [ 67.811213] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 67.819187] RBP: ffffffff9debc168 R08: 0000000000000000 R09: 0000000000000000 [ 67.827179] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f [ 67.835164] R13: ffff9a5042c17f10 R14: ffff9a5042c17f10 R15: ffff8deb43c23000 [ 67.843174] FS: 00007f2398f25580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 67.852236] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 3/0x80 # [ 60.655717] vfs_write+0xe7/0x3a0 # [ 60.659417][ 67.858668] CR2: 00007f2398d2e000 CR3: 00000001017f0004 CR4: 00000000003706e0 [ 67.872848] Call Trace: [ 67.875582] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 67.881740] lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE+0x3e/0x7b [ 67.887965] direct_entry.cold+0x2c/0x38 [ 67.892346] full_proxy_write+0x53/0x80 [ 67.896630] vfs_write+0xe7/0x3a0 [ 67.900355] ksys_write+0x68/0xf0 ksys_write+0x68/0xf0 # [ 60.669329] do_syscall_64+0x30/0x4[ 67.904056] do_syscall_64+0x30/0x40 [ 67.914263] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 67.919905] RIP: 0033:0x7f2398e3b833 [ 67.923896] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 67.944881] RSP: 002b:00007ffdc0ece838 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 67.953340] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f2398e3b833 [ 67.961312] RDX: 000000000000001f RSI: 00007f2398d2e000 RDI: 0000000000000001 [ 67.969283] RBP: 00007f2398d2e000 R08: 00007f2398d2d010 R09: 0000000000000000 [ 67.977255] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 67.985226] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 67.993201] irq event stamp: 0 [ 67.996638] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 68.003639] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 68.012775] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 68.021911] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 68.028911] ---[ end trace 6f9b28459bd778b4 ]--- [ 68.034067] lkdtm: Negative detected: saturated 0 # [ 60.673320] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 60.678958] RIP: 0033:0x7f8f1c824833 # [ 60.682946] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 60.703932] RSP: 002b:00007ffecc6229a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 60.712390] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007f8f1c824833 # [ 60.720360] RDX: 000000000000000c RSI: 00007f8f1c717000 RDI: 0000000000000001 # [ 60.728332] RBP: 00007f8f1c717000 R08: 00007f8f1c716010 R09: 0000000000000000 # [ 60.736299] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 60.744270] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 60.752243] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 60.784881] CR2: 0000000000000000 # [ 60.788580] ---[ end trace 6f9b28459bd778a9 ]--- # [ 60.793736] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 60.798118] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 60.819117] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 60.824941] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 60.832909] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 60.840878] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 60.84[ 68.206958] lkdtm: Performing direct entry REFCOUNT_INC_ZERO 8848] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000[ 68.219499] lkdtm: attempting safe refcount_inc_not_zero() from zero 0000004 # [ 60.856819] R13: ffff9a5041447f10 R14: ffff9a50414[ 68.232807] lkdtm: Good: zero detected 47f10 R15: ffff8deb44c94000 # [ 60.864790] FS: 00007f8f1c90e[ 68.243206] lkdtm: Correctly stayed at zero 580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ [ 68.254092] lkdtm: attempting bad refcount_inc() from zero 60.873826] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 68.266462] ------------[ cut here ]------------ # [ 60.880240] CR2: 0000000000000000 CR3: 0000000105c16004 CR4[ 68.277834] refcount_t: addition on 0; use-after-free. : 00000000003706e0 # [ 60.888209] BUG: sleeping function call[ 68.289820] WARNING: CPU: 1 PID: 2336 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 ed from invalid context at include/linux/percpu-rwsem.h:49 # [ [ 68.305436] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 60.898121] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, p[ 68.338104] CPU: 1 PID: 2336 Comm: cat Tainted: G D W 5.10.163-cip24 #1 id: 1931, name: cat # [ 60.906577] INFO: lockdep is turned of[ 68.352955] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 f. # [ 60.910954] irq event stamp: 0 # [ 60.914358] hardir[ 68.365983] RIP: 0010:refcount_warn_saturate+0x74/0x110 qs last enabled at (0): [<0000000000000000>] 0x0 # [ 60.9213[ 68.378036] Code: 01 01 e8 96 87 98 00 0f 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 9d c6 05 ca 02 94 01 01 e8 73 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 58] hardirqs last disabled at (0): [] copy_pro[ 68.405241] RSP: 0018:ffff9a5042c77e48 EFLAGS: 00010286 cess+0x664/0x1cb0 # [ 60.930494] softirqs last enabled at (0[ 68.417294] RAX: 0000000000000000 RBX: 0000000000000033 RCX: 0000000000000000 ): [] copy_process+0x664/0x1cb0 # [ 60.9396[ 68.431483] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 29] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [[ 68.445673] RBP: ffffffff9debc509 R08: 0000000000000000 R09: 0000000000000000 60.946619] CPU: 1 PID: 1931 Comm: cat Tainted: G D W [ 68.459865] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 5.10.163-cip24 #1 # [ 60.955267] Hardware name: Google R[ 68.474054] R13: ffff9a5042c77f10 R14: ffff9a5042c77f10 R15: ffff8deb42654000 ammus/Rammus, BIOS 09/04/2020 # [ 60.962071] Call Trace: # [ 68.488244] FS: 00007f47eca7b580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 60.964798] dump_stack+0x77/0x9b # [ 60.968498] ___might[ 68.503505] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 _sleep.cold+0xa6/0xb6 # [ 60.973072] exit_signals+0x1c/0x2e0[ 68.516143] CR2: 00007f47ec884000 CR3: 0000000103c30006 CR4: 00000000003706e0 # [ 60.977061] do_exit+0xc2/0xaf0 # [ 60.980565] ? ksys[ 68.530334] Call Trace: _write+0x68/0xf0 # [ 60.984456] rewind_stack_do_exit+0x17/0x[ 68.539303] lkdtm_REFCOUNT_INC_ZERO+0x99/0xc1 20 # [ 60.989126] RIP: 0033:0x7f8f1c824833 # [ 60.993117] [ 68.550486] direct_entry.cold+0x2c/0x38 Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b[ 68.561065] full_proxy_write+0x53/0x80 7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f[ 68.571560] vfs_write+0xe7/0x3a0 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 5[ 68.581478] ksys_write+0x68/0xf0 4 24 18 # [ 61.014124] RSP: 002b:00007ffecc6229a8 EFLAGS: 000[ 68.591399] do_syscall_64+0x30/0x40 00246 ORIG_RAX: 0000000000000001 # [ 61.022581] RAX: ffffffff[ 68.601608] entry_SYSCALL_64_after_hwframe+0x61/0xc6 ffffffda RBX: 000000000000000c RCX: 00007f8f1c824833 # [ 61.0[ 68.613471] RIP: 0033:0x7f47ec991833 30551] RDX: 000000000000000c RSI: 00007f8f1c717000 RDI: 00000000[ 68.623681] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 00000001 # [ 61.038521] RBP: 00007f8f1c717000 R08: 00007f8f1c[ 68.650884] RSP: 002b:00007ffe57ce57b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 716010 R09: 0000000000000000 # [ 61.046491] R10: ffffffffffff[ 68.665563] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f47ec991833 fbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 61.05446[ 68.679757] RDX: 0000000000000012 RSI: 00007f47ec884000 RDI: 0000000000000001 1] R13: 0000000000000001 R14: 0000000000020000 R15: 000000000002[ 68.693951] RBP: 00007f47ec884000 R08: 00007f47ec883010 R09: 0000000000000000 0000 # ACCESS_NULL: saw 'call trace:': ok ok 38 selftests: lkd[ 68.708145] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 tm: ACCESS_NULL.sh # selftests: lkdtm: WRITE_RO.sh # Killed #[ 68.722337] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 61.199994] lkdtm: Performing direct entry WRITE_RO # [ 6[ 68.736536] irq event stamp: 0 1.210843] lkdtm: attempting bad rodata write at ffffffff9dad1430[ 68.746158] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 61.223971] BUG: unable to handle page fault for address:[ 68.759381] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 ffffffff9dad1430 # [ 61.237852] #PF: supervisor write access[ 68.774738] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 in kernel mode # [ 61.243687] #PF: error_code(0x0003) - perm[ 68.790097] softirqs last disabled at (0): [<0000000000000000>] 0x0 issions violation # [ 61.249911] PGD 119e29067 P4D 119e29067 [ 68.803317] ---[ end trace 6f9b28459bd778b5 ]--- PUD 119e2a063 PMD 80000001198000e1 # [ 61.263909] Oops: 0003[ 68.803319] lkdtm: Zero detected: saturated [#14] SMP PTI # [ 61.267898] CPU: 1 PID: 1966 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 61.276548] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 61.289568] RIP: 0010:lkdtm_WRITE_RO+0x2e/0x3a # [ 61.294529] Code: 00 48 c7 c7 70 d2 eb 9d 48 c7 c6 30 14 ad 9d e8 8a 98 fd ff 48 8b 05 ed da 75 00 ba 34 12 cd ab 48 c7 c7 a0 d2 eb 9d 48 31 d0 <48> 89 05 d7 da 75 00 e9 68 98 fd ff 0f 1f 44 00 00 48 8b 05 c6 69 # [ 61.321723] RSP: 0018:ffff9a50426f7e60 EFLAGS: 00010202 # [ 61.327557] RAX: 000000000198b861 RBX: 0000000000000028 RCX: 0000000000000000 # [ 61.335517] RDX: 00000000abcd1234 RSI: ffff8debbac9bf70 RDI: ffffffff9debd2a0 # [ 61.343486] RBP: ffffffff9debc48d R08: 0000000000000000 R09: 0000000000000000 # [ 61.351457] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000009 # [ 61.359428] R13: ffff9a50426f7f10 R14: ffff9a50426f7f10 R15: ffff8deb45592000 # [ 61.367397] FS: 00007ff5bc789580(0000) GS:ffff8debbac80000(0000) knlGS:000000000000000[ 68.919370] lkdtm: Performing direct entry REFCOUNT_ADD_ZERO 0 # [ 61.376437] CS: 0010 DS: 0000 ES: 0000 CR0: 00000000800[ 68.931377] lkdtm: attempting safe refcount_add_not_zero() from zero 50033 # [ 61.382854] CR2: ffffffff9dad1430 CR3: 000000010330c[ 68.944693] lkdtm: Good: zero detected 005 CR4: 00000000003706e0 # [ 61.390815] Call Trace: # [ 6[ 68.955094] lkdtm: Correctly stayed at zero 1.393542] direct_entry.cold+0x2c/0x38 # [ 61.397924] full_p[ 68.966017] lkdtm: attempting bad refcount_add() from zero roxy_write+0x53/0x80 # [ 61.402207] vfs_write+0xe7/0x3a0 # [ 68.978378] ------------[ cut here ]------------ [ 61.412119] ksys_write+0x68/0xf0 # [ 61.415819] do_sysca[ 68.989754] refcount_t: addition on 0; use-after-free. ll_64+0x30/0x40 # [ 61.419810] entry_SYSCALL_64_after_hwfram[ 69.001714] WARNING: CPU: 0 PID: 2368 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 e+0x61/0xc6 # [ 61.425441] RIP: 0033:0x7ff5bc69f833 # [ 61[ 69.017361] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify .429431] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff f[ 69.050035] CPU: 0 PID: 2368 Comm: cat Tainted: G D W 5.10.163-cip24 #1 f ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00[ 69.064895] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 2[ 69.077955] RIP: 0010:refcount_warn_saturate+0x74/0x110 8 48 89 54 24 18 # [ 61.450409] RSP: 002b:00007ffd3e014188 EF[ 69.089984] Code: 01 01 e8 96 87 98 00 0f 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 9d c6 05 ca 02 94 01 01 e8 73 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 LAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 61.458865] RAX:[ 69.117199] RSP: 0018:ffff9a5042cf7e48 EFLAGS: 00010286 ffffffffffffffda RBX: 0000000000000009 RCX: 00007ff5bc69f833 #[ 69.129244] RAX: 0000000000000000 RBX: 0000000000000034 RCX: 0000000000000000 [ 61.466835] RDX: 0000000000000009 RSI: 00007ff5bc592000 RDI:[ 69.143444] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 0000000000000001 # [ 61.474805] RBP: 00007ff5bc592000 R08: 0[ 69.157607] RBP: ffffffff9debc51b R08: 0000000000000000 R09: 0000000000000000 0007ff5bc591010 R09: 0000000000000000 # [ 61.482774] R10: fff[ 69.171795] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 ffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ [ 69.185983] R13: ffff9a5042cf7f10 R14: ffff9a5042cf7f10 R15: ffff8deb44ea9000 61.490744] R13: 0000000000000001 R14: 0000000000020000 R15: 000[ 69.200178] FS: 00007fae93746580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 0000000020000 # [ 61.498718] Modules linked in: fuse ip_table[ 69.215428] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 s cros_ec_sensors cros_ec_sensors_core industrialio_triggered_bu[ 69.228067] CR2: 00007fae9354f000 CR3: 00000001028dc005 CR4: 00000000003706f0 ffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_e[ 69.242257] Call Trace: c_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_therma[ 69.251212] lkdtm_REFCOUNT_ADD_ZERO+0x99/0xc1 l cros_ec_dev cros_usbpd_notify # [ 61.531357] CR2: ffffffff9[ 69.262387] direct_entry.cold+0x2c/0x38 dad1430 # [ 61.535054] ---[ end trace 6f9b28459bd778aa ]--- [ 69.272995] full_proxy_write+0x53/0x80 # [ 61.540200] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 61.544576] [ 69.283489] vfs_write+0xe7/0x3a0 Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 e[ 69.293412] ksys_write+0x68/0xf0 a ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00[ 69.303317] do_syscall_64+0x30/0x40 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 8[ 69.313539] entry_SYSCALL_64_after_hwframe+0x61/0xc6 5 93 02 # [ 61.565559] RSP: 0018:ffff9a5041447e60 EFLAGS: 000[ 69.325390] RIP: 0033:0x7fae9365c833 10286 # [ 61.571392] RAX: ffffffff9cce4090 RBX: 0000000000000[ 69.335616] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 001 RCX: 0000000000000000 # [ 61.579362] RDX: 000000000000000[ 69.362803] RSP: 002b:00007ffe75f0ceb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 0 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 61.587331] [ 69.377507] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fae9365c833 RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 000000000000000[ 69.391685] RDX: 0000000000000012 RSI: 00007fae9354f000 RDI: 0000000000000001 1 # [ 61.595301] R10: 00000000ffffe000 R11: 3fffffffffffffff [ 69.405889] RBP: 00007fae9354f000 R08: 00007fae9354e010 R09: 0000000000000000 R12: 0000000000000004 # [ 61.603271] R13: ffff9a5041447f10 R1[ 69.420060] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 4: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 61.611241] FS: [ 69.434246] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 00007ff5bc789580(0000) GS:ffff8debbac80000(0000) knlGS:00000000[ 69.448426] irq event stamp: 0 00000000 # [ 61.620281] CS: 0010 DS: 0000 ES: 0000 CR0: 0000[ 69.458054] hardirqs last enabled at (0): [<0000000000000000>] 0x0 000080050033 # [ 61.626697] CR2: ffffffff9dad1430 CR3: 000000[ 69.471270] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 010330c005 CR4: 00000000003706e0 # WRITE_RO: saw 'call trace:':[ 69.486627] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 ok ok 39 selftests: lkdtm: WRITE_RO.sh # selftests: lkdtm: WR[ 69.501995] softirqs last disabled at (0): [<0000000000000000>] 0x0 ITE_RO_AFTER_INIT.sh # Killed # [ 61.759947] lkdtm: Performi[ 69.515209] ---[ end trace 6f9b28459bd778b6 ]--- ng direct entry WRITE_RO_AFTER_INIT # [ 61.771719] lkdtm: att[ 69.526585] lkdtm: Zero detected: saturated empting bad ro_after_init write at ffffffff9df3a330 # [ 61.785537] BUG: unable to handle page fault for address: ffffffff9df3a330 # [ 61.799406] #PF: supervisor write access in kernel mode # [ 61.805241] #PF: error_code(0x0003) - permissions violation # [ 61.811464] PGD 119e29067 P4D 119e29067 PUD 119e2a063 PMD 1049ee063 PTE 8000000119d3a061 # [ 61.826722] Oops: 0003 [#15] SMP PTI # [ 61.830712] CPU: 1 PID: 2001 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 61.839363] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 61.846186] RIP: 0010:lkdtm_WRITE_RO_AFTER_INIT+0x4e/0x5a # [ 61.852217] Code: d2 eb 9d e9 3c 98 fd ff 48 c7 c7 f8 d2 eb 9d e8 30 98 fd ff 48 8b 05 93 69 bc 00 ba 34 12 cd ab 48 c7 c7 a0 d2 eb 9d 48 31 d0 <48> 89 05 7d 69 bc 00 e9 0e 98 fd ff 0f 1f 44 00 00 41 54 48 c7 c7 # [ 61.879417] RSP: 0018:ffff9a504279fe60 EFLAGS: 00010202 # [ 61.885252] RAX: 00000000fe67479e RBX: 0000000000000029 RCX: 0000000000000000 # [ 61.893213] RDX: 00000000abcd1234 RSI: ffff8debbac9bf70 RDI: ffffffff9debd2a0 # [ 61.901185] RBP: ffffffff9debc496 R08: 0000000000000000 R09: 0000000000000000 # [ 61.909171] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000014 # [ 61.917142] R13: ffff9a504279ff1[ 69.660161] lkdtm: Performing direct entry REFCOUNT_INC_SATURATED 0 R14: ffff9a504279ff10 R15: ffff8deb44c7f000 # [ 61.925117] [ 69.668655] lkdtm: attempting bad refcount_inc() from saturated FS: 00007fbd7bf53580(0000) GS:ffff8debbac80000(0000) knlGS:0000[ 69.681491] ------------[ cut here ]------------ 000000000000 # [ 61.934171] CS: 0010 DS: 0000 ES: 0000 CR0: [ 69.692864] refcount_t: saturated; leaking memory. 0000000080050033 # [ 61.940587] CR2: ffffffff9df3a330 CR3: 00[ 69.704464] WARNING: CPU: 1 PID: 2403 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 00000104fb2002 CR4: 00000000003706e0 # [ 61.948556] Call Trac[ 69.720080] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify e: # [ 61.951284] direct_entry.cold+0x2c/0x38 # [ 61.9556[ 69.752729] CPU: 1 PID: 2403 Comm: cat Tainted: G D W 5.10.163-cip24 #1 56] full_proxy_write+0x53/0x80 # [ 61.959939] vfs_write+0xe[ 69.767600] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 7/0x3a0 # [ 61.969850] ksys_write+0x68/0xf0 # [ 61.973550[ 69.780624] RIP: 0010:refcount_warn_saturate+0x51/0x110 ] do_syscall_64+0x30/0x40 # [ 61.977539] entry_SYSCALL_64_a[ 69.792679] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c7 c7 a8 7c e5 9d c6 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 fter_hwframe+0x61/0xc6 # [ 61.983173] RIP: 0033:0x7fbd7be6983[ 69.819885] RSP: 0018:ffff9a5042d77e48 EFLAGS: 00010286 3 # [ 61.987168] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7[ 69.831945] RAX: 0000000000000000 RBX: 0000000000000035 RCX: 0000000000000000 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 [ 69.846135] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00[ 69.860321] RBP: ffffffff9debc52d R08: 0000000000000000 R09: 0000000000000000 48 83 ec 28 48 89 54 24 18 # [ 62.008165] RSP: 002b:00007ffc[ 69.874512] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 83ed81a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 62.0[ 69.888707] R13: ffff9a5042d77f10 R14: ffff9a5042d77f10 R15: ffff8deb44cc3000 16621] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007fbd[ 69.902900] FS: 00007f56956a7580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 7be69833 # [ 62.024591] RDX: 0000000000000014 RSI: 00007fbd7b[ 69.918180] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 d5c000 RDI: 0000000000000001 # [ 62.032560] RBP: 00007fbd7bd5[ 69.930817] CR2: 00007f56954b0000 CR3: 0000000105470001 CR4: 00000000003706e0 c000 R08: 00007fbd7bd5b010 R09: 0000000000000000 # [ 62.04052[ 69.945009] Call Trace: 9] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 000000000000[ 69.953958] lkdtm_REFCOUNT_INC_SATURATED+0x3c/0x64 0001 # [ 62.048498] R13: 0000000000000001 R14: 00000000000200[ 69.965621] direct_entry.cold+0x2c/0x38 00 R15: 0000000000020000 # [ 62.056473] Modules linked in: fu[ 69.976217] full_proxy_write+0x53/0x80 se ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_t[ 69.986718] vfs_write+0xe7/0x3a0 riggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_cha[ 69.996636] ksys_write+0x68/0xf0 rdev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_[ 70.006554] do_syscall_64+0x30/0x40 temp_thermal cros_ec_dev cros_usbpd_notify # [ 62.089132] CR2[ 70.016761] entry_SYSCALL_64_after_hwframe+0x61/0xc6 : ffffffff9df3a330 # [ 62.092831] ---[ end trace 6f9b28459bd7[ 70.028621] RIP: 0033:0x7f56955bd833 78ab ]--- # [ 62.097987] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ [ 70.038828] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 62.102365] Code: 89 ff e8 de 6a a3 ff 48 c7 c0 ea ff ff ff eb de[ 70.066034] RSP: 002b:00007ffe26db3e28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 [ 70.080714] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f56955bd833 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00[ 70.094906] RDX: 0000000000000017 RSI: 00007f56954b0000 RDI: 0000000000000001 83 05 c0 85 93 02 # [ 62.123342] RSP: 0018:ffff9a5041447e60 [ 70.109098] RBP: 00007f56954b0000 R08: 00007f56954af010 R09: 0000000000000000 EFLAGS: 00010286 # [ 62.129186] RAX: ffffffff9cce4090 RBX: 00[ 70.123313] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 00000000000001 RCX: 0000000000000000 # [ 62.137176] RDX: 0000[ 70.137504] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ [ 70.151699] irq event stamp: 0 62.151360] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000[ 70.161321] hardirqs last enabled at (0): [<0000000000000000>] 0x0 000000000001 # [ 62.159328] R10: 00000000ffffe000 R11: 3fffff[ 70.174541] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 ffffffffff R12: 0000000000000004 # [ 62.167298] R13: ffff9a50[ 70.189897] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 41447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 62.1[ 70.205254] softirqs last disabled at (0): [<0000000000000000>] 0x0 75269] FS: 00007fbd7bf53580(0000) GS:ffff8debbac80000(0000) knl[ 70.218474] ---[ end trace 6f9b28459bd778b7 ]--- GS:0000000000000000 # [ 62.184308] CS: 0010 DS: 0000 ES: 000[ 70.229849] lkdtm: Saturation detected: still saturated 0 CR0: 0000000080050033 # [ 62.190721] CR2: ffffffff9df3a330 CR3: 0000000104fb2002 CR4: 00000000003706e0 # [ 62.198693] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 62.208598] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 2001, name: cat # [ 62.217052] INFO: lockdep is turned off. # [ 62.221429] irq event stamp: 0 # [ 62.224836] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 62.231826] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 62.240953] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 62.250089] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 62.257121] CPU: 1 PID: 2001 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 62.265770] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 62.272574] Call Trace: # [ 62.275302] dump_stack+0x77/0x9b # [ 62.279004] ___might_sleep.cold+0xa6/0xb6 # [ 62.289790] exit_signals+0x1c/0x2e0 # [ 62.293781] do_exit+0xc2/0xaf0 # [ 62.297285] ? ksys_write+0x68/0xf0 # [ 62.301178] rewind_stack_do_exit+0x17/0x20 # [ 62.305848] RIP: 0033:0x7fbd7be69833 # [ 62.316052] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c[ 70.366340] lkdtm: Performing direct entry REFCOUNT_DEC_SATURATED 0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f [ 70.379230] lkdtm: attempting bad refcount_dec() from saturated 40 00 48 83 ec 28 48 89 54 24 18 # [ 62.337035] RSP: 002b:000[ 70.392059] ------------[ cut here ]------------ 07ffc83ed81a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ [ 70.403429] refcount_t: decrement hit 0; leaking memory. 62.345491] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 000[ 70.415610] WARNING: CPU: 1 PID: 2438 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 07fbd7be69833 # [ 62.353460] RDX: 0000000000000014 RSI: 00007[ 70.431231] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify fbd7bd5c000 RDI: 0000000000000001 # [ 62.361431] RBP: 00007fb[ 70.463900] CPU: 1 PID: 2438 Comm: cat Tainted: G D W 5.10.163-cip24 #1 d7bd5c000 R08: 00007fbd7bd5b010 R09: 0000000000000000 # [ 62.[ 70.478749] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 369403] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000[ 70.491771] RIP: 0010:refcount_warn_saturate+0xfb/0x110 000000001 # [ 62.377373] R13: 0000000000000001 R14: 000000000[ 70.503823] Code: 58 7d e5 9d c6 05 5a 02 94 01 01 e8 06 87 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 28 7d e5 9d c6 05 41 02 94 01 01 e8 ec 86 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b 0020000 R15: 0000000000020000 # WRITE_RO_AFTER_INIT: saw 'call [ 70.531031] RSP: 0018:ffff9a5042e0fe48 EFLAGS: 00010286 trace:': ok ok 40 selftests: lkdtm: WRITE_RO_AFTER_INIT.sh # s[ 70.543086] RAX: 0000000000000000 RBX: 0000000000000036 RCX: 0000000000000000 elftests: lkdtm: WRITE_KERN.sh # Killed # [ 62.554225] lkdtm[ 70.557276] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 : Performing direct entry WRITE_KERN # [ 62.565017] lkdtm: at[ 70.571468] RBP: ffffffff9debc544 R08: 0000000000000000 R09: 0000000000000000 tempting bad 6878301 byte write at ffffffff9d3738bd # [ 62.57[ 70.585662] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 8727] BUG: unable to handle page fault for address: ffffffff9d37[ 70.599855] R13: ffff9a5042e0ff10 R14: ffff9a5042e0ff10 R15: ffff8deb43ea8000 38bd # [ 62.592613] #PF: supervisor write access in kernel mo[ 70.614046] FS: 00007f14186e9580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 [ 70.629305] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 de # [ 62.598447] #PF: error_code(0x0003) - permissions viola[ 70.635726] CR2: 00007f14184f2000 CR3: 0000000104e78004 CR4: 00000000003706e0 [ 70.649910] Call Trace: tion # [ 62.604669] PGD 119e29067 P4D 119e29067 PUD 119e2a063[ 70.652644] lkdtm_REFCOUNT_DEC_SATURATED+0x37/0x5f PMD 1190000e1 # [ 62.611768] Oops: 0003 [#16] SMP PTI # [ [ 70.664306] direct_entry.cold+0x2c/0x38 62.621971] CPU: 1 PID: 2036 Comm: cat Tainted: G D W [ 70.674904] full_proxy_write+0x53/0x80 5.10.163-cip24 #1 # [ 62.630622] Hardware name: Google Ra[ 70.685403] vfs_write+0xe7/0x3a0 mmus/Rammus, BIOS 09/04/2020 # [ 62.637429] RIP: 0010:lkdtm_[ 70.695319] ksys_write+0x68/0xf0 WRITE_KERN+0x38/0x4e # [ 62.642584] Code: 53 48 c7 c3 bd 38 3[ 70.705234] do_syscall_64+0x30/0x40 7 9d 49 89 dc 48 89 da 49 81 ec 60 44 ce 9c 4c 89 e6 e8 e3 97 fd[ 70.715442] entry_SYSCALL_64_after_hwframe+0x61/0xc6 ff 48 89 df 4c 89 e1 48 c7 c6 60 44 ce 9c a4 48 c7 c7 a0 d[ 70.727303] RIP: 0033:0x7f14185ff833 2 eb 9d e8 c8 97 fd ff 5b 41 5c e9 b7 fe ff ff # [ 62.663560][ 70.737512] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 RSP: 0018:ffff9a5042817e50 EFLAGS: 00010246 # [ 62.669394] R[ 70.764716] RSP: 002b:00007ffc6415c738 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 AX: 000000000000003c RBX: ffffffff9d3738bd RCX: 000000000068f45d[ 70.779394] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f14185ff833 # [ 62.677365] RDX: 0000000000000000 RSI: ffffffff9cce4460 R[ 70.793586] RDX: 0000000000000017 RSI: 00007f14184f2000 RDI: 0000000000000001 DI: ffffffff9d3738bd # [ 62.685328] RBP: ffffffff9debc4aa R08[ 70.807778] RBP: 00007f14184f2000 R08: 00007f14184f1010 R09: 0000000000000000 : 0000000000000000 R09: 0000000000000000 # [ 62.693297] R10: [ 70.821971] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000068f45d # [ 70.836179] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 62.701268] R13: ffff9a5042817f10 R14: ffff9a5042817f10 R15: [ 70.850376] irq event stamp: 0 ffff8deb43f8e000 # [ 62.709239] FS: 00007f6aa9059580(0000) G[ 70.859997] hardirqs last enabled at (0): [<0000000000000000>] 0x0 S:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 62.718279[ 70.873219] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 ] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 62.72[ 70.888577] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 4694] CR2: ffffffff9d3738bd CR3: 0000000104e00003 CR4: 000000000[ 70.903935] softirqs last disabled at (0): [<0000000000000000>] 0x0 03706e0 # [ 62.732666] Call Trace: # [ 62.735394] direct_[ 70.917173] ---[ end trace 6f9b28459bd778b8 ]--- entry.cold+0x2c/0x38 # [ 62.739773] full_proxy_write+0x53/0x[ 70.928549] lkdtm: Saturation detected: still saturated 80 # [ 62.750266] vfs_write+0xe7/0x3a0 # [ 62.753966] ksys_write+0x68/0xf0 # [ 62.757663] do_syscall_64+0x30/0x40 # [ 62.761653] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 62.767293] RIP: 0033:0x7f6aa8f6f833 # [ 62.771282] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 62.792265] RSP: 002b:00007ffd61fa6378 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 62.800722] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f6aa8f6f833 # [ 62.808693] RDX: 000000000000000b RSI: 00007f6aa8e62000 RDI: 0000000000000001 # [ 62.816663] RBP: 00007f6aa8e62000 R08: 00007f6aa8e61010 R09: 0000000000000000 # [ 62.824633] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 62.832604] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 62.840578] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 62.873221] CR2: ffffffff9d3738bd # [ 62.[ 71.061711] lkdtm: Performing direct entry REFCOUNT_ADD_SATURATED [ 71.071805] lkdtm: attempting bad refcount_dec() from saturated [ 71.078429] ------------[ cut here ]------------ [ 71.083593] refcount_t: saturated; leaking memory. [ 71.088960] WARNING: CPU: 2 PID: 2473 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 [ 71.098398] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 876920] ---[ end trace 6f9b28459bd778ac ]--- # [ 62.882077] R[ 71.124864] CPU: 2 PID: 2473 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 71.139727] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 71.146537] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 71.152376] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c7 c7 a8 7c e5 9d c6 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 [ 71.173363] RSP: 0018:ffff9a5042ea7e48 EFLAGS: 00010286 [ 71.179200] RAX: 0000000000000000 RBX: 0000000000000037 RCX: 0000000000000000 [ 71.187175] RDX: ffff8debbad2c660 RSI: ffff8debbad1bf70 RDI: ffff8debbad1bf70 IP: 0010:lkdtm_BUG+0x5/0x10 # [ 62.886456] Code: 89 ff e8 de [ 71.195152] RBP: ffffffff9debc55b R08: 0000000000000000 R09: 0000000000000000 [ 71.209342] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 [ 71.217349] R13: ffff9a5042ea7f10 R14: ffff9a5042ea7f10 R15: ffff8deb44ed4000 [ 71.225325] FS: 00007f04a5d0f580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 [ 71.234398] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.240819] CR2: 00007f04a5b18000 CR3: 00000001027c6002 CR4: 00000000003706e0 [ 71.248817] Call Trace: 6a a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc c[ 71.251568] lkdtm_REFCOUNT_ADD_SATURATED+0x3c/0x64 [ 71.263218] direct_entry.cold+0x2c/0x38 [ 71.267624] full_proxy_write+0x53/0x80 [ 71.271939] vfs_write+0xe7/0x3a0 [ 71.275675] ksys_write+0x68/0xf0 [ 71.279383] do_syscall_64+0x30/0x40 [ 71.283378] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 71.289051] RIP: 0033:0x7f04a5c25833 [ 71.293045] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 71.314035] RSP: 002b:00007ffc585e7328 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 71.322496] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f04a5c25833 [ 71.330471] RDX: 0000000000000017 RSI: 00007f04a5b18000 RDI: 0000000000000001 [ 71.338447] RBP: 00007f04a5b18000 R08: 00007f04a5b17010 R09: 0000000000000000 [ 71.346421] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 71.354396] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 71.362392] irq event stamp: 0 c cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f [ 71.365813] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 71.379024] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 71.388178] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 71.397320] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 71.404323] ---[ end trace 6f9b28459bd778b9 ]--- [ 71.409480] lkdtm: Saturation detected: still saturated 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 c0 85 93 02 # [ 62.907435] RSP: 0018:ffff9a5041447e60 EFLAGS: 00010286 # [ 62.913267] RAX: ffffffff9cce4090 RBX: 0000000000000001 RCX: 0000000000000000 # [ 62.921237] RDX: 0000000000000000 RSI: ffff8debbac1bf70 RDI: ffffffff9dad0fb0 # [ 62.929206] RBP: ffffffff9df17a00 R08: 0000000000000001 R09: 0000000000000001 # [ 62.937176] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 62.945164] R13: ffff9a5041447f10 R14: ffff9a5041447f10 R15: ffff8deb44c94000 # [ 62.953135] FS: 00007f6aa9059580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 62.962175] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 62.968592] CR2: ffffffff9d3738bd CR3: 0000000104e00003 CR4: 00000000003706e0 # WRITE_KERN: saw 'call trace:': ok ok 41 selftests: lkdtm: WRITE_KERN.sh # selftests: lkdtm: REFCOUNT_INC_OVERFLOW.sh # [ 63.100580] lkdtm: Performing direct entry REFCOUNT_INC_OVERFLOW # [ 63.107607] lkdtm: attempting good refcount_inc() without overflow # [ 63.114542] lkdtm: attempting bad refcount_inc() overflow # [ 63.120587] ------------[ cut here ]------------ # [ 63.125754] refcount_t: saturated; leaking memory. # [ 63.131120] WARNING: CPU: 3 PID: 2071 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 63.140558] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_e[ 71.553388] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_SATURATED [ 71.565999] lkdtm: attempting bad refcount_inc_not_zero() from saturated [ 71.573515] ------------[ cut here ]------------ c_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec[ 71.578682] refcount_t: saturated; leaking memory. _sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify #[ 71.590258] WARNING: CPU: 3 PID: 2505 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 [ 71.605890] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 63.173192] CPU: 3 PID: 2071 Comm: cat Tainted: G D W [ 71.632360] CPU: 3 PID: 2505 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 71.647244] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 5.10.163-cip24 #1 # [ 63.181868] Hardware name: Google[ 71.654069] RIP: 0010:refcount_warn_saturate+0x97/0x110 Rammus/Rammus, BIOS 09/04/2020 # [ 63.188676] RIP: 0010:ref[ 71.666122] Code: 01 01 e8 73 87 98 00 0f 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 [ 71.693329] RSP: 0018:ffff9a5042eefe38 EFLAGS: 00010282 [ 71.699189] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 [ 71.707192] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 71.715174] RBP: ffffffff9debc188 R08: 0000000000000000 R09: 0000000000000000 [ 71.723164] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 [ 71.731181] R13: ffff9a5042eeff10 R14: ffff9a5042eeff10 R15: ffff8deb456fc000 [ 71.739172] FS: 00007f394ae12580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 71.748246] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 71.754667] CR2: 00007f394ac1b000 CR3: 0000000103f8e005 CR4: 00000000003706e0 [ 71.762641] Call Trace: [ 71.765376] __refcount_add_not_zero.constprop.0+0x2a/0x35 count_warn_saturate+0x51/0x110 # [ 63.194512] Code: 84 bc 00 [ 71.771534] lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED+0x3e/0x76 [ 71.784066] direct_entry.cold+0x2c/0x38 [ 71.788455] full_proxy_write+0x53/0x80 [ 71.792742] vfs_write+0xe7/0x3a0 [ 71.796473] ksys_write+0x68/0xf0 [ 71.800183] do_syscall_64+0x30/0x40 [ 71.804206] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 71.809852] RIP: 0033:0x7f394ad28833 [ 71.813874] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 71.834865] RSP: 002b:00007ffd09351548 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 71.843348] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f394ad28833 [ 71.851322] RDX: 0000000000000020 RSI: 00007f394ac1b000 RDI: 0000000000000001 [ 71.859296] RBP: 00007f394ac1b000 R08: 00007f394ac1a010 R09: 0000000000000000 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c[ 71.867273] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 71.881462] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 7 c7 a8 7c e5 9d c6 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 [ 71.889445] irq event stamp: 0 [ 71.899061] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 71.906064] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 71.915203] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 71.924342] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 71.931343] ---[ end trace 6f9b28459bd778ba ]--- [ 71.936500] lkdtm: Saturation detected: still saturated cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 # [ 63.215496] RSP: 0018:ffff9a50428c7e48 EFLAGS: 00010286 # [ 63.221332] RAX: 0000000000000000 RBX: 000000000000002b RCX: 0000000000000000 # [ 63.229305] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 63.237279] RBP: ffffffff9debc4b5 R08: 0000000000000000 R09: 0000000000000000 # [ 63.251469] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 63.265656] R13: ffff9a50428c7f10 R14: ffff9a50428c7f10 R15: ffff8deb43320000 # [ 63.273631] FS: 00007f5e06d5e580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 63.288881] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 63.295298] CR2: 00007f5e06b67000 CR3: 00000001056ca002 CR4: 00000000003706e0 # [ 63.303270] Call Trace: # [ 63.306000] lkdtm_REFCOUNT_INC_OVERFLOW+0x70/0x98 # [ 63.311381] direct_entry.cold+0x2c/0x38 # [ 63.315786] full_proxy_write+0x53/0x80 # [ 63.320094] vfs_write+0xe7/0x3a0 # [ 63.323818] ksys_write+0x68/0xf0 # [ 63.327534] do_syscall_64+0x30/0x40 # [ 63.337729] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 63.343372] RIP: 0033:0x7f5e06c74833 # [ 63.347363] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 1[ 72.078548] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_SATURATED 8 # [ 63.368346] RSP: 002b:00007fff4aa65158 EFLAGS: 00000246 [ 72.086946] lkdtm: attempting bad refcount_add_not_zero() from saturated ORIG_RAX: 0000000000000001 # [ 63.376805] RAX: ffffffffffffff[ 72.100655] ------------[ cut here ]------------ da RBX: 0000000000000016 RCX: 00007f5e06c74833 # [ 63.384777][ 72.112028] refcount_t: saturated; leaking memory. RDX: 0000000000000016 RSI: 00007f5e06b67000 RDI: 00000000000000[ 72.123654] WARNING: CPU: 0 PID: 2537 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 01 # [ 63.392750] RBP: 00007f5e06b67000 R08: 00007f5e06b66010[ 72.139266] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify R09: 0000000000000000 # [ 63.400722] R10: fffffffffffffbc5 R[ 72.171917] CPU: 0 PID: 2537 Comm: cat Tainted: G D W 5.10.163-cip24 #1 11: 0000000000000246 R12: 0000000000000001 # [ 63.408693] R13[ 72.186796] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 : 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 72.199864] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 63.416670] irq event stamp: 0 # [ 63.420104] hardirqs l[ 72.211908] Code: 01 01 e8 73 87 98 00 0f 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 ast enabled at (0): [<0000000000000000>] 0x0 # [ 63.433316] [ 72.239204] RSP: 0018:ffff9a5042e57e38 EFLAGS: 00010282 hardirqs last disabled at (0): [] copy_process[ 72.251251] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 +0x664/0x1cb0 # [ 63.442455] softirqs last enabled at (0): [[ 72.265444] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 ] copy_process+0x664/0x1cb0 # [ 63.451594] [ 72.279628] RBP: ffffffff9debc1a8 R08: 0000000000000000 R09: 0000000000000000 softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 6[ 72.293845] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 3.458595] ---[ end trace 6f9b28459bd778ad ]--- # [ 63.463751][ 72.308058] R13: ffff9a5042e57f10 R14: ffff9a5042e57f10 R15: ffff8deb431bd000 lkdtm: Overflow detected: saturated # REFCOUNT_INC_OVERFLOW: s[ 72.322286] FS: 00007fa8ffe75580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 aw 'call trace:': ok ok 42 selftests: lkdtm: REFCOUNT_INC_OVERF[ 72.337598] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 LOW.sh # selftests: lkdtm: REFCOUNT_ADD_OVERFLOW.sh # [ 63.5[ 72.350279] CR2: 00007fa8ffc7e000 CR3: 0000000103304001 CR4: 00000000003706f0 93003] lkdtm: Performing direct entry REFCOUNT_ADD_OVERFLOW # [[ 72.364514] Call Trace: 63.599874] lkdtm: attempting good refcount_add() without over[ 72.373478] __refcount_add_not_zero.constprop.0+0x2a/0x35 flow # [ 63.612999] lkdtm: attempting bad refcount_add() over[ 72.385828] lkdtm_REFCOUNT_ADD_NOT_ZERO_SATURATED+0x3e/0x76 flow # [ 63.625241] ------------[ cut here ]------------ # [[ 72.398384] direct_entry.cold+0x2c/0x38 63.636612] refcount_t: saturated; leaking memory. # [ 63.6[ 72.409019] full_proxy_write+0x53/0x80 41973] WARNING: CPU: 1 PID: 2103 at lib/refcount.c:22 refcount_w[ 72.419590] vfs_write+0xe7/0x3a0 arn_saturate+0x51/0x110 # [ 63.657604] Modules linked in: fus[ 72.429431] ksys_write+0x68/0xf0 e ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_tr[ 72.439368] do_syscall_64+0x30/0x40 iggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_char[ 72.449609] entry_SYSCALL_64_after_hwframe+0x61/0xc6 dev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_t[ 72.461461] RIP: 0033:0x7fa8ffd8b833 emp_thermal cros_ec_dev cros_usbpd_notify # [ 63.690267] CPU:[ 72.471663] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 1 PID: 2103 Comm: cat Tainted: G D W 5.10.163-cip2[ 72.498888] RSP: 002b:00007ffc671e7568 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 4 #1 # [ 63.705131] Hardware name: Google Rammus/Rammus, BIOS[ 72.513583] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007fa8ffd8b833 09/04/2020 # [ 63.718150] RIP: 0010:refcount_warn_saturate+[ 72.527778] RDX: 0000000000000020 RSI: 00007fa8ffc7e000 RDI: 0000000000000001 0x51/0x110 # [ 63.730201] Code: 84 bc 00 00 00 c3 cc cc cc cc[ 72.541995] RBP: 00007fa8ffc7e000 R08: 00007fa8ffc7d010 R09: 0000000000000000 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c7 c7 a8 7c e5 9d c6 [ 72.556210] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d da[ 72.570406] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 # [ 63.751185] RSP: 0018[ 72.584614] irq event stamp: 0 :ffff9a504292fe48 EFLAGS: 00010286 # [ 63.763230] RAX: 000000[ 72.594247] hardirqs last enabled at (0): [<0000000000000000>] 0x0 0000000000 RBX: 000000000000002c RCX: 0000000000000000 # [ 63[ 72.607489] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 .771203] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8d[ 72.622846] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 ebbac9bf70 # [ 63.785387] RBP: ffffffff9debc4cb R08: 00000000[ 72.638213] softirqs last disabled at (0): [<0000000000000000>] 0x0 00000000 R09: 0000000000000000 # [ 63.793361] R10: 00000000ff[ 72.651452] ---[ end trace 6f9b28459bd778bb ]--- ffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 63.807[ 72.662831] lkdtm: Saturation detected: still saturated 543] R13: ffff9a504292ff10 R14: ffff9a504292ff10 R15: ffff8deb4330e000 # [ 63.815519] FS: 00007efdd070d580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 63.830768] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 63.837188] CR2: 00007efdd0516000 CR3: 0000000103390001 CR4: 00000000003706e0 # [ 63.851370] Call Trace: # [ 63.854127] lkdtm_REFCOUNT_ADD_OVERFLOW+0x7f/0xa7 # [ 63.865684] direct_entry.cold+0x2c/0x38 # [ 63.876278] full_proxy_write+0x53/0x80 # [ 63.886776] vfs_write+0xe7/0x3a0 # [ 63.896690] ksys_write+0x68/0xf0 # [ 63.906610] do_syscall_64+0x30/0x40 # [ 63.916816] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 63.928674] RIP: 0033:0x7efdd0623833 # [ 63.938880] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 63.959868] RSP: 002b:00007ffdcb6d3ae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 63.974537] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007efdd0623833 # [ 63.982512] RDX: 0000000000000016 RSI: 00007efdd0516000 RDI: 0000000000000001 # [ 63.996695] RBP: 00007efdd0516000 R08: 00007efdd0515010 R09: 00000000000000[ 72.796231] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_SATURATED [ 72.806949] lkdtm: attempting bad refcount_dec_and_test() from saturated [ 72.814446] ------------[ cut here ]------------ 00 # [ 64.004670] R10: fffffffffffffbc5 R11: 0000000000000246[ 72.819615] refcount_t: underflow; use-after-free. R12: 0000000000000001 # [ 64.018852] R13: 0000000000000001 R[ 72.831190] WARNING: CPU: 3 PID: 2572 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 14: 0000000000020000 R15: 0000000000020000 # [ 64.026848] irq[ 72.846825] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 72.879476] CPU: 3 PID: 2572 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 72.888200] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 event stamp: 0 # [ 64.036444] hardirqs last enabled at (0):[ 72.895022] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 72.907066] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 [ 72.928057] RSP: 0018:ffff9a5043007e40 EFLAGS: 00010286 [ 72.933895] RAX: 0000000000000000 RBX: 000000000000003a RCX: 0000000000000000 [ 72.941868] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 [ 72.949841] RBP: ffffffff9debc1c8 R08: 0000000000000000 R09: 0000000000000000 [ 72.957814] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 [ 72.965787] R13: ffff9a5043007f10 R14: ffff9a5043007f10 R15: ffff8deb42674000 [ 72.973763] FS: 00007f4fbd0a5580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 [ 72.982804] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.989223] CR2: 00007f4fbceae000 CR3: 0000000104ed6005 CR4: 00000000003706e0 [ 72.997197] Call Trace: [ 72.999928] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 73.006090] lkdtm_REFCOUNT_DEC_AND_TEST_SATURATED+0x3e/0x76 [ 73.012442] direct_entry.cold+0x2c/0x38 [ 73.016823] full_proxy_write+0x53/0x80 [ 73.021133] vfs_write+0xe7/0x3a0 [ 73.024840] ksys_write+0x68/0xf0 [ 73.028543] do_syscall_64+0x30/0x40 [ 73.032535] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 73.038179] RIP: 0033:0x7f4fbcfbb833 [ 73.042181] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 73.063168] RSP: 002b:00007fff452407b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.071628] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f4fbcfbb833 [ 73.079602] RDX: 0000000000000020 RSI: 00007f4fbceae000 RDI: 0000000000000001 [ 73.087574] RBP: 00007f4fbceae000 R08: 00007f4fbcead010 R09: 0000000000000000 [ 73.095549] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 73.103522] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [<0000000000000000>] 0x0 # [ 64.043450] hardirqs last disabl[ 73.111502] irq event stamp: 0 ed at (0): [] copy_process+0x664/0x1cb0 # [ [ 73.121121] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 73.134342] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 73.143504] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 73.152644] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 73.159646] ---[ end trace 6f9b28459bd778bc ]--- [ 73.164804] lkdtm: Saturation detected: still saturated 64.058796] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 64.067937] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 64.081147] ---[ end trace 6f9b28459bd778ae ]--- # [ 64.086305] lkdtm: Overflow detected: saturated # REFCOUNT_ADD_OVERFLOW: saw 'call trace:': ok ok 43 selftests: lkdtm: REFCOUNT_ADD_OVERFLOW.sh # selftests: lkdtm: REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh # [ 64.216465] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_OVERFLOW # [ 64.229579] lkdtm: attempting bad refcount_inc_not_zero() overflow # [ 64.242693] ------------[ cut here ]------------ # [ 64.254079] refcount_t: saturated; leaking memory. # [ 64.265698] WARNING: CPU: 0 PID: 2135 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 64.281296] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 64.313974] CPU: 0 PID: 2135 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 64.328826] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 64.341834] RIP: 0010:refcount_warn_saturate+0x[ 73.290451] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_SATURATED [ 73.302719] lkdtm: attempting bad refcount_sub_and_test() from saturated [ 73.310238] ------------[ cut here ]------------ [ 73.315415] refcount_t: underflow; use-after-free. [ 73.320797] WARNING: CPU: 2 PID: 2607 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 [ 73.330238] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 73.356695] CPU: 2 PID: 2607 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 73.365380] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 73.372190] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 73.378031] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 [ 73.399052] RSP: 0018:ffff9a5043047e40 EFLAGS: 00010286 97/0x110 # [ 64.353865] Code: 01 01 e8 73 87 98 00 0f 0b c3 c[ 73.404892] RAX: 0000000000000000 RBX: 000000000000003b RCX: 0000000000000000 c cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05[ 73.419088] RDX: ffff8debbad2c660 RSI: ffff8debbad1bf70 RDI: ffff8debbad1bf70 [ 73.433278] RBP: ffffffff9debc1e8 R08: 0000000000000000 R09: 0000000000000000 [ 73.441253] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 [ 73.449226] R13: ffff9a5043047f10 R14: ffff9a5043047f10 R15: ffff8deb43ece000 [ 73.457201] FS: 00007ff0e1810580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 [ 73.466266] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 0[ 73.472697] CR2: 00007ff0e1619000 CR3: 0000000104f76006 CR4: 00000000003706e0 [ 73.486881] Call Trace: [ 73.489614] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 73.495776] lkdtm_REFCOUNT_SUB_AND_TEST_SATURATED+0x3e/0x76 2 94 01 00 75 85 48 c7 c7 00 7d e5 # [ 64.381062] RSP: 0018:f[ 73.502126] direct_entry.cold+0x2c/0x38 [ 73.512722] full_proxy_write+0x53/0x80 [ 73.517007] vfs_write+0xe7/0x3a0 [ 73.520709] ksys_write+0x68/0xf0 [ 73.524411] do_syscall_64+0x30/0x40 [ 73.528403] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 73.534049] RIP: 0033:0x7ff0e1726833 [ 73.538041] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 73.559032] RSP: 002b:00007ffee5a4c148 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.567492] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007ff0e1726833 [ 73.575465] RDX: 0000000000000020 RSI: 00007ff0e1619000 RDI: 0000000000000001 [ 73.583439] RBP: 00007ff0e1619000 R08: 00007ff0e1618010 R09: 0000000000000000 [ 73.591412] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 73.599386] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 73.607383] irq event stamp: 0 fff9a50429afe38 EFLAGS: 00010282 # [ 64.393126] RAX: 00000000[ 73.610799] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 73.624013] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 73.633169] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 73.642308] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 73.649310] ---[ end trace 6f9b28459bd778bd ]--- [ 73.654467] lkdtm: Saturation detected: still saturated 00000000 RBX: 000000007fffffff RCX: 0000000000000000 # [ 64.407334] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 # [ 64.421529] RBP: ffffffff9debc108 R08: 0000000000000000 R09: 0000000000000000 # [ 64.435748] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 64.449933] R13: ffff9a50429aff10 R14: ffff9a50429aff10 R15: ffff8deb43ecc000 # [ 64.464158] FS: 00007fb348809580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 64.479430] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 64.492106] CR2: 00007fb348612000 CR3: 0000000105e1c002 CR4: 00000000003706f0 # [ 64.506288] Call Trace: # [ 64.515281] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 64.527606] lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW+0x3e/0x76 # [ 64.540083] direct_entry.cold+0x2c/0x38 # [ 64.550642] full_proxy_write+0x53/0x80 # [ 64.561170] vfs_write+0xe7/0x3a0 # [ 64.571123] ksys_write+0x68/0xf0 # [ 64.581060] do_syscall_64+0x30/0x40 # [ 64.591323] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 64.603158] RIP: 0033:0x7fb34871f833 # [ 64.613427] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 64.640656] RSP: 002b:00007fffa10c5b48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 64.655372] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007fb34871f833 # [ 64.669574] RDX: 000000000000001f RSI: 00007fb348612000 RDI: 0000000000000001 # [ 64.683755] RBP: 00007fb348612000 R08: 00007fb348611010 R09: 0000000000000000 # [ 64.697952] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 64.712144] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 64.726363] irq event stamp: 0 # [ 64.735968] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 64.749188] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 64.764589] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 64.779954] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 64.793203] ---[ end trace 6f9b28459bd778af ]--- # [ 64.804545] lkdtm: Overflow detected: saturated # REFCOUNT_INC_NOT_ZERO_OVERFLOW: saw 'call trace:': ok ok 44 selftests: lkdtm: REFCOUNT_INC_NOT_ZERO_OVERFLOW.sh # selftests: lkdtm: REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh # [ 64.958973] lkdtm: Performing direct entry REFCOUNT_AD[ 73.906936] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_TO D_NOT_ZERO_OVERFLOW # [ 64.972574] lkdtm: attempting bad refc[ 73.915670] lkdtm: attempting good copy_to_user of correct size ount_add_not_zero() overflow # [ 64.985724] ------------[ cut[ 73.928508] lkdtm: attempting bad copy_to_user of too large size here ]------------ # [ 64.997092] refcount_t: saturated; leaking memory. # [ 65.008663] WARNING: CPU: 0 PID: 2167 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 65.024297] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 65.056975] CPU: 0 PID: 2167 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 65.071811] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 65.084886] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 65.096891] Code: 01 01 e8 73 87 98 00 0f 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 # [ 65.124166] RSP: 0018:ffff9a5042a2fe38 EFLAGS: 00010282 # [ 65.136176] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 # [ 65.150365] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 # [ 65.164547] RBP: ffffffff9debc128 R08: 0000000000000000 R09: 0000000000000000 # [ 65.178788] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 65.192948] R13: ffff9a5042a2ff10 R14: ffff9a5042a2ff10 R15: ffff8deb44e8b000 # [ 65.207169] FS: 00007ff5d0613580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 #[ 74.080048] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_FROM [ 74.091498] lkdtm: attempting good copy_from_user of correct size [ 65.222408] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003[ 74.098377] lkdtm: attempting bad copy_from_user of too large size 3 # [ 65.235050] CR2: 00007ff5d041c000 CR3: 0000000105470005 CR4: 00000000003706f0 # [ 65.249230] Call Trace: # [ 65.258223] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 65.270542] lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW+0x3e/0x76 # [ 65.282996] direct_entry.cold+0x2c/0x38 # [ 65.293588] full_proxy_write+0x53/0x80 # [ 65.304116] vfs_write+0xe7/0x3a0 # [ 65.314008] ksys_write+0x68/0xf0 # [ 65.323957] do_syscall_64+0x30/0x40 # [ 65.334166] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 65.346056] RIP: 0033:0x7ff5d0529833 # [ 65.356232] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 65.383501] RSP: 002b:00007ffc99f2c5a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 65.398175] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007ff5d0529833 # [ 65.412353] RDX: 000000000000001f RSI: 00007ff5d041c000 RDI: 0000000000000001 # [ 65.426525] RBP: 00007ff5d041c000 R08: 00007ff5d041b010 R09: 0000000000000000 # [ 65.440744] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 65.454915] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 65.469165] irq event stamp: 0 # [ 65.478726] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 65.491985] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 65.507312] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [[ 74.266630] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_TO [ 74.274163] lkdtm: attempting good copy_to_user inside whitelist [ 74.280891] lkdtm: attempting bad copy_to_user outside whitelist 65.522708] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 65.535927] ---[ end trace 6f9b28459bd778b0 ]--- # [ 65.547297] lkdtm: Overflow detected: saturated # REFCOUNT_ADD_NOT_ZERO_OVERFLOW: saw 'call trace:': ok ok 45 selftests: lkdtm: REFCOUNT_ADD_NOT_ZERO_OVERFLOW.sh # selftests: lkdtm: REFCOUNT_DEC_ZERO.sh # [ 65.711721] lkdtm: Performing direct entry REFCOUNT_DEC_ZERO # [ 65.720265] lkdtm: attempting good refcount_dec() # [ 65.731755] lkdtm: attempting bad refcount_dec() to zero # [ 65.743891] ------------[ cut here ]------------ # [ 65.755286] refcount_t: decrement hit 0; leaking memory. # [ 65.767441] WARNING: CPU: 0 PID: 2199 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 65.783114] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 65.815738] CPU: 0 PID: 2199 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 65.830600] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 65.843628] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 65.855675] Code: 58 7d e5 9d c6 05 5a 02 94 01 01 e8 06 87 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 28 7d e5 9d c6 05 41 02 94 01 01 e8 ec 86 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 65.88288[ 74.429235] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_FROM [ 74.437971] lkdtm: attempting good copy_from_user inside whitelist [ 74.444907] lkdtm: attempting bad copy_from_user outside whitelist 5] RSP: 0018:ffff9a5042aa7e48 EFLAGS: 00010286 # [ 65.894904] RAX: 0000000000000000 RBX: 000000000000002f RCX: 0000000000000000 # [ 65.909128] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 # [ 65.923310] RBP: ffffffff9debc4e1 R08: 0000000000000000 R09: 0000000000000000 # [ 65.937510] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 65.951692] R13: ffff9a5042aa7f10 R14: ffff9a5042aa7f10 R15: ffff8deb427d3000 # [ 65.965882] FS: 00007f105f501580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 65.981155] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 65.993793] CR2: 00007f105f30a000 CR3: 0000000103eca001 CR4: 00000000003706f0 # [ 66.008003] Call Trace: # [ 66.016991] lkdtm_REFCOUNT_DEC_ZERO+0x4d/0xbd # [ 66.028128] direct_entry.cold+0x2c/0x38 # [ 66.038823] full_proxy_write+0x53/0x80 # [ 66.049319] vfs_write+0xe7/0x3a0 # [ 66.059270] ksys_write+0x68/0xf0 # [ 66.069202] do_syscall_64+0x30/0x40 # [ 66.079431] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 66.091291] RIP: 0033:0x7f105f417833 # [ 66.101537] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 66.128799] RSP: 002b:00007ffcaf5c0588 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 66.143442] RAX: ffffffffffffffda RBX: 0000[ 74.589844] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_TO [ 74.601826] lkdtm: good_stack: ffff9a50433e7e20-ffff9a50433e7e40 [ 74.608576] lkdtm: bad_stack : ffff9a50433e7da8-ffff9a50433e7dc8 [ 74.615333] lkdtm: attempting good copy_to_user of local stack 000000000012 RCX: 00007f105f417833 # [ 66.157620] RDX: 000000[ 74.621878] lkdtm: attempting bad copy_to_user of distant stack 0000000012 RSI: 00007f105f30a000 RDI: 0000000000000001 # [ 66.171834] RBP: 00007f105f30a000 R08: 00007f105f309010 R09: 0000000000000000 # [ 66.186032] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 66.200326] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 66.214483] irq event stamp: 0 # [ 66.224097] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 66.237297] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 66.252647] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 66.268007] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 66.281256] ---[ end trace 6f9b28459bd778b1 ]--- # [ 66.292597] lkdtm: Zero detected: saturated # REFCOUNT_DEC_ZERO: saw 'call trace:': ok ok 46 selftests: lkdtm: REFCOUNT_DEC_ZERO.sh # selftests: lkdtm: REFCOUNT_DEC_NEGATIVE.sh # [ 66.433720] lkdtm: Performing direct entry REFCOUNT_DEC_NEGATIVE # [ 66.440701] lkdtm: attempting bad refcount_dec() below zero # [ 66.446953] ------------[ cut here ]------------ # [ 66.452140] refcount_t: decrement hit 0; leaking memory. # [ 66.458126] WARNING: CPU: 3 PID: 2234 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 66.473724] Modules linked in: fuse ip_tables cros_ec_senso[ 74.762736] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_FROM rs cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf [ 74.772411] lkdtm: good_stack: ffff9a504344fe20-ffff9a504344fe40 industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros[ 74.785357] lkdtm: bad_stack : ffff9a504344fda8-ffff9a504344fdc8 _ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev c[ 74.798274] lkdtm: attempting good copy_from_user of local stack ros_usbpd_notify # [ 66.500179] CPU: 3 PID: 2234 Comm: cat Ta[ 74.811200] lkdtm: attempting bad copy_from_user of distant stack inted: G D W 5.10.163-cip24 #1 # [ 66.508855] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 66.515665] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 66.521502] Code: 58 7d e5 9d c6 05 5a 02 94 01 01 e8 06 87 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 28 7d e5 9d c6 05 41 02 94 01 01 e8 ec 86 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 66.542490] RSP: 0018:ffff9a5042ad7e48 EFLAGS: 00010286 # [ 66.548327] RAX: 0000000000000000 RBX: 0000000000000030 RCX: 0000000000000000 # [ 66.556300] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 66.564274] RBP: ffffffff9debc4f3 R08: 0000000000000000 R09: 0000000000000000 # [ 66.572248] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 66.586436] R13: ffff9a5042ad7f10 R14: ffff9a5042ad7f10 R15: ffff8deb45519000 # [ 66.600626] FS: 00007fe79bf70580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 66.609668] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 66.616088] CR2: 00007fe79bd79000 CR3: 0000000105d2e001 CR4: 00000000003706e0 # [ 66.624087] Call Trace: # [ 66.626822] lkdtm_REFCOUNT_DEC_NEGATIVE+0x37/0x61 # [ 66.638407] direct_entry.cold+0x2c/0x38 # [ 66.642800] full_proxy_write+0x53/0x80 # [ 66.653289] vfs_write+0xe7/0x3a0[ 74.954185] lkdtm: Performing direct entry USERCOPY_STACK_BEYOND [ 74.961455] lkdtm: good_stack: ffff9a50434efe20-ffff9a50434efe40 [ 74.968177] lkdtm: bad_stack : ffff9a50434efff8-ffff9a50434f0018 [ 74.974910] lkdtm: attempting good copy_to_user of local stack [ 74.981444] lkdtm: attempting bad copy_to_user of distant stack [ 74.988071] lkdtm: copy_to_user failed, but lacked Oops # [ 66.657020] ksys_write+0x68/0xf0 # [ 66.660746] do_syscall_64+0x30/0x40 # [ 66.664762] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 66.670430] RIP: 0033:0x7fe79be86833 # [ 66.674421] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 66.695409] RSP: 002b:00007ffe6c099a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 66.703870] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007fe79be86833 # [ 66.711844] RDX: 0000000000000016 RSI: 00007fe79bd79000 RDI: 0000000000000001 # [ 66.719823] RBP: 00007fe79bd79000 R08: 00007fe79bd78010 R09: 0000000000000000 # [ 66.734003] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 66.741975] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 66.749953] irq event stamp: 0 # [ 66.753388] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 66.766600] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 66.775762] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 66.784898] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 66.791899] ---[ end trace 6f9b28459bd778b2 ]--- # [ 66.797055] lkdtm: Negative detected: saturated # REFCOUNT_DEC_NEGATIVE: saw 'Negative detected: saturated': ok ok 47 selftests: lkdtm: REFCOUNT_DEC_NEGATIVE.sh # selftests: lkdtm: [ 75.139629] lkdtm: Performing direct entry USERCOPY_KERNEL [ 75.149275] lkdtm: attempting good copy_to_user from kernel rodata: ffffffff9dad1450 [ 75.157942] lkdtm: attempting bad copy_to_user from kernel text: ffffffff9c6e3ab0 [ 75.166311] lkdtm: FAIL: survived bad copy_to_user() REFCOUNT_DEC_AND_TEST_NEGATIVE.sh # [ 66.975774] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_NEGATIVE # [ 66.983737] lkdtm: attempting bad refcount_dec_and_test() below zero # [ 66.997054] ------------[ cut here ]------------ # [ 67.008422] refcount_t: underflow; use-after-free. # [ 67.013801] WARNING: CPU: 1 PID: 2269 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 67.029412] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 67.062055] CPU: 1 PID: 2269 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 67.076920] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 67.089943] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 67.101997] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 # [ 67.129201] RSP: 0018:ffff9a5042b9fe40 EFLAGS: 00010286 # [ 67.141254] RAX: 0000000000000000 RBX: 0000000000000031 RCX: 0000000000000000 # [ 67.155443] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 # [ 67.163418] RBP: ffffffff9debc148 R08: 0000000000000000[ 75.305733] lkdtm: Performing direct entry STACKLEAK_ERASING [ 75.315173] lkdtm: checking unused part of the thread stack (15928 bytes)... R09: 0000000000000000 # [ 67.177600] R10: 00000000ffffe000 R[ 75.323113] lkdtm: FAIL: the erased part is not found (checked 15928 bytes) [ 75.337052] lkdtm: FAIL: the thread stack is NOT properly erased [ 75.343779] CPU: 3 PID: 2972 Comm: cat Tainted: G D W 5.10.163-cip24 #1 [ 75.352436] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 75.359231] Call Trace: [ 75.361962] dump_stack+0x77/0x9b [ 75.365661] lkdtm_STACKLEAK_ERASING+0x116/0x144 [ 75.370808] direct_entry.cold+0x2c/0x38 [ 75.375186] full_proxy_write+0x53/0x80 [ 75.379469] vfs_write+0xe7/0x3a0 [ 75.383169] ksys_write+0x68/0xf0 [ 75.386867] do_syscall_64+0x30/0x40 [ 75.390848] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 75.396488] RIP: 0033:0x7f7906964833 [ 75.400477] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 75.421462] RSP: 002b:00007ffec6a28a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 75.429921] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f7906964833 [ 75.437884] RDX: 0000000000000012 RSI: 00007f7906857000 RDI: 0000000000000001 [ 75.445854] RBP: 00007f7906857000 R08: 00007f7906856010 R09: 0000000000000000 [ 75.453824] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 75.461795] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 11: 3fffffffffffffff R12: 000000000000001f # [ 67.191791] R13: ffff9a5042b9ff10 R14: ffff9a5042b9ff10 R15: ffff8deb45486000 # [ 67.205985] FS: 00007fb6a1260580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 67.221239] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 67.233875] CR2: 00007fb6a1069000 CR3: 0000000104f00003 CR4: 00000000003706e0 # [ 67.248061] Call Trace: # [ 67.257013] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 67.269357] lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE+0x3e/0x78 # [ 67.281797] direct_entry.cold+0x2c/0x38 # [ 67.292392] full_proxy_write+0x53/0x80 # [ 67.302890] vfs_write+0xe7/0x3a0 # [ 67.312830] ksys_write+0x68/0xf0 # [ 67.322745] do_syscall_64+0x30/0x40 # [ 67.332935] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 67.344792] RIP: 0033:0x7fb6a1176833 # [ 67.355001] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 67.382204] RSP: 002b:00007fffc10c9c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 67.396879] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007fb6a1176833 # [ 67.411070] RDX: 000000000000001f RSI: 00007fb6a1069000 RDI: 0000000000000001 # [ 67.425261] RBP: 00007fb6a1069000 R08: 00007fb6a1068010 R09: 0000000000000000 # [ 67.439452] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 67.453643] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 67.467838] irq event stamp: 0 # [ 67.477460] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 67.490682] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [[ 75.641420] lkdtm: Performing direct entry CFI_FORWARD_PROTO 67.506037] softirqs last enabled at (0): [[ 75.650225] lkdtm: Calling matched prototype ... ] copy_process+0x664/0x1cb0 # [ 67.521394] softirqs last disa[ 75.661601] lkdtm: Calling mismatched prototype ... bled at (0): [<0000000000000000>] 0x0 # [ 67.534614] ---[ end[ 75.673268] lkdtm: Fail: survived mismatched prototype function call! trace 6f9b28459bd778b3 ]--- # [ 67.545990] lkdtm: Negative detected: saturated # REFCOUNT_DEC_AND_TEST_NEGATIVE: saw 'Negative detected: saturated': ok ok 48 selftests: lkdtm: REFCOUNT_DEC_AND_TEST_NEGATIVE.sh # selftests: lkdtm: REFCOUNT_SUB_AND_TEST_NEGATIVE.sh # [ 67.680997] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_NEGATIVE # [ 67.689157] lkdtm: attempting bad refcount_sub_and_test() below zero # [ 67.696263] ------------[ cut here ]------------ # [ 67.701427] refcount_t: underflow; use-after-free. # [ 67.706788] WARNING: CPU: 3 PID: 2304 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 67.716223] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 67.742689] CPU: 3 PID: 2304 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 67.757552] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 67.764360] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 67.770198] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 # [ 67.791185] RSP: 0018:ffff9a5042c17e40 EFLAGS: 00010286 # [ 67.797024] RAX: 0000000000000000 RBX: 0000000000000032 RCX: 0000000000000000 # [ 67.811213] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 67.819187] RBP: ffffffff9debc168 R08: 0000000000000000 R09: 0000000000000000 # [ 67.827179] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 67.835164] R13: ffff9a5042c17f10 R14: ffff9a5042c17f10 R15: ffff8deb43c23000 # [ 67.843174] FS: 00007f2398f25580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 67.852236] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 67.858668] CR2: 00007f2398d2e000 CR3: 00000001017f0004 CR4: 00000000003706e0 # [ 67.872848] Call Trace: # [ 67.875582] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 67.881740] lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE+0x3e/0x7b # [ 67.887965] direct_entry.cold+0x2c/0x38 # [ 67.892346] full_proxy_write+0x53/0x80 # [ 67.896630] vfs_write+0xe7/0x3a0 # [ 67.900355] ksys_write+0x68/0xf0 # [ 67.904056] do_syscall_64+0x30/0x40 # [ 67.914263] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 67.919905] RIP: 0033:0x7f2398e3b833 # [ 67.923896] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 67.944881] RSP: 002b:00007ffdc0ece838 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 67.953340] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f2398e3b833 # [ 67.961312] RDX: 000000000000001f RSI: 00007f2398d2e000 RDI: 0000000000000001 # [ 67.969283] RBP: 00007f2398d2e000 R08: 00007f2398d2d010 R09: 0000000000000000 # [ 67.977255] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 67.985226] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 67.993201] irq event stamp: 0 # [ 67.996638] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 68.003639] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 68.012775] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 68.021911] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 68.028911] ---[ end trace 6f9b28459bd778b4 ]--- # [ 68.034067] lkdtm: Negative detected: saturated # REFCOUNT_SUB_AND_TEST_NEGATIVE: saw 'Negative detected: saturated': ok ok 49 selftests: lkdtm: REFCOUNT_SUB_AND_TEST_NEGATIVE.sh # selftests: lkdtm: REFCOUNT_INC_ZERO.sh # [ 68.206958] lkdtm: Performing direct entry REFCOUNT_INC_ZERO # [ 68.219499] lkdtm: attempting safe refcount_inc_not_zero() from zero # [ 68.232807] lkdtm: Good: zero detected # [ 68.243206] lkdtm: Correctly stayed at zero # [ 68.254092] lkdtm: attempting bad refcount_inc() from zero # [ 68.266462] ------------[ cut here ]------------ # [ 68.277834] refcount_t: addition on 0; use-after-free. # [ 68.289820] WARNING: CPU: 1 PID: 2336 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 # [ 68.305436] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 68.338104] CPU: 1 PID: 2336 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 68.352955] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 68.365983] RIP: 0010:refcount_warn_saturate+0x74/0x110 # [ 68.378036] Code: 01 01 e8 96 87 98 00 0f 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 9d c6 05 ca 02 94 01 01 e8 73 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 # [ 68.405241] RSP: 0018:ffff9a5042c77e48 EFLAGS: 00010286 # [ 68.417294] RAX: 0000000000000000 RBX: 0000000000000033 RCX: 0000000000000000 # [ 68.431483] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 # [ 68.445673] RBP: ffffffff9debc509 R08: 0000000000000000 R09: 0000000000000000 # [ 68.459865] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 68.474054] R13: ffff9a5042c77f10 R14: ffff9a5042c77f10 R15: ffff8deb42654000 # [ 68.488244] FS: 00007f47eca7b580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 68.503505] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 68.516143] CR2: 00007f47ec884000 CR3: 0000000103c30006 CR4: 00000000003706e0 # [ 68.530334] Call Trace: # [ 68.539303] lkdtm_REFCOUNT_INC_ZERO+0x99/0xc1 # [ 68.550486] direct_entry.cold+0x2c/0x38 # [ 68.561065] full_proxy_write+0x53/0x80 # [ 68.571560] vfs_write+0xe7/0x3a0 # [ 68.581478] ksys_write+0x68/0xf0 # [ 68.591399] do_syscall_64+0x30/0x40 # [ 68.601608] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 68.613471] RIP: 0033:0x7f47ec991833 # [ 68.623681] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 68.650884] RSP: 002b:00007ffe57ce57b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 68.665563] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f47ec991833 # [ 68.679757] RDX: 0000000000000012 RSI: 00007f47ec884000 RDI: 0000000000000001 # [ 68.693951] RBP: 00007f47ec884000 R08: 00007f47ec883010 R09: 0000000000000000 # [ 68.708145] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 68.722337] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 68.736536] irq event stamp: 0 # [ 68.746158] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 68.759381] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 68.774738] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 68.790097] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 68.803317] ---[ end trace 6f9b28459bd778b5 ]--- # [ 68.803319] lkdtm: Zero detected: saturated # REFCOUNT_INC_ZERO: saw 'call trace:': ok ok 50 selftests: lkdtm: REFCOUNT_INC_ZERO.sh # selftests: lkdtm: REFCOUNT_ADD_ZERO.sh # [ 68.919370] lkdtm: Performing direct entry REFCOUNT_ADD_ZERO # [ 68.931377] lkdtm: attempting safe refcount_add_not_zero() from zero # [ 68.944693] lkdtm: Good: zero detected # [ 68.955094] lkdtm: Correctly stayed at zero # [ 68.966017] lkdtm: attempting bad refcount_add() from zero # [ 68.978378] ------------[ cut here ]------------ # [ 68.989754] refcount_t: addition on 0; use-after-free. # [ 69.001714] WARNING: CPU: 0 PID: 2368 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 # [ 69.017361] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 69.050035] CPU: 0 PID: 2368 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 69.064895] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 69.077955] RIP: 0010:refcount_warn_saturate+0x74/0x110 # [ 69.089984] Code: 01 01 e8 96 87 98 00 0f 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 9d c6 05 ca 02 94 01 01 e8 73 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 # [ 69.117199] RSP: 0018:ffff9a5042cf7e48 EFLAGS: 00010286 # [ 69.129244] RAX: 0000000000000000 RBX: 0000000000000034 RCX: 0000000000000000 # [ 69.143444] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 # [ 69.157607] RBP: ffffffff9debc51b R08: 0000000000000000 R09: 0000000000000000 # [ 69.171795] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 69.185983] R13: ffff9a5042cf7f10 R14: ffff9a5042cf7f10 R15: ffff8deb44ea9000 # [ 69.200178] FS: 00007fae93746580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 69.215428] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 69.228067] CR2: 00007fae9354f000 CR3: 00000001028dc005 CR4: 00000000003706f0 # [ 69.242257] Call Trace: # [ 69.251212] lkdtm_REFCOUNT_ADD_ZERO+0x99/0xc1 # [ 69.262387] direct_entry.cold+0x2c/0x38 # [ 69.272995] full_proxy_write+0x53/0x80 # [ 69.283489] vfs_write+0xe7/0x3a0 # [ 69.293412] ksys_write+0x68/0xf0 # [ 69.303317] do_syscall_64+0x30/0x40 # [ 69.313539] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 69.325390] RIP: 0033:0x7fae9365c833 # [ 69.335616] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 69.362803] RSP: 002b:00007ffe75f0ceb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 69.377507] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fae9365c833 # [ 69.391685] RDX: 0000000000000012 RSI: 00007fae9354f000 RDI: 0000000000000001 # [ 69.405889] RBP: 00007fae9354f000 R08: 00007fae9354e010 R09: 0000000000000000 # [ 69.420060] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 69.434246] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 69.448426] irq event stamp: 0 # [ 69.458054] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 69.471270] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 69.486627] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 69.501995] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 69.515209] ---[ end trace 6f9b28459bd778b6 ]--- # [ 69.526585] lkdtm: Zero detected: saturated # REFCOUNT_ADD_ZERO: saw 'call trace:': ok ok 51 selftests: lkdtm: REFCOUNT_ADD_ZERO.sh # selftests: lkdtm: REFCOUNT_INC_SATURATED.sh # [ 69.660161] lkdtm: Performing direct entry REFCOUNT_INC_SATURATED # [ 69.668655] lkdtm: attempting bad refcount_inc() from saturated # [ 69.681491] ------------[ cut here ]------------ # [ 69.692864] refcount_t: saturated; leaking memory. # [ 69.704464] WARNING: CPU: 1 PID: 2403 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 69.720080] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 69.752729] CPU: 1 PID: 2403 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 69.767600] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 69.780624] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 69.792679] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c7 c7 a8 7c e5 9d c6 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 # [ 69.819885] RSP: 0018:ffff9a5042d77e48 EFLAGS: 00010286 # [ 69.831945] RAX: 0000000000000000 RBX: 0000000000000035 RCX: 0000000000000000 # [ 69.846135] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 # [ 69.860321] RBP: ffffffff9debc52d R08: 0000000000000000 R09: 0000000000000000 # [ 69.874512] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 69.888707] R13: ffff9a5042d77f10 R14: ffff9a5042d77f10 R15: ffff8deb44cc3000 # [ 69.902900] FS: 00007f56956a7580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 69.918180] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 69.930817] CR2: 00007f56954b0000 CR3: 0000000105470001 CR4: 00000000003706e0 # [ 69.945009] Call Trace: # [ 69.953958] lkdtm_REFCOUNT_INC_SATURATED+0x3c/0x64 # [ 69.965621] direct_entry.cold+0x2c/0x38 # [ 69.976217] full_proxy_write+0x53/0x80 # [ 69.986718] vfs_write+0xe7/0x3a0 # [ 69.996636] ksys_write+0x68/0xf0 # [ 70.006554] do_syscall_64+0x30/0x40 # [ 70.016761] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 70.028621] RIP: 0033:0x7f56955bd833 # [ 70.038828] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 70.066034] RSP: 002b:00007ffe26db3e28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 70.080714] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f56955bd833 # [ 70.094906] RDX: 0000000000000017 RSI: 00007f56954b0000 RDI: 0000000000000001 # [ 70.109098] RBP: 00007f56954b0000 R08: 00007f56954af010 R09: 0000000000000000 # [ 70.123313] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 70.137504] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 70.151699] irq event stamp: 0 # [ 70.161321] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 70.174541] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 70.189897] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 70.205254] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 70.218474] ---[ end trace 6f9b28459bd778b7 ]--- # [ 70.229849] lkdtm: Saturation detected: still saturated # REFCOUNT_INC_SATURATED: saw 'Saturation detected: still saturated': ok ok 52 selftests: lkdtm: REFCOUNT_INC_SATURATED.sh # selftests: lkdtm: REFCOUNT_DEC_SATURATED.sh # [ 70.366340] lkdtm: Performing direct entry REFCOUNT_DEC_SATURATED # [ 70.379230] lkdtm: attempting bad refcount_dec() from saturated # [ 70.392059] ------------[ cut here ]------------ # [ 70.403429] refcount_t: decrement hit 0; leaking memory. # [ 70.415610] WARNING: CPU: 1 PID: 2438 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 70.431231] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 70.463900] CPU: 1 PID: 2438 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 70.478749] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 70.491771] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 70.503823] Code: 58 7d e5 9d c6 05 5a 02 94 01 01 e8 06 87 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 28 7d e5 9d c6 05 41 02 94 01 01 e8 ec 86 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 70.531031] RSP: 0018:ffff9a5042e0fe48 EFLAGS: 00010286 # [ 70.543086] RAX: 0000000000000000 RBX: 0000000000000036 RCX: 0000000000000000 # [ 70.557276] RDX: ffff8debbacac660 RSI: ffff8debbac9bf70 RDI: ffff8debbac9bf70 # [ 70.571468] RBP: ffffffff9debc544 R08: 0000000000000000 R09: 0000000000000000 # [ 70.585662] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 70.599855] R13: ffff9a5042e0ff10 R14: ffff9a5042e0ff10 R15: ffff8deb43ea8000 # [ 70.614046] FS: 00007f14186e9580(0000) GS:ffff8debbac80000(0000) knlGS:0000000000000000 # [ 70.629305] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 70.635726] CR2: 00007f14184f2000 CR3: 0000000104e78004 CR4: 00000000003706e0 # [ 70.649910] Call Trace: # [ 70.652644] lkdtm_REFCOUNT_DEC_SATURATED+0x37/0x5f # [ 70.664306] direct_entry.cold+0x2c/0x38 # [ 70.674904] full_proxy_write+0x53/0x80 # [ 70.685403] vfs_write+0xe7/0x3a0 # [ 70.695319] ksys_write+0x68/0xf0 # [ 70.705234] do_syscall_64+0x30/0x40 # [ 70.715442] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 70.727303] RIP: 0033:0x7f14185ff833 # [ 70.737512] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 70.764716] RSP: 002b:00007ffc6415c738 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 70.779394] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f14185ff833 # [ 70.793586] RDX: 0000000000000017 RSI: 00007f14184f2000 RDI: 0000000000000001 # [ 70.807778] RBP: 00007f14184f2000 R08: 00007f14184f1010 R09: 0000000000000000 # [ 70.821971] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 70.836179] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 70.850376] irq event stamp: 0 # [ 70.859997] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 70.873219] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 70.888577] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 70.903935] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 70.917173] ---[ end trace 6f9b28459bd778b8 ]--- # [ 70.928549] lkdtm: Saturation detected: still saturated # REFCOUNT_DEC_SATURATED: saw 'Saturation detected: still saturated': ok ok 53 selftests: lkdtm: REFCOUNT_DEC_SATURATED.sh # selftests: lkdtm: REFCOUNT_ADD_SATURATED.sh # [ 71.061711] lkdtm: Performing direct entry REFCOUNT_ADD_SATURATED # [ 71.071805] lkdtm: attempting bad refcount_dec() from saturated # [ 71.078429] ------------[ cut here ]------------ # [ 71.083593] refcount_t: saturated; leaking memory. # [ 71.088960] WARNING: CPU: 2 PID: 2473 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 71.098398] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 71.124864] CPU: 2 PID: 2473 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 71.139727] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 71.146537] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 71.152376] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d fe 02 94 01 00 75 ee 48 c7 c7 a8 7c e5 9d c6 05 ee 02 94 01 01 e8 96 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d da 02 94 01 00 75 cb 48 c7 c7 d0 7c e5 # [ 71.173363] RSP: 0018:ffff9a5042ea7e48 EFLAGS: 00010286 # [ 71.179200] RAX: 0000000000000000 RBX: 0000000000000037 RCX: 0000000000000000 # [ 71.187175] RDX: ffff8debbad2c660 RSI: ffff8debbad1bf70 RDI: ffff8debbad1bf70 # [ 71.195152] RBP: ffffffff9debc55b R08: 0000000000000000 R09: 0000000000000000 # [ 71.209342] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 71.217349] R13: ffff9a5042ea7f10 R14: ffff9a5042ea7f10 R15: ffff8deb44ed4000 # [ 71.225325] FS: 00007f04a5d0f580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 # [ 71.234398] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 71.240819] CR2: 00007f04a5b18000 CR3: 00000001027c6002 CR4: 00000000003706e0 # [ 71.248817] Call Trace: # [ 71.251568] lkdtm_REFCOUNT_ADD_SATURATED+0x3c/0x64 # [ 71.263218] direct_entry.cold+0x2c/0x38 # [ 71.267624] full_proxy_write+0x53/0x80 # [ 71.271939] vfs_write+0xe7/0x3a0 # [ 71.275675] ksys_write+0x68/0xf0 # [ 71.279383] do_syscall_64+0x30/0x40 # [ 71.283378] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 71.289051] RIP: 0033:0x7f04a5c25833 # [ 71.293045] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 71.314035] RSP: 002b:00007ffc585e7328 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 71.322496] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f04a5c25833 # [ 71.330471] RDX: 0000000000000017 RSI: 00007f04a5b18000 RDI: 0000000000000001 # [ 71.338447] RBP: 00007f04a5b18000 R08: 00007f04a5b17010 R09: 0000000000000000 # [ 71.346421] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 71.354396] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 71.362392] irq event stamp: 0 # [ 71.365813] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 71.379024] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 71.388178] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 71.397320] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 71.404323] ---[ end trace 6f9b28459bd778b9 ]--- # [ 71.409480] lkdtm: Saturation detected: still saturated # REFCOUNT_ADD_SATURATED: saw 'Saturation detected: still saturated': ok ok 54 selftests: lkdtm: REFCOUNT_ADD_SATURATED.sh # selftests: lkdtm: REFCOUNT_INC_NOT_ZERO_SATURATED.sh # [ 71.553388] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_SATURATED # [ 71.565999] lkdtm: attempting bad refcount_inc_not_zero() from saturated # [ 71.573515] ------------[ cut here ]------------ # [ 71.578682] refcount_t: saturated; leaking memory. # [ 71.590258] WARNING: CPU: 3 PID: 2505 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 71.605890] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 71.632360] CPU: 3 PID: 2505 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 71.647244] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 71.654069] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 71.666122] Code: 01 01 e8 73 87 98 00 0f 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 # [ 71.693329] RSP: 0018:ffff9a5042eefe38 EFLAGS: 00010282 # [ 71.699189] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 # [ 71.707192] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 71.715174] RBP: ffffffff9debc188 R08: 0000000000000000 R09: 0000000000000000 # [ 71.723164] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 71.731181] R13: ffff9a5042eeff10 R14: ffff9a5042eeff10 R15: ffff8deb456fc000 # [ 71.739172] FS: 00007f394ae12580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 71.748246] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 71.754667] CR2: 00007f394ac1b000 CR3: 0000000103f8e005 CR4: 00000000003706e0 # [ 71.762641] Call Trace: # [ 71.765376] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 71.771534] lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED+0x3e/0x76 # [ 71.784066] direct_entry.cold+0x2c/0x38 # [ 71.788455] full_proxy_write+0x53/0x80 # [ 71.792742] vfs_write+0xe7/0x3a0 # [ 71.796473] ksys_write+0x68/0xf0 # [ 71.800183] do_syscall_64+0x30/0x40 # [ 71.804206] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 71.809852] RIP: 0033:0x7f394ad28833 # [ 71.813874] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 71.834865] RSP: 002b:00007ffd09351548 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 71.843348] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f394ad28833 # [ 71.851322] RDX: 0000000000000020 RSI: 00007f394ac1b000 RDI: 0000000000000001 # [ 71.859296] RBP: 00007f394ac1b000 R08: 00007f394ac1a010 R09: 0000000000000000 # [ 71.867273] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 71.881462] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 71.889445] irq event stamp: 0 # [ 71.899061] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 71.906064] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 71.915203] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 71.924342] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 71.931343] ---[ end trace 6f9b28459bd778ba ]--- # [ 71.936500] lkdtm: Saturation detected: still saturated # REFCOUNT_INC_NOT_ZERO_SATURATED: saw 'call trace:': ok ok 55 selftests: lkdtm: REFCOUNT_INC_NOT_ZERO_SATURATED.sh # selftests: lkdtm: REFCOUNT_ADD_NOT_ZERO_SATURATED.sh # [ 72.078548] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_SATURATED # [ 72.086946] lkdtm: attempting bad refcount_add_not_zero() from saturated # [ 72.100655] ------------[ cut here ]------------ # [ 72.112028] refcount_t: saturated; leaking memory. # [ 72.123654] WARNING: CPU: 0 PID: 2537 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 72.139266] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 72.171917] CPU: 0 PID: 2537 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 72.186796] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 72.199864] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 72.211908] Code: 01 01 e8 73 87 98 00 0f 0b c3 cc cc cc cc 80 3d b9 02 94 01 00 75 a8 48 c7 c7 a8 7c e5 9d c6 05 a9 02 94 01 01 e8 50 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 # [ 72.239204] RSP: 0018:ffff9a5042e57e38 EFLAGS: 00010282 # [ 72.251251] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 # [ 72.265444] RDX: ffff8debbac2c660 RSI: ffff8debbac1bf70 RDI: ffff8debbac1bf70 # [ 72.279628] RBP: ffffffff9debc1a8 R08: 0000000000000000 R09: 0000000000000000 # [ 72.293845] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 72.308058] R13: ffff9a5042e57f10 R14: ffff9a5042e57f10 R15: ffff8deb431bd000 # [ 72.322286] FS: 00007fa8ffe75580(0000) GS:ffff8debbac00000(0000) knlGS:0000000000000000 # [ 72.337598] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 72.350279] CR2: 00007fa8ffc7e000 CR3: 0000000103304001 CR4: 00000000003706f0 # [ 72.364514] Call Trace: # [ 72.373478] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 72.385828] lkdtm_REFCOUNT_ADD_NOT_ZERO_SATURATED+0x3e/0x76 # [ 72.398384] direct_entry.cold+0x2c/0x38 # [ 72.409019] full_proxy_write+0x53/0x80 # [ 72.419590] vfs_write+0xe7/0x3a0 # [ 72.429431] ksys_write+0x68/0xf0 # [ 72.439368] do_syscall_64+0x30/0x40 # [ 72.449609] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 72.461461] RIP: 0033:0x7fa8ffd8b833 # [ 72.471663] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 72.498888] RSP: 002b:00007ffc671e7568 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 72.513583] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007fa8ffd8b833 # [ 72.527778] RDX: 0000000000000020 RSI: 00007fa8ffc7e000 RDI: 0000000000000001 # [ 72.541995] RBP: 00007fa8ffc7e000 R08: 00007fa8ffc7d010 R09: 0000000000000000 # [ 72.556210] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 72.570406] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 72.584614] irq event stamp: 0 # [ 72.594247] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 72.607489] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 72.622846] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 72.638213] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 72.651452] ---[ end trace 6f9b28459bd778bb ]--- # [ 72.662831] lkdtm: Saturation detected: still saturated # REFCOUNT_ADD_NOT_ZERO_SATURATED: saw 'call trace:': ok ok 56 selftests: lkdtm: REFCOUNT_ADD_NOT_ZERO_SATURATED.sh # selftests: lkdtm: REFCOUNT_DEC_AND_TEST_SATURATED.sh # [ 72.796231] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_SATURATED # [ 72.806949] lkdtm: attempting bad refcount_dec_and_test() from saturated # [ 72.814446] ------------[ cut here ]------------ # [ 72.819615] refcount_t: underflow; use-after-free. # [ 72.831190] WARNING: CPU: 3 PID: 2572 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 72.846825] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 72.879476] CPU: 3 PID: 2572 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 72.888200] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 72.895022] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 72.907066] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 # [ 72.928057] RSP: 0018:ffff9a5043007e40 EFLAGS: 00010286 # [ 72.933895] RAX: 0000000000000000 RBX: 000000000000003a RCX: 0000000000000000 # [ 72.941868] RDX: ffff8debbadac660 RSI: ffff8debbad9bf70 RDI: ffff8debbad9bf70 # [ 72.949841] RBP: ffffffff9debc1c8 R08: 0000000000000000 R09: 0000000000000000 # [ 72.957814] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 72.965787] R13: ffff9a5043007f10 R14: ffff9a5043007f10 R15: ffff8deb42674000 # [ 72.973763] FS: 00007f4fbd0a5580(0000) GS:ffff8debbad80000(0000) knlGS:0000000000000000 # [ 72.982804] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 72.989223] CR2: 00007f4fbceae000 CR3: 0000000104ed6005 CR4: 00000000003706e0 # [ 72.997197] Call Trace: # [ 72.999928] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 73.006090] lkdtm_REFCOUNT_DEC_AND_TEST_SATURATED+0x3e/0x76 # [ 73.012442] direct_entry.cold+0x2c/0x38 # [ 73.016823] full_proxy_write+0x53/0x80 # [ 73.021133] vfs_write+0xe7/0x3a0 # [ 73.024840] ksys_write+0x68/0xf0 # [ 73.028543] do_syscall_64+0x30/0x40 # [ 73.032535] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 73.038179] RIP: 0033:0x7f4fbcfbb833 # [ 73.042181] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 73.063168] RSP: 002b:00007fff452407b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 73.071628] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f4fbcfbb833 # [ 73.079602] RDX: 0000000000000020 RSI: 00007f4fbceae000 RDI: 0000000000000001 # [ 73.087574] RBP: 00007f4fbceae000 R08: 00007f4fbcead010 R09: 0000000000000000 # [ 73.095549] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 73.103522] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 73.111502] irq event stamp: 0 # [ 73.121121] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 73.134342] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 73.143504] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 73.152644] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 73.159646] ---[ end trace 6f9b28459bd778bc ]--- # [ 73.164804] lkdtm: Saturation detected: still saturated # REFCOUNT_DEC_AND_TEST_SATURATED: saw 'Saturation detected: still saturated': ok ok 57 selftests: lkdtm: REFCOUNT_DEC_AND_TEST_SATURATED.sh # selftests: lkdtm: REFCOUNT_SUB_AND_TEST_SATURATED.sh # [ 73.290451] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_SATURATED # [ 73.302719] lkdtm: attempting bad refcount_sub_and_test() from saturated # [ 73.310238] ------------[ cut here ]------------ # [ 73.315415] refcount_t: underflow; use-after-free. # [ 73.320797] WARNING: CPU: 2 PID: 2607 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 73.330238] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_chardev cros_ec_lightbar cros_ec_debugfs cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 73.356695] CPU: 2 PID: 2607 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 73.365380] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 73.372190] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 73.378031] Code: 01 01 e8 50 87 98 00 0f 0b c3 cc cc cc cc 80 3d 93 02 94 01 00 75 85 48 c7 c7 00 7d e5 9d c6 05 83 02 94 01 01 e8 2d 87 98 00 <0f> 0b c3 cc cc cc cc 80 3d 6e 02 94 01 00 0f 85 5e ff ff ff 48 c7 # [ 73.399052] RSP: 0018:ffff9a5043047e40 EFLAGS: 00010286 # [ 73.404892] RAX: 0000000000000000 RBX: 000000000000003b RCX: 0000000000000000 # [ 73.419088] RDX: ffff8debbad2c660 RSI: ffff8debbad1bf70 RDI: ffff8debbad1bf70 # [ 73.433278] RBP: ffffffff9debc1e8 R08: 0000000000000000 R09: 0000000000000000 # [ 73.441253] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 73.449226] R13: ffff9a5043047f10 R14: ffff9a5043047f10 R15: ffff8deb43ece000 # [ 73.457201] FS: 00007ff0e1810580(0000) GS:ffff8debbad00000(0000) knlGS:0000000000000000 # [ 73.466266] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 73.472697] CR2: 00007ff0e1619000 CR3: 0000000104f76006 CR4: 00000000003706e0 # [ 73.486881] Call Trace: # [ 73.489614] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 73.495776] lkdtm_REFCOUNT_SUB_AND_TEST_SATURATED+0x3e/0x76 # [ 73.502126] direct_entry.cold+0x2c/0x38 # [ 73.512722] full_proxy_write+0x53/0x80 # [ 73.517007] vfs_write+0xe7/0x3a0 # [ 73.520709] ksys_write+0x68/0xf0 # [ 73.524411] do_syscall_64+0x30/0x40 # [ 73.528403] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 73.534049] RIP: 0033:0x7ff0e1726833 # [ 73.538041] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 73.559032] RSP: 002b:00007ffee5a4c148 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 73.567492] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007ff0e1726833 # [ 73.575465] RDX: 0000000000000020 RSI: 00007ff0e1619000 RDI: 0000000000000001 # [ 73.583439] RBP: 00007ff0e1619000 R08: 00007ff0e1618010 R09: 0000000000000000 # [ 73.591412] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 73.599386] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 73.607383] irq event stamp: 0 # [ 73.610799] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 73.624013] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 73.633169] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 73.642308] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 73.649310] ---[ end trace 6f9b28459bd778bd ]--- # [ 73.654467] lkdtm: Saturation detected: still saturated # REFCOUNT_SUB_AND_TEST_SATURATED: saw 'Saturation detected: still saturated': ok ok 58 selftests: lkdtm: REFCOUNT_SUB_AND_TEST_SATURATED.sh # selftests: lkdtm: REFCOUNT_TIMING.sh # Skipping REFCOUNT_TIMING: timing only ok 59 selftests: lkdtm: REFCOUNT_TIMING.sh # SKIP # selftests: lkdtm: ATOMIC_TIMING.sh # Skipping ATOMIC_TIMING: timing only ok 60 selftests: lkdtm: ATOMIC_TIMING.sh # SKIP # selftests: lkdtm: USERCOPY_HEAP_SIZE_TO.sh # [ 73.906936] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_TO # [ 73.915670] lkdtm: attempting good copy_to_user of correct size # [ 73.928508] lkdtm: attempting bad copy_to_user of too large size # USERCOPY_HEAP_SIZE_TO: missing 'call trace:': [FAIL] not ok 61 selftests: lkdtm: USERCOPY_HEAP_SIZE_TO.sh # exit=1 # selftests: lkdtm: USERCOPY_HEAP_SIZE_FROM.sh # [ 74.080048] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_FROM # [ 74.091498] lkdtm: attempting good copy_from_user of correct size # [ 74.098377] lkdtm: attempting bad copy_from_user of too large size # USERCOPY_HEAP_SIZE_FROM: missing 'call trace:': [FAIL] not ok 62 selftests: lkdtm: USERCOPY_HEAP_SIZE_FROM.sh # exit=1 # selftests: lkdtm: USERCOPY_HEAP_WHITELIST_TO.sh # [ 74.266630] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_TO # [ 74.274163] lkdtm: attempting good copy_to_user inside whitelist # [ 74.280891] lkdtm: attempting bad copy_to_user outside whitelist # USERCOPY_HEAP_WHITELIST_TO: missing 'call trace:': [FAIL] not ok 63 selftests: lkdtm: USERCOPY_HEAP_WHITELIST_TO.sh # exit=1 # selftests: lkdtm: USERCOPY_HEAP_WHITELIST_FROM.sh # [ 74.429235] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_FROM # [ 74.437971] lkdtm: attempting good copy_from_user inside whitelist # [ 74.444907] lkdtm: attempting bad copy_from_user outside whitelist # USERCOPY_HEAP_WHITELIST_FROM: missing 'call trace:': [FAIL] not ok 64 selftests: lkdtm: USERCOPY_HEAP_WHITELIST_FROM.sh # exit=1 # selftests: lkdtm: USERCOPY_STACK_FRAME_TO.sh # [ 74.589844] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_TO # [ 74.601826] lkdtm: good_stack: ffff9a50433e7e20-ffff9a50433e7e40 # [ 74.608576] lkdtm: bad_stack : ffff9a50433e7da8-ffff9a50433e7dc8 # [ 74.615333] lkdtm: attempting good copy_to_user of local stack # [ 74.621878] lkdtm: attempting bad copy_to_user of distant stack # USERCOPY_STACK_FRAME_TO: missing 'call trace:': [FAIL] not ok 65 selftests: lkdtm: USERCOPY_STACK_FRAME_TO.sh # exit=1 # selftests: lkdtm: USERCOPY_STACK_FRAME_FROM.sh # [ 74.762736] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_FROM # [ 74.772411] lkdtm: good_stack: ffff9a504344fe20-ffff9a504344fe40 # [ 74.785357] lkdtm: bad_stack : ffff9a504344fda8-ffff9a504344fdc8 # [ 74.798274] lkdtm: attempting good copy_from_user of local stack # [ 74.811200] lkdtm: attempting bad copy_from_user of distant stack # USERCOPY_STACK_FRAME_FROM: missing 'call trace:': [FAIL] not ok 66 selftests: lkdtm: USERCOPY_STACK_FRAME_FROM.sh # exit=1 # selftests: lkdtm: USERCOPY_STACK_BEYOND.sh # [ 74.954185] lkdtm: Performing direct entry USERCOPY_STACK_BEYOND # [ 74.961455] lkdtm: good_stack: ffff9a50434efe20-ffff9a50434efe40 # [ 74.968177] lkdtm: bad_stack : ffff9a50434efff8-ffff9a50434f0018 # [ 74.974910] lkdtm: attempting good copy_to_user of local stack # [ 74.981444] lkdtm: attempting bad copy_to_user of distant stack # [ 74.988071] lkdtm: copy_to_user failed, but lacked Oops # USERCOPY_STACK_BEYOND: missing 'call trace:': [FAIL] not ok 67 selftests: lkdtm: USERCOPY_STACK_BEYOND.sh # exit=1 # selftests: lkdtm: USERCOPY_KERNEL.sh # [ 75.139629] lkdtm: Performing direct entry USERCOPY_KERNEL # [ 75.149275] lkdtm: attempting good copy_to_user from kernel rodata: ffffffff9dad1450 # [ 75.157942] lkdtm: attempting bad copy_to_user from kernel text: ffffffff9c6e3ab0 # [ 75.166311] lkdtm: FAIL: survived bad copy_to_user() # USERCOPY_KERNEL: missing 'call trace:': [FAIL] not ok 68 selftests: lkdtm: USERCOPY_KERNEL.sh # exit=1 # selftests: lkdtm: STACKLEAK_ERASING.sh # [ 75.305733] lkdtm: Performing direct entry STACKLEAK_ERASING # [ 75.315173] lkdtm: checking unused part of the thread stack (15928 bytes)... # [ 75.323113] lkdtm: FAIL: the erased part is not found (checked 15928 bytes) # [ 75.337052] lkdtm: FAIL: the thread stack is NOT properly erased # [ 75.343779] CPU: 3 PID: 2972 Comm: cat Tainted: G D W 5.10.163-cip24 #1 # [ 75.352436] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 75.359231] Call Trace: # [ 75.361962] dump_stack+0x77/0x9b # [ 75.365661] lkdtm_STACKLEAK_ERASING+0x116/0x144 # [ 75.370808] direct_entry.cold+0x2c/0x38 # [ 75.375186] full_proxy_write+0x53/0x80 # [ 75.379469] vfs_write+0xe7/0x3a0 # [ 75.383169] ksys_write+0x68/0xf0 # [ 75.386867] do_syscall_64+0x30/0x40 # [ 75.390848] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 75.396488] RIP: 0033:0x7f7906964833 # [ 75.400477] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 75.421462] RSP: 002b:00007ffec6a28a18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 75.429921] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f7906964833 # [ 75.437884] RDX: 0000000000000012 RSI: 00007f7906857000 RDI: 0000000000000001 # [ 75.445854] RBP: 00007f7906857000 R08: 00007f7906856010 R09: 0000000000000000 # [ 75.453824] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 75.461795] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # STACKLEAK_ERASING: missing 'OK: the rest of the thread stack is properly erased': [FAIL] not ok 69 selftests: lkdtm: STACKLEAK_ERASING.sh # exit=1 # selftests: lkdtm: CFI_FORWARD_PROTO.sh # [ 75.641420] lkdtm: Performing direct entry CFI_FORWARD_PROTO # [ 75.650225] lkdtm: Calling matched prototype ... # [ 75.661601] lkdtm: Calling mismatched prototype ... # [ 75.673268] lkdtm: Fail: survived mismatched prototype function call! # CFI_FORWARD_PROTO: missing 'call trace:': [FAIL] not ok 70 selftests: lkdtm: CFI_FORWARD_PROTO.sh # exit=1 + ../../utils/send-to-lava.sh ./output/result.txt + set +x / #