[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: .Timeout wait for TPM IRQ! . 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 47628 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 29 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 1 apic_id 1. Waiting for 2nd SIPI to complete...done. AP: slot 3 apic_id 2. AP: slot 2 apic_id 3. 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 #3 Initializing CPU #2 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 #3 initialized CPU #2 initialized apic_id: 0x01 done. Skip microcode update CPU #1 initialized bsp_do_flight_plan done after 231 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 376191 run 166511 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: 03: enabled 1 APIC: 02: enabled 1 Compare with tree... Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 APIC: 00: enabled 1 APIC: 01: enabled 1 APIC: 03: enabled 1 APIC: 02: 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 8972 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 8974 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 8974 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 8970 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 8965 usecs scan_usb_bus for USB0 port 0 done scan_bus: scanning of bus USB0 port 0 took 90950 usecs scan_usb_bus for PCI: 00:14.0 done scan_bus: scanning of bus PCI: 00:14.0 took 107732 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 14154 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 14157 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 22376 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 53520 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 13853 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 11313 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 9264 usecs PCI: 00:1f.3 scanning... scan_bus: scanning of bus PCI: 00:1f.3 took 2721 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 10048 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 10047 usecs scan_bus: scanning of bus DOMAIN: 0000 took 466028 usecs root_dev_scan_bus for Root Device done scan_bus: scanning of bus Root Device took 486140 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 825893 exit 39769 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: 03 APIC: 02 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: 03 APIC: 02 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 2114084 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 230 run 139340 exit 19910 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 30854 usecs CPU_CLUSTER: 0 init ... CPU_CLUSTER: 0 init finished in 2444 usecs PCI: 00:00.0 init ... CPU TDP: 5 Watts CPU PL2 = 18 Watts PCI: 00:00.0 init finished in 6983 usecs PCI: 00:02.0 init ... PCI: 00:02.0 init finished in 2249 usecs PCI: 00:04.0 init ... PCI: 00:04.0 init finished in 2248 usecs PCI: 00:08.0 init ... PCI: 00:08.0 init finished in 2249 usecs PCI: 00:14.0 init ... PCI: 00:14.0 init finished in 2248 usecs PCI: 00:14.2 init ... PCI: 00:14.2 init finished in 2248 usecs PCI: 00:15.0 init ... DW I2C bus 0 at 0xd1132000 (400 KHz) PCI: 00:15.0 init finished in 5968 usecs PCI: 00:15.1 init ... DW I2C bus 1 at 0xd1133000 (400 KHz) PCI: 00:15.1 init finished in 5967 usecs PCI: 00:16.0 init ... PCI: 00:16.0 init finished in 2249 usecs PCI: 00:19.1 init ... DW I2C bus 5 at 0xd1136000 (400 KHz) PCI: 00:19.1 init finished in 5957 usecs PCI: 00:1c.0 init ... Initializing PCH PCIe bridge. PCI: 00:1c.0 init finished in 5288 usecs PCI: 00:1e.4 init ... PCI: 00:1e.4 init finished in 2250 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 23494 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 23838 usecs PCI: 00:1f.4 init ... PCI: 00:1f.4 init finished in 2260 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 24490 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: 03: enabled 1 APIC: 02: 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-03-03 19:35:12 UTC POST: Unexpected post code in previous boot: 0x34 ELOG: Event(A3) added with size 11 at 2023-03-03 19:35:12 UTC ELOG: Event(92) added with size 9 at 2023-03-03 19:35:12 UTC ELOG: Event(9A) added with size 9 at 2023-03-03 19:35:12 UTC ELOG: Event(AD) added with size 10 at 2023-03-03 19:35:12 UTC ELOG: Event(9F) added with size 14 at 2023-03-03 19:35:12 UTC BS: BS_DEV_INIT times (us): entry 0 run 417193 exit 60023 ELOG: Event(A1) added with size 10 at 2023-03-03 19:35:12 UTC elog_add_boot_reason: Logged recovery mode boot (Dev-switch on), reason: 0x1b ELOG: Event(A0) added with size 9 at 2023-03-03 19:35:12 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 25575 run 3958 exit 5200 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 537718 exit 146901 call enable_fixed_mtrr() CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CPU physical address size: 39 bits CBFS: Locating 'fallback/payload' 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() 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 1018 run 261424 exit 135664 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 9410711/tftp-deploy-gkqkq50t/kernel/bzImage 9410711/tftp-deploy-gkqkq50t/kernel/cmdline 9410711/tftp-deploy-gkqkq50t/ramdisk/ramdisk.cpio.gz tftpboot 192.168.201.1 9410711/tftp-deploy-gkqkq50t/kernel/bzImoy-gkqkq50t/kernel/cmdline 9410711/tftp-deploy-gkqkq50t/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: 9410711/tftp-deploy-gkqkq50t/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 14439008 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: 9410711/tftp-deploy-gkqkq50t/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/9410711/extract-nfsrootfs-woi3qx1r,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: 18175359 Starting kernel ... [ 0.000000] Linux version 5.10.172-cip27 (KernelCI@build-j1120725-x86-64-gcc-10-x86-64-defconfig-x86-chromebowkvxb) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Fri Mar 3 19:27:28 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/9410711/extract-nfsrootfs-woi3qx1r,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.000057] last_pfn = 0x17f000 max_arch_pfn = 0x400000000 [ 0.001405] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.007261] last_pfn = 0x7a998 max_arch_pfn = 0x400000000 [ 0.026865] check: Scanning 1 areas for low memory corruption [ 0.026878] Using GB pages for direct mapping [ 0.027750] RAMDISK: [mem 0x377ea000-0x37ffffff] [ 0.027758] ACPI: Early table checksum verification disabled [ 0.027767] ACPI: RSDP 0x00000000000F0000 000024 (v02 CORE ) [ 0.027782] ACPI: XSDT 0x000000007AA9A0E0 00006C (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027801] ACPI: FACP 0x000000007AA9E970 0000F4 (v04 CORE COREBOOT 00000000 CORE 00000000) [ 0.027819] ACPI: DSDT 0x000000007AA9A280 0046E3 (v05 COREv4 COREBOOT 20110725 INTL 20180531) [ 0.027833] ACPI: FACS 0x000000007AA9A240 000040 [ 0.027846] ACPI: FACS 0x000000007AA9A240 000040 [ 0.027859] ACPI: SSDT 0x000000007AA9EA70 000EFA (v02 CORE COREBOOT 0000002A CORE 0000002A) [ 0.027873] ACPI: MCFG 0x000000007AA9F970 00003C (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027887] ACPI: TPM2 0x000000007AA9F9B0 000040 (v04 CORE COREBOOT 00000000 CORE 00000000) [ 0.027900] ACPI: APIC 0x000000007AA9F9F0 00006C (v02 CORE COREBOOT 00000000 CORE 00000000) [ 0.027914] ACPI: NHLT 0x000000007AA9FA60 001B1C (v05 GOOGLE RAMMUS 00000000 CORE 00000000) [ 0.027928] ACPI: DMAR 0x000000007AAA1580 000088 (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027942] ACPI: DBG2 0x000000007AAA3610 000061 (v00 CORE COREBOOT 00000000 CORE 00000000) [ 0.027955] ACPI: HPET 0x000000007AAA3680 000038 (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.027969] ACPI: Reserving FACP table memory at [mem 0x7aa9e970-0x7aa9ea63] [ 0.027975] ACPI: Reserving DSDT table memory at [mem 0x7aa9a280-0x7aa9e962] [ 0.027980] ACPI: Reserving FACS table memory at [mem 0x7aa9a240-0x7aa9a27f] [ 0.027985] ACPI: Reserving FACS table memory at [mem 0x7aa9a240-0x7aa9a27f] [ 0.027991] ACPI: Reserving SSDT table memory at [mem 0x7aa9ea70-0x7aa9f969] [ 0.027996] ACPI: Reserving MCFG table memory at [mem 0x7aa9f970-0x7aa9f9ab] [ 0.028001] ACPI: Reserving TPM2 table memory at [mem 0x7aa9f9b0-0x7aa9f9ef] [ 0.028006] ACPI: Reserving APIC table memory at [mem 0x7aa9f9f0-0x7aa9fa5b] [ 0.028012] ACPI: Reserving NHLT table memory at [mem 0x7aa9fa60-0x7aaa157b] [ 0.028017] ACPI: Reserving DMAR table memory at [mem 0x7aaa1580-0x7aaa1607] [ 0.028022] ACPI: Reserving DBG2 table memory at [mem 0x7aaa3610-0x7aaa3670] [ 0.028028] ACPI: Reserving HPET table memory at [mem 0x7aaa3680-0x7aaa36b7] [ 0.028171] No NUMA configuration found [ 0.028177] Faking a node at [mem 0x0000000000000000-0x000000017effffff] [ 0.028188] NODE_DATA(0) allocated [mem 0x17effc000-0x17effffff] [ 0.028237] Zone ranges: [ 0.028243] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.028251] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.028260] Normal [mem 0x0000000100000000-0x000000017effffff] [ 0.028268] Movable zone start for each node [ 0.028273] Early memory node ranges [ 0.028279] node 0: [mem 0x0000000000001000-0x000000000009ffff] [ 0.028284] node 0: [mem 0x0000000000100000-0x000000007a997fff] [ 0.028290] node 0: [mem 0x0000000100000000-0x000000017effffff] [ 0.028297] Initmem setup node 0 [mem 0x0000000000001000-0x000000017effffff] [ 0.028336] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.028386] On node 0, zone DMA: 96 pages in unavailable ranges [ 0.040342] On node 0, zone Normal: 22120 pages in unavailable ranges [ 0.040422] On node 0, zone Normal: 4096 pages in unavailable ranges [ 0.040449] Reserving Intel graphics memory at [mem 0x7c000000-0x7fffffff] [ 0.040811] ACPI: PM-Timer IO Port: 0x1808 [ 0.040878] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119 [ 0.040892] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.040899] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.040914] Using ACPI (MADT) for SMP configuration information [ 0.040920] ACPI: HPET id: 0x8086a701 base: 0xfed00000 [ 0.040928] TSC deadline timer available [ 0.040933] smpboot: Allowing 4 CPUs, 0 hotplug CPUs [ 0.040964] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.040971] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.040977] PM: hibernation: Registered nosave memory: [mem 0x7a998000-0x7affffff] [ 0.040981] PM: hibernation: Registered nosave memory: [mem 0x7b000000-0x7fffffff] [ 0.040986] PM: hibernation: Registered nosave memory: [mem 0x80000000-0xdfffffff] [ 0.040991] PM: hibernation: Registered nosave memory: [mem 0xe0000000-0xe3ffffff] [ 0.040995] PM: hibernation: Registered nosave memory: [mem 0xe4000000-0xfdffffff] [ 0.041000] PM: hibernation: Registered nosave memory: [mem 0xfe000000-0xfe00ffff] [ 0.041004] PM: hibernation: Registered nosave memory: [mem 0xfe010000-0xfed0ffff] [ 0.041009] PM: hibernation: Registered nosave memory: [mem 0xfed10000-0xfed19fff] [ 0.041013] PM: hibernation: Registered nosave memory: [mem 0xfed1a000-0xfed7ffff] [ 0.041018] PM: hibernation: Registered nosave memory: [mem 0xfed80000-0xfed84fff] [ 0.041022] PM: hibernation: Registered nosave memory: [mem 0xfed85000-0xfed8ffff] [ 0.041027] PM: hibernation: Registered nosave memory: [mem 0xfed90000-0xfed91fff] [ 0.041031] PM: hibernation: Registered nosave memory: [mem 0xfed92000-0xffffffff] [ 0.041041] [mem 0x80000000-0xdfffffff] available for PCI devices [ 0.041049] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.056097] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 nr_node_ids:1 [ 0.056404] percpu: Embedded 59 pages/cpu s200848 r8192 d32624 u524288 [ 0.056487] Built 1 zonelists, mobility grouping on. Total pages: 1006266 [ 0.056492] Policy zone: Normal [ 0.056507] 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/9410711/extract-nfsrootfs-woi3qx1r,tcp,hard ip=dhcp tftpserverip=192.168.201.1 [ 0.057064] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.057325] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.057430] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.079860] Memory: 3888512K/4089052K available (18450K kernel code, 3466K rwdata, 8024K rodata, 2020K init, 13252K bss, 200280K reserved, 0K cma-reserved) [ 0.080019] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.080101] Kernel/User page tables isolation: enabled [ 0.080187] ftrace: allocating 53366 entries in 209 pages [ 0.141531] ftrace: allocated 209 pages with 4 groups [ 0.141861] Running RCU self tests [ 0.141879] rcu: Hierarchical RCU implementation. [ 0.141884] rcu: RCU event tracing is enabled. [ 0.141889] rcu: RCU lockdep checking is enabled. [ 0.141894] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. [ 0.141900] Rude variant of Tasks RCU enabled. [ 0.141904] Tracing variant of Tasks RCU enabled. [ 0.141910] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.141915] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.152699] NR_IRQS: 4352, nr_irqs: 1024, preallocated irqs: 16 [ 0.153192] random: crng init done [ 0.153306] Console: colour dummy device 80x25 [ 0.228606] printk: console [ttyS0] enabled [ 0.228975] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.229637] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.229998] ... MAX_LOCK_DEPTH: 48 [ 0.230366] ... MAX_LOCKDEP_KEYS: 8192 [ 0.230749] ... CLASSHASH_SIZE: 4096 [ 0.231131] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.231521] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.231909] ... CHAINHASH_SIZE: 32768 [ 0.232299] memory used by lock dependency info: 6365 kB [ 0.232768] memory used for stack traces: 4224 kB [ 0.233186] per task-struct memory footprint: 1920 bytes [ 0.233717] ACPI: Core revision 20200925 [ 0.234334] hpet: HPET dysfunctional in PC10. Force disabled. [ 0.234835] APIC: Switch to symmetric I/O mode setup [ 0.239271] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x170fff30cc4, max_idle_ns: 440795237869 ns [ 0.240195] Calibrating delay loop (skipped), value calculated using timer frequency.. 3199.92 BogoMIPS (lpj=1599960) [ 0.241101] pid_max: default: 32768 minimum: 301 [ 0.241176] LSM: Security Framework initializing [ 0.241176] SELinux: Initializing. [ 0.241176] LSM support for eBPF active [ 0.241176] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.241176] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.241176] mce: CPU0: Thermal monitoring enabled (TM1) [ 0.241176] process: using mwait in idle threads [ 0.241176] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8 [ 0.241176] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 [ 0.241176] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 0.241176] Spectre V2 : Mitigation: IBRS [ 0.241176] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.241176] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT [ 0.241176] RETBleed: Mitigation: IBRS [ 0.241176] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.241176] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 0.241176] MDS: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.241176] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.241176] SRBDS: Vulnerable: No microcode [ 0.241176] ------------[ cut here ]------------ [ 0.241176] missing return thunk: lkdtm_rodata_do_nothing+0x0/0x10-lkdtm_rodata_do_nothing+0x5/0x10: e9 00 00 00 00 [ 0.241176] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:712 apply_returns+0x1f5/0x220 [ 0.241176] Modules linked in: [ 0.241176] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.172-cip27 #1 [ 0.241176] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 0.241176] RIP: 0010:apply_returns+0x1f5/0x220 [ 0.241176] 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 98 84 bf 8f c6 05 ad 5d e4 01 01 e8 4d 53 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.241176] RSP: 0000:ffffffff8fe03de0 EFLAGS: 00010282 [ 0.241176] RAX: 0000000000000000 RBX: ffffffff908e0ae0 RCX: 0000000000000000 [ 0.241176] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8e37abb1 [ 0.241176] RBP: ffffffff8f8d15a0 R08: 0000000000000001 R09: 0000000000000001 [ 0.241176] R10: ffffffff8fe8fec0 R11: 3fffffffffffffff R12: ffffffff908f8538 [ 0.241176] R13: cccccccccccccccc R14: ffffffff8f8d15a5 R15: 0000000000000004 [ 0.241176] FS: 0000000000000000(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 0.241176] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.241176] CR2: ffff8a8b77601000 CR3: 0000000175e26001 CR4: 00000000003706f0 [ 0.241176] Call Trace: [ 0.241176] alternative_instructions+0x7d/0x143 [ 0.241176] check_bugs+0xece/0xf2a [ 0.241176] start_kernel+0x517/0x54d [ 0.241176] secondary_startup_64_no_verify+0xc2/0xcb [ 0.241176] irq event stamp: 162655 [ 0.241176] hardirqs last enabled at (162663): [] console_unlock+0x4d1/0x5f0 [ 0.241176] hardirqs last disabled at (162670): [] console_unlock+0x444/0x5f0 [ 0.241176] softirqs last enabled at (1816): [] cgroup_idr_alloc.constprop.0+0x5b/0xe0 [ 0.241176] softirqs last disabled at (1814): [] cgroup_idr_alloc.constprop.0+0x2e/0xe0 [ 0.241176] ---[ end trace 5fbbb9d5c0737cfc ]--- [ 0.241176] Freeing SMP alternatives memory: 44K [ 0.241176] smpboot: CPU0: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz (family: 0x6, model: 0x8e, stepping: 0x9) [ 0.242192] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver. [ 0.243118] ... version: 4 [ 0.243184] ... bit width: 48 [ 0.243549] ... generic registers: 4 [ 0.243906] ... value mask: 0000ffffffffffff [ 0.244185] ... max period: 00007fffffffffff [ 0.244652] ... fixed-purpose events: 3 [ 0.245009] ... event mask: 000000070000000f [ 0.245927] rcu: Hierarchical SRCU implementation. [ 0.248626] smp: Bringing up secondary CPUs ... [ 0.250066] x86: Booting SMP configuration: [ 0.250222] .... node #0, CPUs: #1 [ 0.251715] 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.253190] 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.255078] #2 #3 [ 0.258264] smp: Brought up 1 node, 4 CPUs [ 0.258824] smpboot: Max logical packages: 1 [ 0.259185] smpboot: Total of 4 processors activated (12799.68 BogoMIPS) [ 0.262193] devtmpfs: initialized [ 0.262953] x86/mm: Memory block size: 128MB [ 0.268413] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.269208] futex hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.270413] pinctrl core: initialized pinctrl subsystem [ 0.271384] PM: RTC time: 19:35:26, date: 2023-03-03 [ 0.272608] NET: Registered protocol family 16 [ 0.274056] audit: initializing netlink subsys (disabled) [ 0.274250] audit: type=2000 audit(1677872125.034:1): state=initialized audit_enabled=0 res=1 [ 0.275392] thermal_sys: Registered thermal governor 'step_wise' [ 0.275400] thermal_sys: Registered thermal governor 'user_space' [ 0.276033] cpuidle: using governor menu [ 0.276624] ACPI: bus type PCI registered [ 0.277693] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) [ 0.278191] PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in E820 [ 0.278824] PCI: Using configuration type 1 for base access [ 0.311103] Kprobes globally optimized [ 0.311362] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.312210] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.313031] cryptomgr_test (38) used greatest stack depth: 14880 bytes left [ 0.316592] ACPI: Added _OSI(Module Device) [ 0.317192] ACPI: Added _OSI(Processor Device) [ 0.317588] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.318007] ACPI: Added _OSI(Processor Aggregator Device) [ 0.318199] ACPI: Added _OSI(Linux-Dell-Video) [ 0.318619] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.319089] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.336462] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 0.348152] ACPI: EC: EC started [ 0.348183] ACPI: EC: interrupt blocked [ 0.349611] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.350061] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions [ 0.350186] ACPI: Interpreter enabled [ 0.350612] ACPI: (supports S0 S3 S4 S5) [ 0.350965] ACPI: Using IOAPIC for interrupt routing [ 0.351290] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.376133] ACPI: Power Resource [PRIC] (on) [ 0.510901] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.511197] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] [ 0.512394] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability LTR] [ 0.513087] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge [ 0.514044] PCI host bridge to bus 0000:00 [ 0.514190] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.514785] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.515187] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.515835] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff window] [ 0.516186] pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff window] [ 0.516833] pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff window] [ 0.517186] pci_bus 0000:00: root bus resource [mem 0x000cc000-0x000cffff window] [ 0.517834] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff window] [ 0.518185] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff window] [ 0.518834] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff window] [ 0.519186] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff window] [ 0.519833] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff window] [ 0.520186] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff window] [ 0.520834] pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff window] [ 0.521186] pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff window] [ 0.521834] pci_bus 0000:00: root bus resource [mem 0x000f0000-0x000fffff window] [ 0.522186] pci_bus 0000:00: root bus resource [mem 0x80000001-0xdfffffff window] [ 0.522835] pci_bus 0000:00: root bus resource [mem 0x800000000-0xbffffffff window] [ 0.523186] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfe7fffff window] [ 0.523833] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window] [ 0.524187] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.524778] pci 0000:00:00.0: [8086:590c] type 00 class 0x060000 [ 0.526591] pci 0000:00:02.0: [8086:591c] type 00 class 0x030000 [ 0.527146] pci 0000:00:02.0: reg 0x10: [mem 0xd0000000-0xd0ffffff 64bit] [ 0.527207] pci 0000:00:02.0: reg 0x18: [mem 0xc0000000-0xcfffffff 64bit pref] [ 0.527843] pci 0000:00:02.0: reg 0x20: [io 0x1c00-0x1c3f] [ 0.529085] pci 0000:00:04.0: [8086:1903] type 00 class 0x118000 [ 0.529216] pci 0000:00:04.0: reg 0x10: [mem 0xd1120000-0xd1127fff 64bit] [ 0.530887] pci 0000:00:08.0: [8086:1911] type 00 class 0x088000 [ 0.531217] pci 0000:00:08.0: reg 0x10: [mem 0xd1130000-0xd1130fff 64bit] [ 0.532728] pci 0000:00:14.0: [8086:9d2f] type 00 class 0x0c0330 [ 0.533229] pci 0000:00:14.0: reg 0x10: [mem 0xd1100000-0xd110ffff 64bit] [ 0.533988] pci 0000:00:14.0: PME# supported from D3hot D3cold [ 0.535267] pci 0000:00:14.2: [8086:9d31] type 00 class 0x118000 [ 0.535834] pci 0000:00:14.2: reg 0x10: [mem 0xd1131000-0xd1131fff 64bit] [ 0.537135] pci 0000:00:15.0: [8086:9d60] type 00 class 0x118000 [ 0.537236] pci 0000:00:15.0: reg 0x10: [mem 0xd1132000-0xd1132fff 64bit] [ 0.538955] pci 0000:00:15.1: [8086:9d61] type 00 class 0x118000 [ 0.539234] pci 0000:00:15.1: reg 0x10: [mem 0xd1133000-0xd1133fff 64bit] [ 0.540990] pci 0000:00:19.0: [8086:9d66] type 00 class 0x118000 [ 0.541237] pci 0000:00:19.0: reg 0x10: [mem 0xfe034000-0xfe034fff 64bit] [ 0.541858] pci 0000:00:19.0: reg 0x18: [mem 0xd1135000-0xd1135fff 64bit] [ 0.543284] pci 0000:00:19.1: [8086:9d65] type 00 class 0x118000 [ 0.543856] pci 0000:00:19.1: reg 0x10: [mem 0xd1136000-0xd1136fff 64bit] [ 0.545358] pci 0000:00:1c.0: [8086:9d10] type 01 class 0x060400 [ 0.546121] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.547272] pci 0000:00:1e.0: [8086:9d27] type 00 class 0x118000 [ 0.547847] pci 0000:00:1e.0: reg 0x10: [mem 0xd1137000-0xd1137fff 64bit] [ 0.549329] pci 0000:00:1e.2: [8086:9d29] type 00 class 0x118000 [ 0.549905] pci 0000:00:1e.2: reg 0x10: [mem 0xd1138000-0xd1138fff 64bit] [ 0.551314] pci 0000:00:1e.4: [8086:9d2b] type 00 class 0x080501 [ 0.551881] pci 0000:00:1e.4: reg 0x10: [mem 0xd1139000-0xd1139fff 64bit] [ 0.553466] pci 0000:00:1e.6: [8086:9d2d] type 00 class 0x080501 [ 0.554036] pci 0000:00:1e.6: reg 0x10: [mem 0xd113a000-0xd113afff 64bit] [ 0.555281] pci 0000:00:1f.0: [8086:9d4b] type 00 class 0x060100 [ 0.556884] pci 0000:00:1f.2: [8086:9d21] type 00 class 0x058000 [ 0.557222] pci 0000:00:1f.2: reg 0x10: [mem 0xd1128000-0xd112bfff] [ 0.558829] pci 0000:00:1f.3: [8086:9d71] type 00 class 0x040100 [ 0.559234] pci 0000:00:1f.3: reg 0x10: [mem 0xd112c000-0xd112ffff 64bit] [ 0.559887] pci 0000:00:1f.3: reg 0x20: [mem 0xd1110000-0xd111ffff 64bit] [ 0.560313] pci 0000:00:1f.3: PME# supported from D3hot D3cold [ 0.561901] pci 0000:00:1f.4: [8086:9d23] type 00 class 0x0c0500 [ 0.562254] pci 0000:00:1f.4: reg 0x10: [mem 0xd113c000-0xd113c0ff 64bit] [ 0.562921] pci 0000:00:1f.4: reg 0x20: [io 0xefa0-0xefbf] [ 0.564212] pci 0000:00:1f.5: [8086:9d24] type 00 class 0x000000 [ 0.564770] pci 0000:00:1f.5: reg 0x10: [mem 0xfe010000-0xfe010fff] [ 0.566886] pci 0000:01:00.0: [8086:095a] type 00 class 0x028000 [ 0.568131] pci 0000:01:00.0: reg 0x10: [mem 0xd1000000-0xd1001fff 64bit] [ 0.572630] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.575620] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.576098] pci 0000:00:1c.0: bridge window [mem 0xd1000000-0xd10fffff] [ 0.578193] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.579315] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *10 12 14 15) [ 0.580361] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.581437] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.582502] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.583573] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.584599] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.585598] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.594688] ACPI: EC: interrupt unblocked [ 0.595063] ACPI: EC: event unblocked [ 0.595185] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.595639] ACPI: EC: GPE=0x6e [ 0.595924] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC initialization complete [ 0.596190] ACPI: \_SB_.PCI0.LPCB.EC0_: EC: Used to handle transactions and events [ 0.597461] iommu: Default domain type: Translated [ 0.598437] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.598832] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.599215] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.599719] vgaarb: loaded [ 0.600719] SCSI subsystem initialized [ 0.601524] ACPI: bus type USB registered [ 0.602058] usbcore: registered new interface driver usbfs [ 0.602271] usbcore: registered new interface driver hub [ 0.602793] usbcore: registered new device driver usb [ 0.603364] pps_core: LinuxPPS API ver. 1 registered [ 0.603803] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.604202] PTP clock support registered [ 0.605326] Advanced Linux Sound Architecture Driver Initialized. [ 0.607264] NetLabel: Initializing [ 0.607575] NetLabel: domain hash size = 128 [ 0.607963] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.608286] NetLabel: unlabeled traffic allowed by default [ 0.608898] PCI: Using ACPI for IRQ routing [ 0.617130] clocksource: Switched to clocksource tsc-early [ 1.170367] VFS: Disk quotas dquot_6.6.0 [ 1.170784] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.171942] pnp: PnP ACPI init [ 1.173365] system 00:00: [mem 0xfed10000-0xfed17fff] has been reserved [ 1.173949] system 00:00: [mem 0xfed18000-0xfed18fff] has been reserved [ 1.174554] system 00:00: [mem 0xfed19000-0xfed19fff] has been reserved [ 1.175136] system 00:00: [mem 0xe0000000-0xe3ffffff] has been reserved [ 1.175738] system 00:00: [mem 0xfed20000-0xfed3ffff] has been reserved [ 1.176343] system 00:00: [mem 0xfed90000-0xfed93fff] could not be reserved [ 1.176953] system 00:00: [mem 0xfed45000-0xfed8ffff] could not be reserved [ 1.177582] system 00:00: [mem 0xff000000-0xffffffff] has been reserved [ 1.178163] system 00:00: [mem 0xfee00000-0xfeefffff] has been reserved [ 1.178773] system 00:00: [mem 0xfed00000-0xfed003ff] has been reserved [ 1.180628] system 00:01: [io 0x1800-0x18fe] has been reserved [ 1.181701] system 00:03: [io 0x0900-0x09fe] has been reserved [ 1.182592] system 00:04: [io 0x0200] has been reserved [ 1.183065] system 00:04: [io 0x0204] has been reserved [ 1.183564] system 00:04: [io 0x0800-0x087f] has been reserved [ 1.184087] system 00:04: [io 0x0880-0x08ff] has been reserved [ 1.188168] pnp: PnP ACPI: found 6 devices [ 1.206071] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 1.207016] NET: Registered protocol family 2 [ 1.207620] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 1.210324] tcp_listen_portaddr_hash hash table entries: 2048 (order: 5, 163840 bytes, linear) [ 1.211377] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 1.212358] TCP bind hash table entries: 32768 (order: 9, 2359296 bytes, linear) [ 1.215277] TCP: Hash tables configured (established 32768 bind 32768) [ 1.216271] MPTCP token hash table entries: 4096 (order: 6, 360448 bytes, linear) [ 1.217282] UDP hash table entries: 2048 (order: 6, 327680 bytes, linear) [ 1.218211] UDP-Lite hash table entries: 2048 (order: 6, 327680 bytes, linear) [ 1.219336] NET: Registered protocol family 1 [ 1.220653] RPC: Registered named UNIX socket transport module. [ 1.221227] RPC: Registered udp transport module. [ 1.221645] RPC: Registered tcp transport module. [ 1.222063] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.223381] NET: Registered protocol family 44 [ 1.223800] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 1.224282] pci 0000:00:1c.0: bridge window [mem 0xd1000000-0xd10fffff] [ 1.224892] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 1.225445] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 1.225985] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 1.226676] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000c3fff window] [ 1.227293] pci_bus 0000:00: resource 8 [mem 0x000c4000-0x000c7fff window] [ 1.227890] pci_bus 0000:00: resource 9 [mem 0x000c8000-0x000cbfff window] [ 1.228506] pci_bus 0000:00: resource 10 [mem 0x000cc000-0x000cffff window] [ 1.229113] pci_bus 0000:00: resource 11 [mem 0x000d0000-0x000d3fff window] [ 1.229735] pci_bus 0000:00: resource 12 [mem 0x000d4000-0x000d7fff window] [ 1.230411] pci_bus 0000:00: resource 13 [mem 0x000d8000-0x000dbfff window] [ 1.231017] pci_bus 0000:00: resource 14 [mem 0x000dc000-0x000dffff window] [ 1.231640] pci_bus 0000:00: resource 15 [mem 0x000e0000-0x000e3fff window] [ 1.232266] pci_bus 0000:00: resource 16 [mem 0x000e4000-0x000e7fff window] [ 1.232872] pci_bus 0000:00: resource 17 [mem 0x000e8000-0x000ebfff window] [ 1.233494] pci_bus 0000:00: resource 18 [mem 0x000ec000-0x000effff window] [ 1.234101] pci_bus 0000:00: resource 19 [mem 0x000f0000-0x000fffff window] [ 1.234723] pci_bus 0000:00: resource 20 [mem 0x80000001-0xdfffffff window] [ 1.235348] pci_bus 0000:00: resource 21 [mem 0x800000000-0xbffffffff window] [ 1.235968] pci_bus 0000:00: resource 22 [mem 0xfd000000-0xfe7fffff window] [ 1.236591] pci_bus 0000:00: resource 23 [mem 0xfed40000-0xfed44fff window] [ 1.237217] pci_bus 0000:01: resource 1 [mem 0xd1000000-0xd10fffff] [ 1.238446] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 1.241870] PCI: CLS 64 bytes, default 64 [ 1.242740] Unpacking initramfs... [ 1.610860] Freeing initrd memory: 8280K [ 1.611311] DMAR: Host address width 39 [ 1.611689] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 1.612281] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e [ 1.613029] DMAR: RMRR base: 0x0000007b800000 end: 0x0000007fffffff [ 1.613597] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 1.614103] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da [ 1.614919] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 1.615499] software IO TLB: mapped [mem 0x0000000076998000-0x000000007a998000] (64MB) [ 1.616489] RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer [ 1.617173] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules [ 1.617701] RAPL PMU: hw unit of domain package 2^-14 Joules [ 1.618216] RAPL PMU: hw unit of domain dram 2^-14 Joules [ 1.618692] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules [ 1.619206] RAPL PMU: hw unit of domain psys 2^-14 Joules [ 1.621991] kvm: already loaded the other module [ 1.634810] check: Scanning for low memory corruption every 60 seconds [ 1.639684] Initialise system trusted keyrings [ 1.640408] workingset: timestamp_bits=56 max_order=20 bucket_order=0 [ 1.668060] NFS: Registering the id_resolver key type [ 1.668575] Key type id_resolver registered [ 1.668979] Key type id_legacy registered [ 1.691528] Key type asymmetric registered [ 1.691928] Asymmetric key parser 'x509' registered [ 1.692453] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.693115] io scheduler mq-deadline registered [ 1.693536] io scheduler kyber registered [ 1.694215] test_firmware: interface ready [ 1.696702] pcieport 0000:00:1c.0: PME: Signaling with IRQ 120 [ 1.698933] ACPI: AC Adapter [AC] (on-line) [ 1.699832] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/PNP0C09:00/PNP0C0D:00/input/input0 [ 1.701801] ACPI: Lid Switch [LID0] [ 1.702521] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 1.703516] ACPI: Power Button [PWRF] [ 1.704350] ACPI: \_PR_.CP00: Found 3 idle states [ 1.705847] ACPI: \_PR_.CP01: Found 3 idle states [ 1.707097] ACPI: \_PR_.CP02: Found 3 idle states [ 1.708346] ACPI: \_PR_.CP03: Found 3 idle states [ 1.710397] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.714151] hpet_acpi_add: no address or irqs in _CRS [ 1.714972] Non-volatile memory driver v1.3 [ 1.715610] Linux agpgart interface v0.103 [ 1.716351] battery: ACPI: Battery Slot [BAT0] (battery present) [ 1.719671] i915 0000:00:02.0: vgaarb: deactivate vga console [ 1.772654] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 1.774489] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) [ 1.815169] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0 [ 1.819814] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 1 [ 1.843612] loop: module loaded [ 1.845005] lkdtm: No crash points registered, enable through debugfs [ 1.877108] printk: console [ttyS0] disabled [ 1.878536] dw-apb-uart.2: ttyS0 at MMIO 0xfe034000 (irq = 32, base_baud = 115200) is a 16550A [ 2.647664] tsc: Refined TSC clocksource calibration: 1607.999 MHz [ 2.647700] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x172da94f0e2, max_idle_ns: 440795278248 ns [ 2.647914] clocksource: Switched to clocksource tsc [ 5.274015] printk: console [ttyS0] enabled [ 5.274062] fbcon: i915drmfb (fb0) is primary device [ 5.291220] dw-apb-uart.4: ttyS1 at MMIO 0xd1137000 (irq = 20, base_baud = 115200) is a 16550A [ 5.293896] pxa2xx-spi pxa2xx-spi.5: no DMA channels available, using PIO [ 5.305788] e100: Intel(R) PRO/100 Network Driver [ 5.305794] e100: Copyright(c) 1999-2006 Intel Corporation [ 5.305898] e1000: Intel(R) PRO/1000 Network Driver [ 5.305901] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 5.306034] e1000e: Intel(R) PRO/1000 Network Driver [ 5.306037] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 5.306208] sky2: driver version 1.30 [ 5.306743] usbcore: registered new interface driver r8152 [ 5.307445] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 5.307456] Console: switching to colour frame buffer device 240x67 [ 5.307470] tpm_tis_spi spi-PRP0001:00: TPM ready IRQ confirmed on attempt 2 [ 5.307480] ehci-pci: EHCI PCI platform driver [ 5.307591] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.307622] ohci-pci: OHCI PCI platform driver [ 5.307732] uhci_hcd: USB Universal Host Controller Interface driver [ 5.309597] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 5.310812] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 [ 5.312271] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810 [ 5.312348] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported [ 5.315105] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 5.315700] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [ 5.315717] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed [ 5.316407] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 5.316433] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.316438] usb usb1: Product: xHCI Host Controller [ 5.316445] usb usb1: Manufacturer: Linux 5.10.172-cip27 xhci-hcd [ 5.316450] usb usb1: SerialNumber: 0000:00:14.0 [ 5.318684] hub 1-0:1.0: USB hub found [ 5.318899] hub 1-0:1.0: 12 ports detected [ 5.324767] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 5.324774] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.324780] usb usb2: Product: xHCI Host Controller [ 5.324785] usb usb2: Manufacturer: Linux 5.10.172-cip27 xhci-hcd [ 5.324789] usb usb2: SerialNumber: 0000:00:14.0 [ 5.326137] hub 2-0:1.0: USB hub found [ 5.326302] hub 2-0:1.0: 6 ports detected [ 5.329163] usbcore: registered new interface driver usblp [ 5.329302] usbcore: registered new interface driver usb-storage [ 5.330012] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers [ 5.330242] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 [ 5.330246] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp [ 5.331048] i8042: Warning: Keylock active [ 5.335759] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device [ 5.341483] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 5.341797] tpm_tis_spi spi-PRP0001:00: 2.0 TPM (device-id 0x28, rev-id 0) [ 5.662041] rtc_cmos 00:02: RTC can wake from S4 [ 5.669856] rtc_cmos 00:02: registered as rtc0 [ 5.670116] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 5.675147] rtc_cmos 00:02: alarms up to one month, 242 bytes nvram [ 5.692976] i801_smbus 0000:00:1f.4: SPD Write Disable is set [ 5.699471] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt [ 5.707155] i2c i2c-9: 2/2 memory slots populated (from DMI) [ 5.715494] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com [ 5.725029] intel_pstate: Intel P-state driver initializing [ 5.732229] intel_pstate: HWP enabled [ 5.736373] sdhci: Secure Digital Host Controller Interface driver [ 5.742050] 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.743282] sdhci: Copyright(c) Pierre Ossman [ 5.743318] sdhci-pci 0000:00:1e.4: SDHCI controller found [8086:9d2b] (rev 21) [ 5.770195] mmc0: SDHCI controller on PCI [0000:00:1e.4] using ADMA 64-bit [ 5.778232] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.787791] hid: raw HID events driver (C) Jiri Kosina [ 5.794330] usbcore: registered new interface driver usbhid [ 5.800578] usbhid: USB HID core driver [ 5.805362] input: Tablet Mode Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/PNP0C09:00/GOOG0006:00/input/input3 [ 5.823373] cros_ec_lpcs GOOG0004:00: Chrome EC device registered [ 5.830958] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 5.842048] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 5.848492] IPv4 over IPsec tunneling driver [ 5.853527] Initializing XFRM netlink socket [ 5.858906] NET: Registered protocol family 10 [ 5.864808] Segment Routing with IPv6 [ 5.869593] NET: Registered protocol family 17 [ 5.874856] 8021q: 802.1Q VLAN Support v1.8 [ 5.879597] Key type dns_resolver registered [ 5.882252] usb 1-3: new full-speed USB device number 2 using xhci_hcd [ 5.892031] microcode: sig=0x806e9, pf=0x10, revision=0x98 [ 5.898405] microcode: Microcode Update Driver: v2.2. [ 5.898414] IPI shorthand broadcast: enabled [ 5.908996] sched_clock: Marking stable (5821879111, 87028471)->(6040324016, -131416434) [ 5.918181] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops) [ 5.928116] registered taskstats version 1 [ 5.932751] Loading compiled-in X.509 certificates [ 5.940099] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.942543] snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up [ 5.950172] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.965282] PM: Magic number: 15:251:596 [ 5.970172] printk: console [netcon0] enabled [ 5.975104] netconsole: network logging started [ 6.012057] mmc0: new HS400 MMC card at address 0001 [ 6.018488] mmcblk0: mmc0:0001 DA4064 58.2 GiB [ 6.023716] mmcblk0boot0: mmc0:0001 DA4064 partition 1 4.00 MiB [ 6.030471] mmcblk0boot1: mmc0:0001 DA4064 partition 2 4.00 MiB [ 6.037353] mmcblk0rpmb: mmc0:0001 DA4064 partition 3 16.0 MiB, chardev (246:0) [ 6.037606] usb 1-3: New USB device found, idVendor=8087, idProduct=0a2a, bcdDevice= 0.03 [ 6.054773] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 6.065950] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 [ 6.066327] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.082049] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.152455] usb 2-3: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 6.173942] usb 2-3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00 [ 6.183116] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ 6.191103] usb 2-3: Product: USB 10/100/1000 LAN [ 6.196373] usb 2-3: Manufacturer: Realtek [ 6.200961] usb 2-3: SerialNumber: 001000001 [ 6.208748] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.287448] usb 1-9: new high-speed USB device number 3 using xhci_hcd [ 6.457243] usb 1-9: New USB device found, idVendor=13d3, idProduct=56d4, bcdDevice=18.07 [ 6.466429] usb 1-9: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 6.474439] usb 1-9: Product: USB2.0 HD UVC WebCam [ 6.479825] usb 1-9: Manufacturer: Azurewave [ 6.484629] usb 1-9: SerialNumber: 0x0001 [ 6.496684] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 6.542823] usb 2-3: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 6.598012] r8152 2-3:1.0: load rtl8153b-2 v1 10/23/19 successfully [ 6.641147] r8152 2-3:1.0 eth0: v1.11.11 [ 6.646343] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 8.242823] r8152 2-3:1.0 eth0: carrier on [ 8.247572] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 8.259362] Sending DHCP requests .., OK [ 10.531272] IP-Config: Got DHCP answer from 192.168.201.1, my address is 192.168.201.11 [ 10.540285] IP-Config: Complete: [ 10.543971] device=eth0, hwaddr=00:e0:4c:68:01:e7, ipaddr=192.168.201.11, mask=255.255.255.0, gw=192.168.201.1 [ 10.555671] host=asus-C433TA-AJ0005-rammus-cbg-1, domain=lava-rack, nis-domain=(none) [ 10.564922] bootserver=192.168.201.1, rootserver=192.168.201.1, rootpath= [ 10.564926] nameserver0=192.168.201.1 [ 10.577821] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 10.589405] modprobe (102) used greatest stack depth: 14208 bytes left [ 10.592683] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 10.596737] modprobe (103) used greatest stack depth: 14120 bytes left [ 10.604392] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 10.605309] ALSA device list: [ 10.605314] No soundcards found. [ 10.628322] cfg80211: failed to load regulatory.db [ 10.633930] dw-apb-uart dw-apb-uart.2: forbid DMA for kernel console [ 10.644248] Freeing unused kernel image (initmem) memory: 2020K [ 10.658446] Write protecting the kernel read-only data: 28672k [ 10.666141] Freeing unused kernel image (text/rodata gap) memory: 2028K [ 10.673895] Freeing unused kernel image (rodata/data gap) memory: 168K [ 10.681269] Run /init as init process Loading, please wait... Starting version 247.3-7+deb11u1 [ 10.703139] systemd-udevd (124) used greatest stack depth: 13800 bytes left [ 10.761445] udevadm (126) used greatest stack depth: 13576 bytes left [ 10.918858] cros-usbpd-notify-acpi GOOG0003:00: Couldn't get Chrome EC device pointer. [ 10.927911] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 10.963704] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 11.018379] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 11.029067] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 11.039378] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 11.052657] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 11.062996] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 11.073690] 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/eth0 found done. IP-Config: eth0 hardware address 00:e0:4c:68:01:e7 mtu 1500 DHCP 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 : [ 11.217672] nfsmount (169) 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 [ 12.456977] 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) [ 12.494543] systemd[1]: Detected architecture x86-64. Welcome to Debian GNU/Linux 11 (bullseye)! [ 12.523404] systemd[1]: Set hostname to . [ 13.002053] systemd[1]: Queued start job for default target Graphical Interface. [ 13.013384] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 13.029880] systemd[1]: Created slice system-modprobe.slice. [ OK ] Created slice system-modprobe.slice. [ 13.045878] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 13.062868] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 13.078756] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 13.097637] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 13.119426] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ OK ] Set up automount Arbitrary…s File System Automount Point. [ 13.142578] systemd[1]: Reached target Local Encrypted Volumes. [ OK ] Reached target Local Encrypted Volumes. [ 13.158490] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 13.169451] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 13.185526] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 13.196452] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 13.207767] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 13.225445] systemd[1]: Listening on Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 13.241488] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 13.257969] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 13.273373] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 13.292021] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 13.307856] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 13.325362] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 13.341934] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 13.359952] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 13.377228] systemd[1]: Mounting Kernel Trace File System... Mounting Kernel Trace File System... [ 13.398275] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... [ 13.420169] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 13.437305] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 13.451264] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 13.488818] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 13.499207] fuse: init (API version 7.32) [ 13.505405] systemd[1]: Starting Journal Service... Starting Journal Service... [ 13.521334] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 13.535135] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 13.554017] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 13.574444] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System. [ 13.589579] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 13.606925] systemd[1]: Mounted Kernel Debug File System. [ OK ] Mounted Kernel Debug File System. [ 13.622523] systemd[1]: Mounted Kernel Trace File System. [ OK ] Mounted Kernel Trace File System. [ 13.639425] systemd[1]: Finished Create list of static device nodes for the current kernel. [ OK ] Finished Create list of st… nodes for the current kernel. [ 13.659317] systemd[1]: modprobe@configfs.service: Succeeded. [ 13.666386] systemd[1]: Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module configfs. [ 13.683327] systemd[1]: modprobe@drm.service: Succeeded. [ 13.690076] systemd[1]: Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module drm. [ 13.707304] systemd[1]: modprobe@fuse.service: Succeeded. [ 13.714151] systemd[1]: Finished Load Kernel Module fuse. [ OK ] Finished Load Kernel Module fuse. [ 13.730406] systemd[1]: Finished Load Kernel Modules. [ OK ] Finished Load Kernel Modules. [ 13.746025] systemd[1]: Finished Remount Root and Kernel File Systems. [ OK ] Finished Remount Root and Kernel File Systems. [ 13.763884] 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... [ 13.840394] systemd-journald[204]: Received client request to flush runtime journal. [ OK ] Mounted FUSE Control File System. [ 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. [ 15.339829] systemd-tmpfile (216) used greatest stack depth: 12528 bytes left [ 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 ] Created slice system-systemd\x2dbacklight.slice. Starting Load/Save Screen …f backlight:intel_backlight... [ OK ] Found device Sunrise Point-LP Serial IO UART Controller. [ OK ] Finished Update UTMP about System Boot/Shutdown. [ OK ] Finished Load/Save Screen … of backlight:intel_backlight. [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ 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.172-cip27 #1 SMP Fri Mar 3 19:27:28 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/9410711/extract-nfsrootfs-woi3qx1r' export NFS_ROOTFS='/var/lib/lava/dispatcher/tmp/9410711/extract-nfsrootfs-woi3qx1r' / # 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-9410711/environment . /lava-9410711/environment / # /lava-9410711/bin/lava-test-runner /lava-9410711/0 /lava-9410711/bin/lava-test-runner /lava-9410711/0 + export TESTRUN_ID=0_timesync-off + TESTRUN_ID=0_timesync-off + cd /lava-9410711/0/tests/0_timesync-off ++ cat uuid + UUID=9410711_1.5.2.3.1 + set +x + systemctl stop systemd-timesyncd + set +x + export TESTRUN_ID=1_kselftest-lkdtm + TESTRUN_ID=1_kselftest-lkdtm + cd /lava-9410711/0/tests/1_kselftest-lkdtm ++ cat uuid + UUID=9410711_1.5.2.3.5 + set +x + cd ./automated/linux/kselftest/ + ./kselftest.sh -c lkdtm -T '' -t kselftest_armhf.tar.gz -s True -u http://storage.kernelci.org/cip-gitlab/ci-iwamatsu-linux-5.10.y-cip-rc/v5.10.168-cip27-109-g23841ec76bec/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-9410711/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: install_deps skipped --2023-03-03 19:35:47-- http://storage.kernelci.org/cip-gitlab/ci-iwamatsu-linux-5.10.y-cip-rc/v5.10.168-cip27-109-g23841ec76bec/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: 3541964 (3.4M) [application/octet-stream] Saving to: 'kselftest.tar.xz' kselftest.tar.xz 0%[ ] 0 --.-KB/s kselftest.tar.xz 1%[ ] 47.81K 169KB/s kselftest.tar.xz 6%[> ] 213.25K 377KB/s kselftest.tar.xz 23%[===> ] 825.54K 919KB/s kselftest.tar.xz 58%[==========> ] 1.97M 1.74MB/s kselftest.tar.xz 91%[=================> ] 3.08M 2.31MB/s kselftest.tar.xz 100%[===================>] 3.38M 2.33MB/s in 1.4s 2023-03-03 19:35:49 (2.33 MB/s) - 'kselftest.tar.xz' saved [3541964/3541964] 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 =============== [ 30.746770] 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 [ 30.909628] lkdtm: Performing direct entry BUG [ 30.914687] ------------[ cut here ]------------ [ 30.919877] kernel BUG at drivers/misc/lkdtm/bugs.c:76! [ 30.925743] invalid opcode: 0000 [#1] SMP PTI [ 30.930617] CPU: 3 PID: 646 Comm: cat Tainted: G W 5.10.172-cip27 #1 [ 30.939178] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 30.945986] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 30.950372] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 30.971352] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 30.977210] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 30.985183] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 30.993156] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 31.001128] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 31.009099] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 31.017057] FS: 00007f1ca619c580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 31.026095] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 31.032504] CR2: 00007f1ca5fa5000 CR3: 0000000104c22003 CR4: 00000000003706e0 [ 31.040471] Call Trace: [ 31.043215] direct_entry.cold+0x2c/0x38 [ 31.047603] full_proxy_write+0x53/0x80 [ 31.051883] vfs_write+0xe7/0x3a0 [ 31.055584] ksys_write+0x68/0xf0 [ 31.059284] do_syscall_64+0x30/0x40 [ 31.063278] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 31.068917] RIP: 0033:0x7f1ca60b2833 [ 31.072907] 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 [ 31.093889] RSP: 002b:00007ffea290f7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 31.102346] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f1ca60b2833 [ 31.110304] RDX: 0000000000000004 RSI: 00007f1ca5fa5000 RDI: 0000000000000001 [ 31.118271] RBP: 00007f1ca5fa5000 R08: 00007f1ca5fa4010 R09: 0000000000000000 [ 31.126262] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 31.134232] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 31.142215] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 31.168676] ---[ end trace 5fbbb9d5c0737cfe ]--- [ 31.173845] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 31.178230] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 31.199239] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 31.205090] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 31.213092] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 31.221092] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 31.229073] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 31.237075] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 31.245102] FS: 00007f1ca619c580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 31.254154] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 31.260601] CR2: 00007f1ca5fa5000 CR3: 0000000104c22003 CR4: 00000000003706e0 # Segmentation fault # [ 30.909628] lkdtm: Performing direct entry BUG # [ 30.914687] ------------[ cut here ]------------ # [ 30.919877] kernel BUG at drivers/misc/lkdtm/bugs.c:76! # [ 30.925743] invalid opcode: 0000 [#1] SMP PTI # [ 30.930617] CPU: 3 PID: 646 Comm: cat Tainted: G W 5.10.172-cip27 #1 # [ 30.939178] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 30.945986] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 30.950372] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 31.342932] lkdtm: Performing direct entry WARNING [ 31.350396] ------------[ cut here ]------------ [ 31.355570] WARNING: CPU: 3 PID: 682 at drivers/misc/lkdtm/bugs.c:83 lkdtm_WARNING+0x13/0x20 # [ 30.971352] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 #[ 31.365011] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 31.397684] CPU: 3 PID: 682 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 30.977210] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX:[ 31.406264] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 31.419278] RIP: 0010:lkdtm_WARNING+0x13/0x20 [ 31.424168] 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 d0 58 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 b1 58 [ 31.445152] RSP: 0018:ffff91a38140fe60 EFLAGS: 00010202 [ 31.451014] RAX: ffffffff8eae4d90 RBX: 0000000000000002 RCX: 0000000000000000 0000000000000000 # [ 30.985183] RDX: 0000000000000000 RSI: f[ 31.458990] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1120 [ 31.473182] RBP: ffffffff8fcba84f R08: 0000000000000000 R09: 0000000000000000 [ 31.481184] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000008 [ 31.489181] R13: ffff91a38140ff10 R14: ffff91a38140ff10 R15: ffff8a8b03d57000 [ 31.497154] FS: 00007f4f83d2c580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 31.506213] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 fff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 30.993156] RBP: fff[ 31.512636] CR2: 00007f4f83b35000 CR3: 0000000102776005 CR4: 00000000003706e0 [ 31.526816] Call Trace: [ 31.529572] direct_entry.cold+0x2c/0x38 [ 31.533986] full_proxy_write+0x53/0x80 fffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ [ 31.538293] vfs_write+0xe7/0x3a0 31.001128] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000[ 31.548216] ksys_write+0x68/0xf0 [ 31.558134] do_syscall_64+0x30/0x40 [ 31.562150] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 31.567795] RIP: 0033:0x7f4f83c42833 [ 31.571787] 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 [ 31.592779] RSP: 002b:00007ffd08b51f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 31.601255] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f4f83c42833 [ 31.609230] RDX: 0000000000000008 RSI: 00007f4f83b35000 RDI: 0000000000000001 [ 31.617214] RBP: 00007f4f83b35000 R08: 00007f4f83b34010 R09: 0000000000000000 0000000000004 # [ 31.009099] R13: ffff91a3813a7f10 R14: ffff9[ 31.625185] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 31.639370] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 31.647345] irq event stamp: 0 1a3813a7f10 R15: ffff8a8b05716000 # [ 31.017057] FS: 00007f1[ 31.650778] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 31.663991] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 31.673131] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 31.682270] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 31.689271] ---[ end trace 5fbbb9d5c0737cff ]--- ca619c580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 31.026095] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 31.032504] CR2: 00007f1ca5fa5000 CR3: 0000000104c22003 CR4: 00000000003706e0 # [ 31.040471] Call Trace: # [ 31.043215] direct_entry.cold+0x2c/0x38 # [ 31.047603] full_proxy_write+0x53/0x80 # [ 31.051883] vfs_write+0xe7/0x3a0 # [ 31.055584] ksys_write+0x68/0xf0 # [ 31.059284] do_syscall_64+0x30/0x40 # [ 31.063278] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 31.068917] RIP: 0033:0x7f1ca60b2833 # [ 31.072907] 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 # [ 31.093889] RSP: 002b:00007ffea290f7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 31.102346] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f1ca60b2833 # [ 31.110304] RDX: 0000000000000004 RSI: 00007f1ca5fa5000 RDI: [ 31.791376] lkdtm: Performing direct entry WARNING_MESSAGE [ 31.800039] ------------[ cut here ]------------ [ 31.805209] Warning message trigger count: 2 [ 31.810015] WARNING: CPU: 3 PID: 717 at drivers/misc/lkdtm/bugs.c:88 lkdtm_WARNING_MESSAGE+0x20/0x30 0000000000000001 # [ 31.118271] RBP: 00007f1ca5fa5000 R08: 00[ 31.820221] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 31.852861] CPU: 3 PID: 717 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 31.861446] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 31.868262] RIP: 0010:lkdtm_WARNING_MESSAGE+0x20/0x30 [ 31.873906] Code: cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 8b 05 b1 58 93 02 48 c7 c7 b0 ad cb 8f 8d 70 01 89 35 a1 58 93 02 e8 72 9a 65 00 <0f> 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 c7 [ 31.894896] RSP: 0018:ffff91a3814a7e60 EFLAGS: 00010286 [ 31.900733] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 [ 31.908707] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 [ 31.916683] RBP: ffffffff8fcba857 R08: 0000000000000000 R09: 0000000000000000 [ 31.924657] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000010 [ 31.932630] R13: ffff91a3814a7f10 R14: ffff91a3814a7f10 R15: ffff8a8b03e92000 [ 31.940604] FS: 00007fba13b2e580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 31.949646] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 31.956065] CR2: 00007fba13937000 CR3: 00000001033aa003 CR4: 00000000003706e0 [ 31.964039] Call Trace: [ 31.966771] direct_entry.cold+0x2c/0x38 [ 31.971199] full_proxy_write+0x53/0x80 007f1ca5fa4010 R09: 0000000000000000 # [ 31.126262] R10: ffff[ 31.975488] vfs_write+0xe7/0x3a0 [ 31.985398] ksys_write+0x68/0xf0 [ 31.989124] do_syscall_64+0x30/0x40 [ 31.993138] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 31.998781] RIP: 0033:0x7fba13a44833 [ 32.002773] 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 [ 32.023759] RSP: 002b:00007ffc93cc9808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 32.032220] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fba13a44833 [ 32.040216] RDX: 0000000000000010 RSI: 00007fba13937000 RDI: 0000000000000001 fffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ [ 32.048187] RBP: 00007fba13937000 R08: 00007fba13936010 R09: 0000000000000000 [ 32.062370] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 31.134232] R13: 0000000000000001 R14: 0000000000020000 R15: 0000[ 32.070344] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 000000020000 # [ 31.142215] Modules linked in: fuse ip_tables[ 32.084535] irq event stamp: 0 [ 32.094160] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 32.101210] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buf[ 32.110351] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 32.125698] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 32.132728] ---[ end trace 5fbbb9d5c0737d00 ]--- fer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 31.168676] ---[ end trace 5fbbb9d5c0737cfe ]--- # [ 31.173845] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 31.178230] Code: 89 ff e8 be 60 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 d0 58 93 02 # [ 31.199239] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 31.205090] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 31.213092] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 31.221092] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 31.229073] R10: 00000000ffffe000[ 32.218015] lkdtm: Performing direct entry EXCEPTION [ 32.224250] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 32.232060] #PF: supervisor write access in kernel mode [ 32.237893] #PF: error_code(0x0002) - not-present page [ 32.243630] PGD 0 P4D 0 [ 32.246448] Oops: 0002 [#2] SMP PTI [ 32.250331] CPU: 2 PID: 749 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 32.258875] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 32.265675] RIP: 0010:lkdtm_EXCEPTION+0x5/0x20 [ 32.270633] Code: 48 c7 c7 b0 ad cb 8f 8d 70 01 89 35 a1 58 93 02 e8 72 9a 65 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 [ 32.291616] RSP: 0018:ffff91a38151fe60 EFLAGS: 00010282 [ 32.297451] RAX: ffffffff8eae4de0 RBX: 0000000000000004 RCX: 0000000000000000 [ 32.305422] RDX: 0000000000000000 RSI: ffff8a8b7ad1bf70 RDI: ffffffff8f8d1140 [ 32.313389] RBP: ffffffff8fbef62f R08: 0000000000000000 R09: 0000000000000000 [ 32.321359] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 32.329328] R13: ffff91a38151ff10 R14: ffff91a38151ff10 R15: ffff8a8b05e95000 [ 32.337297] FS: 00007f6287163580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 32.346336] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 32.352749] CR2: 0000000000000000 CR3: 0000000103fda003 CR4: 00000000003706e0 [ 32.360720] Call Trace: [ 32.363448] direct_entry.cold+0x2c/0x38 [ 32.367826] full_proxy_write+0x53/0x80 [ 32.372108] vfs_write+0xe7/0x3a0 [ 32.375806] ksys_write+0x68/0xf0 [ 32.379503] do_syscall_64+0x30/0x40 [ 32.383493] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 32.389133] RIP: 0033:0x7f6287079833 [ 32.393111] 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 [ 32.414089] RSP: 002b:00007ffdae5e25c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 32.422548] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f6287079833 [ 32.430516] RDX: 000000000000000a RSI: 00007f6286f6c000 RDI: 0000000000000001 [ 32.438486] RBP: 00007f6286f6c000 R08: 00007f6286f6b010 R09: 0000000000000000 [ 32.446457] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 32.454426] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 32.462400] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify R11: 3fffffffffffffff R12: 0000000000000004 # [ 31.237075] R[ 32.488855] CR2: 0000000000000000 [ 32.498765] ---[ end trace 5fbbb9d5c0737d01 ]--- [ 32.503908] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 32.508285] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 32.529284] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 32.535114] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 32.543082] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 32.551050] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 32.559019] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 32.566988] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 32.574960] FS: 00007f6287163580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 32.583996] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 32.590412] CR2: 0000000000000000 CR3: 0000000103fda003 CR4: 00000000003706e0 [ 32.598383] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 32.608286] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 749, name: cat [ 32.616645] INFO: lockdep is turned off. [ 32.621020] irq event stamp: 0 [ 32.624424] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 32.631424] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 32.640550] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 32.649685] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 32.656684] CPU: 2 PID: 749 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 32.665234] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 32.672040] Call Trace: [ 32.674767] dump_stack+0x77/0x9b [ 32.678463] ___might_sleep.cold+0xa6/0xb6 [ 32.683036] exit_signals+0x1c/0x2e0 [ 32.687025] do_exit+0xc2/0xaf0 [ 32.690519] ? ksys_write+0x68/0xf0 [ 32.694410] make_task_dead+0x2f/0x30 [ 32.698492] rewind_stack_and_make_dead+0x17/0x20 [ 32.703744] RIP: 0033:0x7f6287079833 [ 32.707725] 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 [ 32.728698] RSP: 002b:00007ffdae5e25c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 32.737154] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f6287079833 [ 32.745113] RDX: 000000000000000a RSI: 00007f6286f6c000 RDI: 0000000000000001 [ 32.753080] RBP: 00007f6286f6c000 R08: 00007f6286f6b010 R09: 0000000000000000 [ 32.761049] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 32.769015] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 31.245102] FS: 00007f1ca619c580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 31.254154] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 31.260601] CR2: 00007f1ca5fa5000 CR3: 0000000104c22003 CR4: 00000000003706e0 # BUG: saw 'kernel BUG at': ok ok 2 selftests: lkdtm: BUG.sh # selftests: lkdtm: WARNING.sh # [ 31.342932] lkdtm: Performing direct entry WARNING # [ 31.350396] ------------[ cut here ]------------ # [ 31.355570] WARNING: CPU: 3 PID: 682 at drivers/misc/lkdtm/bugs.c:83 lkdtm_WARNING+0x13/0x20 # [ 31.365011] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 31.397684] CPU: 3 PID: 682 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 31.406264] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 31.419278] RIP: 0010:lkdtm_WARNING+0x13/0x20 # [ 31.424168] 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 d0 58 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 b1 58 # [ 31.445152] RSP: 0018:ffff91a38140fe60 EFLAGS: 00010202 # [ 31.451014] RAX: ffffffff8eae4d90 RBX: 0000000000000002 RCX: 0000000000000000 # [ 31.458990] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1120 # [ 31.473182] RBP: ffffffff8fcba84f R08: 0000000000000000 R09: 0000000000000000 # [ 31.481184] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000008 # [ 31.489181] R13: ffff91a38140ff10 R14: ffff91a38140ff10 R15: ffff8a8b03d57000 # [ 31.497154] FS: 00007f4f83d2c580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 31.506213] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 31.512636] CR2: 00007f4f83b35000 CR3: 0000000102776005 CR4: 00000000003706e0 # [ 31.526816] Call Trace: # [ 31.529572] direct_entry.cold+0x2c/0x38 # [ 31.533986] full_proxy_write+0x53/0x80 # [ 31.538293] vfs_write+0xe7/0x3a0 # [ 31.548216] ksys_write+0x68/0xf0 # [ 31.558134] do_syscall_64+0x30/0x40 # [ 31.562150] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 31.567795] RIP: 0033:0x7f4f83c42833 # [ 31.571787] 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 # [ 31.592779] RSP: 002b:00007ffd08b51f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 31.601255] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f4f83c42833 # [ 31.609230] RDX: 0000000000000008 RSI: 00007f4f83b35000 RDI: 0000000000000001 # [ 31.617214] RBP: 00007f4f83b35000 R08: 00007f4f83b34010 R09: 0000000000000000 # [ 31.625185] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 31.639370] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 31.647345] irq event stamp: 0 # [ 31.650778] hardirqs last e[ 33.085663] lkdtm: Performing direct entry CORRUPT_LIST_ADD nabled at (0): [<0000000000000000>] 0x0 # [ 31.663991] hardir[ 33.094043] lkdtm: attempting good list addition qs last disabled at (0): [] copy_process+0x664[ 33.105433] lkdtm: attempting corrupted list addition /0x1cb0 # [ 31.673131] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 31.682270] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 31.689271] ---[ end trace 5fbbb9d5c0737cff ]--- # WARNING: saw 'WARNING:': ok ok 3 selftests: lkdtm: WARNING.sh # selftests: lkdtm: WARNING_MESSAGE.sh # [ 31.791376] lkdtm: Performing direct entry WARNING_MESSAGE # [ 31.800039] ------------[ cut here ]------------ # [ 31.805209] Warning message trigger count: 2 # [ 31.810015] WARNING: CPU: 3 PID: 717 at drivers/misc/lkdtm/bugs.c:88 lkdtm_WARNING_MESSAGE+0x20/0x30 # [ 31.820221] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 31.852861] CPU: 3 PID: 717 Comm: cat Tainted: G D W [ 33.212820] lkdtm: Performing direct entry CORRUPT_LIST_DEL 5.10.172-cip27 #1 # [ 31.861446] Hardware name: Google Ram[ 33.222480] lkdtm: attempting good list removal mus/Rammus, BIOS 09/04/2020 # [ 31.868262] RIP: 0010:lkdtm_W[ 33.233767] lkdtm: attempting corrupted list removal ARNING_MESSAGE+0x20/0x30 # [ 31.873906] Code: cc cc cc cc 66 [ 33.245546] lkdtm: list_del() corruption not detected! 0f 1f 44 00 00 0f 1f 44 00 00 8b 05 b1 58 93 02 48 c7 c7 b0 ad cb 8f 8d 70 01 89 35 a1 58 93 02 e8 72 9a 65 00 <0f> 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 c7 # [ 31.894896] RSP: 0018:ffff91a3814a7e60 EFLAGS: 00010286 # [ 31.900733] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 # [ 31.908707] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 # [ 31.916683] RBP: ffffffff8fcba857 R08: 0000000000000000 R09: 0000000000000000 # [ 31.924657] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000010 # [ 31.932630] R13: ffff91a3814a7f10 R14: ffff91a3814a7f10 R15: ffff8a8b03e92000 # [ 31.940604] FS: 00007fba13b2e580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 31.94[ 33.331949] lkdtm: Performing direct entry STACK_GUARD_PAGE_LEADING 9646] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 3[ 33.339062] lkdtm: attempting bad read from page below current stack 1.956065] CR2: 00007fba13937000 CR3: 00000001033aa003 CR4: 00000[ 33.352387] BUG: stack guard page was hit at 000000008641a96c (stack is 000000003c4e6ec7..0000000095c1fc35) [ 33.369461] kernel stack overflow (page fault): 0000 [#3] SMP PTI [ 33.376265] CPU: 0 PID: 974 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 33.384817] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 33.391626] RIP: 0010:lkdtm_STACK_GUARD_PAGE_LEADING+0x27/0x3a [ 33.398147] Code: cc cc cc 0f 1f 44 00 00 53 48 c7 c7 50 b1 cb 8f 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 04 9d fd ff 48 c7 c7 90 b1 cb 8f <8a> 43 ff 88 44 24 07 0f b6 74 24 07 5a 5b e9 ea 9c fd ff 0f 1f 44 [ 33.419124] RSP: 0018:ffff91a38185fe50 EFLAGS: 00010246 [ 33.424960] RAX: 0000000000000038 RBX: ffff91a38185c000 RCX: 0000000000000000 [ 33.432932] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffffffff8fcbb190 [ 33.440902] RBP: ffffffff8fcba8ba R08: 0000000000000000 R09: 0000000000000000 [ 33.448876] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000019 [ 33.456838] R13: ffff91a38185ff10 R14: ffff91a38185ff10 R15: ffff8a8b040f8000 [ 33.464808] FS: 00007f59de147580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 33.473845] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.480262] CR2: ffff91a38185bfff CR3: 000000010553e001 CR4: 00000000003706f0 [ 33.488234] Call Trace: [ 33.490963] ? lkdtm_CORRUPT_LIST_DEL+0xe0/0xe0 [ 33.496026] direct_entry.cold+0x2c/0x38 [ 33.500407] full_proxy_write+0x53/0x80 [ 33.504696] vfs_write+0xe7/0x3a0 [ 33.508400] ksys_write+0x68/0xf0 [ 33.512100] do_syscall_64+0x30/0x40 [ 33.516096] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 33.521737] RIP: 0033:0x7f59de05d833 [ 33.525725] 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 [ 33.546710] RSP: 002b:00007fff7212a728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 33.555155] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f59de05d833 [ 33.563125] RDX: 0000000000000019 RSI: 00007f59ddf50000 RDI: 0000000000000001 [ 33.571086] RBP: 00007f59ddf50000 R08: 00007f59ddf4f010 R09: 0000000000000000 [ 33.579056] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 33.587020] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 33.594986] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 33.621435] ---[ end trace 5fbbb9d5c0737d02 ]--- [ 33.626589] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 33.630964] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 33.651951] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 33.657775] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 33.665744] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 33.673713] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 33.681681] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 33.689649] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 33.697620] FS: 00007f59de147580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 33.706651] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.713066] CR2: ffff91a38185bfff CR3: 000000010553e001 CR4: 00000000003706f0 [ 33.721038] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 33.730951] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 974, name: cat [ 33.739309] INFO: lockdep is turned off. [ 33.743686] irq event stamp: 0 [ 33.747092] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 33.754084] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 33.763218] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 33.772353] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 33.779352] CPU: 0 PID: 974 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 33.787902] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 33.794707] Call Trace: [ 33.797434] dump_stack+0x77/0x9b [ 33.801138] ___might_sleep.cold+0xa6/0xb6 [ 33.805710] exit_signals+0x1c/0x2e0 [ 33.809700] do_exit+0xc2/0xaf0 [ 33.813203] ? ksys_write+0x68/0xf0 [ 33.817097] make_task_dead+0x2f/0x30 [ 33.821185] rewind_stack_and_make_dead+0x17/0x20 [ 33.826434] RIP: 0033:0x7f59de05d833 [ 33.830424] 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 [ 33.851407] RSP: 002b:00007fff7212a728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 33.859862] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f59de05d833 [ 33.867830] RDX: 0000000000000019 RSI: 00007f59ddf50000 RDI: 0000000000000001 [ 33.875798] RBP: 00007f59ddf50000 R08: 00007f59ddf4f010 R09: 0000000000000000 [ 33.883769] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 33.891737] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 000003706e0 # [ 31.964039] Call Trace: # [ 31.966771] direct_entry.cold+0x2c/0x38 # [ 31.971199] full_proxy_write+0x53/0x80 # [ 31.975488] vfs_write+0xe7/0x3a0 # [ 31.985398] ksys_write+0x68/0xf0 # [ 31.989124] do_syscall_64+0x30/0x40 # [ 31.993138] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 31.998781] RIP: 0033:0x7fba13a44833 # [ 32.002773] 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 # [ 32.023759] RSP: 002b:00007ffc93cc9808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 32.032220] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007fba13a44833 # [ 32.040216] RDX: 0000000000000010 RSI: 00007fba13937000 RDI: 0000000000000001 # [ 32.048187] RBP: 00007fba13937000 R08: 00007fba13936010 R09: 0000000000000000 # [ 32.062370] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 32.070344] R1[ 33.998832] lkdtm: Performing direct entry STACK_GUARD_PAGE_TRAILING 3: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 34.006271] lkdtm: attempting bad read from page above current stack # [ 32.084535] irq event stamp: 0 # [ 32.094160] hardirqs [ 34.019605] BUG: stack guard page was hit at 000000005877eb42 (stack is 000000009b977802..00000000ef5074fd) [ 34.036679] kernel stack overflow (page fault): 0000 [#4] SMP PTI last enabled at (0): [<0000000000000000>] 0x0 # [ 32.101210][ 34.043485] CPU: 1 PID: 1007 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 34.058347] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 h[ardirqs last disabled at (0): [] copy_proces 34.065155] RIP: 0010:lkdtm_STACK_GUARD_PAGE_TRAILING+0x27/0x3d [ 34.077982] Code: 9c fd ff 0f 1f 44 00 00 53 48 c7 c7 c8 b1 cb 8f 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 ca 9c fd ff 48 c7 c7 08 b2 cb 8f <8a> 83 00 40 00 00 88 44 24 07 0f b6 74 24 07 5a 5b e9 ad 9c fd ff [ 34.098959] RSP: 0018:ffff91a3818dfe50 EFLAGS: 00010246 [ 34.104791] RAX: 0000000000000038 RBX: ffff91a3818dc000 RCX: 0000000000000000 [ 34.112760] RDX: 0000000000000000 RSI: ffff8a8b7ac9bf70 RDI: ffffffff8fcbb208 [ 34.120726] RBP: ffffffff8fcba8d3 R08: 0000000000000000 R09: 0000000000000000 [ 34.128693] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001a [ 34.136661] R13: ffff91a3818dff10 R14: ffff91a3818dff10 R15: ffff8a8b00fed000 [ 34.144628] FS: 00007fbc8573b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 34.153665] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 34.160079] CR2: ffff91a3818e0000 CR3: 0000000104018003 CR4: 00000000003706e0 [ 34.168045] Call Trace: [ 34.170771] ? lkdtm_STACK_GUARD_PAGE_LEADING+0x3a/0x3a [ 34.176595] direct_entry.cold+0x2c/0x38 [ 34.180973] full_proxy_write+0x53/0x80 s+0x664/0x1cb0 # [ 32.110351] softirqs last enabled at (0): [ 34.185272] vfs_write+0xe7/0x3a0 [ 34.195179] ksys_write+0x68/0xf0 [ 34.198876] do_syscall_64+0x30/0x40 [] copy_process+0x664/0x1cb0 # [ 32.125698][ 34.202864] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 34.214714] RIP: 0033:0x7fbc85651833 [ 34.218701] 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 [ 34.239671] RSP: 002b:00007ffc1bd43298 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 34.248125] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007fbc85651833 [ 34.256084] RDX: 000000000000001a RSI: 00007fbc85544000 RDI: 0000000000000001 [ 34.264051] RBP: 00007fbc85544000 R08: 00007fbc85543010 R09: 0000000000000000 [ 34.272018] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 34.279986] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ [ 34.287957] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 34.320588] ---[ end trace 5fbbb9d5c0737d03 ]--- [ 34.325743] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 34.330117] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 34.351093] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 34.356917] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 34.364883] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 34.372849] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 34.380815] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 34.388781] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 34.396747] FS: 00007fbc8573b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 34.405782] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 34.412210] CR2: ffff91a3818e0000 CR3: 0000000104018003 CR4: 00000000003706e0 32.132728] ---[ end trace 5fbbb9d5c0737d00 ]--- # WARNING_MESSAGE: saw 'message trigger': ok ok 4 selftests: lkdtm: WARNING_MESSAGE.sh # selftests: lkdtm: EXCEPTION.sh # Killed # [ 32.218015] lkdtm: Performing direct entry EXCEPTION # [ 32.224250] BUG: kernel NULL pointer dereference, address: 0000000000000000 # [ 32.232060] #PF: supervisor write access in kernel mode # [ 32.237893] #PF: error_code(0x0002) - not-present page # [ 32.243630] PGD 0 P4D 0 # [ 32.246448] Oops: 0002 [#2] SMP PTI # [ 32.250331] CPU: 2 PID: 749 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 32.258875] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 32.265675] RIP: 0010:lkdtm_EXCEPTION+0x5/0x20 # [ 32.270633] Code: 48 c7 c7 b0 ad cb 8f 8d 70 01 89 35 a1 58 93 02 e8 72 9a 65 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 # [ 32[ 34.511023] lkdtm: Performing direct entry UNSET_SMEP [ 34.519078] lkdtm: trying to clear SMEP normally [ 34.524243] ------------[ cut here ]------------ [ 34.529406] pinned CR4 bits changed: 0x100000!? [ 34.534488] WARNING: CPU: 3 PID: 1043 at arch/x86/kernel/cpu/common.c:392 native_write_cr4+0x45/0x60 .291616] RSP: 0018:ffff91a38151fe60 EFLAGS: 00010282 # [ 32.2[ 34.544697] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 34.577330] CPU: 3 PID: 1043 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 34.585982] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 34.592789] RIP: 0010:native_write_cr4+0x45/0x60 [ 34.597948] Code: 39 c2 75 2d 48 85 f6 75 05 c3 cc cc cc cc 80 3d b5 a3 e3 01 00 75 f2 48 c7 c7 48 96 bf 8f c6 05 a5 a3 e3 01 01 e8 2d 99 e7 00 <0f> 0b c3 cc cc cc cc 48 89 d6 48 81 e7 ff f7 ce ff 48 31 c6 48 09 [ 34.618928] RSP: 0018:ffff91a381977e48 EFLAGS: 00010286 [ 34.624766] RAX: 0000000000000000 RBX: 00000000002706e0 RCX: 0000000000000000 [ 34.632739] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 [ 34.640709] RBP: ffffffff8fcba8ed R08: 0000000000000000 R09: 0000000000000000 [ 34.648680] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b [ 34.656649] R13: ffff91a381977f10 R14: ffff91a381977f10 R15: ffff8a8b03edb000 [ 34.664620] FS: 00007f53a96ab580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 34.673658] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 97451] RAX: ffffffff8eae4de0 RBX: 0000000000000004 RCX: 00000000[ 34.680079] CR2: 00007f53a94b4000 CR3: 0000000103ed6005 CR4: 00000000003706e0 00000000 # [ 32.305422] RDX: 0000000000000000 RSI: ffff8a8b7a[ 34.694268] Call Trace: d1bf70 RDI: ffffffff8f8d1140 # [ 32.313389] RBP: ffffffff8fbe[ 34.703216] lkdtm_UNSET_SMEP.cold+0x1d/0x103 f62f R08: 0000000000000000 R09: 0000000000000000 # [ 32.32135[ 34.714295] direct_entry.cold+0x2c/0x38 [ 34.724892] full_proxy_write+0x53/0x80 9] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000[ 34.729200] vfs_write+0xe7/0x3a0 [ 34.739107] ksys_write+0x68/0xf0 [ 34.742808] do_syscall_64+0x30/0x40 [ 34.746821] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 34.752463] RIP: 0033:0x7f53a95c1833 [ 34.756452] 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 [ 34.777455] RSP: 002b:00007ffc683b7658 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 000a # [ 32.329328] R13: ffff91a38151ff10 R14: ffff91a38151ff[ 34.785925] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f53a95c1833 [ 34.800101] RDX: 000000000000000b RSI: 00007f53a94b4000 RDI: 0000000000000001 [ 34.808070] RBP: 00007f53a94b4000 R08: 00007f53a94b3010 R09: 0000000000000000 [ 34.816041] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 34.824009] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 34.831984] irq event stamp: 0 [ 34.835422] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 34.842422] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 34.851557] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 34.860693] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 34.867691] ---[ end trace 5fbbb9d5c0737d04 ]--- [ 34.872845] lkdtm: ok: SMEP did not get cleared [ 34.877902] lkdtm: trying to clear SMEP with call gadget [ 34.883834] lkdtm: ok: SMEP removal was reverted 10 R15: ffff8a8b05e95000 # [ 32.337297] FS: 00007f6287163580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 32.346336] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 32.352749] CR2: 0000000000000000 CR3: 0000000103fda003 CR4: 00000000003706e0 # [ 32.360720] Call Trace: # [ 32.363448] direct_entry.cold+0x2c/0x38 # [ 32.367826] full_proxy_write+0x53/0x80 # [ 32.372108] vfs_write+0xe7/0x3a0 # [ 32.375806] ksys_write+0x68/0xf0 # [ 32.379503] do_syscall_64+0x30/0x40 # [ 32.383493] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 32.389133] RIP: 0033:0x7f6287079833 # [ 32.393111] 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 # [ 32.414089] RSP: 002b:00007ffdae5e25c8 EFLAGS: 0000[ 34.971949] lkdtm: Performing direct entry DOUBLE_FAULT 0246 ORIG_RAX: 0000000000000001 # [ 32.422548] RAX: fffffffff[ 34.981900] lkdtm: XFAIL: this test is ia32-only fffffda RBX: 000000000000000a RCX: 00007f6287079833 # [ 32.430516] RDX: 000000000000000a RSI: 00007f6286f6c000 RDI: 0000000000000001 # [ 32.438486] RBP: 00007f6286f6c000 R08: 00007f6286f6b010 R09: 0000000000000000 # [ 32.446457] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 32.454426] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 32.462400] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 32.488855] CR2: 0000000000000000 # [ 32.498765] ---[ end trace 5fbbb9d5c0737d01 ]--- # [ 32.503908] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 32.508285] Code: 89 ff e8 be 60 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 d0 58 93 02 # [ 32.529284] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 32.535114] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0[ 35.100724] lkdtm: Performing direct entry CORRUPT_PAC [ 35.110870] lkdtm: XFAIL: this test is arm64-only 000000000000000 # [ 32.543082] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 32.551050] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 32.559019] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 32.566988] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 32.574960] FS: 00007f6287163580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 32.583996] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 32.590412] CR2: 0000000000000000 CR3: 0000000103fda003 CR4: 00000000003706e0 # [ 32.598383] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 32.608286] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 749, name: cat # [ 32.616645] INFO: lockdep is turned off. # [ 32.621020] irq event stamp: 0 # [ 32.624424] har[ 35.199476] lkdtm: Performing direct entry UNALIGNED_LOAD_STORE_WRITE dirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 32.6[ 35.210349] lkdtm: XFAIL: arch has CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS 31424] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 32.640550] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 32.649685] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 32.656684] CPU: 2 PID: 749 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 32.665234] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 32.672040] Call Trace: # [ 32.674767] dump_stack+0x77/0x9b # [ 32.678463] ___might_sleep.cold+0xa6/0xb6 # [ 32.683036] exit_signals+0x1c/0x2e0 # [ 32.687025] do_exit+0xc2/0xaf0 # [ 32.690519] ? ksys_write+0x68/0xf0 # [ 32.694410] make_task_dead+0x2f/0x30 # [ 32.698492] rewind_stack_and_make_dead+0x17/0x20 # [ 32.703744] RIP: 0033:0x7f6287079833 # [ 32.707725] 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 # [ 32.728698] RSP: 002b:00007ffdae5e25c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 32.737154] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f6287079833 # [ 32.745113] RDX: 000000000000000a RSI: 00007f6286f6c000 RDI: 0000000000000001 # [ 32.753080] RBP: 00007f6286f6c000 R08: 00007f6286f6b010 R09: 0000000000000000 # [ 32.761049] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 32.769015] R13: 0000[ 35.363958] lkdtm: Performing direct entry READ_AFTER_FREE 000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXCE[ 35.373229] lkdtm: Value in memory before free: 12345678 PTION: saw 'call trace:': ok ok 5 selftests: lkdtm: EXCEPTION.s[ 35.385377] lkdtm: Attempting bad read from freed memory h # selftests: lkdtm: LOOP.sh # Skipping LOOP: Hangs the syste[ 35.397523] lkdtm: Memory was not poisoned m 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 # [ 33.085663] lkdtm: Performing direct entry CORRUPT_LIST_ADD # [ 33.094043] lkdtm: attempting good list addition # [ 33.105433] lkdtm: attempting corrupted list addition # [ 33.117309] 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 # [ 33.212820] lkdtm: Performing direct entry CORRUPT_LIST_DEL # [ 33.222480] lkdtm: attempting good list removal # [ 33.233767] lkdtm: attempting corrupted list removal # [ 33.245546] lkdtm: list_del() co[ 35.519188] lkdtm: Performing direct entry READ_BUDDY_AFTER_FREE rruption not detected! # CORRUPT_LIST_DEL: missing 'list_del co[ 35.526902] lkdtm: Value in memory before free: 12345678 rruption': [FAIL] not ok 11 selftests: lkdtm: CORRUPT_LIST_DEL.[ 35.539052] lkdtm: Attempting to read from freed memory [ 35.551094] lkdtm: Buddy page was not poisoned sh # exit=1 # selftests: lkdtm: STACK_GUARD_PAGE_LEADING.sh # Segmentation fault # [ 33.331949] lkdtm: Performing direct entry STACK_GUARD_PAGE_LEADING # [ 33.339062] lkdtm: attempting bad read from page below current stack # [ 33.352387] BUG: stack guard page was hit at 000000008641a96c (stack is 000000003c4e6ec7..0000000095c1fc35) # [ 33.369461] kernel stack overflow (page fault): 0000 [#3] SMP PTI # [ 33.376265] CPU: 0 PID: 974 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 33.384817] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 33.391626] RIP: 0010:lkdtm_STACK_GUARD_PAGE_LEADING+0x27/0x3a # [ 33.398147] Code: cc cc cc 0f 1f 44 00 00 53 48 c7 c7 50 b1 cb 8f 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 04 9d fd ff 48 c7 c7 90 b1 cb 8f <8a> 43 ff 88 44 24 07 0f b6 74 2[ 35.636325] lkdtm: Performing direct entry SLAB_FREE_DOUBLE [ 35.643074] lkdtm: Attempting double slab free ... 4 07 5a 5b e9 ea 9c fd ff 0f 1f 44 # [ 33.419124] RSP: 0018:ffff91a38185fe50 EFLAGS: 00010246 # [ 33.424960] RAX: 0000000000000038 RBX: ffff91a38185c000 RCX: 0000000000000000 # [ 33.432932] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffffffff8fcbb190 # [ 33.440902] RBP: ffffffff8fcba8ba R08: 0000000000000000 R09: 0000000000000000 # [ 33.448876] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000019 # [ 33.456838] R13: ffff91a38185ff10 R14: ffff91a38185ff10 R15: ffff8a8b040f8000 # [ 33.464808] FS: 00007f59de147580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 33.473845] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 33.480262] CR2: ffff91a38185bfff CR3: 000000010553e001 CR4: 00000000003706f0 # [ 33.488234] Call Trace: # [ 33.490963] ? lkdtm_CORRUPT_LIST_DEL+0xe0/0xe0 # [ 33.496026] direct_entry.cold+0x2c/0x38 # [ 33.500407] full_proxy_write+0x53/0x80 # [ 33.504696] vfs_write+0xe7/0x3a0 # [ 33.508400] ksys_write+0x68/0xf0 # [ 35.744709] lkdtm: Performing direct entry SLAB_FREE_CROSS [ 33.512100] do_syscall_64+0x30/0x40 # [ 33.516096] entry[ 35.754066] lkdtm: Attempting cross-cache slab free ... _SYSCALL_64_after_hwframe+0x61/0xc6 # [ 33.521737] RIP: 0033:0x7f59de05d833 # [ 33.525725] 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 # [ 33.546710] RSP: 002b:00007fff7212a728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 33.555155] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f59de05d833 # [ 33.563125] RDX: 0000000000000019 RSI: 00007f59ddf50000 RDI: 0000000000000001 # [ 33.571086] RBP: 00007f59ddf50000 R08: 00007f59ddf4f010 R09: 0000000000000000 # [ 33.579056] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 33.587020] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 33.594986] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core i[ 35.848658] lkdtm: Performing direct entry SLAB_FREE_PAGE ndustrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysf[ 35.859150] lkdtm: Attempting non-Slab slab free ... s cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 33.621435] ---[ end trace 5fbbb9d5c0737d02 ]--- # [ 33.626589] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 33.630964] Code: 89 ff e8 be 60 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 d0 58 93 02 # [ 33.651951] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 33.657775] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 33.665744] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 33.673713] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 33.681681] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 33.689649] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 33.697620] FS: 00007f59de147580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 33.706651] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 33.713066] CR2: ffff91a38185bfff CR3: 000000010553e001 CR4: 00000000003706f0 # [ 33.721038] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 33.730951] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 974, name: cat # [ 33.739309] INFO: lockdep is turned off. # [ 33.743686] irq event stamp: 0 # [ 33.747092] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 33.754084] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 33.763218] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 33.772353] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 33.779352] CPU: 0 PID: 974 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 33.787902] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 33.794707] Call Trace: # [ 33.797434] dump_stack+0x77/0x9b # [ 33.801138] ___might_sle[ 36.064277] lkdtm: Performing direct entry EXEC_DATA ep.cold+0xa6/0xb6 # [ 33.805710] exit_signals+0x1c/0x2e0 # [ 36.075439] lkdtm: attempting ok execution at ffffffff8eae5150 [ 33.809700] do_exit+0xc2/0xaf0 # [ 33.813203] ? ksys_wri[ 36.088194] lkdtm: attempting bad execution at ffffffff9141a6a0 te+0x68/0xf0 # [ 33.817097] make_task_dead+0x2f/0x30 # [ [ 36.101015] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 36.115549] BUG: unable to handle page fault for address: ffffffff9141a6a0 [ 36.123225] #PF: supervisor instruction fetch in kernel mode [ 36.129541] #PF: error_code(0x0011) - permissions violation [ 36.135759] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 80000001774000e3 [ 36.143540] Oops: 0011 [#5] SMP PTI [ 36.147430] CPU: 0 PID: 1550 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 36.156075] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 36.162881] RIP: 0010:data_area+0x0/0x40 [ 36.167263] Code: ff ff 00 ea 24 04 8b 8a ff ff 00 e9 24 04 8b 8a 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 [ 36.188233] RSP: 0018:ffff91a38219fe48 EFLAGS: 00010246 [ 36.194055] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 36.202023] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 [ 36.209994] RBP: ffffffff9141a6a0 R08: 0000000000000000 R09: 0000000000000000 [ 36.217959] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 36.225926] R13: ffff91a38219ff10 R14: ffff91a38219ff10 R15: ffff8a8b04f5a000 [ 36.233892] FS: 00007fc009fc4580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 36.242928] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 36.249341] CR2: ffffffff9141a6a0 CR3: 00000001033e4006 CR4: 00000000003706f0 [ 36.257307] Call Trace: [ 36.260033] ? execute_location+0x45/0x56 [ 36.264511] ? direct_entry.cold+0x2c/0x38 [ 36.269085] ? full_proxy_write+0x53/0x80 [ 36.273565] ? vfs_write+0xe7/0x3a0 [ 36.277463] ? ksys_write+0x68/0xf0 [ 36.281356] ? do_syscall_64+0x30/0x40 [ 36.285542] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 36.291379] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 36.317811] CR2: ffffffff9141a6a0 [ 36.321508] ---[ end trace 5fbbb9d5c0737d05 ]--- [ 36.326659] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 36.331035] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 36.352010] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 36.357843] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 36.365812] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 36.373777] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 36.381742] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 36.389709] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 36.397678] FS: 00007fc009fc4580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 36.406712] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 36.413125] CR2: ffffffff9141a6a0 CR3: 00000001033e4006 CR4: 00000000003706f0 [ 36.421092] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 36.431000] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1550, name: cat [ 36.439453] INFO: lockdep is turned off. [ 36.443828] irq event stamp: 0 [ 36.447234] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 36.454232] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 36.463367] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 36.472491] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 36.479490] CPU: 0 PID: 1550 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 36.488136] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 36.494939] Call Trace: [ 36.497665] dump_stack+0x77/0x9b [ 36.501370] ___might_sleep.cold+0xa6/0xb6 [ 36.505941] exit_signals+0x1c/0x2e0 [ 36.509928] do_exit+0xc2/0xaf0 [ 36.513421] ? ksys_write+0x68/0xf0 [ 36.517303] make_task_dead+0x2f/0x30 [ 36.521388] rewind_stack_and_make_dead+0x17/0x20 [ 36.526639] RIP: 0033:0x7fc009eda833 [ 36.530617] 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 [ 36.551586] RSP: 002b:00007ffeb728cc08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 36.560041] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007fc009eda833 [ 36.568000] RDX: 000000000000000a RSI: 00007fc009dcd000 RDI: 0000000000000001 [ 36.575959] RBP: 00007fc009dcd000 R08: 00007fc009dcc010 R09: 0000000000000000 [ 36.583928] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 36.591884] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 33.821185] rewind_stack_and_make_dead+0x17/0x20 # [ 33.826434] RIP: 0033:0x7f59de05d833 # [ 33.830424] 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 # [ 33.851407] RSP: 002b:00007fff7212a728 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 33.859862] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f59de05d833 # [ 33.867830] RDX: 0000000000000019 RSI: 00007f59ddf50000 RDI: 0000000000000001 # [ 33.875798] RBP: 00007f59ddf50000 R08: 00007f59ddf4f010 R09: 0000000000000000 # [ 33.883769] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 33.891737] 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 # [ 33.998832] lkdtm: Performing direct entry STACK_GUARD_PAGE_TRAILING # [ 34.006271] lkdtm: attempting bad read from page above current stack # [ [ 36.708975] lkdtm: Performing direct entry EXEC_STACK 34.019605] BUG: stack guard page was hit at 000000005877eb42 (st[ 36.717390] lkdtm: attempting ok execution at ffffffff8eae5150 ack is 000000009b977802..00000000ef5074fd) # [ 34.036679] ker[ 36.730121] lkdtm: attempting bad execution at ffff91a382247e18 nel stack overflow (page fault): 0000 [#4] SMP PTI # [ 34.043[ 36.742951] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 36.757515] BUG: unable to handle page fault for address: ffff91a382247e18 [ 36.765185] #PF: supervisor instruction fetch in kernel mode [ 36.771502] #PF: error_code(0x0011) - permissions violation 48[5] CPU: 1 PID: 1007 Comm: cat Tainted: G D W 5.10 36.777723] PGD 100000067 P4D 100000067 PUD 100211067 PMD 10546d067 PTE 8000000103d1d063 [ 36.792977] Oops: 0011 [#6] SMP PTI [ 36.796869] CPU: 1 PID: 1586 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 36.805507] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 36.812310] RIP: 0010:0xffff91a382247e18 [ 36.816677] Code: 00 00 18 7e 24 82 a3 91 ff ff 9c a9 16 8f ff ff ff ff 20 00 00 00 00 00 00 00 16 aa cb 8f ff ff ff ff cb aa 16 8f 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 [ 36.837659] RSP: 0018:ffff91a382247df8 EFLAGS: 00010246 [ 36.843482] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 36.851448] RDX: 0000000000000000 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 [ 36.859415] RBP: ffff91a382247e18 R08: 0000000000000000 R09: 0000000000000000 [ 36.867382] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b [ 36.875347] R13: ffff91a382247f10 R14: ffff91a382247f10 R15: ffff8a8b0554d000 [ 36.883314] FS: 00007fb6e82ca580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 36.892348] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 36.898761] CR2: ffff91a382247e18 CR3: 0000000104de4005 CR4: 00000000003706e0 [ 36.906727] Call Trace: [ 36.909455] ? execute_location+0x45/0x56 .172-cip27 #1 # [ 34.058347] Hardware name: Google Rammus/Ram[ 36.913929] ? lkdtm_EXEC_STACK+0x26/0x44 [ 36.924615] ? direct_entry.cold+0x2c/0x38 [ 36.929204] ? full_proxy_write+0x53/0x80 mus, BIOS 09/04/2020 # [ 34.065155] RIP: 0010:lkdtm_STACK_GU[ 36.933676] ? vfs_write+0xe7/0x3a0 [ 36.943779] ? ksys_write+0x68/0xf0 [ 36.947670] ? do_syscall_64+0x30/0x40 ARD_PAGE_TRAILING+0x27/0x3d # [ 34.077982] Code: 9c fd ff 0f [ 36.951852] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 1f 44 00 00 53 48 c7 c7 c8 b1 cb 8f 50 65 48 8b 04 25 40 b0 01 0[ 36.963899] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 36.996536] CR2: ffff91a382247e18 [ 37.000236] ---[ end trace 5fbbb9d5c0737d06 ]--- [ 37.005391] RIP: 0010:lkdtm_BUG+0x5/0x10 0 48 8b 58 18 e8 ca 9c fd ff 48 c7 c7 08 b2 cb 8f <8a> 83 00 40 [ 37.009768] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 37.036962] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 37.042795] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 37.050762] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 37.058730] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 37.066700] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 37.074669] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 37.082628] FS: 00007fb6e82ca580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 37.091665] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 37.098079] CR2: ffff91a382247e18 CR3: 0000000104de4005 CR4: 00000000003706e0 00 00 88 44 24 07 0f b6 74 24 07 5a 5b e9 ad 9c fd ff # [ 34.098959] RSP: 0018:ffff91a3818dfe50 EFLAGS: 00010246 # [ 34.104791] RAX: 0000000000000038 RBX: ffff91a3818dc000 RCX: 0000000000000000 # [ 34.112760] RDX: 0000000000000000 RSI: ffff8a8b7ac9bf70 RDI: ffffffff8fcbb208 # [ 34.120726] RBP: ffffffff8fcba8d3 R08: 0000000000000000 R09: 0000000000000000 # [ 34.128693] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001a # [ 34.136661] R13: ffff91a3818dff10 R14: ffff91a3818dff10 R15: ffff8a8b00fed000 # [ 34.144628] FS: 00007fbc8573b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 34.153665] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 34.160079] CR2: ffff91a3818e0000 CR3: 0000000104018003 CR4: 00000000003706e0 # [ 34.168045] Call Trace: # [ 34.170771] ? lkdtm_STACK_GUARD_PAGE_LEADING+0x3a/0x3a # [ 34.176595] direct_entry.cold+0x2c/0x38 # [ 34.180973] full_proxy_write+0x53/0x80 # [ 34.185272] vfs_write+0xe7/0x3a0 # [ 34.195179[ 37.201865] lkdtm: Performing direct entry EXEC_KMALLOC [ 37.211328] lkdtm: attempting ok execution at ffffffff8eae5150 [ 37.217853] lkdtm: attempting bad execution at ffff8a8b04c05d00 [ 37.224476] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 37.232840] BUG: unable to handle page fault for address: ffff8a8b04c05d00 [ 37.240520] #PF: supervisor instruction fetch in kernel mode [ 37.246836] #PF: error_code(0x0011) - permissions violation [ 37.253056] PGD 177601067 P4D 177601067 PUD 10084e063 PMD 10482a063 PTE 8000000104c05063 ] ksys_write+0x68/0xf0 # [ 34.198876] do_syscall_64+0x30/0x[ 37.262098] Oops: 0011 [#7] SMP PTI [ 37.272216] CPU: 2 PID: 1622 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 37.280864] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 37.287666] RIP: 0010:0xffff8a8b04c05d00 [ 37.292043] Code: 00 00 02 00 00 00 00 00 00 00 40 5f c0 04 8b 8a ff ff 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bb 24 30 8e 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 [ 37.313009] RSP: 0018:ffff91a3822efe38 EFLAGS: 00010246 [ 37.318841] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 37.326800] RDX: 0000000000000000 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 [ 37.334765] RBP: ffff8a8b04c05d00 R08: 0000000000000000 R09: 0000000000000000 [ 37.342733] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d [ 37.350700] R13: ffff91a3822eff10 R14: ffff91a3822eff10 R15: ffff8a8b04fba000 [ 37.358668] FS: 00007fb688751580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 37.367703] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 37.374116] CR2: ffff8a8b04c05d00 CR3: 0000000103ed6003 CR4: 00000000003706e0 [ 37.382084] Call Trace: [ 37.384811] ? execute_location+0x45/0x56 [ 37.389285] ? lkdtm_EXEC_KMALLOC+0x2c/0x40 [ 37.393952] ? direct_entry.cold+0x2c/0x38 [ 37.398523] ? full_proxy_write+0x53/0x80 [ 37.402989] ? vfs_write+0xe7/0x3a0 [ 37.406880] ? ksys_write+0x68/0xf0 [ 37.410772] ? do_syscall_64+0x30/0x40 [ 37.414952] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 37.420787] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 40 # [ 34.202864] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 37.447240] CR2: ffff8a8b04c05d00 [ 37.457147] ---[ end trace 5fbbb9d5c0737d07 ]--- [ 37.462292] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 37.466666] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 37.487648] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 37.493481] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 37.501448] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 37.509415] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 37.517382] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 37.525347] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 37.533316] FS: 00007fb688751580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 37.542353] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 37.548767] CR2: ffff8a8b04c05d00 CR3: 0000000103ed6003 CR4: 00000000003706e0 # [ 34.214714] RIP: 0033:0x7fbc85651833 # [ 34.218701] 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 # [ 34.239671] RSP: 002b:00007ffc1bd43298 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 34.248125] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007fbc85651833 # [ 34.256084] RDX: 000000000000001a RSI: 00007fbc85544000 RDI: 0000000000000001 # [ 34.264051] RBP: 00007fbc85544000 R08: 00007fbc85543010 R09: 0000000000000000 # [ 34.272018] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 34.279986] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 34.287957] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev[ 37.652552] lkdtm: Performing direct entry EXEC_VMALLOC cros_usbpd_notify # [ 34.320588] ---[ end trace 5fbbb9d5c073[ 37.662073] lkdtm: attempting ok execution at ffffffff8eae5150 7d03 ]--- # [ 34.325743] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ [ 37.674817] lkdtm: attempting bad execution at ffff91a38033b000 34.330117] Code: 89 ff e8 be 60 a3 ff 48 c7 c0 ea ff ff ff eb de[ 37.687617] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 37.702187] BUG: unable to handle page fault for address: ffff91a38033b000 [ 37.709865] #PF: supervisor instruction fetch in kernel mode [ 37.716184] #PF: error_code(0x0011) - permissions violation 4[8 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 37.722430] PGD 100000067 P4D 100000067 PUD 100211067 PMD 10099f067 PTE 8000000105d11063 [ 37.737685] Oops: 0011 [#8] SMP PTI [ 37.741576] CPU: 1 PID: 1658 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 37.750223] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 37.757027] RIP: 0010:0xffff91a38033b000 [ 37.761405] Code: Unable to access opcode bytes at RIP 0xffff91a38033afd6. [ 37.769080] RSP: 0018:ffff91a38236fe38 EFLAGS: 00010246 [ 37.774911] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 37.782879] RDX: 0000000000000000 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 [ 37.790847] RBP: ffff91a38033b000 R08: 0000000000000000 R09: 0000000000000000 [ 37.798815] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d [ 37.806784] R13: ffff91a38236ff10 R14: ffff91a38236ff10 R15: ffff8a8b05d11000 [ 37.814752] FS: 00007f280872b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 37.823787] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 37.830211] CR2: ffff91a38033afd6 CR3: 0000000103fda006 CR4: 00000000003706e0 [ 37.838169] Call Trace: [ 37.840896] ? execute_location+0x45/0x56 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00[ 37.845372] ? lkdtm_EXEC_VMALLOC+0x20/0x30 [ 37.856264] ? direct_entry.cold+0x2c/0x38 [ 37.860835] ? full_proxy_write+0x53/0x80 [ 37.865310] ? vfs_write+0xe7/0x3a0 [ 37.869211] ? ksys_write+0x68/0xf0 [ 37.873102] ? do_syscall_64+0x30/0x40 83 05 d0 58 93 02 # [ 34.351093] RSP: 0018:ffff91a3813a7e60 [ 37.877285] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 EFLAGS: 00010282 # [ 34.356917] RAX: ffffffff8eae4d80 RBX: 00[ 37.889331] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 37.921959] CR2: ffff91a38033b000 [ 37.925656] ---[ end trace 5fbbb9d5c0737d08 ]--- [ 37.930809] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 37.935201] Code: 89 ff e8 be 60 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 d0 58 93 02 00000000000001 RCX: 0000000000000000 # [ 34.364883] RDX: 0000[ 37.956203] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 37.968270] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 37.976238] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 37.984226] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 37.992211] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 38.000179] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 38.008145] FS: 00007f280872b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 38.017179] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.023593] CR2: ffff91a38033afd6 CR3: 0000000103fda006 CR4: 00000000003706e0 [ 38.031562] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 38.041471] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1658, name: cat [ 38.049914] INFO: lockdep is turned off. [ 38.054290] irq event stamp: 0 [ 38.057694] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 38.064691] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 38.073824] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 38.082948] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 38.089943] CPU: 1 PID: 1658 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 38.098589] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 38.105391] Call Trace: [ 38.108116] dump_stack+0x77/0x9b [ 38.111816] ___might_sleep.cold+0xa6/0xb6 [ 38.116388] exit_signals+0x1c/0x2e0 [ 38.120376] do_exit+0xc2/0xaf0 [ 38.123871] ? ksys_write+0x68/0xf0 [ 38.127762] make_task_dead+0x2f/0x30 [ 38.131838] rewind_stack_and_make_dead+0x17/0x20 [ 38.137088] RIP: 0033:0x7f2808641833 [ 38.141074] 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 [ 38.162052] RSP: 002b:00007ffec99107a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 38.170497] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007f2808641833 [ 38.178464] RDX: 000000000000000d RSI: 00007f2808534000 RDI: 0000000000000001 [ 38.186432] RBP: 00007f2808534000 R08: 00007f2808533010 R09: 0000000000000000 [ 38.194400] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 38.202368] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 34.372849] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 34.380815] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 34.388781] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 34.396747] FS: 00007fbc8573b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 34.405782] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 34.412210] CR2: ffff91a3818e0000 CR3: 0000000104018003 CR4: 00000000003706e0 # STACK_GUARD_PAGE_TRAILING: saw 'call trace:': ok ok 13 selftests: lkdtm: STACK_GUARD_PAGE_TRAILING.sh # selftests: lkdtm: UNSET_SMEP.sh # [ 34.511023] lkdtm: Performing direct entry UNSET_SMEP # [ 34.519078] lkdtm: trying to clear SMEP normally # [ 34.524243] ------------[ cut here ]------------ # [ 34.529406] pinned CR4 bits changed: 0x100000!? # [ 34.534488] WARNING: CPU: 3 PID: 1043 at arch/x86/kernel/cpu/common.c:392 native_write_cr4+0x45/0x60 # [ 34.544697] Modules linked in: fuse ip_tables cros_ec_[ 38.315506] lkdtm: Performing direct entry EXEC_RODATA sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo[ 38.321756] lkdtm: attempting ok execution at ffffffff8eae5150 _buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar[ 38.334495] lkdtm: attempting bad execution at ffffffff8f8d15a0 cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_[ 38.347321] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 38.361872] BUG: unable to handle page fault for address: ffffffff8f8d15a0 [ 38.369549] #PF: supervisor instruction fetch in kernel mode [ 38.375866] #PF: error_code(0x0011) - permissions violation [ 38.382086] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 80000001758000e1 [ 38.389869] Oops: 0011 [#9] SMP PTI [ 38.393760] CPU: 0 PID: 1694 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 38.402406] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 38.409213] RIP: 0010:lkdtm_rodata_do_nothing+0x0/0x10 [ 38.414954] Code: ff ff 3b bf 16 8f ff ff ff ff 62 ac cb 8f ff ff ff ff 81 a6 16 8f 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 [ 38.435932] RSP: 0018:ffff91a3823e7e48 EFLAGS: 00010246 [ 38.441765] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 [ 38.449733] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 [ 38.457702] RBP: ffffffff8f8d15a0 R08: 0000000000000000 R09: 0000000000000000 [ 38.465669] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c [ 38.473636] R13: ffff91a3823e7f10 R14: ffff91a3823e7f10 R15: ffff8a8b05c8f000 [ 38.481604] FS: 00007fcd28213580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 38.490639] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.497056] CR2: ffffffff8f8d15a0 CR3: 0000000105e70001 CR4: 00000000003706f0 [ 38.505024] Call Trace: [ 38.507752] ? execute_location+0x45/0x56 [ 38.512230] ? direct_entry.cold+0x2c/0x38 [ 38.516793] ? full_proxy_write+0x53/0x80 [ 38.521272] ? vfs_write+0xe7/0x3a0 [ 38.525169] ? ksys_write+0x68/0xf0 [ 38.529061] ? do_syscall_64+0x30/0x40 [ 38.533248] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 38.539084] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 38.565521] CR2: ffffffff8f8d15a0 [ 38.569216] ---[ end trace 5fbbb9d5c0737d09 ]--- [ 38.574369] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 38.578745] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 38.599724] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 38.605557] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 38.613523] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 38.621489] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 38.629455] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 38.637423] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 38.645392] FS: 00007fcd28213580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 38.654426] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.660840] CR2: ffffffff8f8d15a0 CR3: 0000000105e70001 CR4: 00000000003706f0 dev cros_usbpd_notify # [ 34.577330] CPU: 3 PID: 1043 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 34.585982] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 34.592789] RIP: 0010:native_write_cr4+0x45/0x60 # [ 34.597948] Code: 39 c2 75 2d 48 85 f6 75 05 c3 cc cc cc cc 80 3d b5 a3 e3 01 00 75 f2 48 c7 c7 48 96 bf 8f c6 05 a5 a3 e3 01 01 e8 2d 99 e7 00 <0f> 0b c3 cc cc cc cc 48 89 d6 48 81 e7 ff f7 ce ff 48 31 c6 48 09 # [ 34.618928] RSP: 0018:ffff91a381977e48 EFLAGS: 00010286 # [ 34.624766] RAX: 0000000000000000 RBX: 00000000002706e0 RCX: 0000000000000000 # [ 34.632739] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 # [ 34.640709] RBP: ffffffff8fcba8ed R08: 0000000000000000 R09: 0000000000000000 # [ 34.648680] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b # [ 34.656649] R13: ffff91a381977f10 R14: ffff91a381977f10 R15: ffff8a8b03edb000 # [ 34.664620] FS: 00007f53a96ab580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 34.673658] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 34.680079] CR2: 00007f53a94b4000 CR3: 0000000103ed6005 CR4: 00000000003706e0 # [ 34.694268] Call Trace: # [ 34.703216] lkdtm_UNSET_SMEP.cold+0x1d/0x103 # [ 34.714295] direct_entry.cold+0x2c/0x38 # [ 34.724892] full_proxy_write+0x53/0x80 # [ 34.729200] vfs_write+0xe7/0x3a0 # [ 34.739107] ksys_write+0x68/0xf0 # [ 34.742808] do_syscall_64+0x30/0x40 # [ 34.746821] entry_SYSCALL_64_after_hwframe+0[ 38.812751] lkdtm: Performing direct entry EXEC_USERSPACE x61/0xc6 # [ 34.752463] RIP: 0033:0x7f53a95c1833 # [ 34.75[ 38.824076] lkdtm: attempting ok execution at ffffffff8eae5150 6452] Code: 8b 15 61 26 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff f[ 38.836815] lkdtm: attempting bad execution at 00007f13ea1c7000 f eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00[ 38.849635] unable to execute userspace code (SMEP?) (uid: 0) [ 38.862240] BUG: unable to handle page fault for address: 00007f13ea1c7000 [ 38.869918] #PF: supervisor instruction fetch in kernel mode [ 38.876236] #PF: error_code(0x0011) - permissions violation 0[0 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 4 38.882457] PGD 800000010414f067 P4D 800000010414f067 PUD 10414e067 PMD 103d11067 PTE 10b0f5067 [ 38.898396] Oops: 0011 [#10] SMP PTI [ 38.902385] CPU: 1 PID: 1730 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 38.911032] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 38.917838] RIP: 0010:0x7f13ea1c7000 [ 38.921825] Code: Unable to access opcode bytes at RIP 0x7f13ea1c6fd6. [ 38.929113] RSP: 0018:ffff91a382497e50 EFLAGS: 00010246 [ 38.934946] RAX: 0000000000000033 RBX: 0000000000000024 RCX: 0000000000000000 [ 38.942915] RDX: 0000000000000000 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 [ 38.950874] RBP: 00007f13ea1c7000 R08: 0000000000000000 R09: 0000000000000000 [ 38.958840] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000f [ 38.966807] R13: ffff91a382497f10 R14: ffff91a382497f10 R15: ffff8a8b03edd000 [ 38.974775] FS: 00007f13ea198580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 38.983812] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 38.990227] CR2: 00007f13ea1c7000 CR3: 000000010576e004 CR4: 00000000003706e0 [ 38.998211] Call Trace: [ 39.000940] ? lkdtm_EXEC_USERSPACE.cold+0x66/0xae 8 89 54 24 18 # [ 34.777455] RSP: 002b:00007ffc683b7658 EFLAG[ 39.006294] ? direct_entry.cold+0x2c/0x38 [ 39.017070] ? full_proxy_write+0x53/0x80 S: 00000246 ORIG_RAX: 0000000000000001 # [ 34.785925] RAX: ff[ 39.021546] ? vfs_write+0xe7/0x3a0 [ 39.031648] ? ksys_write+0x68/0xf0 [ 39.035534] ? do_syscall_64+0x30/0x40 ffffffffffffda RBX: 000000000000000b RCX: 00007f53a95c1833 # [ [ 39.039718] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 34.800101] RDX: 000000000000000b RSI: 00007f53a94b4000 RDI: 00[ 39.051767] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 39.084406] CR2: 00007f13ea1c7000 [ 39.088102] ---[ end trace 5fbbb9d5c0737d0a ]--- [ 39.093264] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 39.097639] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 39.118620] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 39.124453] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 39.132421] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 39.140389] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 39.148358] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 39.156325] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 39.164294] FS: 00007f13ea198580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 39.173321] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 39.179735] CR2: 00007f13ea1c7000 CR3: 000000010576e004 CR4: 00000000003706e0 [ 39.187703] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 39.197613] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1730, name: cat [ 39.206068] INFO: lockdep is turned off. [ 39.210444] irq event stamp: 0 [ 39.213850] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 39.220848] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 39.229983] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 39.239117] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 39.246114] CPU: 1 PID: 1730 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 39.254760] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 39.261564] Call Trace: [ 39.264290] dump_stack+0x77/0x9b [ 39.267989] ___might_sleep.cold+0xa6/0xb6 [ 39.272561] exit_signals+0x1c/0x2e0 [ 39.276549] do_exit+0xc2/0xaf0 [ 39.280052] ? ksys_write+0x68/0xf0 [ 39.283943] make_task_dead+0x2f/0x30 [ 39.288021] rewind_stack_and_make_dead+0x17/0x20 [ 39.293273] RIP: 0033:0x7f13ea0ae833 [ 39.297267] 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 [ 39.318261] RSP: 002b:00007ffea1e0c3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 39.326716] RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007f13ea0ae833 [ 39.334685] RDX: 000000000000000f RSI: 00007f13e9fa1000 RDI: 0000000000000001 [ 39.342652] RBP: 00007f13e9fa1000 R08: 00007f13e9fa0010 R09: 0000000000000000 [ 39.350619] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 39.358589] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 00000000000001 # [ 34.808070] RBP: 00007f53a94b4000 R08: 00007f53a94b3010 R09: 0000000000000000 # [ 34.816041] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 34.824009] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 34.831984] irq event stamp: 0 # [ 34.835422] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 34.842422] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 34.851557] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 34.860693] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 34.867691] ---[ end trace 5fbbb9d5c0737d04 ]--- # [ 34.872845] lkdtm: ok: SMEP did not get cleared # [ 34.877902] lkdtm: trying to clear SMEP with call gadget # [ 34.883834] 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 # [ 34.971949] lkdtm: Performing direct entry DOUBLE_FAULT # [ 34.981900] lkdtm: XFAIL: this test is ia32-only # DOUBLE_FAULT: saw 'XFAIL': [SKIP] ok 15 selftests: lkdtm: DOUBLE_FAULT.sh # SKIP # selftests: lkd[ 39.482287] lkdtm: Performing direct entry EXEC_NULL tm: CORRUPT_PAC.sh # [ 35.100724] lkdtm: Performing direct en[ 39.490220] lkdtm: attempting ok execution at ffffffff8eae5150 try CORRUPT_PAC # [ 35.110870] lkdtm: XFAIL: this test is arm[ 39.502977] lkdtm: attempting bad execution at 0000000000000000 64-only # CORRUPT_PAC: saw 'XFAIL': [SKIP] ok 16 selftests: lk[ 39.515827] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 39.529776] #PF: supervisor instruction fetch in kernel mode [ 39.536093] #PF: error_code(0x0010) - not-present page [ 39.541827] PGD 0 P4D 0 [ 39.544650] Oops: 0010 [#11] SMP PTI [ 39.548638] CPU: 0 PID: 1766 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 39.557275] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 39.564078] RIP: 0010:0x0 [ 39.566997] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. [ 39.574674] RSP: 0018:ffff91a38252fe48 EFLAGS: 00010246 [ 39.580504] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 [ 39.588471] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 [ 39.596436] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 39.604402] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 39.612369] R13: ffff91a38252ff10 R14: ffff91a38252ff10 R15: ffff8a8b04f59000 [ 39.620337] FS: 00007f3d08962580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 39.629363] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 39.635776] CR2: ffffffffffffffd6 CR3: 00000001031a4004 CR4: 00000000003706f0 [ 39.643744] Call Trace: [ 39.646471] execute_location+0x45/0x56 [ 39.650755] direct_entry.cold+0x2c/0x38 [ 39.655132] full_proxy_write+0x53/0x80 [ 39.659417] vfs_write+0xe7/0x3a0 [ 39.663114] ksys_write+0x68/0xf0 [ 39.666812] do_syscall_64+0x30/0x40 [ 39.670805] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 39.676442] RIP: 0033:0x7f3d08878833 [ 39.680428] 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 [ 39.701407] RSP: 002b:00007ffc10245a68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 39.709861] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f3d08878833 [ 39.717827] RDX: 000000000000000a RSI: 00007f3d0876b000 RDI: 0000000000000001 [ 39.725796] RBP: 00007f3d0876b000 R08: 00007f3d0876a010 R09: 0000000000000000 [ 39.733763] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 39.741732] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 39.749706] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 39.776144] CR2: 0000000000000000 [ 39.779840] ---[ end trace 5fbbb9d5c0737d0b ]--- [ 39.784994] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 39.789376] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 39.810358] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 39.816209] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 39.824168] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 39.832134] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 39.840103] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 39.848072] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 39.856039] FS: 00007f3d08962580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 39.865075] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 39.871489] CR2: ffffffffffffffd6 CR3: 00000001031a4004 CR4: 00000000003706f0 dtm: CORRUPT_PAC.sh # SKIP # selftests: lkdtm: UNALIGNED_LOAD_STORE_WRITE.sh # [ 35.199476] lkdtm: Performing direct entry UNALIGNED_LOAD_STORE_WRITE # [ 35.210349] 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 # [ 35.363958] lkdtm: Performing direct entry READ_AFTER_FREE # [ 35.373229] lkdtm: Value in memory before free: 12345678 # [ 35.385377] lkdtm: Attempting bad read from freed memory # [ 35.397523] 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 # [ 35.519188] lkdtm: Performing direct entry READ_BUDDY_AFTER_FREE # [ 35.526902] lkdtm: Value in memory before free: 12345678 # [ 35.539052] lkdtm: Attempting to read from freed memory # [ 35.551094] lkdtm: Buddy page was not poisoned # READ_BUDDY_AFTER_FREE: missing 'call trace:': [FAIL] not ok 22 selftests: lkdtm: READ_B[ 40.030899] lkdtm: Performing direct entry ACCESS_USERSPACE UDDY_AFTER_FREE.sh # exit=1 # selftests: lkdtm: SLAB_FREE_DOUBL[ 40.041163] lkdtm: attempting bad read at 00007fc914e9d000 E.sh # [ 35.636325] lkdtm: Performing direct entry SLAB_FREE_[ 40.053502] BUG: unable to handle page fault for address: 00007fc914e9d000 [ 40.067374] #PF: supervisor read access in kernel mode [ 40.073101] #PF: error_code(0x0001) - permissions violation [ 40.079321] PGD 8000000103e72067 P4D 8000000103e72067 PUD 1031c5067 PMD 10578a067 PTE 10a6ae067 [ 40.089047] Oops: 0001 [#12] SMP PTI [ 40.093027] CPU: 0 PID: 1801 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 40.101674] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 40.108479] RIP: 0010:lkdtm_ACCESS_USERSPACE.cold+0x41/0xa3 [ 40.114705] Code: 00 00 00 75 64 48 83 c4 10 5d c3 cc cc cc cc 48 89 ee 48 c7 c7 80 b9 cb 8f e8 3e 96 fd ff 48 c7 c7 a8 b9 cb 8f b8 de c0 de c0 <48> 03 45 00 48 89 04 24 e8 25 96 fd ff 48 89 ee 48 c7 c7 d0 b9 cb [ 40.135685] RSP: 0018:ffff91a3825cfe48 EFLAGS: 00010246 [ 40.141516] RAX: 00000000c0dec0de RBX: 0000000000000026 RCX: 0000000000000000 [ 40.149484] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffffffff8fcbb9a8 [ 40.157451] RBP: 00007fc914e9d000 R08: 0000000000000000 R09: 0000000000000000 [ 40.165420] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000011 [ 40.173379] R13: ffff91a3825cff10 R14: ffff91a3825cff10 R15: ffff8a8b05421000 [ 40.181347] FS: 00007fc914e6e580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 40.190383] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 40.196788] CR2: 00007fc914e9d000 CR3: 00000001032c6004 CR4: 00000000003706f0 [ 40.204745] Call Trace: [ 40.207472] direct_entry.cold+0x2c/0x38 [ 40.211856] full_proxy_write+0x53/0x80 [ 40.216142] vfs_write+0xe7/0x3a0 [ 40.219844] ksys_write+0x68/0xf0 [ 40.223534] do_syscall_64+0x30/0x40 [ 40.227526] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 40.233164] RIP: 0033:0x7fc914d84833 [ 40.237151] 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 [ 40.258127] RSP: 002b:00007fffc5060878 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 40.266582] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fc914d84833 [ 40.274541] RDX: 0000000000000011 RSI: 00007fc914c77000 RDI: 0000000000000001 [ 40.282507] RBP: 00007fc914c77000 R08: 00007fc914c76010 R09: 0000000000000000 [ 40.290472] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 40.298439] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 40.306411] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 40.332846] CR2: 00007fc914e9d000 [ 40.336538] ---[ end trace 5fbbb9d5c0737d0c ]--- [ 40.341693] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 40.346068] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 40.367043] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 40.372874] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 40.380842] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 40.388801] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 40.396767] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 40.404733] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 40.412701] FS: 00007fc914e6e580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 40.421727] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 40.428141] CR2: 00007fc914e9d000 CR3: 00000001032c6004 CR4: 00000000003706f0 [ 40.436102] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 40.446009] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1801, name: cat [ 40.454464] INFO: lockdep is turned off. [ 40.458841] irq event stamp: 0 [ 40.462237] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 40.469227] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 40.478360] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 40.487492] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 40.494492] CPU: 0 PID: 1801 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 40.503131] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 40.509931] Call Trace: [ 40.512656] dump_stack+0x77/0x9b [ 40.516345] ___might_sleep.cold+0xa6/0xb6 [ 40.520908] exit_signals+0x1c/0x2e0 [ 40.524896] do_exit+0xc2/0xaf0 [ 40.528397] ? ksys_write+0x68/0xf0 [ 40.532289] make_task_dead+0x2f/0x30 [ 40.536375] rewind_stack_and_make_dead+0x17/0x20 [ 40.541624] RIP: 0033:0x7fc914d84833 [ 40.545603] 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 [ 40.566579] RSP: 002b:00007fffc5060878 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 40.575024] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fc914d84833 [ 40.582982] RDX: 0000000000000011 RSI: 00007fc914c77000 RDI: 0000000000000001 [ 40.590949] RBP: 00007fc914c77000 R08: 00007fc914c76010 R09: 0000000000000000 [ 40.598915] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 40.606881] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 DOUBLE # [ 35.643074] 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 # [ 35.744709] lkdtm: Performing direct entry SLAB_FREE_CROSS # [ 35.754066] 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 # [ 35.848658] lkdtm: Performing direct entry SLAB_FREE_PAGE # [ 35.859150] lkdtm: Attempting non-Slab slab free ... # SLAB_FREE_PAGE: missing 'call trace:': [FAIL] not ok 25 selftests: lkdtm: SLAB_FREE_PAGE.sh # exit=1 # selftests: lkdtm: SOFTLOCKUP.sh # Skipping SOFTLOCKUP: 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 # [ 36.064277] lkdtm: Performing direct entry EXEC_DATA # [ 36.075439] lkdtm: attempting ok execution at ffffffff8eae5150 # [ 36.088194] lkdtm: attempting bad execution at ffffffff9141a6a0 # [ 36.101015] kernel tried [ 40.757594] lkdtm: Performing direct entry ACCESS_NULL to execute NX-protected page - exploit attempt? (uid: 0) # [ [ 40.763633] lkdtm: attempting bad read at 0000000000000000 36.115549] BUG: unable to handle page fault for address: fffffff[ 40.776018] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 40.789954] #PF: supervisor read access in kernel mode [ 40.795688] #PF: error_code(0x0000) - not-present page [ 40.801422] PGD 0 P4D 0 [ 40.804237] Oops: 0000 [#13] SMP PTI [ 40.808260] CPU: 0 PID: 1836 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 40.816907] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 40.823712] RIP: 0010:lkdtm_ACCESS_NULL+0x14/0x53 [ 40.828967] Code: e2 95 fd ff be 00 10 00 00 48 89 ef e8 8a d4 39 ff e9 69 ff ff ff 0f 1f 44 00 00 53 31 f6 48 c7 c7 80 b9 cb 8f e8 bc 95 fd ff <48> 8b 1c 25 00 00 00 00 b8 de c0 de c0 48 c7 c7 a8 b9 cb 8f 48 01 [ 40.849947] RSP: 0018:ffff91a38264fe58 EFLAGS: 00010246 [ 40.855770] RAX: 000000000000002e RBX: 0000000000000027 RCX: 0000000000000000 [ 40.863736] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 [ 40.871704] RBP: ffffffff8fcbaa71 R08: 0000000000000000 R09: 0000000000000000 [ 40.879670] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c [ 40.887637] R13: ffff91a38264ff10 R14: ffff91a38264ff10 R15: ffff8a8b04e8d000 [ 40.895606] FS: 00007fc52bfd1580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 40.904632] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 40.911046] CR2: 0000000000000000 CR3: 0000000105e02005 CR4: 00000000003706f0 [ 40.919013] Call Trace: [ 40.921740] direct_entry.cold+0x2c/0x38 [ 40.926118] full_proxy_write+0x53/0x80 [ 40.930404] vfs_write+0xe7/0x3a0 [ 40.934102] ksys_write+0x68/0xf0 [ 40.937800] do_syscall_64+0x30/0x40 [ 40.941794] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 40.947423] RIP: 0033:0x7fc52bee7833 [ 40.951409] 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 [ 40.972386] RSP: 002b:00007ffd17974308 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 40.980840] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007fc52bee7833 [ 40.988808] RDX: 000000000000000c RSI: 00007fc52bdda000 RDI: 0000000000000001 [ 40.996775] RBP: 00007fc52bdda000 R08: 00007fc52bdd9010 R09: 0000000000000000 [ 41.004742] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 41.012708] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 41.020680] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 41.047114] CR2: 0000000000000000 [ 41.050809] ---[ end trace 5fbbb9d5c0737d0d ]--- [ 41.055961] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 41.060327] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 41.081302] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 41.087134] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 41.095099] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 41.103066] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 41.111033] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 41.118999] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 41.126966] FS: 00007fc52bfd1580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 41.136000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.142413] CR2: 0000000000000000 CR3: 0000000105e02005 CR4: 00000000003706f0 f9141a6a0 # [ 36.123225] #PF: supervisor instruction fetch in kernel mode # [ 36.129541] #PF: error_code(0x0011) - permissions violation # [ 36.135759] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 80000001774000e3 # [ 36.143540] Oops: 0011 [#5] SMP PTI # [ 36.147430] CPU: 0 PID: 1550 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 36.156075] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 36.162881] RIP: 0010:data_area+0x0/0x40 # [ 36.167263] Code: ff ff 00 ea 24 04 8b 8a ff ff 00 e9 24 04 8b 8a 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 # [ 36.188233] RSP: 0018:ffff91a38219fe48 EFLAGS: 00010246 # [ 36.194055] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 # [ 36.202023] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 # [ 36.209994] RBP: ffffffff9141a6a0 R08: 0000000000000000 R09: 0000000000000000 # [ 36.217959] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a # [ 36.225926] R13: ffff91a38219ff10 R14: ffff91a38219ff10 R15: ffff8a8b04f5a000 # [ 36.233892] FS: 00007fc009fc4580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 36.242928] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 36.249341] CR2: ffffffff9141a6a0 CR3: 00000001033e4006 CR4: 00000000003706f0 # [ 36.257307] Call Trace: # [ 36.260033] ? execute_location+0x45/0x56 # [ 36.264511] ? direct_entry.cold+0x2c/0x38 # [ 36.269085] ? full_proxy_write+0x53/0x80 # [ 36.273565] ? vfs_write+0xe7/0x3a0 # [ 36.277463] ? ksys_write+0x68/0xf0 # [ 36.281356] ? do_syscall_64+0x30/0x40 # [ 36.285542] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 36.291379] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf i[ 41.334414] lkdtm: Performing direct entry WRITE_RO [ 41.342328] lkdtm: attempting bad rodata write at ffffffff8f8d1590 ndustrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_[ 41.349248] BUG: unable to handle page fault for address: ffffffff8f8d1590 [ 41.363123] #PF: supervisor write access in kernel mode [ 41.368955] #PF: error_code(0x0003) - permissions violation [ 41.375176] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 80000001758000e1 [ 41.382953] Oops: 0003 [#14] SMP PTI [ 41.386942] CPU: 3 PID: 1871 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 41.395580] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 41.402385] RIP: 0010:lkdtm_WRITE_RO+0x2e/0x3a [ 41.407343] Code: 00 48 c7 c7 60 b8 cb 8f 48 c7 c6 90 15 8d 8f e8 66 98 fd ff 48 8b 05 c4 6b 76 00 ba 34 12 cd ab 48 c7 c7 90 b8 cb 8f 48 31 d0 <48> 89 05 ae 6b 76 00 e9 44 98 fd ff 0f 1f 44 00 00 48 8b 05 3d d9 [ 41.428320] RSP: 0018:ffff91a3826f7e60 EFLAGS: 00010202 [ 41.434151] RAX: 000000000198b861 RBX: 0000000000000028 RCX: 0000000000000000 [ 41.442117] RDX: 00000000abcd1234 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8fcbb890 [ 41.450083] RBP: ffffffff8fcbaa7d R08: 0000000000000000 R09: 0000000000000000 [ 41.458050] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000009 [ 41.466016] R13: ffff91a3826f7f10 R14: ffff91a3826f7f10 R15: ffff8a8b05cec000 [ 41.473982] FS: 00007ff8d9939580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 41.483016] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.489430] CR2: ffffffff8f8d1590 CR3: 000000010553e003 CR4: 00000000003706e0 [ 41.497395] Call Trace: [ 41.500122] direct_entry.cold+0x2c/0x38 [ 41.504500] full_proxy_write+0x53/0x80 [ 41.508782] vfs_write+0xe7/0x3a0 [ 41.512477] ksys_write+0x68/0xf0 [ 41.516176] do_syscall_64+0x30/0x40 [ 41.520164] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 41.525802] RIP: 0033:0x7ff8d984f833 [ 41.529789] 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 [ 41.550756] RSP: 002b:00007ffd7e4381f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 41.559211] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007ff8d984f833 [ 41.567168] RDX: 0000000000000009 RSI: 00007ff8d9742000 RDI: 0000000000000001 [ 41.575135] RBP: 00007ff8d9742000 R08: 00007ff8d9741010 R09: 0000000000000000 [ 41.583101] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 41.591067] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 41.599039] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cr[ 41.625497] CR2: ffffffff8f8d1590 [ 41.635405] ---[ end trace 5fbbb9d5c0737d0e ]--- [ 41.640558] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 41.644933] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 41.665912] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 41.671743] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 41.679710] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 41.687678] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 41.695646] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 41.703612] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 41.711579] FS: 00007ff8d9939580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 41.720615] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 41.727028] CR2: ffffffff8f8d1590 CR3: 000000010553e003 CR4: 00000000003706e0 os_usbpd_notify # [ 36.317811] CR2: ffffffff9141a6a0 # [ 36.321508] ---[ end trace 5fbbb9d5c0737d05 ]--- # [ 36.326659] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 36.331035] Code: 89 ff e8 be 60 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 d0 58 93 02 # [ 36.352010] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 36.357843] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 36.365812] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 36.373777] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 36.381742] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 36.389709] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 36.397678] FS: 00007fc009fc4580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 36.406712] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 36.413125] CR2: ffffffff9141a6a0 CR3: 00000001033e4006 CR4: 00000000003706f0 # [ 36.421092] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 36.431000] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1550, name: cat # [ 36.439453] INFO: lockdep is turned off.[ 41.859533] lkdtm: Performing direct entry WRITE_RO_AFTER_INIT [ 41.872073] lkdtm: attempting bad ro_after_init write at ffffffff8fd38330 [ 41.879676] BUG: unable to handle page fault for address: ffffffff8fd38330 [ 41.887362] #PF: supervisor write access in kernel mode [ 41.893210] #PF: error_code(0x0003) - permissions violation [ 41.899430] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 104749063 PTE 8000000175d38061 [ 41.908470] Oops: 0003 [#15] SMP PTI [ 41.912459] CPU: 2 PID: 1906 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 41.921106] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 41.927912] RIP: 0010:lkdtm_WRITE_RO_AFTER_INIT+0x4e/0x5a [ 41.933939] Code: b8 cb 8f e9 18 98 fd ff 48 c7 c7 e8 b8 cb 8f e8 0c 98 fd ff 48 8b 05 0a d9 bc 00 ba 34 12 cd ab 48 c7 c7 90 b8 cb 8f 48 31 d0 <48> 89 05 f4 d8 bc 00 e9 ea 97 fd ff 0f 1f 44 00 00 41 54 48 c7 c7 [ 41.954918] RSP: 0018:ffff91a382787e60 EFLAGS: 00010202 [ 41.960751] RAX: 00000000fe67479e RBX: 0000000000000029 RCX: 0000000000000000 [ 41.968720] RDX: 00000000abcd1234 RSI: ffff8a8b7ad1bf70 RDI: ffffffff8fcbb890 [ 41.976679] RBP: ffffffff8fcbaa86 R08: 0000000000000000 R09: 0000000000000000 [ 41.984650] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000014 [ 41.992618] R13: ffff91a382787f10 R14: ffff91a382787f10 R15: ffff8a8b04d0a000 [ 42.000586] FS: 00007f75aeb49580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 42.009623] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.016037] CR2: ffffffff8fd38330 CR3: 0000000103e2a004 CR4: 00000000003706e0 [ 42.024006] Call Trace: [ 42.026733] direct_entry.cold+0x2c/0x38 [ 42.031111] full_proxy_write+0x53/0x80 [ 42.035393] vfs_write+0xe7/0x3a0 [ 42.039090] ksys_write+0x68/0xf0 [ 42.042789] do_syscall_64+0x30/0x40 [ 42.046776] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 42.052413] RIP: 0033:0x7f75aea5f833 [ 42.056399] 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 [ 42.077382] RSP: 002b:00007fffaf0f9bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 42.085836] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f75aea5f833 [ 42.093806] RDX: 0000000000000014 RSI: 00007f75ae952000 RDI: 0000000000000001 [ 42.101773] RBP: 00007f75ae952000 R08: 00007f75ae951010 R09: 0000000000000000 [ 42.109742] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 42.117710] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 42.125683] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 36.443828] irq event stamp: 0 # [ 36.447234] hardirqs[ 42.152142] CR2: ffffffff8fd38330 [ 42.162052] ---[ end trace 5fbbb9d5c0737d0f ]--- [ 42.167213] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 42.171591] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 42.192572] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 42.198405] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 42.206374] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 42.214343] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 42.222313] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 42.230283] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 42.238267] FS: 00007f75aeb49580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 42.247303] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.253716] CR2: ffffffff8fd38330 CR3: 0000000103e2a004 CR4: 00000000003706e0 [ 42.261683] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 42.271592] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1906, name: cat [ 42.280045] INFO: lockdep is turned off. [ 42.284419] irq event stamp: 0 [ 42.287824] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 42.294821] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 42.303956] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 42.313080] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 42.320078] CPU: 2 PID: 1906 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 42.328726] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 42.335529] Call Trace: [ 42.338262] dump_stack+0x77/0x9b [ 42.341960] ___might_sleep.cold+0xa6/0xb6 [ 42.346531] exit_signals+0x1c/0x2e0 [ 42.350520] do_exit+0xc2/0xaf0 [ 42.354024] ? ksys_write+0x68/0xf0 [ 42.357917] make_task_dead+0x2f/0x30 [ 42.362001] rewind_stack_and_make_dead+0x17/0x20 [ 42.367260] RIP: 0033:0x7f75aea5f833 [ 42.371239] 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 [ 42.392240] RSP: 002b:00007fffaf0f9bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 42.400716] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f75aea5f833 [ 42.408685] RDX: 0000000000000014 RSI: 00007f75ae952000 RDI: 0000000000000001 [ 42.416654] RBP: 00007f75ae952000 R08: 00007f75ae951010 R09: 0000000000000000 [ 42.424615] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 42.432581] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 last enabled at (0): [<0000000000000000>] 0x0 # [ 36.454232] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 36.463367] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 36.472491] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 36.479490] CPU: 0 PID: 1550 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 36.488136] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 36.494939] Call Trace: # [ 36.497665] dump_stack+0x77/0x9b # [ 36.501370] ___might_sleep.cold+0xa6/0xb6 # [ 36.505941] exit_signals+0x1c/0x2e0 # [ 36.509928] do_exit+0xc2/0xaf0 # [ 36.513421] ? ksys_write+0x68/0xf0 # [ 36.517303] make_task_dead+0x2f/0x30 # [ 36.521388] rewind_stack_and_make_dead+0x17/0x20 # [ 36.526639] RIP: 0033:0x7fc009eda833 # [ 36.530617] 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 # [ 36.551586] RSP: 002b:00007ffeb728cc08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 36.560041] RAX: ffffffffffffffda RBX: 00[ 42.557775] lkdtm: Performing direct entry WRITE_KERN [ 42.564325] lkdtm: attempting bad 6838262 byte write at ffffffff8f16a946 [ 42.571852] BUG: unable to handle page fault for address: ffffffff8f16a946 [ 42.579539] #PF: supervisor write access in kernel mode [ 42.585374] #PF: error_code(0x0003) - permissions violation [ 42.591596] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 1750000e1 0000000000000a RCX: 00007fc009eda833 # [ 36.568000] RDX: 0000[ 42.598697] Oops: 0003 [#16] SMP PTI [ 42.608898] CPU: 2 PID: 1941 Comm: cat Tainted: G D W 5.10.172-cip27 #1 00000000000a RSI: 00007fc009dcd000 RDI: 0000000000000001 # [ [ 42.617551] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 36.575959] RBP: 00007fc009dcd000 R08: 00007fc009dcc010 R09: 0000[ 42.630573] RIP: 0010:lkdtm_WRITE_KERN+0x38/0x4e [ 42.641944] Code: 53 48 c7 c3 46 a9 16 8f 49 89 dc 48 89 da 49 81 ec 50 51 ae 8e 4c 89 e6 e8 bf 97 fd ff 48 89 df 4c 89 e1 48 c7 c6 50 51 ae 8e a4 48 c7 c7 90 b8 cb 8f e8 a4 97 fd ff 5b 41 5c e9 b7 fe ff ff [ 42.662927] RSP: 0018:ffff91a3827dfe50 EFLAGS: 00010246 [ 42.668761] RAX: 000000000000003c RBX: ffffffff8f16a946 RCX: 00000000006857f6 [ 42.676731] RDX: 0000000000000000 RSI: ffffffff8eae5150 RDI: ffffffff8f16a946 [ 42.684701] RBP: ffffffff8fcbaa9a R08: 0000000000000000 R09: 0000000000000000 [ 42.692671] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 00000000006857f6 [ 42.700640] R13: ffff91a3827dff10 R14: ffff91a3827dff10 R15: ffff8a8b04f7d000 [ 42.708608] FS: 00007f8b76384580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 42.717643] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.724058] CR2: ffffffff8f16a946 CR3: 0000000100e7a002 CR4: 00000000003706e0 [ 42.732026] Call Trace: [ 42.734753] direct_entry.cold+0x2c/0x38 [ 42.739133] full_proxy_write+0x53/0x80 [ 42.743415] vfs_write+0xe7/0x3a0 [ 42.747113] ksys_write+0x68/0xf0 [ 42.750811] do_syscall_64+0x30/0x40 [ 42.754800] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 42.760429] RIP: 0033:0x7f8b7629a833 [ 42.764416] 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 [ 42.785398] RSP: 002b:00007fff8be8abe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 42.793844] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f8b7629a833 [ 42.801813] RDX: 000000000000000b RSI: 00007f8b7618d000 RDI: 0000000000000001 [ 42.809783] RBP: 00007f8b7618d000 R08: 00007f8b7618c010 R09: 0000000000000000 [ 42.817751] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 42.825719] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 42.833694] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 000000000000 # [ 36.583928] R10: fffffffffffffbc5 R11: 000000[ 42.860155] CR2: ffffffff8f16a946 [ 42.870065] ---[ end trace 5fbbb9d5c0737d10 ]--- [ 42.875220] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 42.879597] Code: 89 ff e8 be 60 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 d0 58 93 02 [ 42.900571] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 [ 42.906396] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 [ 42.914364] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 [ 42.922332] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 [ 42.930299] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 42.938266] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 [ 42.946234] FS: 00007f8b76384580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 42.955270] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 42.961684] CR2: ffffffff8f16a946 CR3: 0000000100e7a002 CR4: 00000000003706e0 0000000246 R12: 0000000000000001 # [ 36.591884] 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 # [ 36.708975] lkdtm: Performing direct entry EXEC_STACK # [ 36.717390] lkdtm: attempting ok execution at ffffffff8eae5150 # [ 36.730121] lkdtm: attempting bad execution at ffff91a382247e18 # [ 36.742951] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 36.757515] BUG: unable to handle page fault for address: ffff91a382247e18 # [ 36.765185] #PF: supervisor instruction fetch in kernel mode # [ 36.771502] #PF: error_code(0x0011) - permissions violation # [ 36.777723] PGD 100000067 P4D 100000067 PUD 100211067 PMD 10546d067 PTE 8000000103d1d063 # [ 36.792977] Oops: 0011 [#6] SMP PTI # [ 36.796869] CPU: 1 PID: 1586 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 36.805507] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 36.812310] RIP: 0010:0xffff91a382247e18 # [ 36.816677] Code: 00 00 18 7e 24 82 a3 91 ff ff 9c a9 16 8f ff ff ff ff 20 00 00 00 00 00 00 00 16 aa cb 8f ff ff ff ff cb aa 16 8f 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 # [ 36.837659] RSP: 0018:ffff91a382247df8 EFLAGS: 00010246 # [ 36.843482] RAX: 0000000000000033 RBX:[ 43.101946] lkdtm: Performing direct entry REFCOUNT_INC_OVERFLOW 0000000000000001 RCX: 0000000000000000 # [ 36.851448] RDX: 0[ 43.113187] lkdtm: attempting good refcount_inc() without overflow 000000000000000 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 # [[ 43.126301] lkdtm: attempting bad refcount_inc() overflow 36.859415] RBP: ffff91a382247e18 R08: 0000000000000000 R09: 0[ 43.138550] ------------[ cut here ]------------ 000000000000000 # [ 36.867382] R10: 00000000ffffe000 R11: 3ff[ 43.149925] refcount_t: saturated; leaking memory. fffffffffffff R12: 000000000000000b # [ 36.875347] R13: ffff9[ 43.161505] WARNING: CPU: 0 PID: 1977 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 1a382247f10 R14: ffff91a382247f10 R15: ffff8a8b0554d000 # [ 3[ 43.177137] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 6.883314] FS: 00007fb6e82ca580(0000) GS:ffff8a8b7ac80000(0000) [ 43.209772] CPU: 0 PID: 1977 Comm: cat Tainted: G D W 5.10.172-cip27 #1 knlGS:0000000000000000 # [ 36.892348] CS: 0010 DS: 0000 ES: [ 43.224644] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 0000 CR0: 0000000080050033 # [ 36.898761] CR2: ffff91a382247e[ 43.237670] RIP: 0010:refcount_warn_saturate+0x51/0x110 18 CR3: 0000000104de4005 CR4: 00000000003706e0 # [ 36.906727][ 43.249743] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 Call Trace: # [ 36.909455] ? execute_location+0x45/0x56 # [ 43.276946] RSP: 0018:ffff91a38288fe48 EFLAGS: 00010286 [ 36.913929] ? lkdtm_EXEC_STACK+0x26/0x44 # [ 36.924615] [ 43.289017] RAX: 0000000000000000 RBX: 000000000000002b RCX: 0000000000000000 ? direct_entry.cold+0x2c/0x38 # [ 36.929204] ? full_proxy_wr[ 43.303211] RDX: ffff8a8b7ac2c660 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 ite+0x53/0x80 # [ 36.933676] ? vfs_write+0xe7/0x3a0 # [ 3[ 43.317418] RBP: ffffffff8fcbaaa5 R08: 0000000000000000 R09: 0000000000000000 6.943779] ? ksys_write+0x68/0xf0 # [ 36.947670] ? do_syscal[ 43.331609] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 l_64+0x30/0x40 # [ 36.951852] ? entry_SYSCALL_64_after_hwfra[ 43.345815] R13: ffff91a38288ff10 R14: ffff91a38288ff10 R15: ffff8a8b0311c000 me+0x61/0xc6 # [ 36.963899] Modules linked in: fuse ip_tables[ 43.360006] FS: 00007f9cf50b9580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buf[ 43.375298] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 fer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec[ 43.387889] CR2: 00007f9cf4ec2000 CR3: 0000000105d5e004 CR4: 00000000003706f0 _lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal[ 43.402107] Call Trace: cros_ec_dev cros_usbpd_notify # [ 36.996536] CR2: ffff91a382[ 43.411090] lkdtm_REFCOUNT_INC_OVERFLOW+0x70/0x98 247e18 # [ 37.000236] ---[ end trace 5fbbb9d5c0737d06 ]--- #[ 43.422627] direct_entry.cold+0x2c/0x38 [ 37.005391] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 37.009768] C[ 43.433240] full_proxy_write+0x53/0x80 ode: 89 ff e8 be 60 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea[ 43.443727] vfs_write+0xe7/0x3a0 ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 [ 43.453641] ksys_write+0x68/0xf0 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 d0 58[ 43.463539] do_syscall_64+0x30/0x40 93 02 # [ 37.036962] RSP: 0018:ffff91a3813a7e60 EFLAGS: 0001[ 43.473742] entry_SYSCALL_64_after_hwframe+0x61/0xc6 0282 # [ 37.042795] RAX: ffffffff8eae4d80 RBX: 00000000000000[ 43.485586] RIP: 0033:0x7f9cf4fcf833 01 RCX: 0000000000000000 # [ 37.050762] RDX: 0000000000000000[ 43.495818] 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 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 37.058730] R[ 43.523002] RSP: 002b:00007ffead4351a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 BP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001[ 43.537675] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f9cf4fcf833 # [ 37.066700] R10: 00000000ffffe000 R11: 3fffffffffffffff R[ 43.551859] RDX: 0000000000000016 RSI: 00007f9cf4ec2000 RDI: 0000000000000001 12: 0000000000000004 # [ 37.074669] R13: ffff91a3813a7f10 R14[ 43.566056] RBP: 00007f9cf4ec2000 R08: 00007f9cf4ec1010 R09: 0000000000000000 : ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 37.082628] FS: [ 43.580227] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 00007fb6e82ca580(0000) GS:ffff8a8b7ac80000(0000) knlGS:000000000[ 43.594436] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 0000000 # [ 37.091665] CS: 0010 DS: 0000 ES: 0000 CR0: 00000[ 43.608610] irq event stamp: 0 00080050033 # [ 37.098079] CR2: ffff91a382247e18 CR3: 0000000[ 43.618246] hardirqs last enabled at (0): [<0000000000000000>] 0x0 104de4005 CR4: 00000000003706e0 # EXEC_STACK: saw 'call trace:'[ 43.631448] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 : ok ok 31 selftests: lkdtm: EXEC_STACK.sh # selftests: lkdtm:[ 43.646827] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 EXEC_KMALLOC.sh # Killed # [ 37.201865] lkdtm: Performing d[ 43.662165] softirqs last disabled at (0): [<0000000000000000>] 0x0 irect entry EXEC_KMALLOC # [ 37.211328] lkdtm: attempting ok [ 43.675397] ---[ end trace 5fbbb9d5c0737d11 ]--- execution at ffffffff8eae5150 # [ 37.217853] lkdtm: attemptin[ 43.686752] lkdtm: Overflow detected: saturated g bad execution at ffff8a8b04c05d00 # [ 37.224476] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 37.232840] BUG: unable to handle page fault for address: ffff8a8b04c05d00 # [ 37.240520] #PF: supervisor instruction fetch in kernel mode # [ 37.246836] #PF: error_code(0x0011) - permissions violation # [ 37.253056] PGD 177601067 P4D 177601067 PUD 10084e063 PMD 10482a063 PTE 8000000104c05063 # [ 37.262098] Oops: 0011 [#7] SMP PTI # [ 37.272216] CPU: 2 PID: 1622 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 37.280864] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 37.287666] RIP: 0010:0xffff8a8b04c05d00 # [ 37.292043] Code: 00 00 02 00 00 00 00 00 00 00 40 5f c0 04 8b 8a ff ff 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bb 24 30 8e 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 # [ 37.313009] RSP: 0018:ffff91a3822efe38 EFLAGS: 00010246 # [ 37.318841] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 # [ 37.326800] RDX: 0000000000000000[ 43.799248] lkdtm: Performing direct entry REFCOUNT_ADD_OVERFLOW RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 # [ 37.334765] R[ 43.810387] lkdtm: attempting good refcount_add() without overflow BP: ffff8a8b04c05d00 R08: 0000000000000000 R09: 0000000000000000[ 43.823508] lkdtm: attempting bad refcount_add() overflow [ 43.835749] ------------[ cut here ]------------ # [ 37.342733] R10: 00000000ffffe000 R11: 3fffffffffffffff R[ 43.840909] refcount_t: saturated; leaking memory. 12: 000000000000000d # [ 37.350700] R13: ffff91a3822eff10 R14[ 43.852500] WARNING: CPU: 1 PID: 2009 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 : ffff91a3822eff10 R15: ffff8a8b04fba000 # [ 37.358668] FS: [ 43.868112] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 43.900752] CPU: 1 PID: 2009 Comm: cat Tainted: G D W 5.10.172-cip27 #1 00007fb688751580(0000) GS:ffff8a8b7ad00000(0000) knlGS:000000000[ 43.909406] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 0000000 # [ 37.367703] CS: 0010 DS: 0000 ES: 0000 CR0: 00000[ 43.922424] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 43.934476] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 00080050033 # [ 37.374116] CR2: ffff8a8b04c05d00 CR3: 0000000[ 43.955463] RSP: 0018:ffff91a3828f7e48 EFLAGS: 00010286 103ed6003 CR4: 00000000003706e0 # [ 37.382084] Call Trace: #[ 43.967512] RAX: 0000000000000000 RBX: 000000000000002c RCX: 0000000000000000 [ 37.384811] ? execute_location+0x45/0x56 # [ 37.389285] [ 43.981698] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 ? lkdtm_EXEC_KMALLOC+0x2c/0x40 # [ 37.393952] ? direct_entr[ 43.995891] RBP: ffffffff8fcbaabb R08: 0000000000000000 R09: 0000000000000000 [ 44.010073] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 y.cold+0x2c/0x38 # [ 37.398523] ? full_proxy_write+0x53/0x80[ 44.018048] R13: ffff91a3828f7f10 R14: ffff91a3828f7f10 R15: ffff8a8b03fcf000 # [ 37.402989] ? vfs_write+0xe7/0x3a0 # [ 37.406880] ? [ 44.032254] FS: 00007f22ff9fc580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 ksys_write+0x68/0xf0 # [ 37.410772] ? do_syscall_64+0x30/0x4[ 44.047494] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 44.060127] CR2: 00007f22ff805000 CR3: 000000010326e003 CR4: 00000000003706e0 0 # [ 37.414952] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 44.068102] Call Trace: # [ 37.420787] Modules linked in: fuse ip_tables cros_ec_sens[ 44.077044] lkdtm_REFCOUNT_ADD_OVERFLOW+0x7f/0xa7 ors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf[ 44.088610] direct_entry.cold+0x2c/0x38 industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cro[ 44.099220] full_proxy_write+0x53/0x80 s_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev [ 44.109717] vfs_write+0xe7/0x3a0 cros_usbpd_notify # [ 37.447240] CR2: ffff8a8b04c05d00 # [ [ 44.119632] ksys_write+0x68/0xf0 37.457147] ---[ end trace 5fbbb9d5c0737d07 ]--- # [ 37.46229[ 44.129550] do_syscall_64+0x30/0x40 2] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 37.466666] Code: 89 ff e8[ 44.139756] entry_SYSCALL_64_after_hwframe+0x61/0xc6 be 60 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 [ 44.151614] RIP: 0033:0x7f22ff912833 [ 44.161822] 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 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66[ 44.182809] RSP: 002b:00007ffcd1824ea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 44.197478] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f22ff912833 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 d0 58 93 02 # [ [ 44.205452] RDX: 0000000000000016 RSI: 00007f22ff805000 RDI: 0000000000000001 [ 44.219634] RBP: 00007f22ff805000 R08: 00007f22ff804010 R09: 0000000000000000 37.487648] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 3[ 44.227607] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 7.493481] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 00000[ 44.241791] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 00000000000 # [ 37.501448] RDX: 0000000000000000 RSI: ffff8a8[ 44.255986] irq event stamp: 0 b7ad9bf70 RDI: ffffffff8f8d1110 # [ 37.509415] RBP: ffffffff8[ 44.265605] hardirqs last enabled at (0): [<0000000000000000>] 0x0 fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 37.51[ 44.278822] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 7382] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000[ 44.294178] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 44.309553] softirqs last disabled at (0): [<0000000000000000>] 0x0 0000004 # [ 37.525347] R13: ffff91a3813a7f10 R14: ffff91a3813[ 44.316557] ---[ end trace 5fbbb9d5c0737d12 ]--- [ 44.327922] lkdtm: Overflow detected: saturated a7f10 R15: ffff8a8b05716000 # [ 37.533316] FS: 00007fb688751580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 37.542353] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 37.548767] CR2: ffff8a8b04c05d00 CR3: 0000000103ed6003 CR4: 00000000003706e0 # EXEC_KMALLOC: saw 'call trace:': ok ok 32 selftests: lkdtm: EXEC_KMALLOC.sh # selftests: lkdtm: EXEC_VMALLOC.sh # Killed # [ 37.652552] lkdtm: Performing direct entry EXEC_VMALLOC # [ 37.662073] lkdtm: attempting ok execution at ffffffff8eae5150 # [ 37.674817] lkdtm: attempting bad execution at ffff91a38033b000 # [ 37.687617] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 37.702187] BUG: unable to handle page fault for address: ffff91a38033b000 # [ 37.709865] #PF: supervisor instruction fetch in kernel mode # [ 37.716184] #PF: error_code(0x0011) - permissions violation # [ 37.722430] PGD 100000067 P4D 100000067 PUD 100211067 PMD 10099f067 PTE 8000000105d11063 # [ 37.737685] Oops: 0011 [#8] SMP PTI # [ 37.741576] CPU: 1 PID: 1658 Comm: cat T[ 44.432641] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_OVERFLOW ainted: G D W 5.10.172-cip27 #1 # [ 37.750223] H[ 44.446229] lkdtm: attempting bad refcount_inc_not_zero() overflow [ 44.459359] ------------[ cut here ]------------ [ 44.464525] refcount_t: saturated; leaking memory. [ 44.469936] WARNING: CPU: 2 PID: 2041 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 ardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 37.7[ 44.479372] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 44.512008] CPU: 2 PID: 2041 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 44.520692] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 44.527500] RIP: 0010:refcount_warn_saturate+0x97/0x110 57027] RIP: 0010:0xffff91a38033b000 # [ 37.761405] Code: Unab[ 44.533338] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 [ 44.560538] RSP: 0018:ffff91a382947e38 EFLAGS: 00010282 [ 44.566403] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 [ 44.574378] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 [ 44.582347] RBP: ffffffff8fcba6f8 R08: 0000000000000000 R09: 0000000000000000 [ 44.590341] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f le to access opcode bytes at RIP 0xffff91a38033afd6. # [ 37.7[ 44.598327] R13: ffff91a382947f10 R14: ffff91a382947f10 R15: ffff8a8b05c83000 [ 44.612503] FS: 00007f127fa68580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 44.621543] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 44.627962] CR2: 00007f127f871000 CR3: 000000010554c004 CR4: 00000000003706e0 [ 44.635933] Call Trace: [ 44.638663] __refcount_add_not_zero.constprop.0+0x2a/0x35 [ 44.644822] lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW+0x3e/0x76 [ 44.651071] direct_entry.cold+0x2c/0x38 [ 44.655451] full_proxy_write+0x53/0x80 [ 44.659759] vfs_write+0xe7/0x3a0 [ 44.663484] ksys_write+0x68/0xf0 [ 44.667203] do_syscall_64+0x30/0x40 69080] RSP: 0018:ffff91a38236fe38 EFLAGS: 00010246 # [ 37.774[ 44.671203] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 44.683054] RIP: 0033:0x7f127f97e833 [ 44.687046] 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 [ 44.708029] RSP: 002b:00007ffc423067e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 44.716485] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f127f97e833 [ 44.724456] RDX: 000000000000001f RSI: 00007f127f871000 RDI: 0000000000000001 [ 44.732428] RBP: 00007f127f871000 R08: 00007f127f870010 R09: 0000000000000000 [ 44.740399] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 44.748369] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 44.756344] irq event stamp: 0 [ 44.759781] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 44.766783] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 44.775919] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 44.785055] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 44.792056] ---[ end trace 5fbbb9d5c0737d13 ]--- [ 44.797215] lkdtm: Overflow detected: saturated 911] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 # [ 37.782879] RDX: 0000000000000000 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 # [ 37.790847] RBP: ffff91a38033b000 R08: 0000000000000000 R09: 0000000000000000 # [ 37.798815] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d # [ 37.806784] R13: ffff91a38236ff10 R14: ffff91a38236ff10 R15: ffff8a8b05d11000 # [ 37.814752] FS: 00007f280872b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 37.823787] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 37.830211] CR2: ffff91a38033afd6 CR3: 0000000103fda006 CR4: 00000000003706e0 # [ 37.838169] Call Trace: # [ 37.840896] ? execute_location+0x45/0x56 # [ 37.845372] ? lkdtm_EXEC_VMALLOC+0x20/0x30 # [ 37.856264] ? direct_entry.cold+0x2c/0x38 # [ 37.860835] ? full_proxy_write+0x53/0x80 # [ 37.865310] ? vfs_write+0xe7/0x3a0 # [ 37.869211] ? ksys_write+0x68/0xf0 # [ 37.873102] ? do_syscall_64+0x30/0x40 # [ 37.877285] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 37.889331] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 37.921959] CR2: ffff91a38033b000 # [ 37.925656] ---[ e[ 44.935767] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_OVERFLOW nd trace 5fbbb9d5c0737d08 ]--- # [ 37.930809] RIP: 0010:lkdtm[ 44.946858] lkdtm: attempting bad refcount_add_not_zero() overflow _BUG+0x5/0x10 # [ 37.935201] Code: 89 ff e8 be 60 a3 ff 48 c7[ 44.959977] ------------[ cut here ]------------ c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 [ 44.971344] refcount_t: saturated; leaking memory. c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00[ 44.982939] WARNING: CPU: 1 PID: 2073 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 00 00 0f 1f 44 00 00 83 05 d0 58 93 02 # [ 37.956203] RSP: 0[ 44.998557] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 37.968270] RAX: fff[ 45.031217] CPU: 1 PID: 2073 Comm: cat Tainted: G D W 5.10.172-cip27 #1 fffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ [ 45.046082] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 37.976238] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: fff[ 45.059106] RIP: 0010:refcount_warn_saturate+0x97/0x110 fffff8f8d1110 # [ 37.984226] RBP: ffffffff8fd16118 R08: 00000[ 45.071159] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 00000000001 R09: 0000000000000001 # [ 37.992211] R10: 0000000[ 45.098356] RSP: 0018:ffff91a3829dfe38 EFLAGS: 00010282 0ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 38.[ 45.110407] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 000179] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8[ 45.124595] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 b05716000 # [ 38.008145] FS: 00007f280872b580(0000) GS:ffff8[ 45.138785] RBP: ffffffff8fcba718 R08: 0000000000000000 R09: 0000000000000000 a8b7ac80000(0000) knlGS:0000000000000000 # [ 38.017179] CS: [ 45.152974] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 38.023593] C[ 45.167164] R13: ffff91a3829dff10 R14: ffff91a3829dff10 R15: ffff8a8b03ed5000 R2: ffff91a38033afd6 CR3: 0000000103fda006 CR4: 00000000003706e0[ 45.181353] FS: 00007f8b0cc25580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 38.031562] BUG: sleeping function called from invalid co[ 45.196608] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ntext at include/linux/percpu-rwsem.h:49 # [ 38.041471] in_at[ 45.209283] CR2: 00007f8b0ca2e000 CR3: 0000000103296006 CR4: 00000000003706e0 omic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1658, name: ca[ 45.223474] Call Trace: t # [ 38.049914] INFO: lockdep is turned off. # [ 38.05429[ 45.232423] __refcount_add_not_zero.constprop.0+0x2a/0x35 0] irq event stamp: 0 # [ 38.057694] hardirqs last enabled a[ 45.244766] lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW+0x3e/0x76 t (0): [<0000000000000000>] 0x0 # [ 38.064691] hardirqs last [ 45.257220] direct_entry.cold+0x2c/0x38 disabled at (0): [] copy_process+0x664/0x1cb0 [ 45.267833] full_proxy_write+0x53/0x80 # [ 38.073824] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 38.082948] softirqs last [ 45.288229] ksys_write+0x68/0xf0 disabled at (0): [<0000000000000000>] 0x0 # [ 38.089943] CPU:[ 45.298148] do_syscall_64+0x30/0x40 [ 45.308357] entry_SYSCALL_64_after_hwframe+0x61/0xc6 1 PID: 1658 Comm: cat Tainted: G D W 5.10.172-cip2[ 45.314003] RIP: 0033:0x7f8b0cb3b833 7 #1 # [ 38.098589] Hardware name: Google Rammus/Rammus, BIOS[ 45.324216] 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 09/04/2020 # [ 38.105391] Call Trace: # [ 38.108116] du[ 45.351421] RSP: 002b:00007ffe5598cb08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 mp_stack+0x77/0x9b # [ 38.111816] ___might_sleep.cold+0xa6/0[ 45.366092] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f8b0cb3b833 xb6 # [ 38.116388] exit_signals+0x1c/0x2e0 # [ 38.120376][ 45.380283] RDX: 000000000000001f RSI: 00007f8b0ca2e000 RDI: 0000000000000001 do_exit+0xc2/0xaf0 # [ 38.123871] ? ksys_write+0x68/0xf0 [ 45.394473] RBP: 00007f8b0ca2e000 R08: 00007f8b0ca2d010 R09: 0000000000000000 # [ 38.127762] make_task_dead+0x2f/0x30 # [ 38.131838] re[ 45.408664] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 wind_stack_and_make_dead+0x17/0x20 # [ 38.137088] RIP: 0033:0[ 45.422856] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 x7f2808641833 # [ 38.141074] Code: 8b 15 61 26 0e 00 f7 d8 64[ 45.437053] irq event stamp: 0 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 [ 45.446674] hardirqs last enabled at (0): [<0000000000000000>] 0x0 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3[ 45.459896] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 38.162052] RSP: 0[ 45.475253] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 02b:00007ffec99107a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001[ 45.490609] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 38.170497] RAX: ffffffffffffffda RBX: 000000000000000d R[ 45.503828] ---[ end trace 5fbbb9d5c0737d14 ]--- CX: 00007f2808641833 # [ 38.178464] RDX: 000000000000000d RSI[ 45.515203] lkdtm: Overflow detected: saturated : 00007f2808534000 RDI: 0000000000000001 # [ 38.186432] RBP: 00007f2808534000 R08: 00007f2808533010 R09: 0000000000000000 # [ 38.194400] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 38.202368] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXEC_VMALLOC: saw 'call trace:': ok ok 33 selftests: lkdtm: EXEC_VMALLOC.sh # selftests: lkdtm: EXEC_RODATA.sh # Killed # [ 38.315506] lkdtm: Performing direct entry EXEC_RODATA # [ 38.321756] lkdtm: attempting ok execution at ffffffff8eae5150 # [ 38.334495] lkdtm: attempting bad execution at ffffffff8f8d15a0 # [ 38.347321] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 38.361872] BUG: unable to handle page fault for address: ffffffff8f8d15a0 # [ 38.369549] #PF: supervisor instruction fetch in kernel mode # [ 38.375866] #PF: error_code(0x0011) - permissions violation # [ 38.382086] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 80000001758000e1 # [ 38.389869] Oops: 0011 [#9] SMP PTI # [ 38.393760] CPU: 0 PID: 1694 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 38.402406[ 45.634113] lkdtm: Performing direct entry REFCOUNT_DEC_ZERO [ 45.644690] lkdtm: attempting good refcount_dec() [ 45.649960] lkdtm: attempting bad refcount_dec() to zero [ 45.655904] ------------[ cut here ]------------ [ 45.661064] refcount_t: decrement hit 0; leaking memory. [ 45.667007] WARNING: CPU: 2 PID: 2105 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 [ 45.676443] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify ] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 3[ 45.702908] CPU: 2 PID: 2105 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 45.717766] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 45.724573] RIP: 0010:refcount_warn_saturate+0xfb/0x110 [ 45.730410] Code: e8 61 c5 8f c6 05 be fb 93 01 01 e8 61 f0 97 00 0f 0b c3 cc cc cc cc 48 c7 c7 b8 61 c5 8f c6 05 a5 fb 93 01 01 e8 47 f0 97 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b [ 45.751394] RSP: 0018:ffff91a382a77e48 EFLAGS: 00010286 [ 45.757229] RAX: 0000000000000000 RBX: 000000000000002f RCX: 0000000000000000 8.409213] RIP: 0010:lkdtm_rodata_do_nothing+0x0/0x10 # [ 38.4[ 45.765217] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 [ 45.779402] RBP: ffffffff8fcbaad1 R08: 0000000000000000 R09: 0000000000000000 14954] Code: ff ff 3b bf 16 8f ff ff ff ff 62 ac cb 8f ff ff ff [ 45.787377] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 [ 45.801564] R13: ffff91a382a77f10 R14: ffff91a382a77f10 R15: ffff8a8b05dba000 [ 45.809567] FS: 00007fde1bb5b580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 45.818608] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.825025] CR2: 00007fde1b964000 CR3: 0000000100ffc002 CR4: 00000000003706e0 [ 45.832997] Call Trace: [ 45.835727] lkdtm_REFCOUNT_DEC_ZERO+0x4d/0xbd [ 45.840744] direct_entry.cold+0x2c/0x38 ff 81 a6 16 8f ff ff ff ff 55 aa 55 aa 00 00 00 00 00 00 00 00 0[ 45.845137] full_proxy_write+0x53/0x80 [ 45.855625] vfs_write+0xe7/0x3a0 [ 45.859348] ksys_write+0x68/0xf0 [ 45.863050] do_syscall_64+0x30/0x40 [ 45.867066] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 45.872709] RIP: 0033:0x7fde1ba71833 [ 45.876699] 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 [ 45.897682] RSP: 002b:00007fff3649b0d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 45.906138] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fde1ba71833 [ 45.914108] RDX: 0000000000000012 RSI: 00007fde1b964000 RDI: 0000000000000001 [ 45.922079] RBP: 00007fde1b964000 R08: 00007fde1b963010 R09: 0000000000000000 [ 45.930051] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 45.938021] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 45.946013] irq event stamp: 0 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 54 [ 45.949429] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 45.962638] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 45.971775] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 45.980912] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 45.987911] ---[ end trace 5fbbb9d5c0737d15 ]--- [ 45.993067] lkdtm: Zero detected: saturated 68 69 73 20 69 # [ 38.435932] RSP: 0018:ffff91a3823e7e48 EFLAGS: 00010246 # [ 38.441765] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 # [ 38.449733] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 # [ 38.457702] RBP: ffffffff8f8d15a0 R08: 0000000000000000 R09: 0000000000000000 # [ 38.465669] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c # [ 38.473636] R13: ffff91a3823e7f10 R14: ffff91a3823e7f10 R15: ffff8a8b05c8f000 # [ 38.481604] FS: 00007fcd28213580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 38.490639] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 38.497056] CR2: ffffffff8f8d15a0 CR3: 0000000105e70001 CR4: 00000000003706f0 # [ 38.505024] Call Trace: # [ 38.507752] ? execute_location+0x45/0x56 # [ 38.512230] ? direct_entry.cold+0x2c/0x38 # [ 38.516793] ? full_proxy_write+0x53/0x80 # [ 38.521272] ? vfs_write+0xe7/0x3a0 # [ 38.525169] ? ksys_write+0x68/0xf0 # [ 38.529061] ? do_syscall_64+0x30/0x40 # [ 38.533248] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 38.539084] Modules linked in: fuse [ 46.106857] lkdtm: Performing direct entry REFCOUNT_DEC_NEGATIVE ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_trig[ 46.116464] lkdtm: attempting bad refcount_dec() below zero gered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugf[ 46.128931] ------------[ cut here ]------------ s cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_tem[ 46.140341] refcount_t: decrement hit 0; leaking memory. p_thermal cros_ec_dev cros_usbpd_notify # [ 38.565521] CR2: f[ 46.152565] WARNING: CPU: 0 PID: 2140 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 fffffff8f8d15a0 # [ 38.569216] ---[ end trace 5fbbb9d5c0737d0[ 46.168137] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 9 ]--- # [ 38.574369] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 38.[ 46.200873] CPU: 0 PID: 2140 Comm: cat Tainted: G D W 5.10.172-cip27 #1 578745] Code: 89 ff e8 be 60 a3 ff 48 c7 c0 ea ff ff ff eb de 48[ 46.215696] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f [ 46.228713] RIP: 0010:refcount_warn_saturate+0xfb/0x110 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83[ 46.240748] Code: e8 61 c5 8f c6 05 be fb 93 01 01 e8 61 f0 97 00 0f 0b c3 cc cc cc cc 48 c7 c7 b8 61 c5 8f c6 05 a5 fb 93 01 01 e8 47 f0 97 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b 05 d0 58 93 02 # [ 38.599724] RSP: 0018:ffff91a3813a7e60 EFL[ 46.267954] RSP: 0018:ffff91a382b0fe48 EFLAGS: 00010286 AGS: 00010282 # [ 38.605557] RAX: ffffffff8eae4d80 RBX: 00000[ 46.279990] RAX: 0000000000000000 RBX: 0000000000000030 RCX: 0000000000000000 00000000001 RCX: 0000000000000000 # [ 38.613523] RDX: 0000000[ 46.294204] RDX: ffff8a8b7ac2c660 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 38.[ 46.308369] RBP: ffffffff8fcbaae3 R08: 0000000000000000 R09: 0000000000000000 621489] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000[ 46.322570] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 000000001 # [ 38.629455] R10: 00000000ffffe000 R11: 3ffffffff[ 46.336740] R13: ffff91a382b0ff10 R14: ffff91a382b0ff10 R15: ffff8a8b02670000 fffffff R12: 0000000000000004 # [ 38.637423] R13: ffff91a3813[ 46.350939] FS: 00007f2cb4924580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 38.6453[ 46.366181] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 92] FS: 00007fcd28213580(0000) GS:ffff8a8b7ac00000(0000) knlGS:[ 46.378829] CR2: 00007f2cb472d000 CR3: 0000000100ffc002 CR4: 00000000003706f0 0000000000000000 # [ 38.654426] CS: 0010 DS: 0000 ES: 0000 C[ 46.393006] Call Trace: R0: 0000000080050033 # [ 38.660840] CR2: ffffffff8f8d15a0 CR3[ 46.401973] lkdtm_REFCOUNT_DEC_NEGATIVE+0x37/0x61 : 0000000105e70001 CR4: 00000000003706f0 # EXEC_RODATA: saw 'ca[ 46.413519] direct_entry.cold+0x2c/0x38 ll trace:': ok ok 34 selftests: lkdtm: EXEC_RODATA.sh # selfte[ 46.424125] full_proxy_write+0x53/0x80 sts: lkdtm: EXEC_USERSPACE.sh # Killed # [ 38.812751] lkdtm:[ 46.434611] vfs_write+0xe7/0x3a0 Performing direct entry EXEC_USERSPACE # [ 38.824076] lkdtm:[ 46.444547] ksys_write+0x68/0xf0 attempting ok execution at ffffffff8eae5150 # [ 38.836815] l[ 46.454441] do_syscall_64+0x30/0x40 kdtm: attempting bad execution at 00007f13ea1c7000 # [ 38.849[ 46.464671] entry_SYSCALL_64_after_hwframe+0x61/0xc6 635] unable to execute userspace code (SMEP?) (uid: 0) # [ 38[ 46.476514] RIP: 0033:0x7f2cb483a833 .862240] BUG: unable to handle page fault for address: 00007f13e[ 46.486721] 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 a1c7000 # [ 38.869918] #PF: supervisor instruction fetch in k[ 46.513910] RSP: 002b:00007ffe574f11d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 ernel mode # [ 38.876236] #PF: error_code(0x0011) - permissio[ 46.528610] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f2cb483a833 ns violation # [ 38.882457] PGD 800000010414f067 P4D 80000001[ 46.542775] RDX: 0000000000000016 RSI: 00007f2cb472d000 RDI: 0000000000000001 0414f067 PUD 10414e067 PMD 103d11067 PTE 10b0f5067 # [ 38.898[ 46.556977] RBP: 00007f2cb472d000 R08: 00007f2cb472c010 R09: 0000000000000000 396] Oops: 0011 [#10] SMP PTI # [ 38.902385] CPU: 1 PID: 1730[ 46.571156] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ [ 46.585344] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 38.911032] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020[ 46.599521] irq event stamp: 0 # [ 38.917838] RIP: 0010:0x7f13ea1c7000 # [ 38.921825] Co[ 46.609155] hardirqs last enabled at (0): [<0000000000000000>] 0x0 de: Unable to access opcode bytes at RIP 0x7f13ea1c6fd6. # [ [ 46.622353] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 38.929113] RSP: 0018:ffff91a382497e50 EFLAGS: 00010246 # [ 38[ 46.637702] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 .934946] RAX: 0000000000000033 RBX: 0000000000000024 RCX: 000000[ 46.653052] softirqs last disabled at (0): [<0000000000000000>] 0x0 0000000000 # [ 38.942915] RDX: 0000000000000000 RSI: ffff8a8b[ 46.666280] ---[ end trace 5fbbb9d5c0737d16 ]--- 7ac9bf70 RDI: ffff8a8b7ac9bf70 # [ 38.950874] RBP: 00007f13ea[ 46.677640] lkdtm: Negative detected: saturated 1c7000 R08: 0000000000000000 R09: 0000000000000000 # [ 38.958840] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000f # [ 38.966807] R13: ffff91a382497f10 R14: ffff91a382497f10 R15: ffff8a8b03edd000 # [ 38.974775] FS: 00007f13ea198580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 38.983812] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 38.990227] CR2: 00007f13ea1c7000 CR3: 000000010576e004 CR4: 00000000003706e0 # [ 38.998211] Call Trace: # [ 39.000940] ? lkdtm_EXEC_USERSPACE.cold+0x66/0xae # [ 39.006294] ? direct_entry.cold+0x2c/0x38 # [ 39.017070] ? full_proxy_write+0x53/0x80 # [ 39.021546] ? vfs_write+0xe7/0x3a0 # [ 39.031648] ? ksys_write+0x68/0xf0 # [ 39.035534] ? do_syscall_64+0x30/0x40 # [ 39.039718] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 39.051767] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 39.084406] CR2: 00007f13ea1c70[ 46.800248] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_NEGATIVE [ 46.808394] lkdtm: attempting bad refcount_dec_and_test() below zero [ 46.815499] ------------[ cut here ]------------ [ 46.820662] refcount_t: underflow; use-after-free. [ 46.826039] WARNING: CPU: 2 PID: 2175 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 00 # [ 39.088102] ---[ end trace 5fbbb9d5c0737d0a ]--- # [ [ 46.835478] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 46.868108] CPU: 2 PID: 2175 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 46.876756] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 46.883563] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 46.889399] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 [ 46.910378] RSP: 0018:ffff91a382b8fe40 EFLAGS: 00010286 [ 46.916214] RAX: 0000000000000000 RBX: 0000000000000031 RCX: 0000000000000000 39.093264] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 39.097639] Code:[ 46.924188] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 [ 46.938369] RBP: ffffffff8fcba738 R08: 0000000000000000 R09: 0000000000000000 [ 46.946340] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f 89 ff e8 be 60 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff [ 46.954313] R13: ffff91a382b8ff10 R14: ffff91a382b8ff10 R15: ffff8a8b04f5a000 ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <[ 46.968500] FS: 00007f1486994580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 46.983754] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 d0 58 93 [ 46.990174] CR2: 00007f148679d000 CR3: 0000000103f2e005 CR4: 00000000003706e0 [ 47.004356] Call Trace: [ 47.007087] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 47.013260] lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE+0x3e/0x78 [ 47.019499] direct_entry.cold+0x2c/0x38 [ 47.023881] full_proxy_write+0x53/0x80 [ 47.028205] vfs_write+0xe7/0x3a0 02 # [ 39.118620] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282[ 47.031915] ksys_write+0x68/0xf0 [ 47.041849] do_syscall_64+0x30/0x40 # [ 39.124453] RAX: ffffffff8eae4d80 RBX: 0000000000000001 R[ 47.045854] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 47.057701] RIP: 0033:0x7f14868aa833 [ 47.061692] 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 [ 47.082674] RSP: 002b:00007ffe5e7dbd28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 47.091131] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f14868aa833 [ 47.099103] RDX: 000000000000001f RSI: 00007f148679d000 RDI: 0000000000000001 [ 47.107074] RBP: 00007f148679d000 R08: 00007f148679c010 R09: 0000000000000000 [ 47.115045] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 47.123016] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 47.130991] irq event stamp: 0 [ 47.134427] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 47.141428] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 47.150564] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 47.159700] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 47.166701] ---[ end trace 5fbbb9d5c0737d17 ]--- [ 47.171856] lkdtm: Negative detected: saturated CX: 0000000000000000 # [ 39.132421] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 39.140389] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 39.148358] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 39.156325] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 39.164294] FS: 00007f13ea198580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 39.173321] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 39.179735] CR2: 00007f13ea1c7000 CR3: 000000010576e004 CR4: 00000000003706e0 # [ 39.187703] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 39.197613] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1730, name: cat # [ 39.206068] INFO: lockdep is turned off. # [ 39.210444] irq event stamp: 0 # [ 39.213850] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 39.220848] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 39.229983] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 39.239117] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 39.246114] CPU: 1 PID: 1730 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 39.254760] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 39.261564] Call Trace: # [ 39.264290] dump_stack+0x77/0x9b # [ 39.267989] [ 47.317297] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_NEGATIVE [ 47.327614] lkdtm: attempting bad refcount_sub_and_test() below zero [ 47.334744] ------------[ cut here ]------------ [ 47.339901] refcount_t: underflow; use-after-free. [ 47.345298] WARNING: CPU: 2 PID: 2210 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 ___might_sleep.cold+0xa6/0xb6 # [ 39.272561] exit_signals+0[ 47.354735] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 47.387364] CPU: 2 PID: 2210 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 47.396039] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 47.402845] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 47.408680] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 [ 47.429661] RSP: 0018:ffff91a382be7e40 EFLAGS: 00010286 [ 47.435496] RAX: 0000000000000000 RBX: 0000000000000032 RCX: 0000000000000000 [ 47.443466] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 [ 47.451439] RBP: ffffffff8fcba758 R08: 0000000000000000 R09: 0000000000000000 [ 47.459409] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f [ 47.467378] R13: ffff91a382be7f10 R14: ffff91a382be7f10 R15: ffff8a8b04caa000 [ 47.475339] FS: 00007f844558b580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 47.484378] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.490795] CR2: 00007f8445394000 CR3: 0000000104fe2004 CR4: 00000000003706e0 [ 47.498766] Call Trace: [ 47.501498] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 47.507656] lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE+0x3e/0x7b [ 47.513881] direct_entry.cold+0x2c/0x38 [ 47.518286] full_proxy_write+0x53/0x80 [ 47.522595] vfs_write+0xe7/0x3a0 [ 47.526296] ksys_write+0x68/0xf0 [ 47.529997] do_syscall_64+0x30/0x40 [ 47.534008] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 47.539648] RIP: 0033:0x7f84454a1833 [ 47.543638] 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 [ 47.564620] RSP: 002b:00007ffd4d1b0248 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 47.573075] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f84454a1833 [ 47.581046] RDX: 000000000000001f RSI: 00007f8445394000 RDI: 0000000000000001 [ 47.589018] RBP: 00007f8445394000 R08: 00007f8445393010 R09: 0000000000000000 x1c/0x2e0 # [ 39.276549] do_exit+0xc2/0xaf0 # [ 39.280052[ 47.596989] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 ] ? ksys_write+0x68/0xf0 # [ 39.283943] make_task_dead+0x2f[ 47.611174] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 47.625364] irq event stamp: 0 [ 47.628803] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 47.635805] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 47.644943] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 47.654080] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 47.661081] ---[ end trace 5fbbb9d5c0737d18 ]--- [ 47.666258] lkdtm: Negative detected: saturated /0x30 # [ 39.288021] rewind_stack_and_make_dead+0x17/0x20 # [ 39.293273] RIP: 0033:0x7f13ea0ae833 # [ 39.297267] 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 # [ 39.318261] RSP: 002b:00007ffea1e0c3a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 39.326716] RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007f13ea0ae833 # [ 39.334685] RDX: 000000000000000f RSI: 00007f13e9fa1000 RDI: 0000000000000001 # [ 39.342652] RBP: 00007f13e9fa1000 R08: 00007f13e9fa0010 R09: 0000000000000000 # [ 39.350619] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 39.358589] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXEC_USERSPACE: saw 'call trace:': ok ok 35 selftests: lkdtm: EXEC_USERSPACE.sh # selftests: lkdtm: EXEC_NULL.sh # Killed # [ 39.482287] lkdtm: Performing direct entry EXEC_NULL # [ 39.490220] lkdtm: attempting ok execution at ffffffff8eae5150 # [ 39.502977] lkdtm: attempting bad execution at 00000000000[ 47.778460] lkdtm: Performing direct entry REFCOUNT_INC_ZERO [ 47.789588] lkdtm: attempting safe refcount_inc_not_zero() from zero [ 47.796687] lkdtm: Good: zero detected [ 47.800874] lkdtm: Correctly stayed at zero [ 47.805545] lkdtm: attempting bad refcount_inc() from zero [ 47.811673] ------------[ cut here ]------------ [ 47.816854] refcount_t: addition on 0; use-after-free. [ 47.822620] WARNING: CPU: 3 PID: 2242 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 00000 # [ 39.515827] BUG: kernel NULL pointer dereference, ad[ 47.832055] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 47.864686] CPU: 3 PID: 2242 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 47.873360] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 dress: 0000000000000000 # [ 39.529776] #PF: supervisor instru[ 47.880171] RIP: 0010:refcount_warn_saturate+0x74/0x110 ction fetch in kernel mode # [ 39.536093] #PF: error_code(0x0[ 47.892223] Code: 01 01 e8 f1 f0 97 00 0f 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 8f c6 05 2e fc 93 01 01 e8 ce f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 [ 47.919422] RSP: 0018:ffff91a382c8fe48 EFLAGS: 00010286 [ 47.925288] RAX: 0000000000000000 RBX: 0000000000000033 RCX: 0000000000000000 [ 47.933267] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 [ 47.941235] RBP: ffffffff8fcbaaf9 R08: 0000000000000000 R09: 0000000000000000 [ 47.949267] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 [ 47.957264] R13: ffff91a382c8ff10 R14: ffff91a382c8ff10 R15: ffff8a8b04f6e000 [ 47.965235] FS: 00007f38c4fc6580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 47.974275] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.980691] CR2: 00007f38c4dcf000 CR3: 00000001034cc003 CR4: 00000000003706e0 [ 47.988662] Call Trace: [ 47.991394] lkdtm_REFCOUNT_INC_ZERO+0x99/0xc1 [ 47.996381] direct_entry.cold+0x2c/0x38 [ 48.000784] full_proxy_write+0x53/0x80 [ 48.005068] vfs_write+0xe7/0x3a0 [ 48.008793] ksys_write+0x68/0xf0 [ 48.012494] do_syscall_64+0x30/0x40 [ 48.016484] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 48.022125] RIP: 0033:0x7f38c4edc833 [ 48.026115] 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 [ 48.047098] RSP: 002b:00007fffd8c16308 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 48.055556] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f38c4edc833 [ 48.063527] RDX: 0000000000000012 RSI: 00007f38c4dcf000 RDI: 0000000000000001 [ 48.071498] RBP: 00007f38c4dcf000 R08: 00007f38c4dce010 R09: 0000000000000000 [ 48.079470] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 48.087441] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 48.095417] irq event stamp: 0 010) - not-present page # [ 39.541827] PGD 0 P4D 0 # [ 39[ 48.098852] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 48.112061] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 48.121212] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 .544650] Oops: 0010 [#11] SMP PTI # [ 39.548638] CPU: 0 PID: [ 48.130352] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 48.143560] ---[ end trace 5fbbb9d5c0737d19 ]--- [ 48.148717] lkdtm: Zero detected: saturated 1766 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 39.557275] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 39.564078] RIP: 0010:0x0 # [ 39.566997] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. # [ 39.574674] RSP: 0018:ffff91a38252fe48 EFLAGS: 00010246 # [ 39.580504] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 # [ 39.588471] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 # [ 39.596436] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 # [ 39.604402] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a # [ 39.612369] R13: ffff91a38252ff10 R14: ffff91a38252ff10 R15: ffff8a8b04f59000 # [ 39.620337] FS: 00007f3d08962580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 39.629363] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 39.635776] CR2: ffffffffffffffd6 CR3: 00000001031a4004 CR4: 00000000003706f0 # [ 39.643744] Call Trace: # [ 39.646471] execute_location+0x45/0x56 # [ 39.650755] direct_entry.cold+0x2c/0x38 # [ 39.655132] full_proxy_write+0x53/0x80 # [ 39.659417] vfs_write+0xe7/0x3a0 # [ 39.663114] ksys_write+0x68/0xf0 # [ 39.666812] do_syscall_64+0x30/0x40 # [ 39.670805] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 39.676442] RIP: 0033:0x7f3d08878833 # [ 39.680428] 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 # [ 39.70[ 48.303507] lkdtm: Performing direct entry REFCOUNT_ADD_ZERO [ 48.315098] lkdtm: attempting safe refcount_add_not_zero() from zero [ 48.322205] lkdtm: Good: zero detected [ 48.326396] lkdtm: Correctly stayed at zero [ 48.331066] lkdtm: attempting bad refcount_add() from zero 1407] RSP: 002b:00007ffc10245a68 EFLAGS: 00000246 ORIG_RAX: 0000[ 48.337216] ------------[ cut here ]------------ 000000000001 # [ 39.709861] RAX: ffffffffffffffda RBX: 000000[ 48.348591] refcount_t: addition on 0; use-after-free. 000000000a RCX: 00007f3d08878833 # [ 39.717827] RDX: 00000000[ 48.360561] WARNING: CPU: 3 PID: 2274 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 0000000a RSI: 00007f3d0876b000 RDI: 0000000000000001 # [ 39.7[ 48.376202] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 25796] RBP: 00007f3d0876b000 R08: 00007f3d0876a010 R09: 00000000[ 48.408846] CPU: 3 PID: 2274 Comm: cat Tainted: G D W 5.10.172-cip27 #1 00000000 # [ 39.733763] R10: fffffffffffffbc5 R11: 0000000000[ 48.423716] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 000246 R12: 0000000000000001 # [ 39.741732] R13: 000000000000[ 48.436747] RIP: 0010:refcount_warn_saturate+0x74/0x110 0001 R14: 0000000000020000 R15: 0000000000020000 # [ 39.74970[ 48.448802] Code: 01 01 e8 f1 f0 97 00 0f 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 8f c6 05 2e fc 93 01 01 e8 ce f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 6] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sen[ 48.476007] RSP: 0018:ffff91a382d17e48 EFLAGS: 00010286 sors_core industrialio_triggered_buffer kfifo_buf industrialio c[ 48.488061] RAX: 0000000000000000 RBX: 0000000000000034 RCX: 0000000000000000 ros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cr[ 48.502251] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 os_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_noti[ 48.516442] RBP: ffffffff8fcbab0b R08: 0000000000000000 R09: 0000000000000000 fy # [ 39.776144] CR2: 0000000000000000 # [ 39.779840] ---[ 48.530634] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 [ end trace 5fbbb9d5c0737d0b ]--- # [ 39.784994] RIP: 0010:lk[ 48.544823] R13: ffff91a382d17f10 R14: ffff91a382d17f10 R15: ffff8a8b04f89000 dtm_BUG+0x5/0x10 # [ 39.789376] Code: 89 ff e8 be 60 a3 ff 48[ 48.559018] FS: 00007f6457ab6580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 [ 48.574277] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00[ 48.586918] CR2: 00007f64578bf000 CR3: 0000000105798002 CR4: 00000000003706e0 00 00 00 0f 1f 44 00 00 83 05 d0 58 93 02 # [ 39.810358] RSP[ 48.601110] Call Trace: : 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 39.816209] RAX: [ 48.610057] lkdtm_REFCOUNT_ADD_ZERO+0x99/0xc1 ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 48.621235] direct_entry.cold+0x2c/0x38 [ 39.824168] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: [ 48.631832] full_proxy_write+0x53/0x80 ffffffff8f8d1110 # [ 39.832134] RBP: ffffffff8fd16118 R08: 00[ 48.642332] vfs_write+0xe7/0x3a0 00000000000001 R09: 0000000000000001 # [ 39.840103] R10: 0000[ 48.652248] ksys_write+0x68/0xf0 0000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ [ 48.662164] do_syscall_64+0x30/0x40 39.848072] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff[ 48.672370] entry_SYSCALL_64_after_hwframe+0x61/0xc6 8a8b05716000 # [ 39.856039] FS: 00007f3d08962580(0000) GS:ff[ 48.684229] RIP: 0033:0x7f64579cc833 ff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 39.865075] CS[ 48.694436] 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 : 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 39.871489[ 48.721644] RSP: 002b:00007fffc6086808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 ] CR2: ffffffffffffffd6 CR3: 00000001031a4004 CR4: 0000000000370[ 48.736319] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f64579cc833 6f0 # EXEC_NULL: saw 'call trace:': ok ok 36 selftests: lkdtm:[ 48.750510] RDX: 0000000000000012 RSI: 00007f64578bf000 RDI: 0000000000000001 EXEC_NULL.sh # selftests: lkdtm: ACCESS_USERSPACE.sh # Killed[ 48.764701] RBP: 00007f64578bf000 R08: 00007f64578be010 R09: 0000000000000000 # [ 40.030899] lkdtm: Performing direct entry ACCESS_USERSPA[ 48.778894] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 CE # [ 40.041163] lkdtm: attempting bad read at 00007fc914e9d[ 48.793086] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 000 # [ 40.053502] BUG: unable to handle page fault for addre[ 48.807283] irq event stamp: 0 ss: 00007fc914e9d000 # [ 40.067374] #PF: supervisor read acce[ 48.816905] hardirqs last enabled at (0): [<0000000000000000>] 0x0 ss in kernel mode # [ 40.073101] #PF: error_code(0x0001) - pe[ 48.830124] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 rmissions violation # [ 40.079321] PGD 8000000103e72067 P4D 8[ 48.845481] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 000000103e72067 PUD 1031c5067 PMD 10578a067 PTE 10a6ae067 # [ [ 48.860839] softirqs last disabled at (0): [<0000000000000000>] 0x0 40.089047] Oops: 0001 [#12] SMP PTI # [ 40.093027] CPU: 0 PI[ 48.874058] ---[ end trace 5fbbb9d5c0737d1a ]--- D: 1801 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 48.885435] lkdtm: Zero detected: saturated # [ 40.101674] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 40.108479] RIP: 0010:lkdtm_ACCESS_USERSPACE.cold+0x41/0xa3 # [ 40.114705] Code: 00 00 00 75 64 48 83 c4 10 5d c3 cc cc cc cc 48 89 ee 48 c7 c7 80 b9 cb 8f e8 3e 96 fd ff 48 c7 c7 a8 b9 cb 8f b8 de c0 de c0 <48> 03 45 00 48 89 04 24 e8 25 96 fd ff 48 89 ee 48 c7 c7 d0 b9 cb # [ 40.135685] RSP: 0018:ffff91a3825cfe48 EFLAGS: 00010246 # [ 40.141516] RAX: 00000000c0dec0de RBX: 0000000000000026 RCX: 0000000000000000 # [ 40.149484] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffffffff8fcbb9a8 # [ 40.157451] RBP: 00007fc914e9d000 R08: 0000000000000000 R09: 0000000000000000 # [ 40.165420] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000011 # [ 40.173379] R13: ffff91a3825cff10 R14: ffff91a3825cff10 R15: ffff8a8b05421000 # [ 40.181347] FS: 00007fc914e6e580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 40.190383] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 40.196788] CR2: 00007fc914e9d000 CR3: 00000001032c6004 CR4: 00000000003706f0 # [ 40.204745] Call Trace: # [ 40.207472] direct_entry.cold+0x2c/0x38 # [ 40.211856] full_proxy_write+0x53/0x80 # [ 4[ 49.013705] lkdtm: Performing direct entry REFCOUNT_INC_SATURATED 0.216142] vfs_write+0xe7/0x3a0 # [ 40.219844] ksys_write+0x[ 49.021232] lkdtm: attempting bad refcount_inc() from saturated 68/0xf0 # [ 40.223534] do_syscall_64+0x30/0x40 # [ 40.227[ 49.034057] ------------[ cut here ]------------ 526] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 40.233164][ 49.045428] refcount_t: saturated; leaking memory. RIP: 0033:0x7fc914d84833 # [ 40.237151] Code: 8b 15 61 26 0e[ 49.057004] WARNING: CPU: 1 PID: 2309 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 [ 49.072630] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff[ 49.105275] CPU: 1 PID: 2309 Comm: cat Tainted: G D W 5.10.172-cip27 #1 ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 40.25[ 49.120141] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 8127] RSP: 002b:00007fffc5060878 EFLAGS: 00000246 ORIG_RAX: 0000[ 49.133165] RIP: 0010:refcount_warn_saturate+0x51/0x110 000000000001 # [ 40.266582] RAX: ffffffffffffffda RBX: 000000[ 49.145240] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 0000000011 RCX: 00007fc914d84833 # [ 40.274541] RDX: 00000000[ 49.172442] RSP: 0018:ffff91a382d97e48 EFLAGS: 00010286 [ 49.184492] RAX: 0000000000000000 RBX: 0000000000000035 RCX: 0000000000000000 00000011 RSI: 00007fc914c77000 RDI: 0000000000000001 # [ 40.2[ 49.192466] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 82507] RBP: 00007fc914c77000 R08: 00007fc914c76010 R09: 00000000[ 49.206675] RBP: ffffffff8fcbab1d R08: 0000000000000000 R09: 0000000000000000 00000000 # [ 40.290472] R10: fffffffffffffbc5 R11: 0000000000[ 49.220844] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 [ 49.235030] R13: ffff91a382d97f10 R14: ffff91a382d97f10 R15: ffff8a8b05c97000 000246 R12: 0000000000000001 # [ 40.298439] R13: 000000000000[ 49.243007] FS: 00007f1394e4b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 [ 49.258268] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 0001 R14: 0000000000020000 R15: 0000000000020000 # [ 40.30641[ 49.264689] CR2: 00007f1394c54000 CR3: 00000001028de005 CR4: 00000000003706e0 [ 49.278872] Call Trace: 1] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sen[ 49.281606] lkdtm_REFCOUNT_INC_SATURATED+0x3c/0x64 sors_core industrialio_triggered_buffer kfifo_buf industrialio c[ 49.293266] direct_entry.cold+0x2c/0x38 ros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cr[ 49.303863] full_proxy_write+0x53/0x80 os_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_noti[ 49.314386] vfs_write+0xe7/0x3a0 fy # [ 40.332846] CR2: 00007fc914e9d000 # [ 40.336538] ---[ 49.324302] ksys_write+0x68/0xf0 [ end trace 5fbbb9d5c0737d0c ]--- # [ 40.341693] RIP: 0010:lk[ 49.334221] do_syscall_64+0x30/0x40 [ 49.344425] entry_SYSCALL_64_after_hwframe+0x61/0xc6 dtm_BUG+0x5/0x10 # [ 40.346068] Code: 89 ff e8 be 60 a3 ff 48[ 49.350069] RIP: 0033:0x7f1394d61833 [ 49.360268] 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 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 [ 49.381266] RSP: 002b:00007ffee0ad76c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 49.395932] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f1394d61833 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00[ 49.403906] RDX: 0000000000000017 RSI: 00007f1394c54000 RDI: 0000000000000001 00 00 00 0f 1f 44 00 00 83 05 d0 58 93 02 # [ 40.367043] RSP[ 49.418091] RBP: 00007f1394c54000 R08: 00007f1394c53010 R09: 0000000000000000 : 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 40.372874] RAX: [ 49.432281] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 49.446470] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 49.454466] irq event stamp: 0 [ 49.464062] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 40.380842] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: [ 49.471067] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 49.486412] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 ffffffff8f8d1110 # [ 40.388801] RBP: ffffffff8fd16118 R08: 00[ 49.495552] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 49.508761] ---[ end trace 5fbbb9d5c0737d1b ]--- 00000000000001 R09: 0000000000000001 # [ 40.396767] R10: 0000[ 49.513920] lkdtm: Saturation detected: still saturated 0000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 40.404733] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 40.412701] FS: 00007fc914e6e580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 40.421727] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 40.428141] CR2: 00007fc914e9d000 CR3: 00000001032c6004 CR4: 00000000003706f0 # [ 40.436102] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 40.446009] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1801, name: cat # [ 40.454464] INFO: lockdep is turned off. # [ 40.458841] irq event stamp: 0 # [ 40.462237] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 40.469227] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 40.478360] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 40.487492] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 40.494492] CPU: 0 PID: 1801 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 40.503131] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 40.509931] Call Trace: # [ 40.512656] dump_stack+0x77/0x9b # [ 40.516345] ___might_sleep.cold+0xa[ 49.646073] lkdtm: Performing direct entry REFCOUNT_DEC_SATURATED [ 49.657106] lkdtm: attempting bad refcount_dec() from saturated 6/0xb6 # [ 40.520908] exit_signals+0x1c/0x2e0 # [ 40.5248[ 49.663733] ------------[ cut here ]------------ [ 49.675095] refcount_t: decrement hit 0; leaking memory. [ 49.681057] WARNING: CPU: 3 PID: 2344 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 96] do_exit+0xc2/0xaf0 # [ 40.528397] ? ksys_write+0x68/0xf[ 49.690496] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 49.723132] CPU: 3 PID: 2344 Comm: cat Tainted: G D W 5.10.172-cip27 #1 0 # [ 40.532289] make_task_dead+0x2f/0x30 # [ 40.536375] [ 49.731812] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 49.744829] RIP: 0010:refcount_warn_saturate+0xfb/0x110 [ 49.750688] Code: e8 61 c5 8f c6 05 be fb 93 01 01 e8 61 f0 97 00 0f 0b c3 cc cc cc cc 48 c7 c7 b8 61 c5 8f c6 05 a5 fb 93 01 01 e8 47 f0 97 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b rewind_stack_and_make_dead+0x17/0x20 # [ 40.541624] RIP: 003[ 49.771687] RSP: 0018:ffff91a382e0fe48 EFLAGS: 00010286 [ 49.783726] RAX: 0000000000000000 RBX: 0000000000000036 RCX: 0000000000000000 [ 49.791699] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 [ 49.799671] RBP: ffffffff8fcbab34 R08: 0000000000000000 R09: 0000000000000000 [ 49.807643] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 [ 49.815614] R13: ffff91a382e0ff10 R14: ffff91a382e0ff10 R15: ffff8a8b05c8b000 [ 49.823588] FS: 00007f1717d8e580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 49.832628] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.839047] CR2: 00007f1717b97000 CR3: 0000000105798002 CR4: 00000000003706e0 [ 49.847019] Call Trace: [ 49.849750] lkdtm_REFCOUNT_DEC_SATURATED+0x37/0x5f 3:0x7fc914d84833 # [ 40.545603] Code: 8b 15 61 26 0e 00 f7 d8[ 49.855228] direct_entry.cold+0x2c/0x38 [ 49.865818] full_proxy_write+0x53/0x80 [ 49.870134] vfs_write+0xe7/0x3a0 [ 49.873864] ksys_write+0x68/0xf0 [ 49.877590] do_syscall_64+0x30/0x40 [ 49.881613] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 49.887279] RIP: 0033:0x7f1717ca4833 [ 49.891270] 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 [ 49.912262] RSP: 002b:00007ffcb9aea498 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 49.920722] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f1717ca4833 [ 49.928693] RDX: 0000000000000017 RSI: 00007f1717b97000 RDI: 0000000000000001 [ 49.936666] RBP: 00007f1717b97000 R08: 00007f1717b96010 R09: 0000000000000000 [ 49.944639] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 49.952612] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 49.960608] irq event stamp: 0 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 [ 49.964028] hardirqs last enabled at (0): [<0000000000000000>] 0x0 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55[ 49.977239] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 49.992591] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 50.001753] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 50.008755] ---[ end trace 5fbbb9d5c0737d1c ]--- [ 50.013913] lkdtm: Saturation detected: still saturated c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 40.566579] RSP: 002b:00007fffc5060878 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 40.575024] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fc914d84833 # [ 40.582982] RDX: 0000000000000011 RSI: 00007fc914c77000 RDI: 0000000000000001 # [ 40.590949] RBP: 00007fc914c77000 R08: 00007fc914c76010 R09: 0000000000000000 # [ 40.598915] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 40.606881] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # ACCESS_USERSPACE: saw 'call trace:': ok ok 37 selftests: lkdtm: ACCESS_USERSPACE.sh # selftests: lkdtm: ACCESS_NULL.sh # Killed # [ 40.757594] lkdtm: Performing direct entry ACCESS_NULL # [ 40.763633] lkdtm: attempting bad read at 0000000000000000 # [ 40.776018] BUG: kernel NULL pointer dereference, address: 0000000000000000 # [ 40.789954] #PF: supervisor read access in kernel mode # [ 40.795688] #PF: error_code(0x0000) - not-present page # [ 40.801422] PGD 0 P4D 0 # [ 40.804237] Oops: 0000 [#13] SMP PTI # [ 40.808260] CPU: 0 PID: 1836 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 40.816907] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 40.823712] RIP: 0010:lkdtm_ACCESS_NULL+0x14/0x53 # [ 40.828967] Code: e2 95 fd ff[ 50.148025] lkdtm: Performing direct entry REFCOUNT_ADD_SATURATED [ 50.157208] lkdtm: attempting bad refcount_dec() from saturated be 00 10 00 00 48 89 ef e8 8a d4 39 ff e9 69 ff ff ff 0f 1f 44 [ 50.163841] ------------[ cut here ]------------ [ 50.175198] refcount_t: saturated; leaking memory. [ 50.180581] WARNING: CPU: 2 PID: 2379 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 00 00 53 31 f6 48 c7 c7 80 b9 cb 8f e8 bc 95 fd ff <48> 8b 1c 25[ 50.190019] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 50.222653] CPU: 2 PID: 2379 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 50.231328] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 50.238135] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 50.243972] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 [ 50.264961] RSP: 0018:ffff91a382e97e48 EFLAGS: 00010286 00 00 00 00 b8 de c0 de c0 48 c7 c7 a8 b9 cb 8f 48 01 # [ 40[ 50.270826] RAX: 0000000000000000 RBX: 0000000000000037 RCX: 0000000000000000 [ 50.285007] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 [ 50.293004] RBP: ffffffff8fcbab4b R08: 0000000000000000 R09: 0000000000000000 [ 50.300999] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 [ 50.308995] R13: ffff91a382e97f10 R14: ffff91a382e97f10 R15: ffff8a8b04e6b000 .849947] RSP: 0018:ffff91a38264fe58 EFLAGS: 00010246 # [ 40.8[ 50.316974] FS: 00007f96fafcd580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 [ 50.332221] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.338639] CR2: 00007f96fadd6000 CR3: 000000010552e004 CR4: 00000000003706e0 [ 50.346612] Call Trace: [ 50.349344] lkdtm_REFCOUNT_ADD_SATURATED+0x3c/0x64 [ 50.354822] direct_entry.cold+0x2c/0x38 [ 50.359249] full_proxy_write+0x53/0x80 [ 50.363565] vfs_write+0xe7/0x3a0 [ 50.367297] ksys_write+0x68/0xf0 [ 50.371023] do_syscall_64+0x30/0x40 [ 50.375044] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 50.380711] RIP: 0033:0x7f96faee3833 [ 50.384703] 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.405685] RSP: 002b:00007ffc4fad4d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.414146] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f96faee3833 [ 50.422119] RDX: 0000000000000017 RSI: 00007f96fadd6000 RDI: 0000000000000001 [ 50.430092] RBP: 00007f96fadd6000 R08: 00007f96fadd5010 R09: 0000000000000000 [ 50.438065] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 50.446037] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 50.454032] irq event stamp: 0 55770] RAX: 000000000000002e RBX: 0000000000000027 RCX: 00000000[ 50.457450] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 50.470662] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 50.479801] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 50.488940] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 50.495940] ---[ end trace 5fbbb9d5c0737d1d ]--- [ 50.501097] lkdtm: Saturation detected: still saturated 00000000 # [ 40.863736] RDX: 0000000000000000 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 # [ 40.871704] RBP: ffffffff8fcbaa71 R08: 0000000000000000 R09: 0000000000000000 # [ 40.879670] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c # [ 40.887637] R13: ffff91a38264ff10 R14: ffff91a38264ff10 R15: ffff8a8b04e8d000 # [ 40.895606] FS: 00007fc52bfd1580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 40.904632] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 40.911046] CR2: 0000000000000000 CR3: 0000000105e02005 CR4: 00000000003706f0 # [ 40.919013] Call Trace: # [ 40.921740] direct_entry.cold+0x2c/0x38 # [ 40.926118] full_proxy_write+0x53/0x80 # [ 40.930404] vfs_write+0xe7/0x3a0 # [ 40.934102] ksys_write+0x68/0xf0 # [ 40.937800] do_syscall_64+0x30/0x40 # [ 40.941794] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 40.947423] RIP: 0033:0x7fc52bee7833 # [ 40.951409] 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 # [ 40.972386] RSP: 002b:00007ffd17974308 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 40.980840] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007fc52bee7833 # [ 40.98[ 50.636172] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_SATURATED 8808] RDX: 000000000000000c RSI: 00007fc52bdda000 RDI: 000000000[ 50.645266] lkdtm: attempting bad refcount_inc_not_zero() from saturated 0000001 # [ 40.996775] RBP: 00007fc52bdda000 R08: 00007fc52bd[ 50.658940] ------------[ cut here ]------------ d9010 R09: 0000000000000000 # [ 41.004742] R10: fffffffffffff[ 50.670352] refcount_t: saturated; leaking memory. bc5 R11: 0000000000000246 R12: 0000000000000001 # [ 41.012708[ 50.681965] WARNING: CPU: 0 PID: 2411 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 ] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020[ 50.697567] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 000 # [ 41.020680] Modules linked in: fuse ip_tables cros_ec_[ 50.730288] CPU: 0 PID: 2411 Comm: cat Tainted: G D W 5.10.172-cip27 #1 sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo[ 50.745181] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 _buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar[ 50.758214] RIP: 0010:refcount_warn_saturate+0x97/0x110 cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_[ 50.770230] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 dev cros_usbpd_notify # [ 41.047114] CR2: 0000000000000000 #[ 50.797444] RSP: 0018:ffff91a382f17e38 EFLAGS: 00010282 [ 41.050809] ---[ end trace 5fbbb9d5c0737d0d ]--- # [ 41.0[ 50.809493] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 55961] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 41.060327] Code: 89 f[ 50.823683] RDX: ffff8a8b7ac2c660 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 f e8 be 60 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff[ 50.837876] RBP: ffffffff8fcba778 R08: 0000000000000000 R09: 0000000000000000 c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0[ 50.852075] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 d0 58 93 02 #[ 50.866255] R13: ffff91a382f17f10 R14: ffff91a382f17f10 R15: ffff8a8b05ea5000 [ 41.081302] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [[ 50.880459] FS: 00007f3d2a5e9580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 41.087134] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0[ 50.895701] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 000000000000000 # [ 41.095099] RDX: 0000000000000000 RSI: fff[ 50.908365] CR2: 00007f3d2a3f2000 CR3: 0000000105426005 CR4: 00000000003706f0 f8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 41.103066] RBP: fffff[ 50.922534] Call Trace: fff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 4[ 50.931498] __refcount_add_not_zero.constprop.0+0x2a/0x35 1.111033] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 00000[ 50.943826] lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED+0x3e/0x76 00000000004 # [ 41.118999] R13: ffff91a3813a7f10 R14: ffff91a[ 50.956377] direct_entry.cold+0x2c/0x38 3813a7f10 R15: ffff8a8b05716000 # [ 41.126966] FS: 00007fc52[ 50.966962] full_proxy_write+0x53/0x80 bfd1580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 [ 50.977491] vfs_write+0xe7/0x3a0 # [ 41.136000] CS: 0010 DS: 0000 ES: 0000 CR0: 00000000800500[ 50.987384] ksys_write+0x68/0xf0 33 # [ 41.142413] CR2: 0000000000000000 CR3: 0000000105e02005[ 50.997310] do_syscall_64+0x30/0x40 CR4: 00000000003706f0 # ACCESS_NULL: saw 'call trace:': ok ok[ 51.007534] entry_SYSCALL_64_after_hwframe+0x61/0xc6 38 selftests: lkdtm: ACCESS_NULL.sh # selftests: lkdtm: WRITE_[ 51.019388] RIP: 0033:0x7f3d2a4ff833 RO.sh # Killed # [ 41.334414] lkdtm: Performing direct entry[ 51.029577] 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 WRITE_RO # [ 41.342328] lkdtm: attempting bad rodata write a[ 51.056814] RSP: 002b:00007ffdc6f3acc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 t ffffffff8f8d1590 # [ 41.349248] BUG: unable to handle page [ 51.071474] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f3d2a4ff833 fault for address: ffffffff8f8d1590 # [ 41.363123] #PF: super[ 51.085693] RDX: 0000000000000020 RSI: 00007f3d2a3f2000 RDI: 0000000000000001 visor write access in kernel mode # [ 41.368955] #PF: error_c[ 51.099865] RBP: 00007f3d2a3f2000 R08: 00007f3d2a3f1010 R09: 0000000000000000 ode(0x0003) - permissions violation # [ 41.375176] PGD 175e29[ 51.114055] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 067 P4D 175e29067 PUD 175e2a063 PMD 80000001758000e1 # [ 41.[ 51.128297] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 382953] Oops: 0003 [#14] SMP PTI # [ 41.386942] CPU: 3 PID: 1[ 51.142436] irq event stamp: 0 871 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [[ 51.152068] hardirqs last enabled at (0): [<0000000000000000>] 0x0 41.395580] Hardware name: Google Rammus/Rammus, BIOS 09/04/2[ 51.165281] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 020 # [ 41.402385] RIP: 0010:lkdtm_WRITE_RO+0x2e/0x3a # [ [ 51.180641] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 41.407343] Code: 00 48 c7 c7 60 b8 cb 8f 48 c7 c6 90 15 8d 8f e8[ 51.195989] softirqs last disabled at (0): [<0000000000000000>] 0x0 66 98 fd ff 48 8b 05 c4 6b 76 00 ba 34 12 cd ab 48 c7 c7 90 b8 [ 51.209223] ---[ end trace 5fbbb9d5c0737d1e ]--- cb 8f 48 31 d0 <48> 89 05 ae 6b 76 00 e9 44 98 fd ff 0f 1f 44 00[ 51.220578] lkdtm: Saturation detected: still saturated 00 48 8b 05 3d d9 # [ 41.428320] RSP: 0018:ffff91a3826f7e60 EFLAGS: 00010202 # [ 41.434151] RAX: 000000000198b861 RBX: 0000000000000028 RCX: 0000000000000000 # [ 41.442117] RDX: 00000000abcd1234 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8fcbb890 # [ 41.450083] RBP: ffffffff8fcbaa7d R08: 0000000000000000 R09: 0000000000000000 # [ 41.458050] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000009 # [ 41.466016] R13: ffff91a3826f7f10 R14: ffff91a3826f7f10 R15: ffff8a8b05cec000 # [ 41.473982] FS: 00007ff8d9939580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 41.483016] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 41.489430] CR2: ffffffff8f8d1590 CR3: 000000010553e003 CR4: 00000000003706e0 # [ 41.497395] Call Trace: # [ 41.500122] direct_entry.cold+0x2c/0x38 # [ 41.504500] full_proxy_write+0x53/0x80 # [ 41.508782] vfs_write+0xe7/0x3a0 # [ 41.512477] ksys_write+0x68/0xf0 # [ 41.516176] do_syscall_64+0x30/0x40 # [ 41.520164] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 41.525802] RIP: 0033:0x7ff8d984f833 # [ 41.529789] 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 # [ 41.550756] RSP: 002b:00007ffd7e4381f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [[ 51.368760] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_SATURATED [ 51.377038] lkdtm: attempting bad refcount_add_not_zero() from saturated [ 51.384539] ------------[ cut here ]------------ [ 51.389708] refcount_t: saturated; leaking memory. [ 51.395080] WARNING: CPU: 2 PID: 2443 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 [ 51.404519] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 41.559211] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 0[ 51.430993] CPU: 2 PID: 2443 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 51.445858] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 51.452698] RIP: 0010:refcount_warn_saturate+0x97/0x110 [ 51.458537] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 [ 51.479558] RSP: 0018:ffff91a382fafe38 EFLAGS: 00010282 [ 51.485397] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 [ 51.493371] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 [ 51.501348] RBP: ffffffff8fcba798 R08: 0000000000000000 R09: 0000000000000000 [ 51.509353] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 0007ff8d984f833 # [ 41.567168] RDX: 0000000000000009 RSI: 000[ 51.517330] R13: ffff91a382faff10 R14: ffff91a382faff10 R15: ffff8a8b00ff9000 07ff8d9742000 RDI: 0000000000000001 # [ 41.575135] RBP: 00007[ 51.531516] FS: 00007f2e851aa580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 ff8d9742000 R08: 00007ff8d9741010 R09: 0000000000000000 # [ 4[ 51.546778] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 51.559412] CR2: 00007f2e84fb3000 CR3: 0000000103292005 CR4: 00000000003706e0 [ 51.567408] Call Trace: [ 51.570141] __refcount_add_not_zero.constprop.0+0x2a/0x35 [ 51.576304] lkdtm_REFCOUNT_ADD_NOT_ZERO_SATURATED+0x3e/0x76 [ 51.582660] direct_entry.cold+0x2c/0x38 [ 51.587072] full_proxy_write+0x53/0x80 [ 51.591380] vfs_write+0xe7/0x3a0 [ 51.595112] ksys_write+0x68/0xf0 [ 51.598841] do_syscall_64+0x30/0x40 1.583101] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 00000[ 51.602847] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 51.614695] RIP: 0033:0x7f2e850c0833 [ 51.618719] 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.639709] RSP: 002b:00007ffd6d53dbf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.648170] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f2e850c0833 [ 51.656146] RDX: 0000000000000020 RSI: 00007f2e84fb3000 RDI: 0000000000000001 [ 51.664120] RBP: 00007f2e84fb3000 R08: 00007f2e84fb2010 R09: 0000000000000000 [ 51.672094] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 51.680070] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 51.688050] irq event stamp: 0 [ 51.691488] hardirqs last enabled at (0): [<0000000000000000>] 0x0 00000000001 # [ 41.591067] R13: 0000000000000001 R14: 0000000[ 51.698492] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 51.713849] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 51.722989] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 51.729995] ---[ end trace 5fbbb9d5c0737d1f ]--- [ 51.735153] lkdtm: Saturation detected: still saturated 000020000 R15: 0000000000020000 # [ 41.599039] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 41.625497] CR2: ffffffff8f8d1590 # [ 41.635405] ---[ end trace 5fbbb9d5c0737d0e ]--- # [ 41.640558] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 41.644933] Code: 89 ff e8 be 60 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 d0 58 93 02 # [ 41.665912] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 41.671743] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 41.679710] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 41.687678] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 41.695646] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 41.703612] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 41.711579] FS: 00007ff8d9939580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 41.720615] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 41.727028] CR2: ffffffff8f[ 51.865713] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_SATURATED 8d1590 CR3: 000000010553e003 CR4: 00000000003706e0 # WRITE_RO: [ 51.879268] lkdtm: attempting bad refcount_dec_and_test() from saturated saw 'call trace:': ok ok 39 selftests: lkdtm: WRITE_RO.sh # se[ 51.892972] ------------[ cut here ]------------ lftests: lkdtm: WRITE_RO_AFTER_INIT.sh # Killed # [ 41.85953[ 51.904337] refcount_t: underflow; use-after-free. 3] lkdtm: Performing direct entry WRITE_RO_AFTER_INIT # [ 41.[ 51.915939] WARNING: CPU: 1 PID: 2478 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 872073] lkdtm: attempting bad ro_after_init write at ffffffff8fd[ 51.931551] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 38330 # [ 41.879676] BUG: unable to handle page fault for add[ 51.964214] CPU: 1 PID: 2478 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 51.979078] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 ress: ffffffff8fd38330 # [ 41.887362] #PF: supervisor write a[ 51.985891] RIP: 0010:refcount_warn_saturate+0xba/0x110 ccess in kernel mode # [ 41.893210] #PF: error_code(0x0003) -[ 51.997936] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 permissions violation # [ 41.899430] PGD 175e29067 P4D 175e2[ 52.025137] RSP: 0018:ffff91a383037e40 EFLAGS: 00010286 9067 PUD 175e2a063 PMD 104749063 PTE 8000000175d38061 # [ 41.[ 52.037213] RAX: 0000000000000000 RBX: 000000000000003a RCX: 0000000000000000 908470] Oops: 0003 [#15] SMP PTI # [ 41.912459] CPU: 2 PID: 1[ 52.051398] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 906 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [[ 52.065589] RBP: ffffffff8fcba7b8 R08: 0000000000000000 R09: 0000000000000000 41.921106] Hardware name: Google Rammus/Rammus, BIOS 09/04/2[ 52.079780] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 [ 52.093968] R13: ffff91a383037f10 R14: ffff91a383037f10 R15: ffff8a8b032fe000 020 # [ 41.927912] RIP: 0010:lkdtm_WRITE_RO_AFTER_INIT+0x4e/0[ 52.101944] FS: 00007f6097264580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 x5a # [ 41.933939] Code: b8 cb 8f e9 18 98 fd ff 48 c7 c7 e8 [ 52.117215] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 b8 cb 8f e8 0c 98 fd ff 48 8b 05 0a d9 bc 00 ba 34 12 cd ab 48 c[ 52.129853] CR2: 00007f609706d000 CR3: 000000010326e004 CR4: 00000000003706e0 [ 52.144045] Call Trace: 7 c7 90 b8 cb 8f 48 31 d0 <48> 89 05 f4 d8 bc 00 e9 ea 97 fd ff [ 52.146781] __refcount_sub_and_test.constprop.0+0x3c/0x50 0f 1f 44 00 00 41 54 48 c7 c7 # [ 41.954918] RSP: 0018:ffff91[ 52.159118] lkdtm_REFCOUNT_DEC_AND_TEST_SATURATED+0x3e/0x76 a382787e60 EFLAGS: 00010202 # [ 41.960751] RAX: 00000000fe674[ 52.171678] direct_entry.cold+0x2c/0x38 79e RBX: 0000000000000029 RCX: 0000000000000000 # [ 41.968720[ 52.182273] full_proxy_write+0x53/0x80 ] RDX: 00000000abcd1234 RSI: ffff8a8b7ad1bf70 RDI: ffffffff8fcbb[ 52.192789] vfs_write+0xe7/0x3a0 890 # [ 41.976679] RBP: ffffffff8fcbaa86 R08: 000000000000000[ 52.202686] ksys_write+0x68/0xf0 0 R09: 0000000000000000 # [ 41.984650] R10: 00000000ffffe000 [ 52.212603] do_syscall_64+0x30/0x40 R11: 3fffffffffffffff R12: 0000000000000014 # [ 41.992618] R1[ 52.222833] entry_SYSCALL_64_after_hwframe+0x61/0xc6 3: ffff91a382787f10 R14: ffff91a382787f10 R15: ffff8a8b04d0a000 [ 52.234688] RIP: 0033:0x7f609717a833 # [ 42.000586] FS: 00007f75aeb49580(0000) GS:ffff8a8b7ad0000[ 52.244875] 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(0000) knlGS:0000000000000000 # [ 42.009623] CS: 0010 DS: 0[ 52.272081] RSP: 002b:00007ffd45c51af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 000 ES: 0000 CR0: 0000000080050033 # [ 42.016037] CR2: ffffff[ 52.286760] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f609717a833 ff8fd38330 CR3: 0000000103e2a004 CR4: 00000000003706e0 # [ 42[ 52.300948] RDX: 0000000000000020 RSI: 00007f609706d000 RDI: 0000000000000001 .024006] Call Trace: # [ 42.026733] direct_entry.cold+0x2c/0[ 52.315138] RBP: 00007f609706d000 R08: 00007f609706c010 R09: 0000000000000000 [ 52.329328] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 x38 # [ 42.031111] full_proxy_write+0x53/0x80 # [ 42.0353[ 52.337304] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 93] vfs_write+0xe7/0x3a0 # [ 42.039090] ksys_write+0x68/0xf[ 52.351514] irq event stamp: 0 0 # [ 42.042789] do_syscall_64+0x30/0x40 [ 52.361118] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 52.372588] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 42.046776] entry_SYSCALL_64_after_hwframe+0x61/0xc6[ 52.381752] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 52.396518] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 42.052413] RIP: 0033:0x7f75aea5f833[ 52.403550] ---[ end trace 5fbbb9d5c0737d20 ]--- [ 52.412883] lkdtm: Saturation detected: still saturated # [ 42.056399] 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 # [ 42.077382] RSP: 002b:00007fffaf0f9bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 42.085836] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f75aea5f833 # [ 42.093806] RDX: 0000000000000014 RSI: 00007f75ae952000 RDI: 0000000000000001 # [ 42.101773] RBP: 00007f75ae952000 R08: 00007f75ae951010 R09: 0000000000000000 # [ 42.109742] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 42.117710] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 42.125683] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 42.152142] CR2: ffffffff8fd38330 # [ 42.162052] ---[ end trace 5fbbb9d5c0737d0f ]--- # [ 42.167213] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 42.171591] Code: 89 ff e8 be 60 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 d0 58 93 02 # [ 42.192572] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 42.198405] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 42.206374] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 4[ 52.568256] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_SATURATED [ 52.582001] lkdtm: attempting bad refcount_sub_and_test() from saturated [ 52.589491] ------------[ cut here ]------------ [ 52.594677] refcount_t: underflow; use-after-free. [ 52.600054] WARNING: CPU: 3 PID: 2513 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 2.214343] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 00000[ 52.609493] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 52.642129] CPU: 3 PID: 2513 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 52.650804] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 52.657611] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 52.663448] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 [ 52.684430] RSP: 0018:ffff91a3830cfe40 EFLAGS: 00010286 [ 52.690266] RAX: 0000000000000000 RBX: 000000000000003b RCX: 0000000000000000 [ 52.698252] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 [ 52.706264] RBP: ffffffff8fcba7d8 R08: 0000000000000000 R09: 0000000000000000 [ 52.714249] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 [ 52.722262] R13: ffff91a3830cff10 R14: ffff91a3830cff10 R15: ffff8a8b03313000 [ 52.730250] FS: 00007fc0c16b6580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 [ 52.739322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.745740] CR2: 00007fc0c14bf000 CR3: 000000010273a002 CR4: 00000000003706e0 [ 52.753711] Call Trace: [ 52.756443] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 52.762596] lkdtm_REFCOUNT_SUB_AND_TEST_SATURATED+0x3e/0x76 [ 52.768920] direct_entry.cold+0x2c/0x38 [ 52.773325] full_proxy_write+0x53/0x80 [ 52.777641] vfs_write+0xe7/0x3a0 [ 52.781366] ksys_write+0x68/0xf0 [ 52.785069] do_syscall_64+0x30/0x40 [ 52.789061] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 52.794705] RIP: 0033:0x7fc0c15cc833 [ 52.798695] 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.819683] RSP: 002b:00007ffeab07ffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 52.828141] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007fc0c15cc833 [ 52.836111] RDX: 0000000000000020 RSI: 00007fc0c14bf000 RDI: 0000000000000001 [ 52.844085] RBP: 00007fc0c14bf000 R08: 00007fc0c14be010 R09: 0000000000000000 00000000001 # [ 42.222313] R10: 00000000ffffe000 R11: 3ffffff[ 52.852059] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 fffffffff R12: 0000000000000004 # [ 42.230283] R13: ffff91a38[ 52.866249] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 52.880459] irq event stamp: 0 13a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 42.23[ 52.883877] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 52.897089] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 [ 52.906228] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 [ 52.915365] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 52.922389] ---[ end trace 5fbbb9d5c0737d21 ]--- 8267] FS: 00007f75aeb49580(0000) GS:ffff8a8b7ad00000(0000) knlG[ 52.927560] lkdtm: Saturation detected: still saturated S:0000000000000000 # [ 42.247303] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 42.253716] CR2: ffffffff8fd38330 CR3: 0000000103e2a004 CR4: 00000000003706e0 # [ 42.261683] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 42.271592] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1906, name: cat # [ 42.280045] INFO: lockdep is turned off. # [ 42.284419] irq event stamp: 0 # [ 42.287824] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 42.294821] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 42.303956] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 42.313080] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 42.320078] CPU: 2 PID: 1906 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 42.328726] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 42.335529] Call Trace: # [ 42.338262] dump_stack+0x77/0x9b # [ 42.341960] ___might_sleep.cold+0xa6/0xb6 # [ 42.346531] exit_signals+0x1c/0x2e0 # [ 42.350520] do_exit+0xc2/0xaf0 # [ 42.354024] ? ksys_write+0x68/0xf0 # [ 42.357917] make_task_dead+0x2f/0x30 # [ 42.362001] rewind_stack_and_make_dead+0x17/0x20 # [ 42.367260] RIP: 0033:0x7f75aea5f833 # [ 42.371239] 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 # [ 42.392240] RSP: 002b:00007fffaf0f9bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 42.400716] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f75aea5f833 # [ 42.408685] RDX: 0000000000000014 RSI: 00007f75ae952000 RDI: 0000000000000001 # [ 42.416654] RBP: 00007f75ae952000 R08: 00007f75ae951010 R09: 0000000000000000 # [ 42.424615] R10: ff[ 53.125700] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_TO fffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ [ 53.132943] lkdtm: attempting good copy_to_user of correct size 42.432581] R13: 0000000000000001 R14: 0000000000020000 R15: 00[ 53.145789] lkdtm: attempting bad copy_to_user of too large size 00000000020000 # WRITE_RO_AFTER_INIT: saw 'call trace:': ok ok 40 selftests: lkdtm: WRITE_RO_AFTER_INIT.sh # selftests: lkdtm: WRITE_KERN.sh # Killed # [ 42.557775] lkdtm: Performing direct entry WRITE_KERN # [ 42.564325] lkdtm: attempting bad 6838262 byte write at ffffffff8f16a946 # [ 42.571852] BUG: unable to handle page fault for address: ffffffff8f16a946 # [ 42.579539] #PF: supervisor write access in kernel mode # [ 42.585374] #PF: error_code(0x0003) - permissions violation # [ 42.591596] PGD 175e29067 P4D 175e29067 PUD 175e2a063 PMD 1750000e1 # [ 42.598697] Oops: 0003 [#16] SMP PTI # [ 42.608898] CPU: 2 PID: 1941 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 42.617551] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 42.630573] RIP: 0010:lkdtm_WRITE_KERN+0x38/0x4e # [ 42.641944] Code: 53 48 c7 c3 46 a9 16 8f 49 89 dc 48 89 da 49 81 ec 50 51 ae 8e 4c 89 e6 e8 bf 97 fd ff 48 89 df 4c 89 e1 48 c7 c6 50 51 ae 8e a4 48 c7 c7 90 b8 cb 8f e8 a4 97 fd ff 5b 41 5c e9 b7 fe ff ff # [ 42.662927] RSP: 0018:ffff91a3827dfe50 EFLAGS: 00010246 # [ 42.668761] RAX: 000000000000003c RBX: ffffffff8f16a946 RCX: 00000000006857f6 # [ 42.676731] RDX: 0000000000000000 RSI: ffffffff8eae5150 RDI: ffffffff8f16a946 # [ 42.684701] RBP: ffffffff8fcbaa9a R08: 0000000000000000 R09: 0000000000000000 # [ 42.692671] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 00000000006857f6 # [ 42.700640] [ 53.296494] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_FROM R13: ffff91a3827dff10 R14: ffff91a3827dff10 R15: ffff8a8b04f7d00[ 53.308565] lkdtm: attempting good copy_from_user of correct size 0 # [ 42.708608] FS: 00007f8b76384580(0000) GS:ffff8a8b7ad00[ 53.321597] lkdtm: attempting bad copy_from_user of too large size 000(0000) knlGS:0000000000000000 # [ 42.717643] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 42.724058] CR2: ffffffff8f16a946 CR3: 0000000100e7a002 CR4: 00000000003706e0 # [ 42.732026] Call Trace: # [ 42.734753] direct_entry.cold+0x2c/0x38 # [ 42.739133] full_proxy_write+0x53/0x80 # [ 42.743415] vfs_write+0xe7/0x3a0 # [ 42.747113] ksys_write+0x68/0xf0 # [ 42.750811] do_syscall_64+0x30/0x40 # [ 42.754800] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 42.760429] RIP: 0033:0x7f8b7629a833 # [ 42.764416] 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 # [ 42.785398] RSP: 002b:00007fff8be8abe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 42.793844] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f8b7629a833 # [ 42.801813] RDX: 000000000000000b RSI: 00007f8b7618d000 RDI: 0000000000000001 # [ 42.809783] RBP: 00007f8b7618d000 R08: 00007f8b7618c010 R09: 0000000000000000 # [ 42.817751] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 42.825719] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 42.833694] M[ 53.455809] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_TO odules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors[ 53.466222] lkdtm: attempting good copy_to_user inside whitelist [ 53.479182] lkdtm: attempting bad copy_to_user outside whitelist _core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 42.860155] CR2: ffffffff8f16a946 # [ 42.870065] ---[ end trace 5fbbb9d5c0737d10 ]--- # [ 42.875220] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 42.879597] Code: 89 ff e8 be 60 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 d0 58 93 02 # [ 42.900571] RSP: 0018:ffff91a3813a7e60 EFLAGS: 00010282 # [ 42.906396] RAX: ffffffff8eae4d80 RBX: 0000000000000001 RCX: 0000000000000000 # [ 42.914364] RDX: 0000000000000000 RSI: ffff8a8b7ad9bf70 RDI: ffffffff8f8d1110 # [ 42.922332] RBP: ffffffff8fd16118 R08: 0000000000000001 R09: 0000000000000001 # [ 42.930299] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 42.938266] R13: ffff91a3813a7f10 R14: ffff91a3813a7f10 R15: ffff8a8b05716000 # [ 42.946234] FS: 00007f8b76384580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 42.955270] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 42.961684] CR[ 53.600910] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_FROM 2: ffffffff8f16a946 CR3: 0000000100e7a002 CR4: 00000000003706e0 [ 53.611467] lkdtm: attempting good copy_from_user inside whitelist # WRITE_KERN: saw 'call trace:': ok ok 41 selftests: lkdtm: WR[ 53.624613] lkdtm: attempting bad copy_from_user outside whitelist ITE_KERN.sh # selftests: lkdtm: REFCOUNT_INC_OVERFLOW.sh # [ 43.101946] lkdtm: Performing direct entry REFCOUNT_INC_OVERFLOW # [ 43.113187] lkdtm: attempting good refcount_inc() without overflow # [ 43.126301] lkdtm: attempting bad refcount_inc() overflow # [ 43.138550] ------------[ cut here ]------------ # [ 43.149925] refcount_t: saturated; leaking memory. # [ 43.161505] WARNING: CPU: 0 PID: 1977 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 43.177137] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 43.209772] CPU: 0 PID: 1977 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 43.224644] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 43.237670] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 43.249743] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 # [ 43.276946] RSP: 0018:ffff91a38288fe48 EFLAGS: 00010286 # [ 43.289017] RAX: 0000000000000000 RBX: 000000000000002b RCX: 0000000000000000 # [[ 53.762153] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_TO 43.303211] RDX: ffff8a8b7ac2c660 RSI: ffff8a8b7ac1bf70 RDI: f[ 53.775338] lkdtm: good_stack: ffff91a3833b7e20-ffff91a3833b7e40 fff8a8b7ac1bf70 # [ 43.317418] RBP: ffffffff8fcbaaa5 R08: 000[ 53.788251] lkdtm: bad_stack : ffff91a3833b7da8-ffff91a3833b7dc8 0000000000000 R09: 0000000000000000 # [ 43.331609] R10: 00000[ 53.801210] lkdtm: attempting good copy_to_user of local stack 000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 4[ 53.813901] lkdtm: attempting bad copy_to_user of distant stack 3.345815] R13: ffff91a38288ff10 R14: ffff91a38288ff10 R15: ffff8a8b0311c000 # [ 43.360006] FS: 00007f9cf50b9580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 43.375298] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 43.387889] CR2: 00007f9cf4ec2000 CR3: 0000000105d5e004 CR4: 00000000003706f0 # [ 43.402107] Call Trace: # [ 43.411090] lkdtm_REFCOUNT_INC_OVERFLOW+0x70/0x98 # [ 43.422627] direct_entry.cold+0x2c/0x38 # [ 43.433240] full_proxy_write+0x53/0x80 # [ 43.443727] vfs_write+0xe7/0x3a0 # [ 43.453641] ksys_write+0x68/0xf0 # [ 43.463539] do_syscall_64+0x30/0x40 # [ 43.473742] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 43.485586] RIP: 0033:0x7f9cf4fcf833 # [ 43.495818] 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 # [ 43.523002] RSP: 002b:00007ffead4351a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 43.537675] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f9cf4fcf833 # [ 43.551859] RDX: 0000000000000016 RSI: 00007f9cf4ec2000 RDI: 0000000000000001 # [ 43.566056] RBP: 00007f9cf4ec2000 R08: 00007f9cf4ec1010 R09: 0000000000000000 # [ 43.580227] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 43.594436] R13: 0000000000000[ 53.957617] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_FROM [ 53.970583] lkdtm: good_stack: ffff91a3834afe20-ffff91a3834afe40 [ 53.977298] lkdtm: bad_stack : ffff91a3834afda8-ffff91a3834afdc8 001 R14: 0000000000020000 R15: 0000000000020000 # [ 43.608610[ 53.984049] lkdtm: attempting good copy_from_user of local stack [ 53.996958] lkdtm: attempting bad copy_from_user of distant stack ] irq event stamp: 0 # [ 43.618246] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 43.631448] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 43.646827] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 43.662165] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 43.675397] ---[ end trace 5fbbb9d5c0737d11 ]--- # [ 43.686752] lkdtm: Overflow detected: saturated # REFCOUNT_INC_OVERFLOW: saw 'call trace:': ok ok 42 selftests: lkdtm: REFCOUNT_INC_OVERFLOW.sh # selftests: lkdtm: REFCOUNT_ADD_OVERFLOW.sh # [ 43.799248] lkdtm: Performing direct entry REFCOUNT_ADD_OVERFLOW # [ 43.810387] lkdtm: attempting good refcount_add() without overflow # [ 43.823508] lkdtm: attempting bad refcount_add() overflow # [ 43.835749] ------------[ cut here ]------------ # [ 43.840909] refcount_t: saturated; leaking memory. # [ 43.852500] WARNING: CPU: 1 PID: 2009 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 43.868112] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 43.900752] CPU: 1 PID: 2009 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 43.[ 54.139848] lkdtm: Performing direct entry USERCOPY_STACK_BEYOND [ 54.147293] lkdtm: good_stack: ffff91a383537e20-ffff91a383537e40 909406] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 #[ 54.154015] lkdtm: bad_stack : ffff91a383537ff8-ffff91a383538018 [ 43.922424] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [[ 54.166954] lkdtm: attempting good copy_to_user of local stack [ 54.179693] lkdtm: attempting bad copy_to_user of distant stack 43.934476] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80[ 54.186319] lkdtm: copy_to_user failed, but lacked Oops 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 # [ 43.955463] RSP: 0018:ffff91a3828f7e48 EFLAGS: 00010286 # [ 43.967512] RAX: 0000000000000000 RBX: 000000000000002c RCX: 0000000000000000 # [ 43.981698] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 # [ 43.995891] RBP: ffffffff8fcbaabb R08: 0000000000000000 R09: 0000000000000000 # [ 44.010073] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 44.018048] R13: ffff91a3828f7f10 R14: ffff91a3828f7f10 R15: ffff8a8b03fcf000 # [ 44.032254] FS: 00007f22ff9fc580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 44.047494] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 44.060127] CR2: 00007f22ff805000 CR3: 000000010326e003 CR4: 00000000003706e0 # [ 44.068102] Call Trace: # [ 44.077044] lkdtm_REFCOUNT_ADD_OVERFLOW+0x7f/0xa7 # [ 44.088610] direct_entry.cold+0x2c/0x38 # [ 44.099220] full_proxy_write+0x53/0x80 # [ 44.109717] vfs_write+0xe7/0x3a0 # [ 44.119632] ksys_write+0x68/0xf0 # [ 44.129550] do_syscall_64+0x30/0x40 # [ 44.139756] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 44.151614] RIP: 0033:0x7f22ff912833 # [ 44.161822] 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 [ 54.329278] lkdtm: Performing direct entry USERCOPY_KERNEL [ 54.341354] lkdtm: attempting good copy_to_user from kernel rodata: ffffffff8f8d15b0 [ 54.350025] lkdtm: attempting bad copy_to_user from kernel text: ffffffff8e4e3d80 [ 54.358395] lkdtm: FAIL: survived bad copy_to_user() 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 # [ 44.182809] RSP: 002b:00007ffcd1824ea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 44.197478] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f22ff912833 # [ 44.205452] RDX: 0000000000000016 RSI: 00007f22ff805000 RDI: 0000000000000001 # [ 44.219634] RBP: 00007f22ff805000 R08: 00007f22ff804010 R09: 0000000000000000 # [ 44.227607] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 44.241791] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 44.255986] irq event stamp: 0 # [ 44.265605] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 44.278822] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 44.294178] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 44.309553] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 44.316557] ---[ end trace 5fbbb9d5c0737d12 ]--- # [ 44.327922] 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 # [ 44.432641] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_OVERFLOW # [ 44.446229] lkdtm: attempting bad refcount_inc_not_zero() overflow # [ 44.459359] ------------[ cut here ]------------ # [ 44.464525] ref[ 54.504088] lkdtm: Performing direct entry STACKLEAK_ERASING count_t: saturated; leaking memory. # [ 44.469936] WARNING: C[ 54.513252] lkdtm: checking unused part of the thread stack (15928 bytes)... PU: 2 PID: 2041 at lib/refcount.c:19 refcount_warn_saturate+0x97[ 54.527366] lkdtm: FAIL: the erased part is not found (checked 15928 bytes) [ 54.541338] lkdtm: FAIL: the thread stack is NOT properly erased /0x110 # [ 44.479372] Modules linked in: fuse ip_tables cros_[ 54.548052] CPU: 1 PID: 2878 Comm: cat Tainted: G D W 5.10.172-cip27 #1 [ 54.562912] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 54.569718] Call Trace: ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kf[ 54.572442] dump_stack+0x77/0x9b [ 54.582357] lkdtm_STACKLEAK_ERASING+0x116/0x144 ifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_light[ 54.587514] direct_entry.cold+0x2c/0x38 [ 54.598106] full_proxy_write+0x53/0x80 bar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_[ 54.602390] vfs_write+0xe7/0x3a0 [ 54.612299] ksys_write+0x68/0xf0 [ 54.616000] do_syscall_64+0x30/0x40 ec_dev cros_usbpd_notify # [ 44.512008] CPU: 2 PID: 2041 Comm[ 54.619990] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 54.631845] RIP: 0033:0x7f95b5e43833 [ 54.635834] 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.656811] RSP: 002b:00007ffed8977018 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 54.665268] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f95b5e43833 [ 54.673239] RDX: 0000000000000012 RSI: 00007f95b5d36000 RDI: 0000000000000001 [ 54.681212] RBP: 00007f95b5d36000 R08: 00007f95b5d35010 R09: 0000000000000000 [ 54.689183] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 54.697177] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 : cat Tainted: G D W 5.10.172-cip27 #1 # [ 44.520692] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 44.527500] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 44.533338] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 # [ 44.560538] RSP: 0018:ffff91a382947e38 EFLAGS: 00010282 # [ 44.566403] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 # [ 44.574378] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 # [ 44.582347] RBP: ffffffff8fcba6f8 R08: 0000000000000000 R09: 0000000000000000 # [ 44.590341] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 44.598327] R13: ffff91a382947f10 R14: ffff91a382947f10 R15: ffff8a8b05c83000 # [ 44.612503] FS: 00007f127fa68580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 44.621543] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 44.627962] CR2: 00007f127f871000 CR3: 000000010554c004 CR4: 00000000003706e0 # [ 44.635933] Call Trace: # [ 44.638663] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 44.644822] lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW+0x3e/0x76 # [ 44.651071] direct_entry.cold+0x2c/0x38 # [ 44.655451] full_proxy_write+0x53/0x80 # [ 44.659759] vf[ 54.836758] lkdtm: Performing direct entry CFI_FORWARD_PROTO s_write+0xe7/0x3a0 # [ 44.663484] ksys_write+0x68/0xf0 # [ [ 54.848251] lkdtm: Calling matched prototype ... 44.667203] do_syscall_64+0x30/0x40 # [ 44.671203] entry_S[ 54.859627] lkdtm: Calling mismatched prototype ... YSCALL_64_after_hwframe+0x61/0xc6 # [ 44.683054] RIP: 0033:0x[ 54.871308] lkdtm: Fail: survived mismatched prototype function call! 7f127f97e833 # [ 44.687046] 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 # [ 44.708029] RSP: 002b:00007ffc423067e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 44.716485] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f127f97e833 # [ 44.724456] RDX: 000000000000001f RSI: 00007f127f871000 RDI: 0000000000000001 # [ 44.732428] RBP: 00007f127f871000 R08: 00007f127f870010 R09: 0000000000000000 # [ 44.740399] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 44.748369] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 44.756344] irq event stamp: 0 # [ 44.759781] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 44.766783] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 44.775919] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 44.785055] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 44.792056] ---[ end trace 5fbbb9d5c0737d13 ]--- # [ 44.797215] 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 # [ 44.935767] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_OVERFLOW # [ 44.946858] lkdtm: attempting bad refcount_add_not_zero() overflow # [ 44.959977] ------------[ cut here ]------------ # [ 44.971344] refcount_t: saturated; leaking memory. # [ 44.982939] WARNING: CPU: 1 PID: 2073 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 44.998557] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 45.031217] CPU: 1 PID: 2073 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 45.046082] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 45.059106] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 45.071159] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 # [ 45.098356] RSP: 0018:ffff91a3829dfe38 EFLAGS: 00010282 # [ 45.110407] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 # [ 45.124595] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 # [ 45.138785] RBP: ffffffff8fcba718 R08: 0000000000000000 R09: 0000000000000000 # [ 45.152974] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 45.167164] R13: ffff91a3829dff10 R14: ffff91a3829dff10 R15: ffff8a8b03ed5000 # [ 45.181353] FS: 00007f8b0cc25580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 45.196608] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 45.209283] CR2: 00007f8b0ca2e000 CR3: 0000000103296006 CR4: 00000000003706e0 # [ 45.223474] Call Trace: # [ 45.232423] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 45.244766] lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW+0x3e/0x76 # [ 45.257220] direct_entry.cold+0x2c/0x38 # [ 45.267833] full_proxy_write+0x53/0x80 # [ 45.278316] vfs_write+0xe7/0x3a0 # [ 45.288229] ksys_write+0x68/0xf0 # [ 45.298148] do_syscall_64+0x30/0x40 # [ 45.308357] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 45.314003] RIP: 0033:0x7f8b0cb3b833 # [ 45.324216] 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 # [ 45.351421] RSP: 002b:00007ffe5598cb08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 45.366092] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f8b0cb3b833 # [ 45.380283] RDX: 000000000000001f RSI: 00007f8b0ca2e000 RDI: 0000000000000001 # [ 45.394473] RBP: 00007f8b0ca2e000 R08: 00007f8b0ca2d010 R09: 0000000000000000 # [ 45.408664] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 45.422856] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 45.437053] irq event stamp: 0 # [ 45.446674] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 45.459896] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 45.475253] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 45.490609] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 45.503828] ---[ end trace 5fbbb9d5c0737d14 ]--- # [ 45.515203] 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 # [ 45.634113] lkdtm: Performing direct entry REFCOUNT_DEC_ZERO # [ 45.644690] lkdtm: attempting good refcount_dec() # [ 45.649960] lkdtm: attempting bad refcount_dec() to zero # [ 45.655904] ------------[ cut here ]------------ # [ 45.661064] refcount_t: decrement hit 0; leaking memory. # [ 45.667007] WARNING: CPU: 2 PID: 2105 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 45.676443] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 45.702908] CPU: 2 PID: 2105 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 45.717766] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 45.724573] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 45.730410] Code: e8 61 c5 8f c6 05 be fb 93 01 01 e8 61 f0 97 00 0f 0b c3 cc cc cc cc 48 c7 c7 b8 61 c5 8f c6 05 a5 fb 93 01 01 e8 47 f0 97 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 45.751394] RSP: 0018:ffff91a382a77e48 EFLAGS: 00010286 # [ 45.757229] RAX: 0000000000000000 RBX: 000000000000002f RCX: 0000000000000000 # [ 45.765217] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 # [ 45.779402] RBP: ffffffff8fcbaad1 R08: 0000000000000000 R09: 0000000000000000 # [ 45.787377] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 45.801564] R13: ffff91a382a77f10 R14: ffff91a382a77f10 R15: ffff8a8b05dba000 # [ 45.809567] FS: 00007fde1bb5b580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 45.818608] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 45.825025] CR2: 00007fde1b964000 CR3: 0000000100ffc002 CR4: 00000000003706e0 # [ 45.832997] Call Trace: # [ 45.835727] lkdtm_REFCOUNT_DEC_ZERO+0x4d/0xbd # [ 45.840744] direct_entry.cold+0x2c/0x38 # [ 45.845137] full_proxy_write+0x53/0x80 # [ 45.855625] vfs_write+0xe7/0x3a0 # [ 45.859348] ksys_write+0x68/0xf0 # [ 45.863050] do_syscall_64+0x30/0x40 # [ 45.867066] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 45.872709] RIP: 0033:0x7fde1ba71833 # [ 45.876699] 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 # [ 45.897682] RSP: 002b:00007fff3649b0d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 45.906138] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fde1ba71833 # [ 45.914108] RDX: 0000000000000012 RSI: 00007fde1b964000 RDI: 0000000000000001 # [ 45.922079] RBP: 00007fde1b964000 R08: 00007fde1b963010 R09: 0000000000000000 # [ 45.930051] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 45.938021] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 45.946013] irq event stamp: 0 # [ 45.949429] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 45.962638] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 45.971775] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 45.980912] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 45.987911] ---[ end trace 5fbbb9d5c0737d15 ]--- # [ 45.993067] 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 # [ 46.106857] lkdtm: Performing direct entry REFCOUNT_DEC_NEGATIVE # [ 46.116464] lkdtm: attempting bad refcount_dec() below zero # [ 46.128931] ------------[ cut here ]------------ # [ 46.140341] refcount_t: decrement hit 0; leaking memory. # [ 46.152565] WARNING: CPU: 0 PID: 2140 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 46.168137] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 46.200873] CPU: 0 PID: 2140 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 46.215696] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 46.228713] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 46.240748] Code: e8 61 c5 8f c6 05 be fb 93 01 01 e8 61 f0 97 00 0f 0b c3 cc cc cc cc 48 c7 c7 b8 61 c5 8f c6 05 a5 fb 93 01 01 e8 47 f0 97 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 46.267954] RSP: 0018:ffff91a382b0fe48 EFLAGS: 00010286 # [ 46.279990] RAX: 0000000000000000 RBX: 0000000000000030 RCX: 0000000000000000 # [ 46.294204] RDX: ffff8a8b7ac2c660 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 # [ 46.308369] RBP: ffffffff8fcbaae3 R08: 0000000000000000 R09: 0000000000000000 # [ 46.322570] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 46.336740] R13: ffff91a382b0ff10 R14: ffff91a382b0ff10 R15: ffff8a8b02670000 # [ 46.350939] FS: 00007f2cb4924580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 46.366181] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 46.378829] CR2: 00007f2cb472d000 CR3: 0000000100ffc002 CR4: 00000000003706f0 # [ 46.393006] Call Trace: # [ 46.401973] lkdtm_REFCOUNT_DEC_NEGATIVE+0x37/0x61 # [ 46.413519] direct_entry.cold+0x2c/0x38 # [ 46.424125] full_proxy_write+0x53/0x80 # [ 46.434611] vfs_write+0xe7/0x3a0 # [ 46.444547] ksys_write+0x68/0xf0 # [ 46.454441] do_syscall_64+0x30/0x40 # [ 46.464671] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 46.476514] RIP: 0033:0x7f2cb483a833 # [ 46.486721] 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 # [ 46.513910] RSP: 002b:00007ffe574f11d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 46.528610] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f2cb483a833 # [ 46.542775] RDX: 0000000000000016 RSI: 00007f2cb472d000 RDI: 0000000000000001 # [ 46.556977] RBP: 00007f2cb472d000 R08: 00007f2cb472c010 R09: 0000000000000000 # [ 46.571156] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 46.585344] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 46.599521] irq event stamp: 0 # [ 46.609155] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 46.622353] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 46.637702] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 46.653052] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 46.666280] ---[ end trace 5fbbb9d5c0737d16 ]--- # [ 46.677640] lkdtm: Negative detected: saturated # REFCOUNT_DEC_NEGATIVE: saw 'Negative detected: saturated': ok ok 47 selftests: lkdtm: REFCOUNT_DEC_NEGATIVE.sh # selftests: lkdtm: REFCOUNT_DEC_AND_TEST_NEGATIVE.sh # [ 46.800248] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_NEGATIVE # [ 46.808394] lkdtm: attempting bad refcount_dec_and_test() below zero # [ 46.815499] ------------[ cut here ]------------ # [ 46.820662] refcount_t: underflow; use-after-free. # [ 46.826039] WARNING: CPU: 2 PID: 2175 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 46.835478] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 46.868108] CPU: 2 PID: 2175 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 46.876756] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 46.883563] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 46.889399] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 # [ 46.910378] RSP: 0018:ffff91a382b8fe40 EFLAGS: 00010286 # [ 46.916214] RAX: 0000000000000000 RBX: 0000000000000031 RCX: 0000000000000000 # [ 46.924188] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 # [ 46.938369] RBP: ffffffff8fcba738 R08: 0000000000000000 R09: 0000000000000000 # [ 46.946340] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 46.954313] R13: ffff91a382b8ff10 R14: ffff91a382b8ff10 R15: ffff8a8b04f5a000 # [ 46.968500] FS: 00007f1486994580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 46.983754] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 46.990174] CR2: 00007f148679d000 CR3: 0000000103f2e005 CR4: 00000000003706e0 # [ 47.004356] Call Trace: # [ 47.007087] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 47.013260] lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE+0x3e/0x78 # [ 47.019499] direct_entry.cold+0x2c/0x38 # [ 47.023881] full_proxy_write+0x53/0x80 # [ 47.028205] vfs_write+0xe7/0x3a0 # [ 47.031915] ksys_write+0x68/0xf0 # [ 47.041849] do_syscall_64+0x30/0x40 # [ 47.045854] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 47.057701] RIP: 0033:0x7f14868aa833 # [ 47.061692] 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 # [ 47.082674] RSP: 002b:00007ffe5e7dbd28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 47.091131] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f14868aa833 # [ 47.099103] RDX: 000000000000001f RSI: 00007f148679d000 RDI: 0000000000000001 # [ 47.107074] RBP: 00007f148679d000 R08: 00007f148679c010 R09: 0000000000000000 # [ 47.115045] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 47.123016] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 47.130991] irq event stamp: 0 # [ 47.134427] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 47.141428] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 47.150564] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 47.159700] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 47.166701] ---[ end trace 5fbbb9d5c0737d17 ]--- # [ 47.171856] 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 # [ 47.317297] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_NEGATIVE # [ 47.327614] lkdtm: attempting bad refcount_sub_and_test() below zero # [ 47.334744] ------------[ cut here ]------------ # [ 47.339901] refcount_t: underflow; use-after-free. # [ 47.345298] WARNING: CPU: 2 PID: 2210 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 47.354735] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 47.387364] CPU: 2 PID: 2210 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 47.396039] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 47.402845] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 47.408680] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 # [ 47.429661] RSP: 0018:ffff91a382be7e40 EFLAGS: 00010286 # [ 47.435496] RAX: 0000000000000000 RBX: 0000000000000032 RCX: 0000000000000000 # [ 47.443466] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 # [ 47.451439] RBP: ffffffff8fcba758 R08: 0000000000000000 R09: 0000000000000000 # [ 47.459409] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 47.467378] R13: ffff91a382be7f10 R14: ffff91a382be7f10 R15: ffff8a8b04caa000 # [ 47.475339] FS: 00007f844558b580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 47.484378] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 47.490795] CR2: 00007f8445394000 CR3: 0000000104fe2004 CR4: 00000000003706e0 # [ 47.498766] Call Trace: # [ 47.501498] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 47.507656] lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE+0x3e/0x7b # [ 47.513881] direct_entry.cold+0x2c/0x38 # [ 47.518286] full_proxy_write+0x53/0x80 # [ 47.522595] vfs_write+0xe7/0x3a0 # [ 47.526296] ksys_write+0x68/0xf0 # [ 47.529997] do_syscall_64+0x30/0x40 # [ 47.534008] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 47.539648] RIP: 0033:0x7f84454a1833 # [ 47.543638] 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 # [ 47.564620] RSP: 002b:00007ffd4d1b0248 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 47.573075] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f84454a1833 # [ 47.581046] RDX: 000000000000001f RSI: 00007f8445394000 RDI: 0000000000000001 # [ 47.589018] RBP: 00007f8445394000 R08: 00007f8445393010 R09: 0000000000000000 # [ 47.596989] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 47.611174] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 47.625364] irq event stamp: 0 # [ 47.628803] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 47.635805] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 47.644943] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 47.654080] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 47.661081] ---[ end trace 5fbbb9d5c0737d18 ]--- # [ 47.666258] 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 # [ 47.778460] lkdtm: Performing direct entry REFCOUNT_INC_ZERO # [ 47.789588] lkdtm: attempting safe refcount_inc_not_zero() from zero # [ 47.796687] lkdtm: Good: zero detected # [ 47.800874] lkdtm: Correctly stayed at zero # [ 47.805545] lkdtm: attempting bad refcount_inc() from zero # [ 47.811673] ------------[ cut here ]------------ # [ 47.816854] refcount_t: addition on 0; use-after-free. # [ 47.822620] WARNING: CPU: 3 PID: 2242 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 # [ 47.832055] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 47.864686] CPU: 3 PID: 2242 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 47.873360] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 47.880171] RIP: 0010:refcount_warn_saturate+0x74/0x110 # [ 47.892223] Code: 01 01 e8 f1 f0 97 00 0f 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 8f c6 05 2e fc 93 01 01 e8 ce f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 # [ 47.919422] RSP: 0018:ffff91a382c8fe48 EFLAGS: 00010286 # [ 47.925288] RAX: 0000000000000000 RBX: 0000000000000033 RCX: 0000000000000000 # [ 47.933267] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 # [ 47.941235] RBP: ffffffff8fcbaaf9 R08: 0000000000000000 R09: 0000000000000000 # [ 47.949267] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 47.957264] R13: ffff91a382c8ff10 R14: ffff91a382c8ff10 R15: ffff8a8b04f6e000 # [ 47.965235] FS: 00007f38c4fc6580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 47.974275] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 47.980691] CR2: 00007f38c4dcf000 CR3: 00000001034cc003 CR4: 00000000003706e0 # [ 47.988662] Call Trace: # [ 47.991394] lkdtm_REFCOUNT_INC_ZERO+0x99/0xc1 # [ 47.996381] direct_entry.cold+0x2c/0x38 # [ 48.000784] full_proxy_write+0x53/0x80 # [ 48.005068] vfs_write+0xe7/0x3a0 # [ 48.008793] ksys_write+0x68/0xf0 # [ 48.012494] do_syscall_64+0x30/0x40 # [ 48.016484] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 48.022125] RIP: 0033:0x7f38c4edc833 # [ 48.026115] 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 # [ 48.047098] RSP: 002b:00007fffd8c16308 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 48.055556] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f38c4edc833 # [ 48.063527] RDX: 0000000000000012 RSI: 00007f38c4dcf000 RDI: 0000000000000001 # [ 48.071498] RBP: 00007f38c4dcf000 R08: 00007f38c4dce010 R09: 0000000000000000 # [ 48.079470] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 48.087441] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 48.095417] irq event stamp: 0 # [ 48.098852] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 48.112061] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 48.121212] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 48.130352] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 48.143560] ---[ end trace 5fbbb9d5c0737d19 ]--- # [ 48.148717] 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 # [ 48.303507] lkdtm: Performing direct entry REFCOUNT_ADD_ZERO # [ 48.315098] lkdtm: attempting safe refcount_add_not_zero() from zero # [ 48.322205] lkdtm: Good: zero detected # [ 48.326396] lkdtm: Correctly stayed at zero # [ 48.331066] lkdtm: attempting bad refcount_add() from zero # [ 48.337216] ------------[ cut here ]------------ # [ 48.348591] refcount_t: addition on 0; use-after-free. # [ 48.360561] WARNING: CPU: 3 PID: 2274 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 # [ 48.376202] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 48.408846] CPU: 3 PID: 2274 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 48.423716] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 48.436747] RIP: 0010:refcount_warn_saturate+0x74/0x110 # [ 48.448802] Code: 01 01 e8 f1 f0 97 00 0f 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 8f c6 05 2e fc 93 01 01 e8 ce f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 # [ 48.476007] RSP: 0018:ffff91a382d17e48 EFLAGS: 00010286 # [ 48.488061] RAX: 0000000000000000 RBX: 0000000000000034 RCX: 0000000000000000 # [ 48.502251] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 # [ 48.516442] RBP: ffffffff8fcbab0b R08: 0000000000000000 R09: 0000000000000000 # [ 48.530634] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 48.544823] R13: ffff91a382d17f10 R14: ffff91a382d17f10 R15: ffff8a8b04f89000 # [ 48.559018] FS: 00007f6457ab6580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 48.574277] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 48.586918] CR2: 00007f64578bf000 CR3: 0000000105798002 CR4: 00000000003706e0 # [ 48.601110] Call Trace: # [ 48.610057] lkdtm_REFCOUNT_ADD_ZERO+0x99/0xc1 # [ 48.621235] direct_entry.cold+0x2c/0x38 # [ 48.631832] full_proxy_write+0x53/0x80 # [ 48.642332] vfs_write+0xe7/0x3a0 # [ 48.652248] ksys_write+0x68/0xf0 # [ 48.662164] do_syscall_64+0x30/0x40 # [ 48.672370] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 48.684229] RIP: 0033:0x7f64579cc833 # [ 48.694436] 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 # [ 48.721644] RSP: 002b:00007fffc6086808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 48.736319] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f64579cc833 # [ 48.750510] RDX: 0000000000000012 RSI: 00007f64578bf000 RDI: 0000000000000001 # [ 48.764701] RBP: 00007f64578bf000 R08: 00007f64578be010 R09: 0000000000000000 # [ 48.778894] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 48.793086] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 48.807283] irq event stamp: 0 # [ 48.816905] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 48.830124] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 48.845481] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 48.860839] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 48.874058] ---[ end trace 5fbbb9d5c0737d1a ]--- # [ 48.885435] 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 # [ 49.013705] lkdtm: Performing direct entry REFCOUNT_INC_SATURATED # [ 49.021232] lkdtm: attempting bad refcount_inc() from saturated # [ 49.034057] ------------[ cut here ]------------ # [ 49.045428] refcount_t: saturated; leaking memory. # [ 49.057004] WARNING: CPU: 1 PID: 2309 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 49.072630] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 49.105275] CPU: 1 PID: 2309 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 49.120141] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 49.133165] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 49.145240] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 # [ 49.172442] RSP: 0018:ffff91a382d97e48 EFLAGS: 00010286 # [ 49.184492] RAX: 0000000000000000 RBX: 0000000000000035 RCX: 0000000000000000 # [ 49.192466] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 # [ 49.206675] RBP: ffffffff8fcbab1d R08: 0000000000000000 R09: 0000000000000000 # [ 49.220844] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 49.235030] R13: ffff91a382d97f10 R14: ffff91a382d97f10 R15: ffff8a8b05c97000 # [ 49.243007] FS: 00007f1394e4b580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 49.258268] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 49.264689] CR2: 00007f1394c54000 CR3: 00000001028de005 CR4: 00000000003706e0 # [ 49.278872] Call Trace: # [ 49.281606] lkdtm_REFCOUNT_INC_SATURATED+0x3c/0x64 # [ 49.293266] direct_entry.cold+0x2c/0x38 # [ 49.303863] full_proxy_write+0x53/0x80 # [ 49.314386] vfs_write+0xe7/0x3a0 # [ 49.324302] ksys_write+0x68/0xf0 # [ 49.334221] do_syscall_64+0x30/0x40 # [ 49.344425] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 49.350069] RIP: 0033:0x7f1394d61833 # [ 49.360268] 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 # [ 49.381266] RSP: 002b:00007ffee0ad76c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 49.395932] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f1394d61833 # [ 49.403906] RDX: 0000000000000017 RSI: 00007f1394c54000 RDI: 0000000000000001 # [ 49.418091] RBP: 00007f1394c54000 R08: 00007f1394c53010 R09: 0000000000000000 # [ 49.432281] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 49.446470] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 49.454466] irq event stamp: 0 # [ 49.464062] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 49.471067] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 49.486412] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 49.495552] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 49.508761] ---[ end trace 5fbbb9d5c0737d1b ]--- # [ 49.513920] 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 # [ 49.646073] lkdtm: Performing direct entry REFCOUNT_DEC_SATURATED # [ 49.657106] lkdtm: attempting bad refcount_dec() from saturated # [ 49.663733] ------------[ cut here ]------------ # [ 49.675095] refcount_t: decrement hit 0; leaking memory. # [ 49.681057] WARNING: CPU: 3 PID: 2344 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 49.690496] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 49.723132] CPU: 3 PID: 2344 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 49.731812] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 49.744829] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 49.750688] Code: e8 61 c5 8f c6 05 be fb 93 01 01 e8 61 f0 97 00 0f 0b c3 cc cc cc cc 48 c7 c7 b8 61 c5 8f c6 05 a5 fb 93 01 01 e8 47 f0 97 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 49.771687] RSP: 0018:ffff91a382e0fe48 EFLAGS: 00010286 # [ 49.783726] RAX: 0000000000000000 RBX: 0000000000000036 RCX: 0000000000000000 # [ 49.791699] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 # [ 49.799671] RBP: ffffffff8fcbab34 R08: 0000000000000000 R09: 0000000000000000 # [ 49.807643] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 49.815614] R13: ffff91a382e0ff10 R14: ffff91a382e0ff10 R15: ffff8a8b05c8b000 # [ 49.823588] FS: 00007f1717d8e580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 49.832628] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 49.839047] CR2: 00007f1717b97000 CR3: 0000000105798002 CR4: 00000000003706e0 # [ 49.847019] Call Trace: # [ 49.849750] lkdtm_REFCOUNT_DEC_SATURATED+0x37/0x5f # [ 49.855228] direct_entry.cold+0x2c/0x38 # [ 49.865818] full_proxy_write+0x53/0x80 # [ 49.870134] vfs_write+0xe7/0x3a0 # [ 49.873864] ksys_write+0x68/0xf0 # [ 49.877590] do_syscall_64+0x30/0x40 # [ 49.881613] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 49.887279] RIP: 0033:0x7f1717ca4833 # [ 49.891270] 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 # [ 49.912262] RSP: 002b:00007ffcb9aea498 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 49.920722] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f1717ca4833 # [ 49.928693] RDX: 0000000000000017 RSI: 00007f1717b97000 RDI: 0000000000000001 # [ 49.936666] RBP: 00007f1717b97000 R08: 00007f1717b96010 R09: 0000000000000000 # [ 49.944639] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 49.952612] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 49.960608] irq event stamp: 0 # [ 49.964028] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 49.977239] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 49.992591] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 50.001753] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 50.008755] ---[ end trace 5fbbb9d5c0737d1c ]--- # [ 50.013913] 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 # [ 50.148025] lkdtm: Performing direct entry REFCOUNT_ADD_SATURATED # [ 50.157208] lkdtm: attempting bad refcount_dec() from saturated # [ 50.163841] ------------[ cut here ]------------ # [ 50.175198] refcount_t: saturated; leaking memory. # [ 50.180581] WARNING: CPU: 2 PID: 2379 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 50.190019] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 50.222653] CPU: 2 PID: 2379 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 50.231328] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 50.238135] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 50.243972] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d 62 fc 93 01 00 75 ee 48 c7 c7 38 61 c5 8f c6 05 52 fc 93 01 01 e8 f1 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d 3e fc 93 01 00 75 cb 48 c7 c7 60 61 c5 # [ 50.264961] RSP: 0018:ffff91a382e97e48 EFLAGS: 00010286 # [ 50.270826] RAX: 0000000000000000 RBX: 0000000000000037 RCX: 0000000000000000 # [ 50.285007] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 # [ 50.293004] RBP: ffffffff8fcbab4b R08: 0000000000000000 R09: 0000000000000000 # [ 50.300999] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 50.308995] R13: ffff91a382e97f10 R14: ffff91a382e97f10 R15: ffff8a8b04e6b000 # [ 50.316974] FS: 00007f96fafcd580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 50.332221] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 50.338639] CR2: 00007f96fadd6000 CR3: 000000010552e004 CR4: 00000000003706e0 # [ 50.346612] Call Trace: # [ 50.349344] lkdtm_REFCOUNT_ADD_SATURATED+0x3c/0x64 # [ 50.354822] direct_entry.cold+0x2c/0x38 # [ 50.359249] full_proxy_write+0x53/0x80 # [ 50.363565] vfs_write+0xe7/0x3a0 # [ 50.367297] ksys_write+0x68/0xf0 # [ 50.371023] do_syscall_64+0x30/0x40 # [ 50.375044] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 50.380711] RIP: 0033:0x7f96faee3833 # [ 50.384703] 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.405685] RSP: 002b:00007ffc4fad4d98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 50.414146] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f96faee3833 # [ 50.422119] RDX: 0000000000000017 RSI: 00007f96fadd6000 RDI: 0000000000000001 # [ 50.430092] RBP: 00007f96fadd6000 R08: 00007f96fadd5010 R09: 0000000000000000 # [ 50.438065] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 50.446037] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 50.454032] irq event stamp: 0 # [ 50.457450] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 50.470662] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 50.479801] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 50.488940] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 50.495940] ---[ end trace 5fbbb9d5c0737d1d ]--- # [ 50.501097] 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 # [ 50.636172] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_SATURATED # [ 50.645266] lkdtm: attempting bad refcount_inc_not_zero() from saturated # [ 50.658940] ------------[ cut here ]------------ # [ 50.670352] refcount_t: saturated; leaking memory. # [ 50.681965] WARNING: CPU: 0 PID: 2411 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 50.697567] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 50.730288] CPU: 0 PID: 2411 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 50.745181] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 50.758214] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 50.770230] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 # [ 50.797444] RSP: 0018:ffff91a382f17e38 EFLAGS: 00010282 # [ 50.809493] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 # [ 50.823683] RDX: ffff8a8b7ac2c660 RSI: ffff8a8b7ac1bf70 RDI: ffff8a8b7ac1bf70 # [ 50.837876] RBP: ffffffff8fcba778 R08: 0000000000000000 R09: 0000000000000000 # [ 50.852075] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 50.866255] R13: ffff91a382f17f10 R14: ffff91a382f17f10 R15: ffff8a8b05ea5000 # [ 50.880459] FS: 00007f3d2a5e9580(0000) GS:ffff8a8b7ac00000(0000) knlGS:0000000000000000 # [ 50.895701] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 50.908365] CR2: 00007f3d2a3f2000 CR3: 0000000105426005 CR4: 00000000003706f0 # [ 50.922534] Call Trace: # [ 50.931498] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 50.943826] lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED+0x3e/0x76 # [ 50.956377] direct_entry.cold+0x2c/0x38 # [ 50.966962] full_proxy_write+0x53/0x80 # [ 50.977491] vfs_write+0xe7/0x3a0 # [ 50.987384] ksys_write+0x68/0xf0 # [ 50.997310] do_syscall_64+0x30/0x40 # [ 51.007534] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 51.019388] RIP: 0033:0x7f3d2a4ff833 # [ 51.029577] 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.056814] RSP: 002b:00007ffdc6f3acc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 51.071474] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f3d2a4ff833 # [ 51.085693] RDX: 0000000000000020 RSI: 00007f3d2a3f2000 RDI: 0000000000000001 # [ 51.099865] RBP: 00007f3d2a3f2000 R08: 00007f3d2a3f1010 R09: 0000000000000000 # [ 51.114055] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 51.128297] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 51.142436] irq event stamp: 0 # [ 51.152068] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 51.165281] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.180641] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.195989] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 51.209223] ---[ end trace 5fbbb9d5c0737d1e ]--- # [ 51.220578] 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 # [ 51.368760] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_SATURATED # [ 51.377038] lkdtm: attempting bad refcount_add_not_zero() from saturated # [ 51.384539] ------------[ cut here ]------------ # [ 51.389708] refcount_t: saturated; leaking memory. # [ 51.395080] WARNING: CPU: 2 PID: 2443 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 51.404519] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 51.430993] CPU: 2 PID: 2443 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 51.445858] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 51.452698] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 51.458537] Code: 01 01 e8 ce f0 97 00 0f 0b c3 cc cc cc cc 80 3d 1d fc 93 01 00 75 a8 48 c7 c7 38 61 c5 8f c6 05 0d fc 93 01 01 e8 ab f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 # [ 51.479558] RSP: 0018:ffff91a382fafe38 EFLAGS: 00010282 # [ 51.485397] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 # [ 51.493371] RDX: ffff8a8b7ad2c660 RSI: ffff8a8b7ad1bf70 RDI: ffff8a8b7ad1bf70 # [ 51.501348] RBP: ffffffff8fcba798 R08: 0000000000000000 R09: 0000000000000000 # [ 51.509353] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 51.517330] R13: ffff91a382faff10 R14: ffff91a382faff10 R15: ffff8a8b00ff9000 # [ 51.531516] FS: 00007f2e851aa580(0000) GS:ffff8a8b7ad00000(0000) knlGS:0000000000000000 # [ 51.546778] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 51.559412] CR2: 00007f2e84fb3000 CR3: 0000000103292005 CR4: 00000000003706e0 # [ 51.567408] Call Trace: # [ 51.570141] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 51.576304] lkdtm_REFCOUNT_ADD_NOT_ZERO_SATURATED+0x3e/0x76 # [ 51.582660] direct_entry.cold+0x2c/0x38 # [ 51.587072] full_proxy_write+0x53/0x80 # [ 51.591380] vfs_write+0xe7/0x3a0 # [ 51.595112] ksys_write+0x68/0xf0 # [ 51.598841] do_syscall_64+0x30/0x40 # [ 51.602847] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 51.614695] RIP: 0033:0x7f2e850c0833 # [ 51.618719] 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.639709] RSP: 002b:00007ffd6d53dbf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 51.648170] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f2e850c0833 # [ 51.656146] RDX: 0000000000000020 RSI: 00007f2e84fb3000 RDI: 0000000000000001 # [ 51.664120] RBP: 00007f2e84fb3000 R08: 00007f2e84fb2010 R09: 0000000000000000 # [ 51.672094] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 51.680070] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 51.688050] irq event stamp: 0 # [ 51.691488] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 51.698492] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.713849] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 51.722989] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 51.729995] ---[ end trace 5fbbb9d5c0737d1f ]--- # [ 51.735153] 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 # [ 51.865713] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_SATURATED # [ 51.879268] lkdtm: attempting bad refcount_dec_and_test() from saturated # [ 51.892972] ------------[ cut here ]------------ # [ 51.904337] refcount_t: underflow; use-after-free. # [ 51.915939] WARNING: CPU: 1 PID: 2478 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 51.931551] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 51.964214] CPU: 1 PID: 2478 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 51.979078] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 51.985891] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 51.997936] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 # [ 52.025137] RSP: 0018:ffff91a383037e40 EFLAGS: 00010286 # [ 52.037213] RAX: 0000000000000000 RBX: 000000000000003a RCX: 0000000000000000 # [ 52.051398] RDX: ffff8a8b7acac660 RSI: ffff8a8b7ac9bf70 RDI: ffff8a8b7ac9bf70 # [ 52.065589] RBP: ffffffff8fcba7b8 R08: 0000000000000000 R09: 0000000000000000 # [ 52.079780] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 52.093968] R13: ffff91a383037f10 R14: ffff91a383037f10 R15: ffff8a8b032fe000 # [ 52.101944] FS: 00007f6097264580(0000) GS:ffff8a8b7ac80000(0000) knlGS:0000000000000000 # [ 52.117215] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 52.129853] CR2: 00007f609706d000 CR3: 000000010326e004 CR4: 00000000003706e0 # [ 52.144045] Call Trace: # [ 52.146781] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 52.159118] lkdtm_REFCOUNT_DEC_AND_TEST_SATURATED+0x3e/0x76 # [ 52.171678] direct_entry.cold+0x2c/0x38 # [ 52.182273] full_proxy_write+0x53/0x80 # [ 52.192789] vfs_write+0xe7/0x3a0 # [ 52.202686] ksys_write+0x68/0xf0 # [ 52.212603] do_syscall_64+0x30/0x40 # [ 52.222833] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 52.234688] RIP: 0033:0x7f609717a833 # [ 52.244875] 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.272081] RSP: 002b:00007ffd45c51af8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 52.286760] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f609717a833 # [ 52.300948] RDX: 0000000000000020 RSI: 00007f609706d000 RDI: 0000000000000001 # [ 52.315138] RBP: 00007f609706d000 R08: 00007f609706c010 R09: 0000000000000000 # [ 52.329328] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 52.337304] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 52.351514] irq event stamp: 0 # [ 52.361118] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 52.372588] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 52.381752] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 52.396518] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 52.403550] ---[ end trace 5fbbb9d5c0737d20 ]--- # [ 52.412883] 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 # [ 52.568256] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_SATURATED # [ 52.582001] lkdtm: attempting bad refcount_sub_and_test() from saturated # [ 52.589491] ------------[ cut here ]------------ # [ 52.594677] refcount_t: underflow; use-after-free. # [ 52.600054] WARNING: CPU: 3 PID: 2513 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 52.609493] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_sysfs cros_ec_debugfs cros_ec_lightbar cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 52.642129] CPU: 3 PID: 2513 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 52.650804] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 52.657611] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 52.663448] Code: 01 01 e8 ab f0 97 00 0f 0b c3 cc cc cc cc 80 3d f7 fb 93 01 00 75 85 48 c7 c7 90 61 c5 8f c6 05 e7 fb 93 01 01 e8 88 f0 97 00 <0f> 0b c3 cc cc cc cc 80 3d d2 fb 93 01 00 0f 85 5e ff ff ff 48 c7 # [ 52.684430] RSP: 0018:ffff91a3830cfe40 EFLAGS: 00010286 # [ 52.690266] RAX: 0000000000000000 RBX: 000000000000003b RCX: 0000000000000000 # [ 52.698252] RDX: ffff8a8b7adac660 RSI: ffff8a8b7ad9bf70 RDI: ffff8a8b7ad9bf70 # [ 52.706264] RBP: ffffffff8fcba7d8 R08: 0000000000000000 R09: 0000000000000000 # [ 52.714249] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 52.722262] R13: ffff91a3830cff10 R14: ffff91a3830cff10 R15: ffff8a8b03313000 # [ 52.730250] FS: 00007fc0c16b6580(0000) GS:ffff8a8b7ad80000(0000) knlGS:0000000000000000 # [ 52.739322] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 52.745740] CR2: 00007fc0c14bf000 CR3: 000000010273a002 CR4: 00000000003706e0 # [ 52.753711] Call Trace: # [ 52.756443] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 52.762596] lkdtm_REFCOUNT_SUB_AND_TEST_SATURATED+0x3e/0x76 # [ 52.768920] direct_entry.cold+0x2c/0x38 # [ 52.773325] full_proxy_write+0x53/0x80 # [ 52.777641] vfs_write+0xe7/0x3a0 # [ 52.781366] ksys_write+0x68/0xf0 # [ 52.785069] do_syscall_64+0x30/0x40 # [ 52.789061] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 52.794705] RIP: 0033:0x7fc0c15cc833 # [ 52.798695] 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.819683] RSP: 002b:00007ffeab07ffe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 52.828141] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007fc0c15cc833 # [ 52.836111] RDX: 0000000000000020 RSI: 00007fc0c14bf000 RDI: 0000000000000001 # [ 52.844085] RBP: 00007fc0c14bf000 R08: 00007fc0c14be010 R09: 0000000000000000 # [ 52.852059] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 52.866249] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 52.880459] irq event stamp: 0 # [ 52.883877] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 52.897089] hardirqs last disabled at (0): [] copy_process+0x664/0x1cb0 # [ 52.906228] softirqs last enabled at (0): [] copy_process+0x664/0x1cb0 # [ 52.915365] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 52.922389] ---[ end trace 5fbbb9d5c0737d21 ]--- # [ 52.927560] 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 # [ 53.125700] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_TO # [ 53.132943] lkdtm: attempting good copy_to_user of correct size # [ 53.145789] 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 # [ 53.296494] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_FROM # [ 53.308565] lkdtm: attempting good copy_from_user of correct size # [ 53.321597] 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 # [ 53.455809] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_TO # [ 53.466222] lkdtm: attempting good copy_to_user inside whitelist # [ 53.479182] 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 # [ 53.600910] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_FROM # [ 53.611467] lkdtm: attempting good copy_from_user inside whitelist # [ 53.624613] 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 # [ 53.762153] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_TO # [ 53.775338] lkdtm: good_stack: ffff91a3833b7e20-ffff91a3833b7e40 # [ 53.788251] lkdtm: bad_stack : ffff91a3833b7da8-ffff91a3833b7dc8 # [ 53.801210] lkdtm: attempting good copy_to_user of local stack # [ 53.813901] 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 # [ 53.957617] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_FROM # [ 53.970583] lkdtm: good_stack: ffff91a3834afe20-ffff91a3834afe40 # [ 53.977298] lkdtm: bad_stack : ffff91a3834afda8-ffff91a3834afdc8 # [ 53.984049] lkdtm: attempting good copy_from_user of local stack # [ 53.996958] 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 # [ 54.139848] lkdtm: Performing direct entry USERCOPY_STACK_BEYOND # [ 54.147293] lkdtm: good_stack: ffff91a383537e20-ffff91a383537e40 # [ 54.154015] lkdtm: bad_stack : ffff91a383537ff8-ffff91a383538018 # [ 54.166954] lkdtm: attempting good copy_to_user of local stack # [ 54.179693] lkdtm: attempting bad copy_to_user of distant stack # [ 54.186319] 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 # [ 54.329278] lkdtm: Performing direct entry USERCOPY_KERNEL # [ 54.341354] lkdtm: attempting good copy_to_user from kernel rodata: ffffffff8f8d15b0 # [ 54.350025] lkdtm: attempting bad copy_to_user from kernel text: ffffffff8e4e3d80 # [ 54.358395] 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 # [ 54.504088] lkdtm: Performing direct entry STACKLEAK_ERASING # [ 54.513252] lkdtm: checking unused part of the thread stack (15928 bytes)... # [ 54.527366] lkdtm: FAIL: the erased part is not found (checked 15928 bytes) # [ 54.541338] lkdtm: FAIL: the thread stack is NOT properly erased # [ 54.548052] CPU: 1 PID: 2878 Comm: cat Tainted: G D W 5.10.172-cip27 #1 # [ 54.562912] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 54.569718] Call Trace: # [ 54.572442] dump_stack+0x77/0x9b # [ 54.582357] lkdtm_STACKLEAK_ERASING+0x116/0x144 # [ 54.587514] direct_entry.cold+0x2c/0x38 # [ 54.598106] full_proxy_write+0x53/0x80 # [ 54.602390] vfs_write+0xe7/0x3a0 # [ 54.612299] ksys_write+0x68/0xf0 # [ 54.616000] do_syscall_64+0x30/0x40 # [ 54.619990] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 54.631845] RIP: 0033:0x7f95b5e43833 # [ 54.635834] 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.656811] RSP: 002b:00007ffed8977018 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 54.665268] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f95b5e43833 # [ 54.673239] RDX: 0000000000000012 RSI: 00007f95b5d36000 RDI: 0000000000000001 # [ 54.681212] RBP: 00007f95b5d36000 R08: 00007f95b5d35010 R09: 0000000000000000 # [ 54.689183] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 54.697177] 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 # [ 54.836758] lkdtm: Performing direct entry CFI_FORWARD_PROTO # [ 54.848251] lkdtm: Calling matched prototype ... # [ 54.859627] lkdtm: Calling mismatched prototype ... # [ 54.871308] 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 lkdtm_PANIC_sh skip lkdtm_BUG_sh pass lkdtm_WARNING_sh pass lkdtm_WARNING_MESSAGE_sh pass lkdtm_EXCEPTION_sh pass lkdtm_LOOP_sh skip lkdtm_EXHAUST_STACK_sh skip lkdtm_CORRUPT_STACK_sh skip lkdtm_CORRUPT_STACK_STRONG_sh skip lkdtm_CORRUPT_LIST_ADD_sh fail lkdtm_CORRUPT_LIST_DEL_sh fail lkdtm_STACK_GUARD_PAGE_LEADING_sh pass lkdtm_STACK_GUARD_PAGE_TRAILING_sh pass lkdtm_UNSET_SMEP_sh pass lkdtm_DOUBLE_FAULT_sh skip lkdtm_CORRUPT_PAC_sh skip lkdtm_UNALIGNED_LOAD_STORE_WRITE_sh skip lkdtm_OVERWRITE_ALLOCATION_sh skip lkdtm_WRITE_AFTER_FREE_sh skip lkdtm_READ_AFTER_FREE_sh fail lkdtm_WRITE_BUDDY_AFTER_FREE_sh skip lkdtm_READ_BUDDY_AFTER_FREE_sh fail lkdtm_SLAB_FREE_DOUBLE_sh fail lkdtm_SLAB_FREE_CROSS_sh fail lkdtm_SLAB_FREE_PAGE_sh fail lkdtm_SOFTLOCKUP_sh skip lkdtm_HARDLOCKUP_sh skip lkdtm_SPINLOCKUP_sh skip lkdtm_HUNG_TASK_sh skip lkdtm_EXEC_DATA_sh pass lkdtm_EXEC_STACK_sh pass lkdtm_EXEC_KMALLOC_sh pass lkdtm_EXEC_VMALLOC_sh pass lkdtm_EXEC_RODATA_sh pass lkdtm_EXEC_USERSPACE_sh pass lkdtm_EXEC_NULL_sh pass lkdtm_ACCESS_USERSPACE_sh pass lkdtm_ACCESS_NULL_sh pass lkdtm_WRITE_RO_sh pass lkdtm_WRITE_RO_AFTER_INIT_sh pass lkdtm_WRITE_KERN_sh pass lkdtm_REFCOUNT_INC_OVERFLOW_sh pass lkdtm_REFCOUNT_ADD_OVERFLOW_sh pass lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW_sh pass lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW_sh pass lkdtm_REFCOUNT_DEC_ZERO_sh pass lkdtm_REFCOUNT_DEC_NEGATIVE_sh pass lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE_sh pass lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE_sh pass lkdtm_REFCOUNT_INC_ZERO_sh pass lkdtm_REFCOUNT_ADD_ZERO_sh pass lkdtm_REFCOUNT_INC_SATURATED_sh pass lkdtm_REFCOUNT_DEC_SATURATED_sh pass lkdtm_REFCOUNT_ADD_SATURATED_sh pass lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED_sh pass lkdtm_REFCOUNT_ADD_NOT_ZERO_SATURATED_sh pass lkdtm_REFCOUNT_DEC_AND_TEST_SATURATED_sh pass lkdtm_REFCOUNT_SUB_AND_TEST_SATURATED_sh pass lkdtm_REFCOUNT_TIMING_sh skip lkdtm_ATOMIC_TIMING_sh skip lkdtm_USERCOPY_HEAP_SIZE_TO_sh fail lkdtm_USERCOPY_HEAP_SIZE_FROM_sh fail lkdtm_USERCOPY_HEAP_WHITELIST_TO_sh fail lkdtm_USERCOPY_HEAP_WHITELIST_FROM_sh fail lkdtm_USERCOPY_STACK_FRAME_TO_sh fail lkdtm_USERCOPY_STACK_FRAME_FROM_sh fail lkdtm_USERCOPY_STACK_BEYOND_sh fail lkdtm_USERCOPY_KERNEL_sh fail lkdtm_STACKLEAK_ERASING_sh fail lkdtm_CFI_FORWARD_PROTO_sh fail + ../../utils/send-to-lava.sh ./output/result.txt + set +x / #