[Enter `^Ec?' for help] coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 bootblock starting... CPU: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz CPU: ID 806e9, Kabylake H0, ucode: 00000097 CPU: AES supported, TXT NOT supported, VT supported MCH: device id 590c (rev 02) is Kabylake-Y PCH: device id 9d4b (rev 21) is Kabylake-Y iHDCP 2.2 Premium IGD: device id 591c (rev 02) is Amberlake ULX GT2 VBOOT: Loading verstage. CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fallback/verstage' CBFS: Found @ offset 1a0a80 size f47c coreboot-v1.9308_26_0.0.22-6607-g034eeb8dd5 Fri Sep 4 02:38:51 UTC 2020 verstage starting... Probing TPM: . done! TPM ready after 0 ms Connected to device vid:did:rid of 1ae0:0028:00 Firmware version: B2-C:0 RO_B:0.0.11/4d655eab RW_A:0.5.6/cr50_v1.9308_87_mp.510-d2da4373 Initialized TPM device CR50 revision 0 tlcl_send_startup: Startup return code is 0 TPM: setup succeeded src/security/tpm/tss/tcg-2.0/tss.c:188 index 0x1007 return code 0 Chrome EC: UHEPI supported Phase 1 FMAP: Found "FLASH" version 1.1 at c10000. FMAP: base = ff000000 size = 1000000 #areas = 33 FMAP: area GBB found @ c11000 (978944 bytes) VB2:vb2_check_recovery() Recovery reason from previous boot: 0x0 / 0x0 Phase 2 Phase 3 FMAP: area GBB found @ c11000 (978944 bytes) VB2:vb2_report_dev_firmware() This is developer signed firmware FMAP: area VBLOCK_A found @ 200000 (65536 bytes) FMAP: area VBLOCK_A found @ 200000 (65536 bytes) VB2:vb2_verify_keyblock() Checking key block signature... FMAP: area VBLOCK_A found @ 200000 (65536 bytes) FMAP: area VBLOCK_A found @ 200000 (65536 bytes) VB2:vb2_verify_fw_preamble() Verifying preamble. Phase 4 FMAP: area FW_MAIN_A found @ 210000 (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 27051 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) WARNING: RW_VPD is uninitialized or empty. Normal boot. BS: BS_PRE_DEVICE times (us): entry 0 run 30 exit 0 CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'cpu_microcode_blob.bin' CBFS: Found @ offset 11100 size d7c00 microcode: sig=0x806e9 pf=0x10 revision=0x97 Skip microcode update CBFS: 'Master Header Locator' located CBFS at [d00000:ffffc0) CBFS: Locating 'fsps.bin' CBFS: Found @ offset 167fc0 size 2f000 Detected 2 core, 4 thread CPU. Setting up SMI for CPU IED base = 0x7b400000 IED size = 0x00400000 Will perform SMM setup. CPU: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz. Loading module at 00030000 with entry 00030000. filesize: 0x170 memsize: 0x170 Processing 16 relocs. Offset value of 0x00030000 Attempting to start 3 APs Waiting for 10ms after sending INIT. Waiting for 1st SIPI to complete...done. AP: slot 2 apic_id 2. AP: slot 3 apic_id 3. Waiting for 2nd SIPI to complete...done. AP: slot 1 apic_id 1. 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 Setting up local APIC...Setting up local APIC... apic_id: 0x03 done. apic_id: 0x02 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 228 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 376121 run 170380 exit 0 Enumerating buses... Show all devs... Before device enumeration. Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 DOMAIN: 0000: enabled 1 APIC: 00: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:02.0: enabled 1 PCI: 00:14.0: enabled 1 PCI: 00:14.1: enabled 0 PCI: 00:14.2: enabled 1 PCI: 00:15.0: enabled 1 PCI: 00:15.1: enabled 1 PCI: 00:15.2: enabled 0 PCI: 00:15.3: enabled 0 PCI: 00:16.0: enabled 1 PCI: 00:16.1: enabled 0 PCI: 00:16.2: enabled 0 PCI: 00:16.3: enabled 0 PCI: 00:16.4: enabled 0 PCI: 00:17.0: enabled 0 PCI: 00:19.0: enabled 1 PCI: 00:19.1: enabled 1 PCI: 00:19.2: enabled 0 PCI: 00:1c.0: enabled 1 PCI: 00:1c.1: enabled 0 PCI: 00:1c.2: enabled 0 PCI: 00:1c.3: enabled 0 PCI: 00:1c.4: enabled 0 PCI: 00:1c.5: enabled 0 PCI: 00:1c.6: enabled 0 PCI: 00:1c.7: enabled 0 PCI: 00:1d.0: enabled 0 PCI: 00:1d.1: enabled 0 PCI: 00:1d.2: enabled 0 PCI: 00:1d.3: enabled 0 PCI: 00:1e.0: enabled 1 PCI: 00:1e.1: enabled 0 PCI: 00:1e.2: enabled 1 PCI: 00:1e.3: enabled 0 PCI: 00:1e.4: enabled 1 PCI: 00:1e.5: enabled 0 PCI: 00:1e.6: enabled 1 PCI: 00:1f.0: enabled 1 PCI: 00:1f.1: enabled 1 PCI: 00:1f.2: enabled 1 PCI: 00:1f.3: enabled 1 PCI: 00:1f.4: enabled 1 PCI: 00:1f.5: enabled 1 PCI: 00:1f.6: enabled 0 USB0 port 0: enabled 1 I2C: 00:5c: enabled 1 I2C: 00:15: enabled 1 I2C: 00:39: enabled 1 I2C: 00:3a: enabled 1 I2C: 00:1a: enabled 1 PCI: 00:00.0: enabled 1 SPI: 00: enabled 1 PNP: 0c09.0: enabled 1 USB2 port 0: enabled 1 USB2 port 1: enabled 1 USB2 port 2: enabled 1 USB2 port 4: enabled 1 USB2 port 8: enabled 1 APIC: 01: enabled 1 APIC: 02: enabled 1 APIC: 03: enabled 1 Compare with tree... Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 APIC: 00: enabled 1 APIC: 01: enabled 1 APIC: 02: enabled 1 APIC: 03: enabled 1 DOMAIN: 0000: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:02.0: enabled 1 PCI: 00:14.0: enabled 1 USB0 port 0: enabled 1 USB2 port 0: enabled 1 USB2 port 1: enabled 1 USB2 port 2: enabled 1 USB2 port 4: enabled 1 USB2 port 8: enabled 1 PCI: 00:14.1: enabled 0 PCI: 00:14.2: enabled 1 PCI: 00:15.0: enabled 1 I2C: 00:5c: enabled 1 PCI: 00:15.1: enabled 1 I2C: 00:15: enabled 1 PCI: 00:15.2: enabled 0 PCI: 00:15.3: enabled 0 PCI: 00:16.0: enabled 1 PCI: 00:16.1: enabled 0 PCI: 00:16.2: enabled 0 PCI: 00:16.3: enabled 0 PCI: 00:16.4: enabled 0 PCI: 00:17.0: enabled 0 PCI: 00:19.0: enabled 1 PCI: 00:19.1: enabled 1 I2C: 00:39: enabled 1 I2C: 00:3a: enabled 1 I2C: 00:1a: enabled 1 PCI: 00:19.2: enabled 0 PCI: 00:1c.0: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:1c.1: enabled 0 PCI: 00:1c.2: enabled 0 PCI: 00:1c.3: enabled 0 PCI: 00:1c.4: enabled 0 PCI: 00:1c.5: enabled 0 PCI: 00:1c.6: enabled 0 PCI: 00:1c.7: enabled 0 PCI: 00:1d.0: enabled 0 PCI: 00:1d.1: enabled 0 PCI: 00:1d.2: enabled 0 PCI: 00:1d.3: enabled 0 PCI: 00:1e.0: enabled 1 PCI: 00:1e.1: enabled 0 PCI: 00:1e.2: enabled 1 SPI: 00: enabled 1 PCI: 00:1e.3: enabled 0 PCI: 00:1e.4: enabled 1 PCI: 00:1e.5: enabled 0 PCI: 00:1e.6: enabled 1 PCI: 00:1f.0: enabled 1 PNP: 0c09.0: enabled 1 PCI: 00:1f.1: enabled 1 PCI: 00:1f.2: enabled 1 PCI: 00:1f.3: enabled 1 PCI: 00:1f.4: enabled 1 PCI: 00:1f.5: enabled 1 PCI: 00:1f.6: enabled 0 Root Device scanning... root_dev_scan_bus for Root Device CPU_CLUSTER: 0 enabled DOMAIN: 0000 enabled DOMAIN: 0000 scanning... PCI: pci_scan_bus for bus 00 PCI: 00:00.0 [8086/0000] ops PCI: 00:00.0 [8086/590c] enabled PCI: 00:02.0 [8086/0000] ops PCI: 00:02.0 [8086/591c] enabled PCI: 00:04.0 [8086/1903] enabled PCI: 00:08.0 [8086/1911] enabled PCI: 00:14.0 [8086/0000] bus ops PCI: 00:14.0 [8086/9d2f] enabled PCI: 00:14.2 [8086/9d31] enabled PCI: 00:15.0 [8086/0000] bus ops PCI: 00:15.0 [8086/9d60] enabled PCI: 00:15.1 [8086/0000] bus ops PCI: 00:15.1 [8086/9d61] enabled PCI: 00:16.0 [8086/0000] ops PCI: 00:16.0 [8086/9d3a] enabled PCI: 00:19.0 [8086/0000] ops PCI: 00:19.0 [8086/9d66] enabled PCI: 00:19.1 [8086/0000] bus ops PCI: 00:19.1 [8086/9d65] enabled PCI: 00:1c.0 [8086/0000] bus ops PCI: 00:1c.0 [8086/9d10] enabled PCI: 00:1e.0 [8086/0000] ops PCI: 00:1e.0 [8086/9d27] enabled PCI: 00:1e.2 [8086/0000] bus ops PCI: 00:1e.2 [8086/9d29] enabled PCI: 00:1e.4 [8086/9d2b] enabled PCI: 00:1e.6 [8086/0000] ops PCI: 00:1e.6 [8086/9d2d] enabled PCI: 00:1f.0 [8086/0000] bus ops PCI: 00:1f.0 [8086/9d4b] enabled PCI: Static device PCI: 00:1f.1 not found, disabling it. PCI: 00:1f.2 [8086/0000] bus ops PCI: 00:1f.2 [8086/9d21] enabled PCI: 00:1f.3 [8086/0000] bus ops PCI: 00:1f.3 [8086/9d71] enabled PCI: 00:1f.4 [8086/0000] bus ops PCI: 00:1f.4 [8086/9d23] enabled PCI: 00:1f.5 [8086/0000] bus ops PCI: 00:1f.5 [8086/9d24] enabled PCI: 00:14.0 scanning... scan_usb_bus for PCI: 00:14.0 USB0 port 0 enabled USB0 port 0 scanning... scan_usb_bus for USB0 port 0 USB2 port 0 enabled USB2 port 1 enabled USB2 port 2 enabled USB2 port 4 enabled USB2 port 8 enabled USB2 port 0 scanning... scan_usb_bus for USB2 port 0 scan_usb_bus for USB2 port 0 done scan_bus: scanning of bus USB2 port 0 took 8970 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 8969 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 8972 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 8969 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 8964 usecs scan_usb_bus for USB0 port 0 done scan_bus: scanning of bus USB0 port 0 took 90924 usecs scan_usb_bus for PCI: 00:14.0 done scan_bus: scanning of bus PCI: 00:14.0 took 107704 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 14149 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 14146 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 22356 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 53526 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 13855 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 11323 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 9268 usecs PCI: 00:1f.3 scanning... scan_bus: scanning of bus PCI: 00:1f.3 took 2719 usecs PCI: 00:1f.4 scanning... scan_generic_bus for PCI: 00:1f.4 scan_generic_bus for PCI: 00:1f.4 done scan_bus: scanning of bus PCI: 00:1f.4 took 10040 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 465937 usecs root_dev_scan_bus for Root Device done scan_bus: scanning of bus Root Device took 486051 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 825717 exit 39242 found VGA at PCI: 00:02.0 Setting up VGA for PCI: 00:02.0 Setting PCI_BRIDGE_CTL_VGA for bridge DOMAIN: 0000 Setting PCI_BRIDGE_CTL_VGA for bridge Root Device Allocating resources... Reading resources... Root Device read_resources bus 0 link: 0 CPU_CLUSTER: 0 read_resources bus 0 link: 0 CPU_CLUSTER: 0 read_resources bus 0 link: 0 done DOMAIN: 0000 read_resources bus 0 link: 0 PCI: 00:14.0 read_resources bus 0 link: 0 USB0 port 0 read_resources bus 0 link: 0 USB0 port 0 read_resources bus 0 link: 0 done PCI: 00:14.0 read_resources bus 0 link: 0 done PCI: 00:15.0 read_resources bus 1 link: 0 PCI: 00:15.0 read_resources bus 1 link: 0 done PCI: 00:15.1 read_resources bus 2 link: 0 PCI: 00:15.1 read_resources bus 2 link: 0 done PCI: 00:19.1 read_resources bus 3 link: 0 PCI: 00:19.1 read_resources bus 3 link: 0 done PCI: 00:1c.0 read_resources bus 1 link: 0 PCI: 00:1c.0 read_resources bus 1 link: 0 done PCI: 00:1e.2 read_resources bus 4 link: 0 PCI: 00:1e.2 read_resources bus 4 link: 0 done PCI: 00:1f.0 read_resources bus 0 link: 0 PCI: 00:1f.0 read_resources bus 0 link: 0 done DOMAIN: 0000 read_resources bus 0 link: 0 done Root Device read_resources bus 0 link: 0 done Done reading resources. Show resources in subtree (Root Device)...After reading. Root Device child on link 0 CPU_CLUSTER: 0 CPU_CLUSTER: 0 child on link 0 APIC: 00 APIC: 00 APIC: 01 APIC: 02 APIC: 03 DOMAIN: 0000 child on link 0 PCI: 00:00.0 DOMAIN: 0000 resource base 0 size 0 align 0 gran 0 limit ffff flags 40040100 index 10000000 DOMAIN: 0000 resource base 0 size 0 align 0 gran 0 limit ffffffff flags 40040200 index 10000100 PCI: 00:00.0 PCI: 00:00.0 resource base e0000000 size 4000000 align 0 gran 0 limit 0 flags f0000200 index 0 PCI: 00:00.0 resource base fed10000 size 8000 align 0 gran 0 limit 0 flags f0000200 index 1 PCI: 00:00.0 resource base fed18000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 2 PCI: 00:00.0 resource base fed19000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 3 PCI: 00:00.0 resource base fed84000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 4 PCI: 00:00.0 resource base fed80000 size 4000 align 0 gran 0 limit 0 flags f0000200 index 5 PCI: 00:00.0 resource base fed90000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 6 PCI: 00:00.0 resource base fed91000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 7 PCI: 00:00.0 resource base 0 size a0000 align 0 gran 0 limit 0 flags e0004200 index 8 PCI: 00:00.0 resource base c0000 size 7af40000 align 0 gran 0 limit 0 flags e0004200 index 9 PCI: 00:00.0 resource base 7b000000 size 800000 align 0 gran 0 limit 0 flags f0004200 index b PCI: 00:00.0 resource base 7b800000 size 4800000 align 0 gran 0 limit 0 flags f0000200 index c PCI: 00:00.0 resource base 100000000 size 7f000000 align 0 gran 0 limit 0 flags e0004200 index d PCI: 00:00.0 resource base a0000 size 20000 align 0 gran 0 limit 0 flags f0000200 index e PCI: 00:00.0 resource base c0000 size 40000 align 0 gran 0 limit 0 flags f0004200 index f PCI: 00:02.0 PCI: 00:02.0 resource base 0 size 1000000 align 24 gran 24 limit ffffffffffffffff flags 201 index 10 PCI: 00:02.0 resource base 0 size 10000000 align 28 gran 28 limit ffffffffffffffff flags 1201 index 18 PCI: 00:02.0 resource base 0 size 40 align 6 gran 6 limit ffff flags 100 index 20 PCI: 00:04.0 PCI: 00:04.0 resource base 0 size 8000 align 15 gran 15 limit ffffffffffffffff flags 201 index 10 PCI: 00:08.0 PCI: 00:08.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:14.0 child on link 0 USB0 port 0 PCI: 00:14.0 resource base 0 size 10000 align 16 gran 16 limit ffffffffffffffff flags 201 index 10 USB0 port 0 child on link 0 USB2 port 0 USB2 port 0 USB2 port 1 USB2 port 2 USB2 port 4 USB2 port 8 PCI: 00:14.1 PCI: 00:14.2 PCI: 00:14.2 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:15.0 child on link 0 I2C: 01:5c PCI: 00:15.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 I2C: 01:5c PCI: 00:15.1 child on link 0 I2C: 02:15 PCI: 00:15.1 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 I2C: 02:15 PCI: 00:15.2 PCI: 00:15.3 PCI: 00:16.0 PCI: 00:16.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:16.1 PCI: 00:16.2 PCI: 00:16.3 PCI: 00:16.4 PCI: 00:17.0 PCI: 00:19.0 PCI: 00:19.0 resource base fe034000 size 1000 align 12 gran 12 limit ffffffffffffffff flags c0000200 index 10 PCI: 00:19.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 18 PCI: 00:19.1 child on link 0 I2C: 03:39 PCI: 00:19.1 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 I2C: 03:39 I2C: 03:3a I2C: 03:1a PCI: 00:19.2 PCI: 00:1c.0 child on link 0 PCI: 01:00.0 PCI: 00:1c.0 resource base 0 size 0 align 12 gran 12 limit ffff flags 80102 index 1c PCI: 00:1c.0 resource base 0 size 0 align 20 gran 20 limit ffffffffffffffff flags 81202 index 24 PCI: 00:1c.0 resource base 0 size 0 align 20 gran 20 limit ffffffff flags 80202 index 20 PCI: 01:00.0 PCI: 01:00.0 resource base 0 size 2000 align 13 gran 13 limit ffffffffffffffff flags 201 index 10 PCI: 00:1c.1 PCI: 00:1c.2 PCI: 00:1c.3 PCI: 00:1c.4 PCI: 00:1c.5 PCI: 00:1c.6 PCI: 00:1c.7 PCI: 00:1d.0 PCI: 00:1d.1 PCI: 00:1d.2 PCI: 00:1d.3 PCI: 00:1e.0 PCI: 00:1e.0 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:1e.1 PCI: 00:1e.2 child on link 0 SPI: 00 PCI: 00:1e.2 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 SPI: 00 PCI: 00:1e.3 PCI: 00:1e.4 PCI: 00:1e.4 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:1e.5 PCI: 00:1e.6 PCI: 00:1e.6 resource base 0 size 1000 align 12 gran 12 limit ffffffffffffffff flags 201 index 10 PCI: 00:1f.0 child on link 0 PNP: 0c09.0 PCI: 00:1f.0 resource base 0 size 1000 align 0 gran 0 limit 0 flags c0000100 index 0 PNP: 0c09.0 PNP: 0c09.0 resource base 800 size 1ff align 0 gran 0 limit 0 flags c0000100 index 0 PCI: 00:1f.1 PCI: 00:1f.2 PCI: 00:1f.2 resource base 0 size 4000 align 14 gran 14 limit ffffffff flags 200 index 10 PCI: 00:1f.2 resource base fe000000 size 10000 align 0 gran 0 limit 0 flags d0000200 index 48 PCI: 00:1f.2 resource base 1800 size 100 align 0 gran 0 limit 0 flags c0000100 index 40 PCI: 00:1f.3 PCI: 00:1f.3 resource base 0 size 4000 align 14 gran 14 limit ffffffffffffffff flags 201 index 10 PCI: 00:1f.3 resource base 0 size 10000 align 16 gran 16 limit ffffffffffffffff flags 201 index 20 PCI: 00:1f.4 PCI: 00:1f.4 resource base efa0 size 20 align 0 gran 0 limit efbf flags f0000100 index 20 PCI: 00:1f.4 resource base 0 size 100 align 12 gran 8 limit ffffffffffffffff flags 201 index 10 PCI: 00:1f.5 PCI: 00:1f.5 resource base 0 size 1000 align 12 gran 12 limit ffffffff flags 200 index 10 PCI: 00:1f.6 DOMAIN: 0000 io: base: 0 size: 0 align: 0 gran: 0 limit: ffff PCI: 00:1c.0 io: base: 0 size: 0 align: 12 gran: 12 limit: ffff PCI: 00:1c.0 io: base: 0 size: 0 align: 12 gran: 12 limit: ffff done PCI: 00:02.0 20 * [0x0 - 0x3f] io DOMAIN: 0000 io: base: 40 size: 40 align: 6 gran: 0 limit: ffff done DOMAIN: 0000 mem: base: 0 size: 0 align: 0 gran: 0 limit: ffffffff PCI: 00:1c.0 prefmem: base: 0 size: 0 align: 20 gran: 20 limit: ffffffffffffffff PCI: 00:1c.0 prefmem: base: 0 size: 0 align: 20 gran: 20 limit: ffffffffffffffff done PCI: 00:1c.0 mem: base: 0 size: 0 align: 20 gran: 20 limit: ffffffff PCI: 01:00.0 10 * [0x0 - 0x1fff] mem PCI: 00:1c.0 mem: base: 2000 size: 100000 align: 20 gran: 20 limit: ffffffff done PCI: 00:02.0 18 * [0x0 - 0xfffffff] prefmem PCI: 00:02.0 10 * [0x10000000 - 0x10ffffff] mem PCI: 00:1c.0 20 * [0x11000000 - 0x110fffff] mem PCI: 00:14.0 10 * [0x11100000 - 0x1110ffff] mem PCI: 00:1f.3 20 * [0x11110000 - 0x1111ffff] mem PCI: 00:04.0 10 * [0x11120000 - 0x11127fff] mem PCI: 00:1f.2 10 * [0x11128000 - 0x1112bfff] mem PCI: 00:1f.3 10 * [0x1112c000 - 0x1112ffff] mem PCI: 00:08.0 10 * [0x11130000 - 0x11130fff] mem PCI: 00:14.2 10 * [0x11131000 - 0x11131fff] mem PCI: 00:15.0 10 * [0x11132000 - 0x11132fff] mem PCI: 00:15.1 10 * [0x11133000 - 0x11133fff] mem PCI: 00:16.0 10 * [0x11134000 - 0x11134fff] mem PCI: 00:19.0 18 * [0x11135000 - 0x11135fff] mem PCI: 00:19.1 10 * [0x11136000 - 0x11136fff] mem PCI: 00:1e.0 10 * [0x11137000 - 0x11137fff] mem PCI: 00:1e.2 10 * [0x11138000 - 0x11138fff] mem PCI: 00:1e.4 10 * [0x11139000 - 0x11139fff] mem PCI: 00:1e.6 10 * [0x1113a000 - 0x1113afff] mem PCI: 00:1f.5 10 * [0x1113b000 - 0x1113bfff] mem PCI: 00:1f.4 10 * [0x1113c000 - 0x1113c0ff] mem DOMAIN: 0000 mem: base: 1113c100 size: 1113c100 align: 28 gran: 0 limit: ffffffff done avoid_fixed_resources: DOMAIN: 0000 avoid_fixed_resources:@DOMAIN: 0000 10000000 limit 0000ffff avoid_fixed_resources:@DOMAIN: 0000 10000100 limit ffffffff constrain_resources: PCI: 00:00.0 00 base e0000000 limit e3ffffff mem (fixed) constrain_resources: PCI: 00:00.0 08 base 00000000 limit 0009ffff mem (fixed) constrain_resources: PCI: 00:00.0 09 base 000c0000 limit 7affffff mem (fixed) constrain_resources: PCI: 00:00.0 0b base 7b000000 limit 7b7fffff mem (fixed) constrain_resources: PCI: 00:00.0 0c base 7b800000 limit 7fffffff mem (fixed) constrain_resources: PCI: 00:1f.0 00 base 00000000 limit 00000fff io (fixed) constrain_resources: PCI: 00:1f.2 40 base 00001800 limit 000018ff io (fixed) constrain_resources: PCI: 00:1f.4 20 base 0000efa0 limit 0000efbf io (fixed) avoid_fixed_resources:@DOMAIN: 0000 10000000 base 00001900 limit 0000ef9f avoid_fixed_resources:@DOMAIN: 0000 10000100 base c0000000 limit dfffffff Setting resources... DOMAIN: 0000 io: base:1900 size:40 align:6 gran:0 limit:ef9f PCI: 00:02.0 20 * [0x1c00 - 0x1c3f] io DOMAIN: 0000 io: next_base: 1c40 size: 40 align: 6 gran: 0 done PCI: 00:1c.0 io: base:ef9f size:0 align:12 gran:12 limit:ef9f PCI: 00:1c.0 io: next_base: ef9f size: 0 align: 12 gran: 12 done DOMAIN: 0000 mem: base:c0000000 size:1113c100 align:28 gran:0 limit:dfffffff PCI: 00:02.0 18 * [0xc0000000 - 0xcfffffff] prefmem PCI: 00:02.0 10 * [0xd0000000 - 0xd0ffffff] mem PCI: 00:1c.0 20 * [0xd1000000 - 0xd10fffff] mem PCI: 00:14.0 10 * [0xd1100000 - 0xd110ffff] mem PCI: 00:1f.3 20 * [0xd1110000 - 0xd111ffff] mem PCI: 00:04.0 10 * [0xd1120000 - 0xd1127fff] mem PCI: 00:1f.2 10 * [0xd1128000 - 0xd112bfff] mem PCI: 00:1f.3 10 * [0xd112c000 - 0xd112ffff] mem PCI: 00:08.0 10 * [0xd1130000 - 0xd1130fff] mem PCI: 00:14.2 10 * [0xd1131000 - 0xd1131fff] mem PCI: 00:15.0 10 * [0xd1132000 - 0xd1132fff] mem PCI: 00:15.1 10 * [0xd1133000 - 0xd1133fff] mem PCI: 00:16.0 10 * [0xd1134000 - 0xd1134fff] mem PCI: 00:19.0 18 * [0xd1135000 - 0xd1135fff] mem PCI: 00:19.1 10 * [0xd1136000 - 0xd1136fff] mem PCI: 00:1e.0 10 * [0xd1137000 - 0xd1137fff] mem PCI: 00:1e.2 10 * [0xd1138000 - 0xd1138fff] mem PCI: 00:1e.4 10 * [0xd1139000 - 0xd1139fff] mem PCI: 00:1e.6 10 * [0xd113a000 - 0xd113afff] mem PCI: 00:1f.5 10 * [0xd113b000 - 0xd113bfff] mem PCI: 00:1f.4 10 * [0xd113c000 - 0xd113c0ff] mem DOMAIN: 0000 mem: next_base: d113c100 size: 1113c100 align: 28 gran: 0 done PCI: 00:1c.0 prefmem: base:dfffffff size:0 align:20 gran:20 limit:dfffffff PCI: 00:1c.0 prefmem: next_base: dfffffff size: 0 align: 20 gran: 20 done PCI: 00:1c.0 mem: base:d1000000 size:100000 align:20 gran:20 limit:d10fffff PCI: 01:00.0 10 * [0xd1000000 - 0xd1001fff] mem PCI: 00:1c.0 mem: next_base: d1002000 size: 100000 align: 20 gran: 20 done Root Device assign_resources, bus 0 link: 0 DOMAIN: 0000 assign_resources, bus 0 link: 0 PCI: 00:02.0 10 <- [0x00d0000000 - 0x00d0ffffff] size 0x01000000 gran 0x18 mem64 PCI: 00:02.0 18 <- [0x00c0000000 - 0x00cfffffff] size 0x10000000 gran 0x1c prefmem64 PCI: 00:02.0 20 <- [0x0000001c00 - 0x0000001c3f] size 0x00000040 gran 0x06 io PCI: 00:04.0 10 <- [0x00d1120000 - 0x00d1127fff] size 0x00008000 gran 0x0f mem64 PCI: 00:08.0 10 <- [0x00d1130000 - 0x00d1130fff] size 0x00001000 gran 0x0c mem64 PCI: 00:14.0 10 <- [0x00d1100000 - 0x00d110ffff] size 0x00010000 gran 0x10 mem64 PCI: 00:14.0 assign_resources, bus 0 link: 0 PCI: 00:14.0 assign_resources, bus 0 link: 0 PCI: 00:14.2 10 <- [0x00d1131000 - 0x00d1131fff] size 0x00001000 gran 0x0c mem64 PCI: 00:15.0 10 <- [0x00d1132000 - 0x00d1132fff] size 0x00001000 gran 0x0c mem64 PCI: 00:15.0 assign_resources, bus 1 link: 0 PCI: 00:15.0 assign_resources, bus 1 link: 0 PCI: 00:15.1 10 <- [0x00d1133000 - 0x00d1133fff] size 0x00001000 gran 0x0c mem64 PCI: 00:15.1 assign_resources, bus 2 link: 0 PCI: 00:15.1 assign_resources, bus 2 link: 0 PCI: 00:16.0 10 <- [0x00d1134000 - 0x00d1134fff] size 0x00001000 gran 0x0c mem64 PCI: 00:19.0 18 <- [0x00d1135000 - 0x00d1135fff] size 0x00001000 gran 0x0c mem64 PCI: 00:19.1 10 <- [0x00d1136000 - 0x00d1136fff] size 0x00001000 gran 0x0c mem64 PCI: 00:19.1 assign_resources, bus 3 link: 0 PCI: 00:19.1 assign_resources, bus 3 link: 0 PCI: 00:1c.0 1c <- [0x000000ef9f - 0x000000ef9e] size 0x00000000 gran 0x0c bus 01 io PCI: 00:1c.0 24 <- [0x00dfffffff - 0x00dffffffe] size 0x00000000 gran 0x14 bus 01 prefmem PCI: 00:1c.0 20 <- [0x00d1000000 - 0x00d10fffff] size 0x00100000 gran 0x14 bus 01 mem PCI: 00:1c.0 assign_resources, bus 1 link: 0 PCI: 01:00.0 10 <- [0x00d1000000 - 0x00d1001fff] size 0x00002000 gran 0x0d mem64 PCI: 00:1c.0 assign_resources, bus 1 link: 0 PCI: 00:1e.0 10 <- [0x00d1137000 - 0x00d1137fff] size 0x00001000 gran 0x0c mem64 PCI: 00:1e.2 10 <- [0x00d1138000 - 0x00d1138fff] size 0x00001000 gran 0x0c mem64 PCI: 00:1e.2 assign_resources, bus 4 link: 0 PCI: 00:1e.2 assign_resources, bus 4 link: 0 PCI: 00:1e.4 10 <- [0x00d1139000 - 0x00d1139fff] size 0x00001000 gran 0x0c mem64 PCI: 00:1e.6 10 <- [0x00d113a000 - 0x00d113afff] size 0x00001000 gran 0x0c mem64 PCI: 00:1f.0 assign_resources, bus 0 link: 0 PCI: 00:1f.0 assign_resources, bus 0 link: 0 LPC: Trying to open IO window from 800 size 1ff PCI: 00:1f.2 10 <- [0x00d1128000 - 0x00d112bfff] size 0x00004000 gran 0x0e mem PCI: 00:1f.3 10 <- [0x00d112c000 - 0x00d112ffff] size 0x00004000 gran 0x0e mem64 PCI: 00:1f.3 20 <- [0x00d1110000 - 0x00d111ffff] size 0x00010000 gran 0x10 mem64 PCI: 00:1f.4 10 <- [0x00d113c000 - 0x00d113c0ff] size 0x00000100 gran 0x08 mem64 PCI: 00:1f.5 10 <- [0x00d113b000 - 0x00d113bfff] size 0x00001000 gran 0x0c mem DOMAIN: 0000 assign_resources, bus 0 link: 0 Root Device assign_resources, bus 0 link: 0 Done setting resources. Show resources in subtree (Root Device)...After assigning values. Root Device child on link 0 CPU_CLUSTER: 0 CPU_CLUSTER: 0 child on link 0 APIC: 00 APIC: 00 APIC: 01 APIC: 02 APIC: 03 DOMAIN: 0000 child on link 0 PCI: 00:00.0 DOMAIN: 0000 resource base 1900 size 40 align 6 gran 0 limit ef9f flags 40040100 index 10000000 DOMAIN: 0000 resource base c0000000 size 1113c100 align 28 gran 0 limit dfffffff flags 40040200 index 10000100 PCI: 00:00.0 PCI: 00:00.0 resource base e0000000 size 4000000 align 0 gran 0 limit 0 flags f0000200 index 0 PCI: 00:00.0 resource base fed10000 size 8000 align 0 gran 0 limit 0 flags f0000200 index 1 PCI: 00:00.0 resource base fed18000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 2 PCI: 00:00.0 resource base fed19000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 3 PCI: 00:00.0 resource base fed84000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 4 PCI: 00:00.0 resource base fed80000 size 4000 align 0 gran 0 limit 0 flags f0000200 index 5 PCI: 00:00.0 resource base fed90000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 6 PCI: 00:00.0 resource base fed91000 size 1000 align 0 gran 0 limit 0 flags f0000200 index 7 PCI: 00:00.0 resource base 0 size a0000 align 0 gran 0 limit 0 flags e0004200 index 8 PCI: 00:00.0 resource base c0000 size 7af40000 align 0 gran 0 limit 0 flags e0004200 index 9 PCI: 00:00.0 resource base 7b000000 size 800000 align 0 gran 0 limit 0 flags f0004200 index b PCI: 00:00.0 resource base 7b800000 size 4800000 align 0 gran 0 limit 0 flags f0000200 index c PCI: 00:00.0 resource base 100000000 size 7f000000 align 0 gran 0 limit 0 flags e0004200 index d PCI: 00:00.0 resource base a0000 size 20000 align 0 gran 0 limit 0 flags f0000200 index e PCI: 00:00.0 resource base c0000 size 40000 align 0 gran 0 limit 0 flags f0004200 index f PCI: 00:02.0 PCI: 00:02.0 resource base d0000000 size 1000000 align 24 gran 24 limit d0ffffff flags 60000201 index 10 PCI: 00:02.0 resource base c0000000 size 10000000 align 28 gran 28 limit cfffffff flags 60001201 index 18 PCI: 00:02.0 resource base 1c00 size 40 align 6 gran 6 limit 1c3f flags 60000100 index 20 PCI: 00:04.0 PCI: 00:04.0 resource base d1120000 size 8000 align 15 gran 15 limit d1127fff flags 60000201 index 10 PCI: 00:08.0 PCI: 00:08.0 resource base d1130000 size 1000 align 12 gran 12 limit d1130fff flags 60000201 index 10 PCI: 00:14.0 child on link 0 USB0 port 0 PCI: 00:14.0 resource base d1100000 size 10000 align 16 gran 16 limit d110ffff flags 60000201 index 10 USB0 port 0 child on link 0 USB2 port 0 USB2 port 0 USB2 port 1 USB2 port 2 USB2 port 4 USB2 port 8 PCI: 00:14.1 PCI: 00:14.2 PCI: 00:14.2 resource base d1131000 size 1000 align 12 gran 12 limit d1131fff flags 60000201 index 10 PCI: 00:15.0 child on link 0 I2C: 01:5c PCI: 00:15.0 resource base d1132000 size 1000 align 12 gran 12 limit d1132fff flags 60000201 index 10 I2C: 01:5c PCI: 00:15.1 child on link 0 I2C: 02:15 PCI: 00:15.1 resource base d1133000 size 1000 align 12 gran 12 limit d1133fff flags 60000201 index 10 I2C: 02:15 PCI: 00:15.2 PCI: 00:15.3 PCI: 00:16.0 PCI: 00:16.0 resource base d1134000 size 1000 align 12 gran 12 limit d1134fff flags 60000201 index 10 PCI: 00:16.1 PCI: 00:16.2 PCI: 00:16.3 PCI: 00:16.4 PCI: 00:17.0 PCI: 00:19.0 PCI: 00:19.0 resource base fe034000 size 1000 align 12 gran 12 limit ffffffffffffffff flags c0000200 index 10 PCI: 00:19.0 resource base d1135000 size 1000 align 12 gran 12 limit d1135fff flags 60000201 index 18 PCI: 00:19.1 child on link 0 I2C: 03:39 PCI: 00:19.1 resource base d1136000 size 1000 align 12 gran 12 limit d1136fff flags 60000201 index 10 I2C: 03:39 I2C: 03:3a I2C: 03:1a PCI: 00:19.2 PCI: 00:1c.0 child on link 0 PCI: 01:00.0 PCI: 00:1c.0 resource base ef9f size 0 align 12 gran 12 limit ef9f flags 60080102 index 1c PCI: 00:1c.0 resource base dfffffff size 0 align 20 gran 20 limit dfffffff flags 60081202 index 24 PCI: 00:1c.0 resource base d1000000 size 100000 align 20 gran 20 limit d10fffff flags 60080202 index 20 PCI: 01:00.0 PCI: 01:00.0 resource base d1000000 size 2000 align 13 gran 13 limit d1001fff flags 60000201 index 10 PCI: 00:1c.1 PCI: 00:1c.2 PCI: 00:1c.3 PCI: 00:1c.4 PCI: 00:1c.5 PCI: 00:1c.6 PCI: 00:1c.7 PCI: 00:1d.0 PCI: 00:1d.1 PCI: 00:1d.2 PCI: 00:1d.3 PCI: 00:1e.0 PCI: 00:1e.0 resource base d1137000 size 1000 align 12 gran 12 limit d1137fff flags 60000201 index 10 PCI: 00:1e.1 PCI: 00:1e.2 child on link 0 SPI: 00 PCI: 00:1e.2 resource base d1138000 size 1000 align 12 gran 12 limit d1138fff flags 60000201 index 10 SPI: 00 PCI: 00:1e.3 PCI: 00:1e.4 PCI: 00:1e.4 resource base d1139000 size 1000 align 12 gran 12 limit d1139fff flags 60000201 index 10 PCI: 00:1e.5 PCI: 00:1e.6 PCI: 00:1e.6 resource base d113a000 size 1000 align 12 gran 12 limit d113afff flags 60000201 index 10 PCI: 00:1f.0 child on link 0 PNP: 0c09.0 PCI: 00:1f.0 resource base 0 size 1000 align 0 gran 0 limit 0 flags c0000100 index 0 PNP: 0c09.0 PNP: 0c09.0 resource base 800 size 1ff align 0 gran 0 limit 0 flags c0000100 index 0 PCI: 00:1f.1 PCI: 00:1f.2 PCI: 00:1f.2 resource base d1128000 size 4000 align 14 gran 14 limit d112bfff flags 60000200 index 10 PCI: 00:1f.2 resource base fe000000 size 10000 align 0 gran 0 limit 0 flags d0000200 index 48 PCI: 00:1f.2 resource base 1800 size 100 align 0 gran 0 limit 0 flags c0000100 index 40 PCI: 00:1f.3 PCI: 00:1f.3 resource base d112c000 size 4000 align 14 gran 14 limit d112ffff flags 60000201 index 10 PCI: 00:1f.3 resource base d1110000 size 10000 align 16 gran 16 limit d111ffff flags 60000201 index 20 PCI: 00:1f.4 PCI: 00:1f.4 resource base efa0 size 20 align 0 gran 0 limit efbf flags f0000100 index 20 PCI: 00:1f.4 resource base d113c000 size 100 align 12 gran 8 limit d113c0ff flags 60000201 index 10 PCI: 00:1f.5 PCI: 00:1f.5 resource base d113b000 size 1000 align 12 gran 12 limit d113bfff flags 60000200 index 10 PCI: 00:1f.6 Done allocating resources. BS: BS_DEV_RESOURCES times (us): entry 0 run 2114088 exit 29 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 289 run 139330 exit 18946 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 30873 usecs CPU_CLUSTER: 0 init ... CPU_CLUSTER: 0 init finished in 2445 usecs PCI: 00:00.0 init ... CPU TDP: 5 Watts CPU PL2 = 18 Watts PCI: 00:00.0 init finished in 6983 usecs PCI: 00:02.0 init ... PCI: 00:02.0 init finished in 2251 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 2249 usecs PCI: 00:14.2 init ... PCI: 00:14.2 init finished in 2250 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 5966 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 5967 usecs PCI: 00:1c.0 init ... Initializing PCH PCIe bridge. PCI: 00:1c.0 init finished in 5287 usecs PCI: 00:1e.4 init ... PCI: 00:1e.4 init finished in 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 23482 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 23829 usecs PCI: 00:1f.4 init ... PCI: 00:1f.4 init finished in 2259 usecs PCI: 01:00.0 init ... PCI: 01:00.0 init finished in 2393 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 24453 usecs Devices initialized Show all devs... After init. Root Device: enabled 1 CPU_CLUSTER: 0: enabled 1 DOMAIN: 0000: enabled 1 APIC: 00: enabled 1 PCI: 00:00.0: enabled 1 PCI: 00:02.0: enabled 1 PCI: 00:14.0: enabled 1 PCI: 00:14.1: enabled 0 PCI: 00:14.2: enabled 1 PCI: 00:15.0: enabled 1 PCI: 00:15.1: enabled 1 PCI: 00:15.2: enabled 0 PCI: 00:15.3: enabled 0 PCI: 00:16.0: enabled 1 PCI: 00:16.1: enabled 0 PCI: 00:16.2: enabled 0 PCI: 00:16.3: enabled 0 PCI: 00:16.4: enabled 0 PCI: 00:17.0: enabled 0 PCI: 00:19.0: enabled 1 PCI: 00:19.1: enabled 1 PCI: 00:19.2: enabled 0 PCI: 00:1c.0: enabled 1 PCI: 00:1c.1: enabled 0 PCI: 00:1c.2: enabled 0 PCI: 00:1c.3: enabled 0 PCI: 00:1c.4: enabled 0 PCI: 00:1c.5: enabled 0 PCI: 00:1c.6: enabled 0 PCI: 00:1c.7: enabled 0 PCI: 00:1d.0: enabled 0 PCI: 00:1d.1: enabled 0 PCI: 00:1d.2: enabled 0 PCI: 00:1d.3: enabled 0 PCI: 00:1e.0: enabled 1 PCI: 00:1e.1: enabled 0 PCI: 00:1e.2: enabled 1 PCI: 00:1e.3: enabled 0 PCI: 00:1e.4: enabled 1 PCI: 00:1e.5: enabled 0 PCI: 00:1e.6: enabled 1 PCI: 00:1f.0: enabled 1 PCI: 00:1f.1: enabled 0 PCI: 00:1f.2: enabled 1 PCI: 00:1f.3: enabled 1 PCI: 00:1f.4: enabled 1 PCI: 00:1f.5: enabled 1 PCI: 00:1f.6: enabled 0 USB0 port 0: enabled 1 I2C: 01:5c: enabled 1 I2C: 02:15: enabled 1 I2C: 03:39: enabled 1 I2C: 03:3a: enabled 1 I2C: 03:1a: enabled 1 PCI: 01:00.0: enabled 1 SPI: 00: enabled 1 PNP: 0c09.0: enabled 1 USB2 port 0: enabled 1 USB2 port 1: enabled 1 USB2 port 2: enabled 1 USB2 port 4: enabled 1 USB2 port 8: enabled 1 APIC: 01: enabled 1 APIC: 02: enabled 1 APIC: 03: enabled 1 PCI: 00:04.0: enabled 1 PCI: 00:08.0: enabled 1 FMAP: area RW_ELOG found @ 9f0000 (16384 bytes) ELOG: NV offset 0x9f0000 size 0x4000 ELOG: area is 4096 bytes, full threshold 3842, shrink size 1024 ELOG: Event(17) added with size 13 at 2022-11-16 13:07:26 UTC POST: Unexpected post code in previous boot: 0x34 ELOG: Event(A3) added with size 11 at 2022-11-16 13:07:26 UTC ELOG: Event(92) added with size 9 at 2022-11-16 13:07:26 UTC ELOG: Event(9A) added with size 9 at 2022-11-16 13:07:26 UTC ELOG: Event(AD) added with size 10 at 2022-11-16 13:07:26 UTC ELOG: Event(9F) added with size 14 at 2022-11-16 13:07:26 UTC BS: BS_DEV_INIT times (us): entry 0 run 417108 exit 60045 ELOG: Event(A1) added with size 10 at 2022-11-16 13:07:26 UTC elog_add_boot_reason: Logged recovery mode boot (Dev-switch on), reason: 0x1b ELOG: Event(A0) added with size 9 at 2022-11-16 13:07:26 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 25565 run 3960 exit 5194 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, 0x57c bytes, checksum 7adf coreboot table: 1428 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 COREBOOTFWD 7. 7affe940 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 534101 exit 146368 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 597 run 259977 exit 135345 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 8000152/tftp-deploy-9dmozcia/kernel/bzImage 8000152/tftp-deploy-9dmozcia/kernel/cmdline 8000152/tftp-deploy-9dmozcia/ramdisk/ramdisk.cpio.gz tftpboot 192.168.201.1 8000152/tftp-deploy-9dmozcia/kernel/bzImoy-9dmozcia/kernel/cmdline 8000152/tftp-deploy-9dmozcia/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:78:7f:da Sending DHCP discover... done. Waiting for reply... done. Sending DHCP request... done. Waiting for reply... done. My ip is 192.168.201.17 The DHCP server ip is 192.168.201.1 TFTP server IP predefined by user: 192.168.201.1 Bootfile predefined by user: 8000152/tftp-deploy-9dmozcia/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 ################################################# done. The bootfile was 14024864 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: 8000152/tftp-deploy-9dmozcia/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/8000152/extract-nfsrootfs-n74r6ztz,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: 18222523 Starting kernel ... [ 0.000000] Linux version 5.10.155-cip20 (KernelCI@build-j517713-x86-64-gcc-10-x86-64-defconfig-x86-chromeboopjwkq) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Wed Nov 16 12:54:54 UTC 2022 [ 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/8000152/extract-nfsrootfs-n74r6ztz,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.000047] last_pfn = 0x17f000 max_arch_pfn = 0x400000000 [ 0.001168] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.006021] last_pfn = 0x7a998 max_arch_pfn = 0x400000000 [ 0.020256] check: Scanning 1 areas for low memory corruption [ 0.020266] Using GB pages for direct mapping [ 0.020810] RAMDISK: [mem 0x377f8000-0x37ffffff] [ 0.020816] ACPI: Early table checksum verification disabled [ 0.020823] ACPI: RSDP 0x00000000000F0000 000024 (v02 CORE ) [ 0.020834] ACPI: XSDT 0x000000007AA9A0E0 00006C (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.020846] ACPI: FACP 0x000000007AA9E970 0000F4 (v04 CORE COREBOOT 00000000 CORE 00000000) [ 0.020859] ACPI: DSDT 0x000000007AA9A280 0046E3 (v05 COREv4 COREBOOT 20110725 INTL 20180531) [ 0.020869] ACPI: FACS 0x000000007AA9A240 000040 [ 0.020878] ACPI: FACS 0x000000007AA9A240 000040 [ 0.020887] ACPI: SSDT 0x000000007AA9EA70 000EFA (v02 CORE COREBOOT 0000002A CORE 0000002A) [ 0.020897] ACPI: MCFG 0x000000007AA9F970 00003C (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.020906] ACPI: TPM2 0x000000007AA9F9B0 000040 (v04 CORE COREBOOT 00000000 CORE 00000000) [ 0.020915] ACPI: APIC 0x000000007AA9F9F0 00006C (v02 CORE COREBOOT 00000000 CORE 00000000) [ 0.020925] ACPI: NHLT 0x000000007AA9FA60 001B1C (v05 GOOGLE RAMMUS 00000000 CORE 00000000) [ 0.020934] ACPI: DMAR 0x000000007AAA1580 000088 (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.020944] ACPI: DBG2 0x000000007AAA3610 000061 (v00 CORE COREBOOT 00000000 CORE 00000000) [ 0.020953] ACPI: HPET 0x000000007AAA3680 000038 (v01 CORE COREBOOT 00000000 CORE 00000000) [ 0.020963] ACPI: Reserving FACP table memory at [mem 0x7aa9e970-0x7aa9ea63] [ 0.020967] ACPI: Reserving DSDT table memory at [mem 0x7aa9a280-0x7aa9e962] [ 0.020971] ACPI: Reserving FACS table memory at [mem 0x7aa9a240-0x7aa9a27f] [ 0.020974] ACPI: Reserving FACS table memory at [mem 0x7aa9a240-0x7aa9a27f] [ 0.020978] ACPI: Reserving SSDT table memory at [mem 0x7aa9ea70-0x7aa9f969] [ 0.020981] ACPI: Reserving MCFG table memory at [mem 0x7aa9f970-0x7aa9f9ab] [ 0.020985] ACPI: Reserving TPM2 table memory at [mem 0x7aa9f9b0-0x7aa9f9ef] [ 0.020989] ACPI: Reserving APIC table memory at [mem 0x7aa9f9f0-0x7aa9fa5b] [ 0.020992] ACPI: Reserving NHLT table memory at [mem 0x7aa9fa60-0x7aaa157b] [ 0.020996] ACPI: Reserving DMAR table memory at [mem 0x7aaa1580-0x7aaa1607] [ 0.021000] ACPI: Reserving DBG2 table memory at [mem 0x7aaa3610-0x7aaa3670] [ 0.021003] ACPI: Reserving HPET table memory at [mem 0x7aaa3680-0x7aaa36b7] [ 0.021132] No NUMA configuration found [ 0.021136] Faking a node at [mem 0x0000000000000000-0x000000017effffff] [ 0.021144] NODE_DATA(0) allocated [mem 0x17effa000-0x17effdfff] [ 0.021178] Zone ranges: [ 0.021182] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.021188] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.021194] Normal [mem 0x0000000100000000-0x000000017effffff] [ 0.021200] Movable zone start for each node [ 0.021203] Early memory node ranges [ 0.021207] node 0: [mem 0x0000000000001000-0x000000000009ffff] [ 0.021211] node 0: [mem 0x0000000000100000-0x000000007a997fff] [ 0.021215] node 0: [mem 0x0000000100000000-0x000000017effffff] [ 0.021220] Initmem setup node 0 [mem 0x0000000000001000-0x000000017effffff] [ 0.021248] On node 0, zone DMA: 1 pages in unavailable ranges [ 0.021284] On node 0, zone DMA: 96 pages in unavailable ranges [ 0.031149] On node 0, zone Normal: 22120 pages in unavailable ranges [ 0.031215] On node 0, zone Normal: 4096 pages in unavailable ranges [ 0.031238] Reserving Intel graphics memory at [mem 0x7c000000-0x7fffffff] [ 0.031583] ACPI: PM-Timer IO Port: 0x1808 [ 0.031634] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119 [ 0.031644] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.031649] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.031661] Using ACPI (MADT) for SMP configuration information [ 0.031666] ACPI: HPET id: 0x8086a701 base: 0xfed00000 [ 0.031672] TSC deadline timer available [ 0.031676] smpboot: Allowing 4 CPUs, 0 hotplug CPUs [ 0.031700] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.031705] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000fffff] [ 0.031710] PM: hibernation: Registered nosave memory: [mem 0x7a998000-0x7affffff] [ 0.031713] PM: hibernation: Registered nosave memory: [mem 0x7b000000-0x7fffffff] [ 0.031717] PM: hibernation: Registered nosave memory: [mem 0x80000000-0xdfffffff] [ 0.031720] PM: hibernation: Registered nosave memory: [mem 0xe0000000-0xe3ffffff] [ 0.031724] PM: hibernation: Registered nosave memory: [mem 0xe4000000-0xfdffffff] [ 0.031727] PM: hibernation: Registered nosave memory: [mem 0xfe000000-0xfe00ffff] [ 0.031731] PM: hibernation: Registered nosave memory: [mem 0xfe010000-0xfed0ffff] [ 0.031734] PM: hibernation: Registered nosave memory: [mem 0xfed10000-0xfed19fff] [ 0.031738] PM: hibernation: Registered nosave memory: [mem 0xfed1a000-0xfed7ffff] [ 0.031741] PM: hibernation: Registered nosave memory: [mem 0xfed80000-0xfed84fff] [ 0.031744] PM: hibernation: Registered nosave memory: [mem 0xfed85000-0xfed8ffff] [ 0.031748] PM: hibernation: Registered nosave memory: [mem 0xfed90000-0xfed91fff] [ 0.031751] PM: hibernation: Registered nosave memory: [mem 0xfed92000-0xffffffff] [ 0.031758] [mem 0x80000000-0xdfffffff] available for PCI devices [ 0.031765] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.042754] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 nr_node_ids:1 [ 0.042974] percpu: Embedded 59 pages/cpu s200848 r8192 d32624 u524288 [ 0.043038] Built 1 zonelists, mobility grouping on. Total pages: 1006266 [ 0.043042] Policy zone: Normal [ 0.043054] 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/8000152/extract-nfsrootfs-n74r6ztz,tcp,hard ip=dhcp tftpserverip=192.168.201.1 [ 0.043481] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.043674] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.043747] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.062244] Memory: 3888560K/4089052K available (18450K kernel code, 3466K rwdata, 6832K rodata, 2040K init, 13228K bss, 200232K reserved, 0K cma-reserved) [ 0.062383] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.062437] Kernel/User page tables isolation: enabled [ 0.062510] ftrace: allocating 53411 entries in 209 pages [ 0.109540] ftrace: allocated 209 pages with 4 groups [ 0.109769] Running RCU self tests [ 0.109782] rcu: Hierarchical RCU implementation. [ 0.109786] rcu: RCU event tracing is enabled. [ 0.109789] rcu: RCU lockdep checking is enabled. [ 0.109793] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. [ 0.109797] Rude variant of Tasks RCU enabled. [ 0.109800] Tracing variant of Tasks RCU enabled. [ 0.109804] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.109808] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.118159] NR_IRQS: 4352, nr_irqs: 1024, preallocated irqs: 16 [ 0.118562] random: crng init done [ 0.118650] Console: colour dummy device 80x25 [ 0.193778] printk: console [ttyS0] enabled [ 0.194145] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.194806] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.195165] ... MAX_LOCK_DEPTH: 48 [ 0.195527] ... MAX_LOCKDEP_KEYS: 8192 [ 0.195908] ... CLASSHASH_SIZE: 4096 [ 0.196284] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.196667] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.197050] ... CHAINHASH_SIZE: 32768 [ 0.197432] memory used by lock dependency info: 6365 kB [ 0.197900] memory used for stack traces: 4224 kB [ 0.198312] per task-struct memory footprint: 1920 bytes [ 0.198827] ACPI: Core revision 20200925 [ 0.199372] hpet: HPET dysfunctional in PC10. Force disabled. [ 0.199872] APIC: Switch to symmetric I/O mode setup [ 0.204336] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x170fff30cc4, max_idle_ns: 440795237869 ns [ 0.205252] Calibrating delay loop (skipped), value calculated using timer frequency.. 3199.92 BogoMIPS (lpj=1599960) [ 0.206156] pid_max: default: 32768 minimum: 301 [ 0.206237] LSM: Security Framework initializing [ 0.206237] SELinux: Initializing. [ 0.206237] LSM support for eBPF active [ 0.206237] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.206237] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.206237] mce: CPU0: Thermal monitoring enabled (TM1) [ 0.206237] process: using mwait in idle threads [ 0.206237] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8 [ 0.206237] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4 [ 0.206237] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 0.206237] Spectre V2 : Mitigation: IBRS [ 0.206237] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.206237] Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT [ 0.206237] RETBleed: Mitigation: IBRS [ 0.206237] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier [ 0.206237] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl and seccomp [ 0.206237] MDS: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.206237] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode [ 0.206237] SRBDS: Vulnerable: No microcode [ 0.206237] ------------[ cut here ]------------ [ 0.206237] missing return thunk: lkdtm_rodata_do_nothing+0x0/0x10-lkdtm_rodata_do_nothing+0x5/0x10: e9 00 00 00 00 [ 0.206237] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/alternative.c:712 apply_returns+0x1f5/0x220 [ 0.206237] Modules linked in: [ 0.206237] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.10.155-cip20 #1 [ 0.206237] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 0.206237] RIP: 0010:apply_returns+0x1f5/0x220 [ 0.206237] 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 c8 e9 2c aa c6 05 8c 5a e4 01 01 e8 36 b6 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.206237] RSP: 0000:ffffffffaa603de0 EFLAGS: 00010282 [ 0.206237] RAX: 0000000000000000 RBX: ffffffffab0e6264 RCX: 0000000000000000 [ 0.206237] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa8b7a891 [ 0.206237] RBP: ffffffffa9fa0b60 R08: 0000000000000001 R09: 0000000000000001 [ 0.206237] R10: ffffffffaa68fcc0 R11: 3fffffffffffffff R12: ffffffffab0fde90 [ 0.206237] R13: cccccccccccccccc R14: ffffffffa9fa0b65 R15: 0000000000000004 [ 0.206237] FS: 0000000000000000(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 [ 0.206237] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.206237] CR2: ffff9b4a3efff000 CR3: 000000003a226001 CR4: 00000000003706f0 [ 0.206237] Call Trace: [ 0.206237] alternative_instructions+0x7d/0x143 [ 0.206237] check_bugs+0xedd/0xf39 [ 0.206237] start_kernel+0x517/0x54d [ 0.206237] secondary_startup_64_no_verify+0xc2/0xcb [ 0.206237] irq event stamp: 162629 [ 0.206237] hardirqs last enabled at (162637): [] console_unlock+0x4d1/0x5f0 [ 0.206237] hardirqs last disabled at (162644): [] console_unlock+0x444/0x5f0 [ 0.206237] softirqs last enabled at (1836): [] cgroup_idr_alloc.constprop.0+0x5b/0xe0 [ 0.206237] softirqs last disabled at (1834): [] cgroup_idr_alloc.constprop.0+0x2e/0xe0 [ 0.206237] ---[ end trace 5f8062a791bfe16d ]--- [ 0.206237]# Freeing SMP alternatives memory: 44K [ 0.206237] smpboot: CPU0: Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz (family: 0x6, model: 0x8e, stepping: 0x9) [ 0.206903] Performance Events: PEBS fmt3+, Skylake events, 32-deep LBR, full-width counters, Intel PMU driver. [ 0.207252] ... version: 4 [ 0.207609] ... bit width: 48 [ 0.207970] ... generic registers: 4 [ 0.208243] ... value mask: 0000ffffffffffff [ 0.208707] ... max period: 00007fffffffffff [ 0.209169] ... fixed-purpose events: 3 [ 0.209243] ... event mask: 000000070000000f [ 0.210222] rcu: Hierarchical SRCU implementation. [ 0.212135] smp: Bringing up secondary CPUs ... [ 0.212989] x86: Booting SMP configuration: [ 0.213259] .... node #0, CPUs: #1 [ 0.214294] 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.215266] 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.216918] #2 #3 [ 0.219032] smp: Brought up 1 node, 4 CPUs [ 0.219606] smpboot: Max logical packages: 1 [ 0.219983] smpboot: Total of 4 processors activated (12799.68 BogoMIPS) [ 0.222564] devtmpfs: initialized [ 0.223322] x86/mm: Memory block size: 128MB [ 0.227363] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.228256] futex hash table entries: 1024 (order: 5, 131072 bytes, linear) [ 0.229262] pinctrl core: initialized pinctrl subsystem [ 0.230070] PM: RTC time: 13:07:40, date: 2022-11-16 [ 0.230765] NET: Registered protocol family 16 [ 0.231877] audit: initializing netlink subsys (disabled) [ 0.232287] audit: type=2000 audit(1668604060.027:1): state=initialized audit_enabled=0 res=1 [ 0.232952] thermal_sys: Registered thermal governor 'step_wise' [ 0.233029] thermal_sys: Registered thermal governor 'user_space' [ 0.233321] cpuidle: using governor menu [ 0.234370] ACPI: bus type PCI registered [ 0.235073] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000) [ 0.235252] PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] reserved in E820 [ 0.235871] PCI: Using configuration type 1 for base access [ 0.259445] Kprobes globally optimized [ 0.259817] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.260258] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.261014] cryptomgr_test (38) used greatest stack depth: 14880 bytes left [ 0.263543] ACPI: Added _OSI(Module Device) [ 0.264249] ACPI: Added _OSI(Processor Device) [ 0.264643] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.265057] ACPI: Added _OSI(Processor Aggregator Device) [ 0.265256] ACPI: Added _OSI(Linux-Dell-Video) [ 0.265651] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio) [ 0.266116] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics) [ 0.278923] ACPI: 2 ACPI AML tables successfully acquired and loaded [ 0.287448] ACPI: EC: EC started [ 0.287759] ACPI: EC: interrupt blocked [ 0.288900] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.289248] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions [ 0.289884] ACPI: Interpreter enabled [ 0.290278] ACPI: (supports S0 S3 S4 S5) [ 0.290628] ACPI: Using IOAPIC for interrupt routing [ 0.291140] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.308959] ACPI: Power Resource [PRIC] (on) [ 0.438273] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.438820] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] [ 0.439556] acpi PNP0A08:00: _OSC: OS now controls [PME PCIeCapability LTR] [ 0.440223] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge [ 0.440882] PCI host bridge to bus 0000:00 [ 0.441247] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.441836] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.442245] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.442890] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000c3fff window] [ 0.443244] pci_bus 0000:00: root bus resource [mem 0x000c4000-0x000c7fff window] [ 0.443889] pci_bus 0000:00: root bus resource [mem 0x000c8000-0x000cbfff window] [ 0.444244] pci_bus 0000:00: root bus resource [mem 0x000cc000-0x000cffff window] [ 0.444890] pci_bus 0000:00: root bus resource [mem 0x000d0000-0x000d3fff window] [ 0.445244] pci_bus 0000:00: root bus resource [mem 0x000d4000-0x000d7fff window] [ 0.445889] pci_bus 0000:00: root bus resource [mem 0x000d8000-0x000dbfff window] [ 0.446244] pci_bus 0000:00: root bus resource [mem 0x000dc000-0x000dffff window] [ 0.446890] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000e3fff window] [ 0.447244] pci_bus 0000:00: root bus resource [mem 0x000e4000-0x000e7fff window] [ 0.447890] pci_bus 0000:00: root bus resource [mem 0x000e8000-0x000ebfff window] [ 0.448244] pci_bus 0000:00: root bus resource [mem 0x000ec000-0x000effff window] [ 0.448889] pci_bus 0000:00: root bus resource [mem 0x000f0000-0x000fffff window] [ 0.449246] pci_bus 0000:00: root bus resource [mem 0x80000001-0xdfffffff window] [ 0.449891] pci_bus 0000:00: root bus resource [mem 0x800000000-0xbffffffff window] [ 0.450244] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfe7fffff window] [ 0.450889] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window] [ 0.451245] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.451809] pci 0000:00:00.0: [8086:590c] type 00 class 0x060000 [ 0.453278] pci 0000:00:02.0: [8086:591c] type 00 class 0x030000 [ 0.453822] pci 0000:00:02.0: reg 0x10: [mem 0xd0000000-0xd0ffffff 64bit] [ 0.454258] pci 0000:00:02.0: reg 0x18: [mem 0xc0000000-0xcfffffff 64bit pref] [ 0.454889] pci 0000:00:02.0: reg 0x20: [io 0x1c00-0x1c3f] [ 0.455914] pci 0000:00:04.0: [8086:1903] type 00 class 0x118000 [ 0.456269] pci 0000:00:04.0: reg 0x10: [mem 0xd1120000-0xd1127fff 64bit] [ 0.457654] pci 0000:00:08.0: [8086:1911] type 00 class 0x088000 [ 0.458201] pci 0000:00:08.0: reg 0x10: [mem 0xd1130000-0xd1130fff 64bit] [ 0.458937] pci 0000:00:14.0: [8086:9d2f] type 00 class 0x0c0330 [ 0.459283] pci 0000:00:14.0: reg 0x10: [mem 0xd1100000-0xd110ffff 64bit] [ 0.460007] pci 0000:00:14.0: PME# supported from D3hot D3cold [ 0.461048] pci 0000:00:14.2: [8086:9d31] type 00 class 0x118000 [ 0.461282] pci 0000:00:14.2: reg 0x10: [mem 0xd1131000-0xd1131fff 64bit] [ 0.462583] pci 0000:00:15.0: [8086:9d60] type 00 class 0x118000 [ 0.463141] pci 0000:00:15.0: reg 0x10: [mem 0xd1132000-0xd1132fff 64bit] [ 0.464102] pci 0000:00:15.1: [8086:9d61] type 00 class 0x118000 [ 0.464289] pci 0000:00:15.1: reg 0x10: [mem 0xd1133000-0xd1133fff 64bit] [ 0.465761] pci 0000:00:19.0: [8086:9d66] type 00 class 0x118000 [ 0.466289] pci 0000:00:19.0: reg 0x10: [mem 0xfe034000-0xfe034fff 64bit] [ 0.466898] pci 0000:00:19.0: reg 0x18: [mem 0xd1135000-0xd1135fff 64bit] [ 0.468089] pci 0000:00:19.1: [8086:9d65] type 00 class 0x118000 [ 0.468289] pci 0000:00:19.1: reg 0x10: [mem 0xd1136000-0xd1136fff 64bit] [ 0.469756] pci 0000:00:1c.0: [8086:9d10] type 01 class 0x060400 [ 0.470441] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.471775] pci 0000:00:1e.0: [8086:9d27] type 00 class 0x118000 [ 0.472290] pci 0000:00:1e.0: reg 0x10: [mem 0xd1137000-0xd1137fff 64bit] [ 0.473736] pci 0000:00:1e.2: [8086:9d29] type 00 class 0x118000 [ 0.474289] pci 0000:00:1e.2: reg 0x10: [mem 0xd1138000-0xd1138fff 64bit] [ 0.475734] pci 0000:00:1e.4: [8086:9d2b] type 00 class 0x080501 [ 0.476283] pci 0000:00:1e.4: reg 0x10: [mem 0xd1139000-0xd1139fff 64bit] [ 0.477825] pci 0000:00:1e.6: [8086:9d2d] type 00 class 0x080501 [ 0.478283] pci 0000:00:1e.6: reg 0x10: [mem 0xd113a000-0xd113afff 64bit] [ 0.479686] pci 0000:00:1f.0: [8086:9d4b] type 00 class 0x060100 [ 0.481028] pci 0000:00:1f.2: [8086:9d21] type 00 class 0x058000 [ 0.481282] pci 0000:00:1f.2: reg 0x10: [mem 0xd1128000-0xd112bfff] [ 0.482630] pci 0000:00:1f.3: [8086:9d71] type 00 class 0x040100 [ 0.483186] pci 0000:00:1f.3: reg 0x10: [mem 0xd112c000-0xd112ffff 64bit] [ 0.483303] pci 0000:00:1f.3: reg 0x20: [mem 0xd1110000-0xd111ffff 64bit] [ 0.483991] pci 0000:00:1f.3: PME# supported from D3hot D3cold [ 0.485050] pci 0000:00:1f.4: [8086:9d23] type 00 class 0x0c0500 [ 0.485311] pci 0000:00:1f.4: reg 0x10: [mem 0xd113c000-0xd113c0ff 64bit] [ 0.485967] pci 0000:00:1f.4: reg 0x20: [io 0xefa0-0xefbf] [ 0.487015] pci 0000:00:1f.5: [8086:9d24] type 00 class 0x000000 [ 0.487276] pci 0000:00:1f.5: reg 0x10: [mem 0xfe010000-0xfe010fff] [ 0.488896] pci 0000:01:00.0: [8086:095a] type 00 class 0x028000 [ 0.489491] pci 0000:01:00.0: reg 0x10: [mem 0xd1000000-0xd1001fff 64bit] [ 0.491130] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.493011] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.493261] pci 0000:00:1c.0: bridge window [mem 0xd1000000-0xd10fffff] [ 0.495201] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.496161] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *10 12 14 15) [ 0.496538] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.497465] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.498390] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.499313] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.500235] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.501156] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 12 14 15) *11 [ 0.507257] ACPI: EC: interrupt unblocked [ 0.507625] ACPI: EC: event unblocked [ 0.507961] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62 [ 0.508244] ACPI: EC: GPE=0x6e [ 0.508526] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC initialization complete [ 0.509136] ACPI: \_SB_.PCI0.LPCB.EC0_: EC: Used to handle transactions and events [ 0.509667] iommu: Default domain type: Translated [ 0.510422] pci 0000:00:02.0: vgaarb: setting as boot VGA device [ 0.510850] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none [ 0.511276] pci 0000:00:02.0: vgaarb: bridge control possible [ 0.511776] vgaarb: loaded [ 0.512549] SCSI subsystem initialized [ 0.512914] ACPI: bus type USB registered [ 0.513399] usbcore: registered new interface driver usbfs [ 0.513938] usbcore: registered new interface driver hub [ 0.514285] usbcore: registered new device driver usb [ 0.514848] pps_core: LinuxPPS API ver. 1 registered [ 0.515244] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 0.516035] PTP clock support registered [ 0.516470] Advanced Linux Sound Architecture Driver Initialized. [ 0.518195] NetLabel: Initializing [ 0.518244] NetLabel: domain hash size = 128 [ 0.518630] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.519191] NetLabel: unlabeled traffic allowed by default [ 0.519361] PCI: Using ACPI for IRQ routing [ 0.527594] clocksource: Switched to clocksource tsc-early [ 0.915051] VFS: Disk quotas dquot_6.6.0 [ 0.915470] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.916479] pnp: PnP ACPI init [ 0.917567] system 00:00: [mem 0xfed10000-0xfed17fff] has been reserved [ 0.918145] system 00:00: [mem 0xfed18000-0xfed18fff] has been reserved [ 0.918742] system 00:00: [mem 0xfed19000-0xfed19fff] has been reserved [ 0.919336] system 00:00: [mem 0xe0000000-0xe3ffffff] has been reserved [ 0.919912] system 00:00: [mem 0xfed20000-0xfed3ffff] has been reserved [ 0.920505] system 00:00: [mem 0xfed90000-0xfed93fff] could not be reserved [ 0.921111] system 00:00: [mem 0xfed45000-0xfed8ffff] could not be reserved [ 0.921738] system 00:00: [mem 0xff000000-0xffffffff] has been reserved [ 0.922330] system 00:00: [mem 0xfee00000-0xfeefffff] has been reserved [ 0.922906] system 00:00: [mem 0xfed00000-0xfed003ff] has been reserved [ 0.924435] system 00:01: [io 0x1800-0x18fe] has been reserved [ 0.925354] system 00:03: [io 0x0900-0x09fe] has been reserved [ 0.926121] system 00:04: [io 0x0200] has been reserved [ 0.926608] system 00:04: [io 0x0204] has been reserved [ 0.927078] system 00:04: [io 0x0800-0x087f] has been reserved [ 0.927613] system 00:04: [io 0x0880-0x08ff] has been reserved [ 0.930894] pnp: PnP ACPI: found 6 devices [ 0.945211] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.946104] NET: Registered protocol family 2 [ 0.946645] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.948780] tcp_listen_portaddr_hash hash table entries: 2048 (order: 5, 163840 bytes, linear) [ 0.949754] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.950642] TCP bind hash table entries: 32768 (order: 9, 2359296 bytes, linear) [ 0.952942] TCP: Hash tables configured (established 32768 bind 32768) [ 0.953824] MPTCP token hash table entries: 4096 (order: 6, 360448 bytes, linear) [ 0.954753] UDP hash table entries: 2048 (order: 6, 327680 bytes, linear) [ 0.955594] UDP-Lite hash table entries: 2048 (order: 6, 327680 bytes, linear) [ 0.956581] NET: Registered protocol family 1 [ 0.957658] RPC: Registered named UNIX socket transport module. [ 0.958196] RPC: Registered udp transport module. [ 0.958633] RPC: Registered tcp transport module. [ 0.959049] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.960144] NET: Registered protocol family 44 [ 0.960575] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.961026] pci 0000:00:1c.0: bridge window [mem 0xd1000000-0xd10fffff] [ 0.961644] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.962180] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.962727] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.963389] pci_bus 0000:00: resource 7 [mem 0x000c0000-0x000c3fff window] [ 0.963983] pci_bus 0000:00: resource 8 [mem 0x000c4000-0x000c7fff window] [ 0.964590] pci_bus 0000:00: resource 9 [mem 0x000c8000-0x000cbfff window] [ 0.965185] pci_bus 0000:00: resource 10 [mem 0x000cc000-0x000cffff window] [ 0.965799] pci_bus 0000:00: resource 11 [mem 0x000d0000-0x000d3fff window] [ 0.966416] pci_bus 0000:00: resource 12 [mem 0x000d4000-0x000d7fff window] [ 0.967019] pci_bus 0000:00: resource 13 [mem 0x000d8000-0x000dbfff window] [ 0.967632] pci_bus 0000:00: resource 14 [mem 0x000dc000-0x000dffff window] [ 0.968236] pci_bus 0000:00: resource 15 [mem 0x000e0000-0x000e3fff window] [ 0.968849] pci_bus 0000:00: resource 16 [mem 0x000e4000-0x000e7fff window] [ 0.969466] pci_bus 0000:00: resource 17 [mem 0x000e8000-0x000ebfff window] [ 0.970069] pci_bus 0000:00: resource 18 [mem 0x000ec000-0x000effff window] [ 0.970685] pci_bus 0000:00: resource 19 [mem 0x000f0000-0x000fffff window] [ 0.971305] pci_bus 0000:00: resource 20 [mem 0x80000001-0xdfffffff window] [ 0.971907] pci_bus 0000:00: resource 21 [mem 0x800000000-0xbffffffff window] [ 0.972536] pci_bus 0000:00: resource 22 [mem 0xfd000000-0xfe7fffff window] [ 0.973139] pci_bus 0000:00: resource 23 [mem 0xfed40000-0xfed44fff window] [ 0.973754] pci_bus 0000:01: resource 1 [mem 0xd1000000-0xd10fffff] [ 0.974762] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 0.977519] PCI: CLS 64 bytes, default 64 [ 0.978282] Unpacking initramfs... [ 1.238459] Freeing initrd memory: 8224K [ 1.238919] DMAR: Host address width 39 [ 1.239306] DMAR: DRHD base: 0x000000fed90000 flags: 0x0 [ 1.239851] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e [ 1.240592] DMAR: RMRR base: 0x0000007b800000 end: 0x0000007fffffff [ 1.241136] DMAR: DRHD base: 0x000000fed91000 flags: 0x1 [ 1.241732] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da [ 1.242519] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 1.243080] software IO TLB: mapped [mem 0x0000000076998000-0x000000007a998000] (64MB) [ 1.243974] RAPL PMU: API unit is 2^-32 Joules, 5 fixed counters, 655360 ms ovfl timer [ 1.244675] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules [ 1.245175] RAPL PMU: hw unit of domain package 2^-14 Joules [ 1.245686] RAPL PMU: hw unit of domain dram 2^-14 Joules [ 1.246157] RAPL PMU: hw unit of domain pp1-gpu 2^-14 Joules [ 1.246660] RAPL PMU: hw unit of domain psys 2^-14 Joules [ 1.248782] kvm: already loaded the other module [ 1.251379] check: Scanning for low memory corruption every 60 seconds [ 1.255047] Initialise system trusted keyrings [ 1.255690] workingset: timestamp_bits=56 max_order=20 bucket_order=0 [ 1.275367] NFS: Registering the id_resolver key type [ 1.275845] Key type id_resolver registered [ 1.276253] Key type id_legacy registered [ 1.293015] Key type asymmetric registered [ 1.293421] Asymmetric key parser 'x509' registered [ 1.293912] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.294578] io scheduler mq-deadline registered [ 1.294979] io scheduler kyber registered [ 1.295547] test_firmware: interface ready [ 1.297445] pcieport 0000:00:1c.0: PME: Signaling with IRQ 120 [ 1.299207] ACPI: AC Adapter [AC] (on-line) [ 1.299963] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/PNP0C09:00/PNP0C0D:00/input/input0 [ 1.301623] ACPI: Lid Switch [LID0] [ 1.302191] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 [ 1.303073] ACPI: Power Button [PWRF] [ 1.303744] ACPI: \_PR_.CP00: Found 3 idle states [ 1.304935] ACPI: \_PR_.CP01: Found 3 idle states [ 1.305950] ACPI: \_PR_.CP02: Found 3 idle states [ 1.306955] ACPI: \_PR_.CP03: Found 3 idle states [ 1.308418] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.311690] hpet_acpi_add: no address or irqs in _CRS [ 1.312432] Non-volatile memory driver v1.3 [ 1.312933] battery: ACPI: Battery Slot [BAT0] (battery present) [ 1.313018] Linux agpgart interface v0.103 [ 1.316564] i915 0000:00:02.0: vgaarb: deactivate vga console [ 1.369771] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 1.371548] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4) [ 1.400037] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0 [ 1.404363] [drm] Initialized vgem 1.0.0 20120112 for vgem on minor 1 [ 1.423497] loop: module loaded [ 1.424714] lkdtm: No crash points registered, enable through debugfs [ 1.450087] printk: console [ttyS0] disabled [ 1.450730] dw-apb-uart.2: ttyS0 at MMIO 0xfe034000 (irq = 32, base_baud = 115200) is a 16550A [ 2.284419] tsc: Refined TSC clocksource calibration: 1608.000 MHz [ 2.286732] printk: console [ttyS0] enabled [ 2.290259] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x172daa3a18b, max_idle_ns: 440795212390 ns [ 2.329803] dw-apb-uart.4: ttyS1 at MMIO 0xd1137000 (irq = 20, base_baud = 115200) is a 16550A [ 4.866575] clocksource: Switched to clocksource tsc [ 4.866732] fbcon: i915drmfb (fb0) is primary device [ 4.868987] pxa2xx-spi pxa2xx-spi.5: no DMA channels available, using PIO [ 4.878233] e100: Intel(R) PRO/100 Network Driver [ 4.878236] e100: Copyright(c) 1999-2006 Intel Corporation [ 4.878338] e1000: Intel(R) PRO/1000 Network Driver [ 4.878340] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 4.878426] e1000e: Intel(R) PRO/1000 Network Driver [ 4.878429] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 4.878518] sky2: driver version 1.30 [ 4.878849] usbcore: registered new interface driver r8152 [ 4.879309] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.879329] ehci-pci: EHCI PCI platform driver [ 4.879400] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.879417] ohci-pci: OHCI PCI platform driver [ 4.879482] uhci_hcd: USB Universal Host Controller Interface driver [ 4.880243] tpm_tis_spi spi-PRP0001:00: TPM ready IRQ confirmed on attempt 2 [ 4.880628] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 4.881421] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1 [ 4.882784] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000081109810 [ 4.882833] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported [ 4.884987] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 4.885009] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.885016] usb usb1: Product: xHCI Host Controller [ 4.885020] usb usb1: Manufacturer: Linux 5.10.155-cip20 xhci-hcd [ 4.885025] usb usb1: SerialNumber: 0000:00:14.0 [ 4.886820] hub 1-0:1.0: USB hub found [ 4.886997] hub 1-0:1.0: 12 ports detected [ 4.891641] xhci_hcd 0000:00:14.0: xHCI Host Controller [ 4.892103] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2 [ 4.892115] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed [ 4.892580] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 4.892602] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.892607] usb usb2: Product: xHCI Host Controller [ 4.892611] usb usb2: Manufacturer: Linux 5.10.155-cip20 xhci-hcd [ 4.892615] usb usb2: SerialNumber: 0000:00:14.0 [ 4.893838] hub 2-0:1.0: USB hub found [ 4.893948] hub 2-0:1.0: 6 ports detected [ 4.896144] usbcore: registered new interface driver usblp [ 4.896226] usbcore: registered new interface driver usb-storage [ 4.896712] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers [ 4.896861] i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 [ 4.896865] i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp [ 4.897618] i8042: Warning: Keylock active [ 4.897943] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 4.900208] rtc_cmos 00:02: RTC can wake from S4 [ 4.901855] Console: switching to colour frame buffer device 240x67 [ 4.902524] rtc_cmos 00:02: registered as rtc0 [ 4.902980] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 4.903654] tpm_tis_spi spi-PRP0001:00: 2.0 TPM (device-id 0x28, rev-id 0) [ 4.904565] rtc_cmos 00:02: alarms up to one month, 242 bytes nvram [ 4.905795] i801_smbus 0000:00:1f.4: SPD Write Disable is set [ 4.905841] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt [ 4.906965] i2c i2c-9: 2/2 memory slots populated (from DMI) [ 4.908599] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com [ 4.908657] intel_pstate: Intel P-state driver initializing [ 4.909707] intel_pstate: HWP enabled [ 4.909746] sdhci: Secure Digital Host Controller Interface driver [ 4.909747] sdhci: Copyright(c) Pierre Ossman [ 4.909799] sdhci-pci 0000:00:1e.4: SDHCI controller found [8086:9d2b] (rev 21) [ 4.911296] mmc0: SDHCI controller on PCI [0000:00:1e.4] using ADMA 64-bit [ 4.911588] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 4.913752] hid: raw HID events driver (C) Jiri Kosina [ 4.914444] usbcore: registered new interface driver usbhid [ 4.914452] usbhid: USB HID core driver [ 4.915004] input: Tablet Mode Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:03/PNP0C09:00/GOOG0006:00/input/input3 [ 4.920065] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device [ 5.132299] usb 1-3: new full-speed USB device number 2 using xhci_hcd [ 5.139385] cros_ec_lpcs GOOG0004:00: Chrome EC device registered [ 5.277709] usb 1-3: New USB device found, idVendor=8087, idProduct=0a2a, bcdDevice= 0.03 [ 5.283345] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 5.288752] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 5.390306] usb 2-3: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 5.401876] netem: version 1.3 [ 5.418641] ipip: IPv4 and MPLS over IPv4 tunneling driver [ 5.420033] usb 2-3: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00 [ 5.425150] gre: GRE over IPv4 demultiplexor driver [ 5.433940] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=6 [ 5.439409] ip_gre: GRE over IPv4 tunneling driver [ 5.447381] usb 2-3: Product: USB 10/100/1000 LAN [ 5.453805] IPv4 over IPsec tunneling driver [ 5.457994] usb 2-3: Manufacturer: Realtek [ 5.461749] 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.463364] Initializing XFRM netlink socket [ 5.467366] usb 2-3: SerialNumber: 001000001 [ 5.480944] NET: Registered protocol family 10 [ 5.495764] Segment Routing with IPv6 [ 5.500575] ip6_gre: GRE over IPv6 tunneling driver [ 5.505697] mmc0: new HS400 MMC card at address 0001 [ 5.506375] NET: Registered protocol family 17 [ 5.512255] mmcblk0: mmc0:0001 DA4064 58.2 GiB [ 5.516729] 8021q: 802.1Q VLAN Support v1.8 [ 5.521792] mmcblk0boot0: mmc0:0001 DA4064 partition 1 4.00 MiB [ 5.526449] Key type dns_resolver registered [ 5.533316] mmcblk0boot1: mmc0:0001 DA4064 partition 2 4.00 MiB [ 5.536266] usb 1-9: new high-speed USB device number 3 using xhci_hcd [ 5.552295] microcode: sig=0x806e9, pf=0x10, revision=0x98 [ 5.552357] mmcblk0rpmb: mmc0:0001 DA4064 partition 3 16.0 MiB, chardev (246:0) [ 5.566635] microcode: Microcode Update Driver: v2.2. [ 5.566643] IPI shorthand broadcast: enabled [ 5.575425] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 [ 5.577105] sched_clock: Marking stable (5490363488, 86709653)->(5667837427, -90764286) [ 5.592602] registered taskstats version 1 [ 5.597198] Loading compiled-in X.509 certificates [ 5.604839] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.614762] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.624337] PM: Magic number: 14:675:129 [ 5.628966] nvmem cmos_nvram0: hash matches [ 5.633724] event_source kprobe: hash matches [ 5.638652] acpi device:04: hash matches [ 5.643050] acpi PNP0C02:01: hash matches [ 5.647664] printk: console [netcon0] enabled [ 5.652541] netconsole: network logging started [ 5.692468] usb 1-9: New USB device found, idVendor=13d3, idProduct=56d4, bcdDevice=18.07 [ 5.701627] usb 1-9: New USB device strings: Mfr=3, Product=1, SerialNumber=2 [ 5.707674] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops) [ 5.709618] usb 1-9: Product: USB2.0 HD UVC WebCam [ 5.709622] usb 1-9: Manufacturer: Azurewave [ 5.709624] usb 1-9: SerialNumber: 0x0001 [ 5.712331] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.743481] snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up [ 5.795481] usb 2-3: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd [ 5.838458] r8152 2-3:1.0: load rtl8153b-2 v1 10/23/19 successfully [ 5.874696] r8152 2-3:1.0 eth0: v1.11.11 [ 5.879953] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 5.880307] IP-Config: Failed to open gretap0 [ 5.893221] IP-Config: Failed to open erspan0 [ 5.914443] Sending DHCP requests . [ 7.752234] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 7.763640] r8152 2-3:1.0 eth0: carrier on [ 8.542400] ., OK [ 8.552653] IP-Config: Got DHCP answer from 192.168.201.1, my address is 192.168.201.17 [ 8.561642] IP-Config: Complete: [ 8.565278] device=eth0, hwaddr=00:e0:4c:78:7f:da, ipaddr=192.168.201.17, mask=255.255.255.0, gw=192.168.201.1 [ 8.576967] host=asus-C433TA-AJ0005-rammus-cbg-3, domain=lava-rack, nis-domain=(none) [ 8.586224] bootserver=192.168.201.1, rootserver=192.168.201.1, rootpath= [ 8.586228] nameserver0=192.168.201.1 [ 8.599054] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 8.610739] modprobe (101) used greatest stack depth: 14208 bytes left [ 8.613955] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 8.618067] modprobe (102) used greatest stack depth: 14120 bytes left [ 8.625667] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 8.626344] ALSA device list: [ 8.626349] No soundcards found. [ 8.649587] cfg80211: failed to load regulatory.db [ 8.655160] dw-apb-uart dw-apb-uart.2: forbid DMA for kernel console [ 8.665438] Freeing unused kernel image (initmem) memory: 2040K [ 8.684512] Write protecting the kernel read-only data: 28672k [ 8.692195] Freeing unused kernel image (text/rodata gap) memory: 2028K [ 8.700130] Freeing unused kernel image (rodata/data gap) memory: 1360K [ 8.707645] Run /init as init process Loading, please wait... Starting version 247.3-7+deb11u1 [ 8.729794] systemd-udevd (123) used greatest stack depth: 13800 bytes left [ 8.786610] udevadm (125) used greatest stack depth: 13576 bytes left [ 8.931087] cros-usbpd-notify-acpi GOOG0003:00: Couldn't get Chrome EC device pointer. [ 8.940402] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 8.974550] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.020903] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.032142] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.043674] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.057271] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.070326] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.081029] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.091220] sdhci-pci 0000:00:1e.6: SDHCI controller found [8086:9d2d] (rev 21) [ 9.124049] udevadm (142) used greatest stack depth: 13400 bytes left 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 ... done. IP-Config: eth0 hardware address 00:e0:4c:78:7f:da mtu 1500 DHCP IP-Config: gretap0 hardware address 00:00:00:00:00:00 mtu 1462 DHCP SIOCSIFFLAGS: Cannot assign requested address IP-Config: erspan0 hardware address 00:00:00:00:00:00 mtu 1450 DHCP SIOCSIFFLAGS: Cannot assign requested address IP-Config: eth0 complete (dhcp from 192.168.201.1): address: 192.168.201.17 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-3 domain : lava-rack rootserver: 192.168.201.1 rootpath: filename : [ 9.321733] nfsmount (162) 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 [ 10.597108] 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) [ 10.635547] systemd[1]: Detected architecture x86-64. Welcome to Debian GNU/Linux 11 (bullseye)! [ 10.666502] systemd[1]: Set hostname to . [ 11.199688] systemd[1]: Queued start job for default target Graphical Interface. [ 11.211058] systemd[1]: Created slice system-getty.slice. [ OK ] Created slice system-getty.slice. [ 11.226923] systemd[1]: Created slice system-modprobe.slice. [ OK ] Created slice system-modprobe.slice. [ 11.242962] systemd[1]: Created slice system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ 11.259920] systemd[1]: Created slice User and Session Slice. [ OK ] Created slice User and Session Slice. [ 11.275809] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ 11.294775] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ OK ] Started Forward Password R…uests to Wall Directory Watch. [ 11.316460] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ OK ] Set up automount Arbitrary…s File System Automount Point. [ 11.336594] systemd[1]: Reached target Local Encrypted Volumes. [ OK ] Reached target Local Encrypted Volumes. [ 11.352624] systemd[1]: Reached target Paths. [ OK ] Reached target Paths. [ 11.363500] systemd[1]: Reached target Remote File Systems. [ OK ] Reached target Remote File Systems. [ 11.379594] systemd[1]: Reached target Slices. [ OK ] Reached target Slices. [ 11.390507] systemd[1]: Reached target Swap. [ OK ] Reached target Swap. [ 11.401816] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ 11.419457] systemd[1]: Listening on Journal Audit Socket. [ OK ] Listening on Journal Audit Socket. [ 11.435461] systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). [ 11.452008] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Journal Socket. [ 11.467443] systemd[1]: Listening on Network Service Netlink Socket. [ OK ] Listening on Network Service Netlink Socket. [ 11.485775] systemd[1]: Listening on udev Control Socket. [ OK ] Listening on udev Control Socket. [ 11.501912] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ 11.519355] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... [ 11.535225] systemd[1]: Mounting POSIX Message Queue File System... Mounting POSIX Message Queue File System... [ 11.553504] systemd[1]: Mounting Kernel Debug File System... Mounting Kernel Debug File System... [ 11.569735] systemd[1]: Mounting Kernel Trace File System... Mounting Kernel Trace File System... [ 11.594004] systemd[1]: Starting Create list of static device nodes for the current kernel... Starting Create list of st…odes for the current kernel... [ 11.615540] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module configfs... [ 11.633211] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module drm... [ 11.646930] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 11.685216] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 11.695623] fuse: init (API version 7.32) [ 11.701882] systemd[1]: Starting Journal Service... Starting Journal Service... [ 11.718715] systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... [ 11.732824] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 11.751133] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 11.770033] systemd[1]: Mounted Huge Pages File System. [ OK ] Mounted Huge Pages File System. [ 11.786708] systemd[1]: Mounted POSIX Message Queue File System. [ OK ] Mounted POSIX Message Queue File System. [ 11.802675] systemd[1]: Mounted Kernel Debug File System. [ OK ] Mounted Kernel Debug File System. [ 11.818783] systemd[1]: Mounted Kernel Trace File System. [ OK ] Mounted Kernel Trace File System. [ 11.836257] systemd[1]: Finished Create list of static device nodes for the current kernel. [ OK ] Finished Create list of st… nodes for the current kernel. [ 11.858530] systemd[1]: modprobe@configfs.service: Succeeded. [ 11.865900] systemd[1]: Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module configfs. [ 11.882123] systemd[1]: modprobe@drm.service: Succeeded. [ 11.888646] systemd[1]: Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module drm. [ 11.905104] systemd[1]: modprobe@fuse.service: Succeeded. [ 11.911728] systemd[1]: Finished Load Kernel Module fuse. [ OK ] Finished Load Kernel Module fuse. [ 11.927126] systemd[1]: Finished Load Kernel Modules. [ OK ] Finished Load Kernel Modules. [ 11.942094] systemd[1]: Finished Remount Root and Kernel File Systems. [ OK ] Finished Remount Root and Kernel File Systems. [ 11.960373] systemd[1]: Mounting FUSE Control File System... Mounting FUSE Control File System... [ 11.975148] systemd[1]: Mounting Kernel Configuration File System... Mounting Kernel Configuration File System... [ 11.994391] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 12.004093] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped. [ 12.016161] systemd[1]: Starting Load/Save Random Seed... Starting Load/Save Random Seed... [ 12.031342] systemd[1]: Starting Apply Kernel Variables... Starting Apply Kernel Variables... [ 12.046549] systemd[1]: Starting Create System Users... Starting Create System Users... [ 12.059603] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Load/Save Random Seed. [ OK ] Finished Apply Kernel Variables. Starting Flush Journal to Persistent Storage... [ OK ] Finished Create System Users. Starting Create Static Device Nodes in /dev... [ 12.153827] systemd-journald[199]: Received client request to flush runtime journal. [ OK ] Finished Coldplug All udev Devices. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems. Starting Rule-based Manage…for Device Events and Files... [ OK ] Finished Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... [ OK ] Started Rule-based Manager for Device Events and Files. Starting Network Service... [ OK ] Found device Sunrise Point-LP Serial IO UART Controller. [ OK ] Created slice system-systemd\x2dbacklight.slice. [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. Starting Load/Save Screen …f backlight:intel_backlight... [ 14.609699] systemd-tmpfile (213) used greatest stack depth: 12656 bytes left [ OK ] Finished Create Volatile Files and Directories. [ OK ] Finished Load/Save Screen … of backlight:intel_backlight. Starting Network Time Synchronization... Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Network Service. Starting Network Name Resolution... [ OK ] Finished Update UTMP about System Boot/Shutdown. [ 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 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 ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots. [ OK ] Started User Login Management. [ 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.155-cip20 #1 SMP Wed Nov 16 12:54:54 UTC 2022 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/8000152/extract-nfsrootfs-n74r6ztz' export NFS_ROOTFS='/var/lib/lava/dispatcher/tmp/8000152/extract-nfsrootfs-n74r6ztz' / # 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-8000152/environment . /lava-8000152/environment / # /lava-8000152/bin/lava-test-runner /lava-8000152/0 /lava-8000152/bin/lava-test-runner /lava-8000152/0 + export TESTRUN_ID=0_timesync-off + TESTRUN_ID=0_timesync-off + cd /lava-8000152/0/tests/0_timesync-off ++ cat uuid + UUID=8000152_1.5.2.3.1 + set +x + systemctl stop systemd-timesyncd [ 17.809487] systemd-timesyn (250) used greatest stack depth: 12608 bytes left + set +x + export TESTRUN_ID=1_kselftest-lkdtm + TESTRUN_ID=1_kselftest-lkdtm + cd /lava-8000152/0/tests/1_kselftest-lkdtm ++ cat uuid + UUID=8000152_1.5.2.3.5 + set +x + cd ./automated/linux/kselftest/ + ./kselftest.sh -c lkdtm -T '' -t kselftest_armhf.tar.gz -s false -u http://storage.kernelci.org/cip-gitlab/ci-iwamatsu-linux-5.10.y-cip-rc/v5.10.154-cip20-99-g0e320e4d37e4/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-8000152/0/tests/1_kselftest-lkdtm/automated/linux/kselftest/skipfile-lkft.yaml INFO: Using the following generated skipfile contents (until EOF): breakpoints:breakpoint_test breakpoints:step_after_suspend_test ftrace:ftracetest net:rtnetlink.sh net:tls netfilter:bridge_brouter.sh netfilter:nft_flowtable.sh netfilter:nft_trans_stress.sh pidfd:pidfd_wait INFO: EOF INFO: Installing sed perl wget xz-utils iproute2 Hit:1 http://deb.debian.org/debian bullseye InRelease [ 18.964453] dpkg (353) used greatest stack depth: 12528 bytes left Reading package lists... Reading package lists... Building dependency tree... Reading state information... iproute2 is already the newest version (5.10.0-4). perl is already the newest version (5.32.1-4+deb11u2). sed is already the newest version (4.7-1). wget is already the newest version (1.21-1+deb11u1). xz-utils is already the newest version (5.2.5-2.1~deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. --2022-11-16 13:08:16-- http://storage.kernelci.org/cip-gitlab/ci-iwamatsu-linux-5.10.y-cip-rc/v5.10.154-cip20-99-g0e320e4d37e4/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: 3539064 (3.4M) [application/octet-stream] Saving to: 'kselftest.tar.xz' kselftest.tar.xz 0%[ ] 0 --.-KB/s kselftest.tar.xz 1%[ ] 50.15K 175KB/s kselftest.tar.xz 6%[> ] 218.91K 381KB/s kselftest.tar.xz 12%[=> ] 441.85K 509KB/s kselftest.tar.xz 42%[=======> ] 1.42M 1.30MB/s kselftest.tar.xz 51%[=========> ] 1.75M 1.35MB/s kselftest.tar.xz 70%[=============> ] 2.39M 1.56MB/s kselftest.tar.xz 81%[===============> ] 2.75M 1.58MB/s kselftest.tar.xz 100%[===================>] 3.38M 1.75MB/s in 1.9s 2022-11-16 13:08:18 (1.75 MB/s) - 'kselftest.tar.xz' saved [3539064/3539064] 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_[ 47.137275] kselftest: Running tests in lkdtm 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 =============== 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 [ 47.306349] lkdtm: Performing direct entry BUG [ 47.311421] ------------[ cut here ]------------ [ 47.316605] kernel BUG at drivers/misc/lkdtm/bugs.c:76! [ 47.322467] invalid opcode: 0000 [#1] SMP PTI [ 47.327335] CPU: 2 PID: 733 Comm: cat Tainted: G W 5.10.155-cip20 #1 [ 47.335883] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 47.342682] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 47.347064] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 47.368045] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 47.373877] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 47.381846] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 47.389814] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 47.397782] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 47.405749] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 47.413718] FS: 00007fedda5ef580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 47.422745] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.429158] CR2: 00007fedda3f8000 CR3: 0000000103384006 CR4: 00000000003706e0 [ 47.437127] Call Trace: [ 47.439853] direct_entry.cold+0x2c/0x38 [ 47.444231] full_proxy_write+0x53/0x80 [ 47.448512] vfs_write+0xe7/0x3a0 [ 47.452209] ksys_write+0x68/0xf0 [ 47.455905] do_syscall_64+0x30/0x40 [ 47.459893] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 47.465522] RIP: 0033:0x7fedda5058f3 [ 47.469500] Code: 8b 15 a1 25 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.490478] RSP: 002b:00007ffdb98fcdb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 47.498931] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fedda5058f3 [ 47.506900] RDX: 0000000000000004 RSI: 00007fedda3f8000 RDI: 0000000000000001 [ 47.514867] RBP: 00007fedda3f8000 R08: 00007fedda3f7010 R09: 0000000000000000 [ 47.522835] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 47.530801] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 47.538773] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 47.565217] ---[ end trace 5f8062a791bfe16f ]--- [ 47.570405] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 47.574815] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 47.595828] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 47.601694] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 47.609696] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 47.617697] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 47.625699] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 47.633700] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 47.641699] FS: 00007fedda5ef580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 47.650768] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.657215] CR2: 00007fedda3f8000 CR3: 0000000103384006 CR4: 00000000003706e0 # Segmentation fault # [ 47.306349] lkdtm: Performing direct entry BUG # [ 47.311421] ------------[ cut here ]------------ # [ 47.316605] kernel BUG at drivers/misc/lkdtm/bugs.c:76! # [ 47.322467] invalid opcode: 0000 [#1] SMP PTI # [ 47.327335] CPU: 2 PID: 733 Comm: cat Tainted: G W 5.10.155-cip20 #1 # [ 47.335883] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 47.342682] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 47.347064] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 47.368045] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 47.373877][ 47.744402] lkdtm: Performing direct entry WARNING [ 47.754601] ------------[ cut here ]------------ [ 47.759774] WARNING: CPU: 2 PID: 769 at drivers/misc/lkdtm/bugs.c:83 lkdtm_WARNING+0x13/0x20 RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 00000000000000[ 47.769210] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 47.801885] CPU: 2 PID: 769 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 47.810465] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 00 # [ 47.381846] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70[ 47.817279] RIP: 0010:lkdtm_WARNING+0x13/0x20 RDI: ffffffffa9fa06d0 # [ 47.389814] RBP: ffffffffaa3ebf20 R[ 47.828361] 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 f0 04 94 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 d1 04 [ 47.855556] RSP: 0018:ffffab248151fe60 EFLAGS: 00010202 08: 0000000000000001 R09: 0000000000000001 # [ 47.397782] R10[ 47.861421] RAX: ffffffffa92e0130 RBX: 0000000000000002 RCX: 0000000000000000 [ 47.875601] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06e0 [ 47.883597] RBP: ffffffffaa39087f R08: 0000000000000000 R09: 0000000000000000 [ 47.891567] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000008 [ 47.899562] R13: ffffab248151ff10 R14: ffffab248151ff10 R15: ffff9b49c4bd3000 : 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 47.907550] FS: 00007f67b8516580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 47.922794] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.929212] CR2: 00007f67b831f000 CR3: 00000001033a8002 CR4: 00000000003706e0 [ 47.937184] Call Trace: [ 47.939916] direct_entry.cold+0x2c/0x38 # [ 47.405749] R13: ffffab24814bff10 R14: ffffab24814bff10 R15[ 47.944327] full_proxy_write+0x53/0x80 [ 47.954814] vfs_write+0xe7/0x3a0 : ffff9b49c3442000 # [ 47.413718] FS: 00007fedda5ef580(0000)[ 47.958543] ksys_write+0x68/0xf0 [ 47.968450] do_syscall_64+0x30/0x40 [ 47.972472] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 47.978136] RIP: 0033:0x7f67b842c8f3 [ 47.982127] Code: 8b 15 a1 25 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.003111] RSP: 002b:00007fffd51cf638 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 48.011569] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f67b842c8f3 [ 48.019541] RDX: 0000000000000008 RSI: 00007f67b831f000 RDI: 0000000000000001 [ 48.027513] RBP: 00007f67b831f000 R08: 00007f67b831e010 R09: 0000000000000000 [ 48.035484] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 48.043454] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 48.051447] irq event stamp: 0 GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 47.4227[ 48.054865] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 48.068074] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 48.077236] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 48.086374] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 48.093375] ---[ end trace 5f8062a791bfe170 ]--- 45] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 47.429158] CR2: 00007fedda3f8000 CR3: 0000000103384006 CR4: 00000000003706e0 # [ 47.437127] Call Trace: # [ 47.439853] direct_entry.cold+0x2c/0x38 # [ 47.444231] full_proxy_write+0x53/0x80 # [ 47.448512] vfs_write+0xe7/0x3a0 # [ 47.452209] ksys_write+0x68/0xf0 # [ 47.455905] do_syscall_64+0x30/0x40 # [ 47.459893] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 47.465522] RIP: 0033:0x7fedda5058f3 # [ 47.469500] Code: 8b 15 a1 25 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.490478] RSP: 002b:00007ffdb98fcdb8 EFLAGS: 00000246 O[ 48.168220] lkdtm: Performing direct entry WARNING_MESSAGE [ 48.179279] ------------[ cut here ]------------ RIG_RAX: 0000000000000001 # [ 47.498931] RAX: ffffffffffffffd[ 48.184445] Warning message trigger count: 2 [ 48.195451] WARNING: CPU: 2 PID: 804 at drivers/misc/lkdtm/bugs.c:88 lkdtm_WARNING_MESSAGE+0x20/0x30 a RBX: 0000000000000004 RCX: 00007fedda5058f3 # [ 47.506900] [ 48.205688] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 48.238335] CPU: 2 PID: 804 Comm: cat Tainted: G D W 5.10.155-cip20 #1 RDX: 0000000000000004 RSI: 00007fedda3f8000 RDI: 000000000000000[ 48.246918] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 48.259959] RIP: 0010:lkdtm_WARNING_MESSAGE+0x20/0x30 1 # [ 47.514867] RBP: 00007fedda3f8000 R08: 00007fedda3f7010 [ 48.265616] Code: cc cc cc cc 66 0f 1f 44 00 00 0f 1f 44 00 00 8b 05 d1 04 94 02 48 c7 c7 e0 0d 39 aa 8d 70 01 89 35 c1 04 94 02 e8 9b 46 66 00 <0f> 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 c7 [ 48.292801] RSP: 0018:ffffab24815c7e60 EFLAGS: 00010286 [ 48.298636] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 [ 48.306608] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 [ 48.314577] RBP: ffffffffaa390887 R08: 0000000000000000 R09: 0000000000000000 [ 48.322549] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000010 [ 48.330521] R13: ffffab24815c7f10 R14: ffffab24815c7f10 R15: ffff9b49c3437000 [ 48.338491] FS: 00007f4653418580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 48.347531] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 48.353950] CR2: 00007f4653221000 CR3: 0000000105b7e004 CR4: 00000000003706e0 [ 48.361920] Call Trace: [ 48.364650] direct_entry.cold+0x2c/0x38 [ 48.369058] full_proxy_write+0x53/0x80 [ 48.373372] vfs_write+0xe7/0x3a0 [ 48.377097] ksys_write+0x68/0xf0 [ 48.380798] do_syscall_64+0x30/0x40 [ 48.384790] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 48.390433] RIP: 0033:0x7f465332e8f3 [ 48.394423] Code: 8b 15 a1 25 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.415408] RSP: 002b:00007ffda39fd588 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 48.423866] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007f465332e8f3 [ 48.431838] RDX: 0000000000000010 RSI: 00007f4653221000 RDI: 0000000000000001 [ 48.439811] RBP: 00007f4653221000 R08: 00007f4653220010 R09: 0000000000000000 [ 48.447784] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 48.455755] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 48.463723] irq event stamp: 0 [ 48.467160] hardirqs last enabled at (0): [<0000000000000000>] 0x0 R09: 0000000000000000 # [ 47.522835] R10: fffffffffffffbc5 R1[ 48.474163] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 1: 0000000000000246 R12: 0000000000000001 # [ 47.530801] R13:[ 48.489516] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 48.504869] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 48.511869] ---[ end trace 5f8062a791bfe171 ]--- 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 47.538773] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 47.565217] ---[ end trace 5f8062a791bfe16f ]--- # [ 47.570405] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 47.574815] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 47.595828] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 47.601694] RAX: ffffffffa92e0120 RBX: 00000[ 48.586751] lkdtm: Performing direct entry EXCEPTION 00000000001 RCX: 0000000000000000 # [ 47.609696] RDX: 0000000[ 48.597214] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 48.611178] #PF: supervisor write access in kernel mode [ 48.617009] #PF: error_code(0x0002) - not-present page [ 48.622744] PGD 0 P4D 0 [ 48.625567] Oops: 0002 [#2] SMP PTI [ 48.629457] CPU: 1 PID: 836 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 48.638008] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 48.644816] RIP: 0010:lkdtm_EXCEPTION+0x5/0x20 000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 47.[ 48.649777] Code: 48 c7 c7 e0 0d 39 aa 8d 70 01 89 35 c1 04 94 02 e8 9b 46 66 00 0f 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 04 25 00 00 00 00 00 00 00 00 c3 cc cc cc cc 66 66 2e 0f 1f 84 [ 48.676971] RSP: 0018:ffffab248162fe60 EFLAGS: 00010282 [ 48.682803] RAX: ffffffffa92e0180 RBX: 0000000000000004 RCX: 0000000000000000 [ 48.690773] RDX: 0000000000000000 RSI: ffff9b4a3ac9bf70 RDI: ffffffffa9fa0700 [ 48.698742] RBP: ffffffffaa2c5b1f R08: 0000000000000000 R09: 0000000000000000 [ 48.706711] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 48.714680] R13: ffffab248162ff10 R14: ffffab248162ff10 R15: ffff9b49c6424000 [ 48.722649] FS: 00007f192dde1580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 48.731687] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 48.738094] CR2: 0000000000000000 CR3: 00000001032e0003 CR4: 00000000003706e0 [ 48.746062] Call Trace: [ 48.748789] direct_entry.cold+0x2c/0x38 617697] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000[ 48.753170] full_proxy_write+0x53/0x80 [ 48.763660] vfs_write+0xe7/0x3a0 000000001 # [ 47.625699] R10: 00000000ffffe000 R11: 3ffffffff[ 48.767358] ksys_write+0x68/0xf0 [ 48.777274] do_syscall_64+0x30/0x40 fffffff R12: 0000000000000004 # [ 47.633700] R13: ffffab24814[ 48.781273] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 48.793123] RIP: 0033:0x7f192dcf78f3 [ 48.797101] Code: 8b 15 a1 25 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.818081] RSP: 002b:00007ffdcb6cd818 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 48.826528] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f192dcf78f3 [ 48.834498] RDX: 000000000000000a RSI: 00007f192dbea000 RDI: 0000000000000001 [ 48.842467] RBP: 00007f192dbea000 R08: 00007f192dbe9010 R09: 0000000000000000 [ 48.850436] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 48.858404] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 47.6416[ 48.866377] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 48.899012] CR2: 0000000000000000 [ 48.902709] ---[ end trace 5f8062a791bfe172 ]--- [ 48.907862] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 48.912237] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 48.933217] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 48.939051] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 48.947020] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 48.954989] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 48.962958] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 48.970926] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 48.978896] FS: 00007f192dde1580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 48.987932] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 48.994339] CR2: 0000000000000000 CR3: 00000001032e0003 CR4: 00000000003706e0 [ 49.002323] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 49.012233] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 836, name: cat [ 49.020590] INFO: lockdep is turned off. [ 49.024964] irq event stamp: 0 [ 49.028370] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 49.035360] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 49.044486] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 49.053611] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 49.060610] CPU: 1 PID: 836 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 49.069162] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 49.075966] Call Trace: [ 49.078691] dump_stack+0x77/0x9b [ 49.082390] ___might_sleep.cold+0xa6/0xb6 99] FS: 00007fedda5ef580(0000) GS:ffff9b4a3ad00000(0000) knlGS:[ 49.086964] exit_signals+0x1c/0x2e0 [ 49.097164] do_exit+0xd5/0xb00 [ 49.100657] ? ksys_write+0x68/0xf0 [ 49.104548] rewind_stack_do_exit+0x17/0x20 [ 49.109215] RIP: 0033:0x7f192dcf78f3 [ 49.113202] Code: 8b 15 a1 25 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.134185] RSP: 002b:00007ffdcb6cd818 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 49.142632] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f192dcf78f3 [ 49.150600] RDX: 000000000000000a RSI: 00007f192dbea000 RDI: 0000000000000001 [ 49.158569] RBP: 00007f192dbea000 R08: 00007f192dbe9010 R09: 0000000000000000 [ 49.166536] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 49.174504] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 0000000000000000 # [ 47.650768] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 47.657215] CR2: 00007fedda3f8000 CR3: 0000000103384006 CR4: 00000000003706e0 # BUG: saw 'kernel BUG at': ok ok 2 selftests: lkdtm: BUG.sh # selftests: lkdtm: WARNING.sh # [ 47.744402] lkdtm: Performing direct entry WARNING # [ 47.754601] ------------[ cut here ]------------ # [ 47.759774] WARNING: CPU: 2 PID: 769 at drivers/misc/lkdtm/bugs.c:83 lkdtm_WARNING+0x13/0x20 # [ 47.769210] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 47.801885] CPU: 2 PID: 769 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 47.810465] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 47.817279] RIP: 0010:lkdtm_WARNING+0x13/0x20 # [ 47.828361] 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 f0 04 94 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 d1 04 # [ 47.855556] RSP: 0018:ffffab248151fe60 EFLAGS: 00010202 # [ 47.861421] RAX: ffffffffa92e0130 RBX: 0000000000000002 RCX: 0000000000000000 # [ 47.875601] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06e0 # [ 47.883597] RBP: ffffffffaa39087f R08: 0000000000000000 R09: 0000000000000000 # [ 47.891567] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000008 # [ 47.899562] R13: ffffab248151ff10 R14: ffffab248151ff10 R15: ffff9b49c4bd3000 # [ 47.907550] FS: 00007f67b8516580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 47.922794] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 47.929212] CR2: 00007f67b831f000 CR3: 00000001033a8002 CR4: 00000000003706e0 # [ 47.937184] Call Trace: # [ 47.939916] direct_entry.cold+0x2c/0x38 # [ 47.944327] full_proxy_write+0x53/0x80 # [ 47.954814] vfs_write+0xe7/0x3a0 # [ 47.958543] ksys_write+0x68/0xf0 # [ 47.968450] do_syscall_64+0x30/0x40 # [ 47.972472] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 47.978136] RIP: 0033:0x7f67b842c8f3 # [ 47.982127] Code: 8b 15 a1 25 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.003111] RSP: 002b:00007fffd51cf638 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 48.011569] RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f67b842c8f3 # [ 48.019541] RDX: 000000000000000[ 49.440398] lkdtm: Performing direct entry CORRUPT_LIST_ADD [ 49.449759] lkdtm: attempting good list addition [ 49.454942] lkdtm: attempting corrupted list addition [ 49.460604] lkdtm: list_add() corruption not detected! 8 RSI: 00007f67b831f000 RDI: 0000000000000001 # [ 48.027513] RBP: 00007f67b831f000 R08: 00007f67b831e010 R09: 0000000000000000 # [ 48.035484] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 48.043454] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 48.051447] irq event stamp: 0 # [ 48.054865] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 48.068074] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 48.077236] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 48.086374] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 48.093375] ---[ end trace 5f8062a791bfe170 ]--- # WARNING: saw 'WARNING:': ok ok 3 s[ 49.537609] lkdtm: Performing direct entry CORRUPT_LIST_DEL [ 49.547203] lkdtm: attempting good list removal [ 49.552269] lkdtm: attempting corrupted list removal [ 49.557814] lkdtm: list_del() corruption not detected! elftests: lkdtm: WARNING.sh # selftests: lkdtm: WARNING_MESSAGE.sh # [ 48.168220] lkdtm: Performing direct entry WARNING_MESSAGE # [ 48.179279] ------------[ cut here ]------------ # [ 48.184445] Warning message trigger count: 2 # [ 48.195451] WARNING: CPU: 2 PID: 804 at drivers/misc/lkdtm/bugs.c:88 lkdtm_WARNING_MESSAGE+0x20/0x30 # [ 48.205688] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 48.238335] CPU: 2 PID: 804 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 48.246918] Hardware name: Google Rammus/Rammus, BIO[ 49.632756] lkdtm: Performing direct entry STACK_GUARD_PAGE_LEADING [ 49.645187] lkdtm: attempting bad read from page below current stack [ 49.652302] BUG: stack guard page was hit at 00000000275f47a3 (stack is 000000007a52edc7..00000000cab8d6ce) [ 49.663193] kernel stack overflow (page fault): 0000 [#3] SMP PTI S 09/04/2020 # [ 48.259959] RIP: 0010:lkdtm_WARNING_MESSAGE+[ 49.670001] CPU: 2 PID: 1061 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 49.684863] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 49.691662] RIP: 0010:lkdtm_STACK_GUARD_PAGE_LEADING+0x27/0x3a [ 49.698175] Code: cc cc cc 0f 1f 44 00 00 53 48 c7 c7 80 11 39 aa 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 2a a0 fd ff 48 c7 c7 c0 11 39 aa <8a> 43 ff 88 44 24 07 0f b6 74 24 07 5a 5b e9 10 a0 fd ff 0f 1f 44 [ 49.719155] RSP: 0018:ffffab2481987e50 EFLAGS: 00010246 [ 49.724990] RAX: 0000000000000038 RBX: ffffab2481984000 RCX: 0000000000000000 [ 49.732951] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa3911c0 [ 49.740920] RBP: ffffffffaa3908ea R08: 0000000000000000 R09: 0000000000000000 [ 49.748889] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000019 [ 49.756856] R13: ffffab2481987f10 R14: ffffab2481987f10 R15: ffff9b49c3688000 [ 49.764826] FS: 00007f7122e46580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 49.773856] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.780275] CR2: ffffab2481983fff CR3: 0000000104078006 CR4: 00000000003706e0 [ 49.788246] Call Trace: [ 49.790997] ? lkdtm_CORRUPT_LIST_DEL+0xe0/0xe0 [ 49.796052] direct_entry.cold+0x2c/0x38 [ 49.800430] full_proxy_write+0x53/0x80 [ 49.804710] vfs_write+0xe7/0x3a0 [ 49.808407] ksys_write+0x68/0xf0 [ 49.812104] do_syscall_64+0x30/0x40 [ 49.816092] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 49.821730] RIP: 0033:0x7f7122d5c8f3 [ 49.825718] Code: 8b 15 a1 25 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.846698] RSP: 002b:00007ffd8e01bf98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 49.855143] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f7122d5c8f3 [ 49.863111] RDX: 0000000000000019 RSI: 00007f7122c4f000 RDI: 0000000000000001 [ 49.871078] RBP: 00007f7122c4f000 R08: 00007f7122c4e010 R09: 0000000000000000 [ 49.879046] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 49.887014] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 49.894986] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 0x20/0x30 # [ 48.265616] Code: cc cc cc cc 66 0f 1f 44 00 00 [ 49.921445] ---[ end trace 5f8062a791bfe173 ]--- [ 49.932809] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 49.937186] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 49.958156] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 49.963980] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 49.971948] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 49.979917] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 49.987885] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 49.995854] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 50.003821] FS: 00007f7122e46580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 50.012856] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.019276] CR2: ffffab2481983fff CR3: 0000000104078006 CR4: 00000000003706e0 0f 1f 44 00 00 8b 05 d1 04 94 02 48 c7 c7 e0 0d 39 aa 8d 70 01 89 35 c1 04 94 02 e8 9b 46 66 00 <0f> 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 c7 # [ 48.292801] RSP: 0018:ffffab24815c7e60 EFLAGS: 00010286 # [ 48.298636] RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 # [ 48.306608] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 48.314577] RBP: ffffffffaa390887 R08: 0000000000000000 R09: 0000000000000000 # [ 48.322549] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000010 # [ 48.330521] R13: ffffab24815c7f10 R14: ffffab24815c7f10 R15: ffff9b49c3437000 # [ 48.338491] FS: 00007f4653418580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 48.347531] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 48.353950] CR2: [ 50.103571] lkdtm: Performing direct entry STACK_GUARD_PAGE_TRAILING [ 50.115181] lkdtm: attempting bad read from page above current stack 00007f4653221000 CR3: 0000000105b7e004 CR4: 00000000003706e0 # [ 50.122297] BUG: stack guard page was hit at 00000000b0cc184c (stack is 0000000030f1f3b4..000000008fea0120) [ 50.139393] kernel stack overflow (page fault): 0000 [#4] SMP PTI [ 48.361920] Call Trace: # [ 48.364650] direct_entry.cold+[ 50.146203] CPU: 2 PID: 1094 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 50.161063] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 50.167869] RIP: 0010:lkdtm_STACK_GUARD_PAGE_TRAILING+0x27/0x3d [ 50.174480] Code: a0 fd ff 0f 1f 44 00 00 53 48 c7 c7 f8 11 39 aa 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 f0 9f fd ff 48 c7 c7 38 12 39 aa <8a> 83 00 40 00 00 88 44 24 07 0f b6 74 24 07 5a 5b e9 d3 9f fd ff [ 50.195451] RSP: 0018:ffffab2481a0fe50 EFLAGS: 00010246 [ 50.201284] RAX: 0000000000000038 RBX: ffffab2481a0c000 RCX: 0000000000000000 [ 50.209274] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa391238 [ 50.217241] RBP: ffffffffaa390903 R08: 0000000000000000 R09: 0000000000000000 [ 50.225209] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001a [ 50.233175] R13: ffffab2481a0ff10 R14: ffffab2481a0ff10 R15: ffff9b49c3050000 [ 50.241142] FS: 00007f6f578ce580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 50.250179] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.256583] CR2: ffffab2481a10000 CR3: 0000000102874003 CR4: 00000000003706e0 [ 50.264551] Call Trace: [ 50.267278] ? lkdtm_STACK_GUARD_PAGE_LEADING+0x3a/0x3a [ 50.273114] direct_entry.cold+0x2c/0x38 [ 50.277492] full_proxy_write+0x53/0x80 [ 50.281773] vfs_write+0xe7/0x3a0 [ 50.285469] ksys_write+0x68/0xf0 [ 50.289166] do_syscall_64+0x30/0x40 [ 50.293154] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 50.298793] RIP: 0033:0x7f6f577e48f3 [ 50.302771] Code: 8b 15 a1 25 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.323749] RSP: 002b:00007ffd621e7248 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.332203] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f6f577e48f3 [ 50.340170] RDX: 000000000000001a RSI: 00007f6f576d7000 RDI: 0000000000000001 [ 50.348138] RBP: 00007f6f576d7000 R08: 00007f6f576d6010 R09: 0000000000000000 [ 50.356105] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 50.364073] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 50.372045] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 50.398506] ---[ end trace 5f8062a791bfe174 ]--- [ 50.403661] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 50.408036] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 50.429015] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 50.434839] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 50.442806] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 50.450775] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 50.458741] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 50.466708] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 50.474677] FS: 00007f6f578ce580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 50.483712] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.490127] CR2: ffffab2481a10000 CR3: 0000000102874003 CR4: 00000000003706e0 [ 50.498097] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 50.508006] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1094, name: cat [ 50.516458] INFO: lockdep is turned off. [ 50.520834] irq event stamp: 0 [ 50.524239] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 50.531238] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 50.540372] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 50.549505] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 50.556502] CPU: 2 PID: 1094 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 50.565151] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 50.571954] Call Trace: [ 50.574681] dump_stack+0x77/0x9b [ 50.578379] ___might_sleep.cold+0xa6/0xb6 [ 50.582950] exit_signals+0x1c/0x2e0 [ 50.586940] do_exit+0xd5/0xb00 [ 50.590433] ? ksys_write+0x68/0xf0 [ 50.594327] rewind_stack_do_exit+0x17/0x20 [ 50.598993] RIP: 0033:0x7f6f577e48f3 [ 50.602980] Code: 8b 15 a1 25 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.623961] RSP: 002b:00007ffd621e7248 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.632415] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f6f577e48f3 [ 50.640384] RDX: 000000000000001a RSI: 00007f6f576d7000 RDI: 0000000000000001 [ 50.648351] RBP: 00007f6f576d7000 R08: 00007f6f576d6010 R09: 0000000000000000 [ 50.656329] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 50.664298] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 0x2c/0x38 # [ 48.369058] full_proxy_write+0x53/0x80 # [ 48.373372] vfs_write+0xe7/0x3a0 # [ 48.377097] ksys_write+0x68/0xf0 # [ 48.380798] do_syscall_64+0x30/0x40 # [ 48.384790] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 48.390433] RIP: 0033:0x7f465332e8f3 # [ 48.394423] Code: 8b 15 a1 25 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.415408] RSP: 002b:00007ffda39fd588 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 48.423866] RAX: ffffffffffffffda RBX: 0000000000000010 RCX: 00007f465332e8f3 # [ 48.431838] RDX: 0000000000000010 RSI: 00007f4653221000 RDI: 0000000000000001 # [ 48.439811] RBP: 00007f4653221000 R08: 00007f4653220010 R09: 0000000000000000 # [ 48.447784] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 48.455755] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 48.463723] irq event stamp: 0 # [ 48.467160] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 48.474163] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 48.489516] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 48.504869] softirqs last [ 50.827969] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 50.860598] CPU: 2 PID: 1130 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 50.869283] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 50.876097] RIP: 0010:native_write_cr4+0x45/0x60 [ 50.881280] Code: 39 c2 75 2d 48 85 f6 75 05 c3 cc cc cc cc 80 3d c4 a0 e3 01 00 75 f2 48 c7 c7 78 fb 2c aa c6 05 b4 a0 e3 01 01 e8 46 fc e7 00 <0f> 0b c3 cc cc cc cc 48 89 d6 48 81 e7 ff f7 ce ff 48 31 c6 48 09 disabled at (0): [<0000000000000000>] 0x0 # [ 48.511869] ---[[ 50.902277] RSP: 0018:ffffab2481a7fe48 EFLAGS: 00010286 [ 50.914336] RAX: 0000000000000000 RBX: 00000000002706e0 RCX: 0000000000000000 [ 50.922344] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 [ 50.930335] RBP: ffffffffaa39091d R08: 0000000000000000 R09: 0000000000000000 [ 50.938340] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b [ 50.946329] R13: ffffab2481a7ff10 R14: ffffab2481a7ff10 R15: ffff9b49c4cc0000 [ 50.954335] FS: 00007ff07de04580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 50.963377] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.969795] CR2: 00007ff07dc0d000 CR3: 00000001032c0003 CR4: 00000000003706e0 [ 50.977768] Call Trace: [ 50.980500] lkdtm_UNSET_SMEP.cold+0x1d/0x103 [ 50.985401] direct_entry.cold+0x2c/0x38 [ 50.989813] full_proxy_write+0x53/0x80 [ 50.994132] vfs_write+0xe7/0x3a0 [ 50.997864] ksys_write+0x68/0xf0 [ 51.001600] do_syscall_64+0x30/0x40 [ 51.005623] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 51.011280] RIP: 0033:0x7ff07dd1a8f3 end trace 5f8062a791bfe171 ]--- # WARNING_MESSAGE: saw 'messag[ 51.015281] Code: 8b 15 a1 25 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.042473] RSP: 002b:00007fff927ab918 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.050966] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007ff07dd1a8f3 [ 51.058944] RDX: 000000000000000b RSI: 00007ff07dc0d000 RDI: 0000000000000001 [ 51.066947] RBP: 00007ff07dc0d000 R08: 00007ff07dc0c010 R09: 0000000000000000 e trigger': ok ok 4 selftests: lkdtm: WARNING_MESSAGE.sh # sel[ 51.074922] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 51.089107] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 ftests: lkdtm: EXCEPTION.sh # Killed # [ 48.586751] lkdtm: P[ 51.097086] irq event stamp: 0 [ 51.106702] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 51.113737] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 51.122909] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 51.132077] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 51.139080] ---[ end trace 5f8062a791bfe175 ]--- [ 51.144265] lkdtm: ok: SMEP did not get cleared erforming direct entry EXCEPTION # [ 48.597214] BUG: kernel N[ 51.149341] lkdtm: trying to clear SMEP with call gadget [ 51.161480] lkdtm: ok: SMEP removal was reverted ULL pointer dereference, address: 0000000000000000 # [ 48.611178] #PF: supervisor write access in kernel mode # [ 48.617009] #PF: error_code(0x0002) - not-present page # [ 48.622744] PGD 0 P4D 0 # [ 48.625567] Oops: 0002 [#2] SMP PTI # [ 48.629457] CPU: 1 PID: 836 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 48.638008] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 48.644816] RIP: 0010:lkdtm_EXCEPTION+0x5/0x20 # [ 48.649777] Code: 48 c7 c7 e0 0d 39 aa 8d 70 01 89 35 c1 04 94 02 e8 9b 46 66 00 0f 0b c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 04 25 00 00 00 00 00 00 00 00 c3 cc cc cc cc 66 66 2e 0f 1f 84 # [ 48.676971] RSP: 0018:ffffab248162fe60 EFLAGS: 00010282 # [ 48.682803] RAX: ffffffffa92e0180 RBX: 0000000000000004 RCX: 0000000000000000 # [ [ 51.244677] lkdtm: Performing direct entry DOUBLE_FAULT 48.690773] RDX: 0000000000000000 RSI: ffff9b4a3ac9bf70 RDI: fff[ 51.253311] lkdtm: XFAIL: this test is ia32-only fffffa9fa0700 # [ 48.698742] RBP: ffffffffaa2c5b1f R08: 0000000000000000 R09: 0000000000000000 # [ 48.706711] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a # [ 48.714680] R13: ffffab248162ff10 R14: ffffab248162ff10 R15: ffff9b49c6424000 # [ 48.722649] FS: 00007f192dde1580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 # [ 48.731687] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 48.738094] CR2: 0000000000000000 CR3: 00000001032e0003 CR4: 00000000003706e0 # [ 48.746062] Call Trace: # [ 48.748789] direct_entry.cold+0x2c/0x38 # [ 48.753170] full_proxy_write+0x53/0x80 # [ 48.763660] vfs_write+0xe7/0x3a0 # [ 48.767358] ksys_write+0x68/0xf0 # [ 48.777274] do_syscall_64+0x30/0x40 # [ 48[ 51.338038] lkdtm: Performing direct entry CORRUPT_PAC .781273] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 48.793[ 51.345006] lkdtm: XFAIL: this test is arm64-only 123] RIP: 0033:0x7f192dcf78f3 # [ 48.797101] Code: 8b 15 a1 25 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.818081] RSP: 002b:00007ffdcb6cd818 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 48.826528] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f192dcf78f3 # [ 48.834498] RDX: 000000000000000a RSI: 00007f192dbea000 RDI: 0000000000000001 # [ 48.842467] RBP: 00007f192dbea000 R08: 00007f192dbe9010 R09: 0000000000000000 # [ 48.850436] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 48.858404] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 48.866377] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_charde[ 51.446839] lkdtm: Performing direct entry UNALIGNED_LOAD_STORE_WRITE [ 51.456895] lkdtm: XFAIL: arch has CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS v cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 48.899012] CR2: 0000000000000000 # [ 48.902709] ---[ end trace 5f8062a791bfe172 ]--- # [ 48.907862] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 48.912237] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 48.933217] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 48.939051] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 48.947020] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 48.954989] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 48.962958] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 48.970926] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 48.978896] FS: 00007f192dde1580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 # [ 48.987932] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 48.994339] CR2: 0000000000000000 CR3: 00000001032e0003 CR4: 00000000003706e0 # [ 49.002323] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 49.012233] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 836, na[ 51.594997] lkdtm: Performing direct entry READ_AFTER_FREE [ 51.601209] lkdtm: Value in memory before free: 12345678 [ 51.607192] lkdtm: Attempting bad read from freed memory [ 51.613166] lkdtm: Memory was not poisoned me: cat # [ 49.020590] INFO: lockdep is turned off. # [ 49.024964] irq event stamp: 0 # [ 49.028370] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 49.035360] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 49.044486] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 49.053611] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 49.060610] CPU: 1 PID: 836 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 49.069162] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 49.075966] Call Trace: # [ 49.078691] dump_stack+0x77/0x9b # [ 49.082390] ___might_sleep.cold+0xa6/0xb6 # [ 49.086964] exit_signals+0x1c/0x2e0 # [ 49.097164] do_exit+0xd5/0xb00 # [ 49.100657] ? ksys_write+0x68/0xf0 # [ 49.104548] rewind_stack_do_exit+0x17/0x20 # [ 49.109215] RIP: 0033:0x7f192dcf78f3 # [ 49.113202] Code: 8b 15 a1 25 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.134185] RSP: 002b:00007ffdcb6cd818 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 49.142632] RAX: ffffffffffffffda RBX:[ 51.736559] lkdtm: Performing direct entry READ_BUDDY_AFTER_FREE 000000000000000a RCX: 00007f192dcf78f3 # [ 49.150600] RDX: 0[ 51.748824] lkdtm: Value in memory before free: 12345678 00000000000000a RSI: 00007f192dbea000 RDI: 0000000000000001 # [[ 51.760974] lkdtm: Attempting to read from freed memory 49.158569] RBP: 00007f192dbea000 R08: 00007f192dbe9010 R09: 0[ 51.773028] lkdtm: Buddy page was not poisoned 000000000000000 # [ 49.166536] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 49.174504] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # EXCEPTION: saw 'call trace:': ok ok 5 selftests: lkdtm: EXCEPTION.sh # selftests: lkdtm: LOOP.sh # Skipping LOOP: Hangs the system ok 6 selftests: lkdtm: LOOP.sh # SKIP # selftests: lkdtm: EXHAUST_STACK.sh # Skipping EXHAUST_STACK: Corrupts memory on failure ok 7 selftests: lkdtm: EXHAUST_STACK.sh # SKIP # selftests: lkdtm: CORRUPT_STACK.sh # Skipping CORRUPT_STACK: Crashes entire system on success ok 8 selftests: lkdtm: CORRUPT_STACK.sh # SKIP # selftests: lkdtm: CORRUPT_STACK_STRONG.sh # Skipping CORRUPT_STACK_STRONG: Crashes entire system on success ok 9 selftests: lkdtm: CORRUPT_STACK_STRONG.sh # SKIP # selftests: lkdtm[ 51.860953] lkdtm: Performing direct entry SLAB_FREE_DOUBLE [ 51.871263] lkdtm: Attempting double slab free ... : CORRUPT_LIST_ADD.sh # [ 49.440398] lkdtm: Performing direct entry CORRUPT_LIST_ADD # [ 49.449759] lkdtm: attempting good list addition # [ 49.454942] lkdtm: attempting corrupted list addition # [ 49.460604] 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 # [ 49.537609] lkdtm: Performing direct entry CORRUPT_LIST_DEL # [ 49.547203] lkdtm: attempting good list removal # [ 49.552269] lkdtm: attempting corrupted list removal # [ 49.557814] lkdtm: list_del() corruption not detected! # CORRUPT_LIST_DEL: missing 'list_del corruption': [FAIL] not ok 11 selftests: lkdtm: CORRUPT_LIST_DEL.sh # exit=1 # selftests: lkdtm: STACK_GUARD_PAGE_LEADING.sh # S[ 51.954750] lkdtm: Performing direct entry SLAB_FREE_CROSS [ 51.963606] lkdtm: Attempting cross-cache slab free ... egmentation fault # [ 49.632756] lkdtm: Performing direct entry STACK_GUARD_PAGE_LEADING # [ 49.645187] lkdtm: attempting bad read from page below current stack # [ 49.652302] BUG: stack guard page was hit at 00000000275f47a3 (stack is 000000007a52edc7..00000000cab8d6ce) # [ 49.663193] kernel stack overflow (page fault): 0000 [#3] SMP PTI # [ 49.670001] CPU: 2 PID: 1061 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 49.684863] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 49.691662] RIP: 0010:lkdtm_STACK_GUARD_PAGE_LEADING+0x27/0x3a # [ 49.698175] Code: cc cc cc 0f 1f 44 00 00 53 48 c7 c7 80 11 39 aa 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 2a a0 fd ff 48 c7 c7 c0 11 39 aa <8a> 43 ff 88 44 24 07 0f b6 74 2[ 52.042895] lkdtm: Performing direct entry SLAB_FREE_PAGE 4 07 5a 5b e9 10 a0 fd ff 0f 1f 44 # [ 49.719155] RSP: 0018:f[ 52.050082] lkdtm: Attempting non-Slab slab free ... fffab2481987e50 EFLAGS: 00010246 # [ 49.724990] RAX: 0000000000000038 RBX: ffffab2481984000 RCX: 0000000000000000 # [ 49.732951] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa3911c0 # [ 49.740920] RBP: ffffffffaa3908ea R08: 0000000000000000 R09: 0000000000000000 # [ 49.748889] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000019 # [ 49.756856] R13: ffffab2481987f10 R14: ffffab2481987f10 R15: ffff9b49c3688000 # [ 49.764826] FS: 00007f7122e46580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 49.773856] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 49.780275] CR2: ffffab2481983fff CR3: 0000000104078006 CR4: 00000000003706e0 # [ 49.788246] Call Trace: # [ 49.790997] ? lkdtm_CORRUPT_LIST_DEL+0xe0/0xe0 # [ 49.796052] direct_entry.cold+0x2c/0x38 # [ 49.800430] full_proxy_write+0x53/0x80 # [ 49.804710] vfs_write+0xe7/0x3a0 # [ 49.808407] ksys_write+0x68/0xf0 # [ 49.812104] do_syscall_64+0x30/0x40 # [ 49.816092] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 49.821730] RIP: 0033:0x7f7122d5c8f3 # [ 49.825718] Code: 8b 15 a1 25 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.846698] RSP: 002b:00007ffd8e01bf98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 49.855143] RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 00007f7122d5c8f3 # [ 49.863111] RDX: 0000000000000019 RSI: 00007f7122c4f000 RDI: 0000000000000001 # [ 49.871078] RBP: 00007f7122c4f000 R08: 00007f7122c4e010 R09: 0000000000000000 # [ 49.879046] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 49.887014] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 49.894986] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core i[ 52.243753] lkdtm: Performing direct entry EXEC_DATA ndustrialio_triggered_buffer kfifo_buf industrialio cros_ec_ligh[ 52.253849] lkdtm: attempting ok execution at ffffffffa92e04f0 tbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_senso[ 52.266574] lkdtm: attempting bad execution at ffffffffabc20660 rhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 4[ 52.279407] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 52.293978] BUG: unable to handle page fault for address: ffffffffabc20660 [ 52.301656] #PF: supervisor instruction fetch in kernel mode [ 52.307975] #PF: error_code(0x0011) - permissions violation [ 52.314195] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 800000003b8000e3 9.921445] ---[ end trace 5f8062a791bfe173 ]--- # [ 49.932809][ 52.321682] Oops: 0011 [#5] SMP PTI [ 52.331787] CPU: 1 PID: 1637 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 52.340436] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 52.347242] RIP: 0010:data_area+0x0/0x40 RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 49.937186] Code: 89 ff e8 8[ 52.351620] Code: ff ff 00 00 40 c4 49 9b ff ff 00 0f 1f c4 49 9b 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 [ 52.378813] RSP: 0018:ffffab24821efe48 EFLAGS: 00010246 [ 52.384646] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 52.392614] RDX: 0000000000000000 RSI: ffff9b4a3ac9bf70 RDI: ffff9b4a3ac9bf70 [ 52.400584] RBP: ffffffffabc20660 R08: 0000000000000000 R09: 0000000000000000 [ 52.408553] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 52.416522] R13: ffffab24821eff10 R14: ffffab24821eff10 R15: ffff9b49c4f0b000 [ 52.424490] FS: 00007f8af80ba580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 52.433528] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.439943] CR2: ffffffffabc20660 CR3: 0000000103068006 CR4: 00000000003706e0 [ 52.447913] Call Trace: [ 52.450641] ? execute_location+0x45/0x56 e a3 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc[ 52.455117] ? direct_entry.cold+0x2c/0x38 [ 52.465901] ? full_proxy_write+0x53/0x80 cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0[ 52.470379] ? vfs_write+0xe7/0x3a0 [ 52.480482] ? ksys_write+0x68/0xf0 [ 52.484374] ? do_syscall_64+0x30/0x40 [ 52.488558] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 f0 04 94 02 # [ 4[ 52.494395] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 52.527031] CR2: ffffffffabc20660 [ 52.530728] ---[ end trace 5f8062a791bfe176 ]--- [ 52.535876] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 52.540273] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 52.561275] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 52.567108] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 52.575078] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 52.583045] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 52.591013] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 52.598982] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 52.606951] FS: 00007f8af80ba580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 52.615988] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 52.622405] CR2: ffffffffabc20660 CR3: 0000000103068006 CR4: 00000000003706e0 [ 52.630376] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 52.640280] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1637, name: cat [ 52.648726] INFO: lockdep is turned off. [ 52.653102] irq event stamp: 0 [ 52.656506] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 52.663505] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 52.672639] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 52.681775] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 52.688775] CPU: 1 PID: 1637 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 52.697413] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 52.704215] Call Trace: [ 52.706942] dump_stack+0x77/0x9b 9.958156] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 49.[ 52.710641] ___might_sleep.cold+0xa6/0xb6 [ 52.721421] exit_signals+0x1c/0x2e0 [ 52.725409] do_exit+0xd5/0xb00 [ 52.728902] ? ksys_write+0x68/0xf0 [ 52.732794] rewind_stack_do_exit+0x17/0x20 [ 52.737461] RIP: 0033:0x7f8af7fd08f3 [ 52.741448] Code: 8b 15 a1 25 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.762428] RSP: 002b:00007fff2a76bf38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 52.770881] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f8af7fd08f3 [ 52.778848] RDX: 000000000000000a RSI: 00007f8af7ec3000 RDI: 0000000000000001 [ 52.786816] RBP: 00007f8af7ec3000 R08: 00007f8af7ec2010 R09: 0000000000000000 [ 52.794784] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 52.802752] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 963980] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 49.971948] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 49.979917] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 49.987885] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 49.995854] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 50.003821] FS: 00007f7122e46580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 50.012856] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 50.019276] CR2: ffffab2481983fff CR3: 0000000104078006 CR4: 00000000003706e0 # 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 # [ 50.103571] lkdtm: Performing direct entry STACK_GUARD_PAGE_TRAILING # [ 50.115181] lkdtm: attempting bad read from page above current stack # [ 50.122297] BUG: stack guard page was hit at 00000000b0cc184c (stack is 0000000030f1f3b4..000000008fea0120) # [ 50.139393] kernel stack overflow (page fault): 0[ 52.920262] lkdtm: Performing direct entry EXEC_STACK 000 [#4] SMP PTI # [ 50.146203] CPU: 2 PID: 1094 Comm: cat Ta[ 52.928269] lkdtm: attempting ok execution at ffffffffa92e04f0 inted: G D W 5.10.155-cip20 #1 # [ 50.161063] Ha[ 52.941008] lkdtm: attempting bad execution at ffffab248229fe18 rdware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 50.16[ 52.953827] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 52.968395] BUG: unable to handle page fault for address: ffffab248229fe18 [ 52.976066] #PF: supervisor instruction fetch in kernel mode [ 52.982386] #PF: error_code(0x0011) - permissions violation 7869] RIP: 0010:lkdtm_STACK_GUARD_PAGE_TRAILING+0x27/0x3d # [ [ 52.988610] PGD 100000067 P4D 100000067 PUD 100211067 PMD 1032db067 PTE 8000000103e52063 [ 53.003869] Oops: 0011 [#6] SMP PTI [ 53.007762] CPU: 1 PID: 1673 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 53.016405] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 53.023211] RIP: 0010:0xffffab248229fe18 [ 53.027581] Code: 00 00 18 fe 29 82 24 ab ff ff ff 05 97 a9 ff ff ff ff 20 00 00 00 00 00 00 00 46 0a 39 aa ff ff ff ff 2e 07 97 a9 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 [ 53.048568] RSP: 0018:ffffab248229fdf8 EFLAGS: 00010246 [ 53.054403] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 53.062373] RDX: 0000000000000000 RSI: ffff9b4a3ac9bf70 RDI: ffff9b4a3ac9bf70 [ 53.070343] RBP: ffffab248229fe18 R08: 0000000000000000 R09: 0000000000000000 [ 53.078330] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b [ 53.086316] R13: ffffab248229ff10 R14: ffffab248229ff10 R15: ffff9b49c4837000 [ 53.094292] FS: 00007f5920ac2580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 53.103332] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.109739] CR2: ffffab248229fe18 CR3: 000000010278c006 CR4: 00000000003706e0 [ 53.117708] Call Trace: [ 53.120439] ? execute_location+0x45/0x56 50.174480] Code: a0 fd ff 0f 1f 44 00 00 53 48 c7 c7 f8 11 39 a[ 53.124913] ? lkdtm_EXEC_STACK+0x26/0x44 [ 53.135602] ? direct_entry.cold+0x2c/0x38 [ 53.140176] ? full_proxy_write+0x53/0x80 a 50 65 48 8b 04 25 40 b0 01 00 48 8b 58 18 e8 f0 9f fd ff 48 c7[ 53.144653] ? vfs_write+0xe7/0x3a0 [ 53.154757] ? ksys_write+0x68/0xf0 [ 53.158650] ? do_syscall_64+0x30/0x40 [ 53.162834] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 c7 38 12 39 aa <8a> 83 00 40 00 00 88 44 24 07 0f b6 74 24 07 5[ 53.168664] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 53.201305] CR2: ffffab248229fe18 [ 53.205002] ---[ end trace 5f8062a791bfe177 ]--- [ 53.210157] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 53.214534] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 53.235521] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 53.241354] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 53.249335] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 53.257306] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 53.265277] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 53.273240] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 53.281212] FS: 00007f5920ac2580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 53.290251] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.296692] CR2: ffffab248229fe18 CR3: 000000010278c006 CR4: 00000000003706e0 [ 53.304664] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 53.314577] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1673, name: cat [ 53.323032] INFO: lockdep is turned off. [ 53.327409] irq event stamp: 0 [ 53.330815] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 53.337814] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 53.346950] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 53.356088] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 53.363088] CPU: 1 PID: 1673 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 53.371738] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 53.378543] Call Trace: [ 53.381278] dump_stack+0x77/0x9b a 5b e9 d3 9f fd ff # [ 50.195451] RSP: 0018:ffffab2481a0fe50[ 53.384978] ___might_sleep.cold+0xa6/0xb6 [ 53.395762] exit_signals+0x1c/0x2e0 [ 53.399743] do_exit+0xd5/0xb00 [ 53.403239] ? ksys_write+0x68/0xf0 EFLAGS: 00010246 # [ 50.201284] RAX: 0000000000000038 RBX: f[ 53.407133] rewind_stack_do_exit+0x17/0x20 [ 53.418014] RIP: 0033:0x7f59209d88f3 [ 53.422004] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 53.442982] RSP: 002b:00007fff8b6e4f08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 53.451440] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f59209d88f3 [ 53.459410] RDX: 000000000000000b RSI: 00007f59208cb000 RDI: 0000000000000001 [ 53.467383] RBP: 00007f59208cb000 R08: 00007f59208ca010 R09: 0000000000000000 [ 53.475353] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 53.483334] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 fffab2481a0c000 RCX: 0000000000000000 # [ 50.209274] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa391238 # [ 50.217241] RBP: ffffffffaa390903 R08: 0000000000000000 R09: 0000000000000000 # [ 50.225209] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001a # [ 50.233175] R13: ffffab2481a0ff10 R14: ffffab2481a0ff10 R15: ffff9b49c3050000 # [ 50.241142] FS: 00007f6f578ce580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 50.250179] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 50.256583] CR2: ffffab2481a10000 CR3: 0000000102874003 CR4: 00000000003706e0 # [ 50.264551] Call Trace: # [ 50.267278] ? lkdtm_STACK_GUARD_PAGE_LEADING+0x3a/0x3a # [ 50.273114] direct_entry.cold+0x2c/0x38 # [ 50.277492] full_proxy_write+0x53/0x80 # [ 50.281773] vfs_write+0xe7/0x3a0 # [ 50.285469] ksys_write+0x68/0xf0 # [ 50.289166] do_syscall_64+0x30/0x40 # [ 50.293154] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 50.298793] RIP: 0033:0x7f6f577e48f3 # [ 50.302771] Code: 8b 15 a1 25 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[ 53.605283] lkdtm: Performing direct entry EXEC_KMALLOC [ 53.615227] lkdtm: attempting ok execution at ffffffffa92e04f0 [ 53.621745] lkdtm: attempting bad execution at ffff9b49c3341640 [ 53.628365] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) 40 00 48 83 ec 28 48 89 54 24 18 # [ 50.323749] RSP: 002b:00[ 53.636751] BUG: unable to handle page fault for address: ffff9b49c3341640 [ 53.650643] #PF: supervisor instruction fetch in kernel mode [ 53.656962] #PF: error_code(0x0011) - permissions violation 00[7ffd621e7248 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 53.663185] PGD 3ba01067 P4D 3ba01067 PUD 10084e063 PMD 104b91063 PTE 8000000103341063 [ 53.678249] Oops: 0011 [#7] SMP PTI [ 53.682144] CPU: 2 PID: 1709 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 53.690795] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 53.697602] RIP: 0010:0xffff9b49c3341640 50.332203] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00[ 53.701981] Code: 00 00 02 00 00 00 00 00 00 00 00 62 d7 c4 49 9b ff ff 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1b 24 b0 a8 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 [ 53.729176] RSP: 0018:ffffab2482317e38 EFLAGS: 00010246 [ 53.735010] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 53.742981] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 [ 53.750942] RBP: ffff9b49c3341640 R08: 0000000000000000 R09: 0000000000000000 [ 53.758912] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d [ 53.766880] R13: ffffab2482317f10 R14: ffffab2482317f10 R15: ffff9b49c3f09000 [ 53.774851] FS: 00007f448c9f0580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 53.783879] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.790296] CR2: ffff9b49c3341640 CR3: 00000001033a8006 CR4: 00000000003706e0 [ 53.798257] Call Trace: 007[f6f577e48f3 # [ 50.340170] RDX: 000000000000001a RSI: 0000 53.800979] ? execute_location+0x45/0x56 [ 53.811671] ? lkdtm_EXEC_KMALLOC+0x2c/0x40 [ 53.816338] ? direct_entry.cold+0x2c/0x38 [ 53.820911] ? full_proxy_write+0x53/0x80 [ 53.825385] ? vfs_write+0xe7/0x3a0 [ 53.829277] ? ksys_write+0x68/0xf0 [ 53.833171] ? do_syscall_64+0x30/0x40 [ 53.837353] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 53.843191] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 7f6f576d7000 RDI: 0000000000000001 # [ 50.348138] RBP: 00007f[ 53.869654] CR2: ffff9b49c3341640 [ 53.879564] ---[ end trace 5f8062a791bfe178 ]--- [ 53.884718] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 53.889086] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 53.910060] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 53.915893] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 53.923863] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 53.931832] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 53.939803] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 53.947764] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 53.955735] FS: 00007f448c9f0580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 53.964771] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 53.971188] CR2: ffff9b49c3341640 CR3: 00000001033a8006 CR4: 00000000003706e0 6f576d7000 R08: 00007f6f576d6010 R09: 0000000000000000 # [ 50.356105] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 50.364073] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 50.372045] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 50.398506] ---[ end trace 5f8062a791bfe174 ]--- # [ 50.403661] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 50.408036] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 50.429015] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 50.434839][ 54.065457] lkdtm: Performing direct entry EXEC_VMALLOC RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 00000000000000[ 54.072067] lkdtm: attempting ok execution at ffffffffa92e04f0 00 # [ 50.442806] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70[ 54.084797] lkdtm: attempting bad execution at ffffab24801e7000 RDI: ffffffffa9fa06d0 # [ 50.450775] RBP: ffffffffaa3ebf20 R[ 54.097644] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 54.112180] BUG: unable to handle page fault for address: ffffab24801e7000 [ 54.119860] #PF: supervisor instruction fetch in kernel mode [ 54.126171] #PF: error_code(0x0011) - permissions violation [ 54.132392] PGD 100000067 P4D 100000067 PUD 100211067 PMD 100214067 PTE 8000000106427063 [ 54.141440] Oops: 0011 [#8] SMP PTI [ 54.145331] CPU: 0 PID: 1745 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 54.153982] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 54.160790] RIP: 0010:0xffffab24801e7000 [ 54.165167] Code: Unable to access opcode bytes at RIP 0xffffab24801e6fd6. [ 54.172846] RSP: 0018:ffffab2482397e38 EFLAGS: 00010246 [ 54.178681] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 [ 54.186653] RDX: 0000000000000000 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 [ 54.194623] RBP: ffffab24801e7000 R08: 0000000000000000 R09: 0000000000000000 [ 54.202592] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d [ 54.210564] R13: ffffab2482397f10 R14: ffffab2482397f10 R15: ffff9b49c6427000 [ 54.218536] FS: 00007fcb69290580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 [ 54.227565] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.233981] CR2: ffffab24801e6fd6 CR3: 0000000103384006 CR4: 00000000003706f0 [ 54.241952] Call Trace: [ 54.244681] ? execute_location+0x45/0x56 [ 54.249161] ? lkdtm_EXEC_VMALLOC+0x20/0x30 [ 54.253821] ? direct_entry.cold+0x2c/0x38 [ 54.258393] ? full_proxy_write+0x53/0x80 [ 54.262869] ? vfs_write+0xe7/0x3a0 [ 54.266761] ? ksys_write+0x68/0xf0 [ 54.270654] ? do_syscall_64+0x30/0x40 [ 54.274839] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 54.280678] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 54.307123] CR2: ffffab24801e7000 [ 54.310822] ---[ end trace 5f8062a791bfe179 ]--- [ 54.315978] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 54.320360] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 54.341343] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 54.347176] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 54.355146] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 54.363114] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 54.371083] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 54.379050] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 54.387019] FS: 00007fcb69290580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 [ 54.396053] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.402469] CR2: ffffab24801e6fd6 CR3: 0000000103384006 CR4: 00000000003706f0 [ 54.410437] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 54.420348] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1745, name: cat [ 54.428803] INFO: lockdep is turned off. [ 54.433179] irq event stamp: 0 [ 54.436584] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 54.443575] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 54.452710] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 54.461844] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 54.468843] CPU: 0 PID: 1745 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 54.477490] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 54.484293] Call Trace: [ 54.487021] dump_stack+0x77/0x9b [ 54.490726] ___might_sleep.cold+0xa6/0xb6 [ 54.495303] exit_signals+0x1c/0x2e0 [ 54.499298] do_exit+0xd5/0xb00 [ 54.502802] ? ksys_write+0x68/0xf0 [ 54.506696] rewind_stack_do_exit+0x17/0x20 [ 54.511368] RIP: 0033:0x7fcb691a68f3 [ 54.515356] Code: 8b 15 a1 25 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.536338] RSP: 002b:00007ffcfc255ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 54.544792] RAX: ffffffffffffffda RBX: 000000000000000d RCX: 00007fcb691a68f3 [ 54.552761] RDX: 000000000000000d RSI: 00007fcb69099000 RDI: 0000000000000001 [ 54.560731] RBP: 00007fcb69099000 R08: 00007fcb69098010 R09: 0000000000000000 [ 54.568701] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 54.576671] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 08: 0000000000000001 R09: 0000000000000001 # [ 50.458741] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 50.466708] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 50.474677] FS: 00007f6f578ce580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 50.483712] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 50.490127] CR2: ffffab2481a10000 CR3: 0000000102874003 CR4: 00000000003706e0 # [ 50.498097] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 50.508006] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1094, name: cat # [ 50.516458] INFO: lockdep is turned off. # [ 50.520834] irq event stamp: 0 # [ 50.524239] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 50.531238] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 50.540372] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 50.549505] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 50.556502] CPU: 2 PID: 1094 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 50.565151] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 50.571954] Call Trace: # [ 50.574681] dump_stack+0x77/0x9b # [ 50.578379] ___might_sleep.co[ 54.713405] lkdtm: Performing direct entry EXEC_RODATA [ 54.720922] lkdtm: attempting ok execution at ffffffffa92e04f0 [ 54.727445] lkdtm: attempting bad execution at ffffffffa9fa0b60 [ 54.734069] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) [ 54.742435] BUG: unable to handle page fault for address: ffffffffa9fa0b60 [ 54.750115] #PF: supervisor instruction fetch in kernel mode [ 54.756434] #PF: error_code(0x0011) - permissions violation [ 54.762649] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 8000000039a000e1 ld+0xa6/0xb6 # [ 50.582950] exit_signals+0x1c/0x2e0 # [ 5[ 54.770139] Oops: 0011 [#9] SMP PTI [ 54.780244] CPU: 3 PID: 1781 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 54.788894] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 54.795701] RIP: 0010:lkdtm_rodata_do_nothing+0x0/0x10 [ 54.801436] Code: ff ff 9e 1b 97 a9 ff ff ff ff 92 0c 39 aa ff ff ff ff e4 02 97 a9 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 [ 54.822418] RSP: 0018:ffffab24823f7e48 EFLAGS: 00010246 [ 54.828243] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 [ 54.836210] RDX: 0000000000000000 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 [ 54.844180] RBP: ffffffffa9fa0b60 R08: 0000000000000000 R09: 0000000000000000 [ 54.852148] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c [ 54.860115] R13: ffffab24823f7f10 R14: ffffab24823f7f10 R15: ffff9b49c640d000 [ 54.868084] FS: 00007f75377f7580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 54.877121] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 54.883535] CR2: ffffffffa9fa0b60 CR3: 000000010592c006 CR4: 00000000003706e0 [ 54.891504] Call Trace: [ 54.894231] ? execute_location+0x45/0x56 [ 54.898704] ? direct_entry.cold+0x2c/0x38 [ 54.903277] ? full_proxy_write+0x53/0x80 [ 54.907753] ? vfs_write+0xe7/0x3a0 [ 54.911643] ? ksys_write+0x68/0xf0 [ 54.915534] ? do_syscall_64+0x30/0x40 [ 54.919717] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 54.925546] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 0.586940] do_exit+0xd5/0xb00 # [ 50.590433] ? ksys_write+0x[ 54.952008] CR2: ffffffffa9fa0b60 [ 54.961918] ---[ end trace 5f8062a791bfe17a ]--- [ 54.967072] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 54.971447] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 54.992427] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 54.998272] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 55.006239] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 55.014207] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 55.022176] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 55.030144] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 55.038113] FS: 00007f75377f7580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 55.047149] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 55.053564] CR2: ffffffffa9fa0b60 CR3: 000000010592c006 CR4: 00000000003706e0 68/0xf0 # [ 50.594327] rewind_stack_do_exit+0x17/0x20 # [ 50.598993] RIP: 0033:0x7f6f577e48f3 # [ 50.602980] Code: 8b 15 a1 25 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.623961] RSP: 002b:00007ffd621e7248 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 50.632415] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f6f577e48f3 # [ 50.640384] RDX: 000000000000001a RSI: 00007f6f576d7000 RDI: 0000000000000001 # [ 50.648351] RBP: 00007f6f576d7000 R08: 00007f6f576d6010 R09: 0000000000000000 # [ 50.656329] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 50.664298] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # STACK_GUARD_PAGE_TRAILING: saw 'call trace:': ok ok 13 selftests: lkdtm: STACK_GUARD_PAGE_TRAILING.sh # selftests: lkdtm: UNSET_SMEP.sh # [ 50.793744] lkdtm: Performing direct entry UNSET_SMEP # [ 50.802312] lkdtm: trying to clear SMEP normally # [[ 55.162469] lkdtm: Performing direct entry EXEC_USERSPACE 50.807478] ------------[ cut here ]------------ # [ 50.812[ 55.173283] lkdtm: attempting ok execution at ffffffffa92e04f0 646] pinned CR4 bits changed: 0x100000!? # [ 50.817757] WARNI[ 55.186035] lkdtm: attempting bad execution at 00007fcf5751d000 NG: CPU: 2 PID: 1130 at arch/x86/kernel/cpu/common.c:392 native_[ 55.198858] unable to execute userspace code (SMEP?) (uid: 0) [ 55.211454] BUG: unable to handle page fault for address: 00007fcf5751d000 [ 55.219133] #PF: supervisor instruction fetch in kernel mode [ 55.225443] #PF: error_code(0x0011) - permissions violation [ 55.231665] PGD 8000000105b89067 P4D 8000000105b89067 PUD 103678067 PMD 1027df067 PTE 10de72067 [ 55.241392] Oops: 0011 [#10] SMP PTI [ 55.245379] CPU: 0 PID: 1817 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 55.254030] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 55.260837] RIP: 0010:0x7fcf5751d000 [ 55.264826] Code: Unable to access opcode bytes at RIP 0x7fcf5751cfd6. [ 55.272116] RSP: 0018:ffffab24824b7e50 EFLAGS: 00010246 [ 55.277951] RAX: 0000000000000033 RBX: 0000000000000024 RCX: 0000000000000000 [ 55.285921] RDX: 0000000000000000 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 [ 55.293890] RBP: 00007fcf5751d000 R08: 0000000000000000 R09: 0000000000000000 [ 55.301859] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000f [ 55.309829] R13: ffffab24824b7f10 R14: ffffab24824b7f10 R15: ffff9b49c2776000 [ 55.317799] FS: 00007fcf574ee580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 [ 55.326836] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 55.333276] CR2: 00007fcf5751d000 CR3: 000000010378c004 CR4: 00000000003706f0 [ 55.341245] Call Trace: [ 55.343998] ? lkdtm_EXEC_USERSPACE.cold+0x66/0xae [ 55.349352] ? direct_entry.cold+0x2c/0x38 [ 55.353924] ? full_proxy_write+0x53/0x80 [ 55.358391] ? vfs_write+0xe7/0x3a0 [ 55.362282] ? ksys_write+0x68/0xf0 [ 55.366175] ? do_syscall_64+0x30/0x40 [ 55.370350] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 55.376187] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 55.402629] CR2: 00007fcf5751d000 [ 55.406326] ---[ end trace 5f8062a791bfe17b ]--- [ 55.411481] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 55.415848] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 55.436833] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 55.442667] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 55.450637] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 55.458607] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 55.466578] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 55.474547] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 55.482519] FS: 00007fcf574ee580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 [ 55.491558] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 55.497974] CR2: 00007fcf5751d000 CR3: 000000010378c004 CR4: 00000000003706f0 [ 55.505944] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 55.515858] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1817, name: cat [ 55.524324] INFO: lockdep is turned off. [ 55.528700] irq event stamp: 0 [ 55.532106] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 55.539107] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 55.548236] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 55.557376] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 55.564374] CPU: 0 PID: 1817 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 55.573021] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 55.579822] Call Trace: [ 55.582550] dump_stack+0x77/0x9b [ 55.586253] ___might_sleep.cold+0xa6/0xb6 [ 55.590830] exit_signals+0x1c/0x2e0 [ 55.594818] do_exit+0xd5/0xb00 [ 55.598322] ? ksys_write+0x68/0xf0 [ 55.602213] rewind_stack_do_exit+0x17/0x20 [ 55.606884] RIP: 0033:0x7fcf574048f3 [ 55.610872] Code: 8b 15 a1 25 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 [ 55.631852] RSP: 002b:00007ffc7ea76808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 55.640306] RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007fcf574048f3 [ 55.648275] RDX: 000000000000000f RSI: 00007fcf572f7000 RDI: 0000000000000001 [ 55.656235] RBP: 00007fcf572f7000 R08: 00007fcf572f6010 R09: 0000000000000000 [ 55.664201] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 55.672169] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 write_cr4+0x45/0x60 # [ 50.827969] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 50.860598] CPU: 2 PID: 1130 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 50.869283] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 50.876097] RIP: 0010:native_write_cr4+0x45/0x60 # [ 50.881280] Code: 39 c2 75 2d 48 85 f6 75 05 c3 cc cc cc cc 80 3d c4 a0 e3 01 00 75 f2 48 c7 c7 78 fb 2c aa c6 05 b4 a0 e3 01 01 e8 46 fc e7 00 <0f> 0b c3 cc cc cc cc 48 89 d6 48 81 e7 ff f7 ce ff 48 31 c6 48 09 # [ 50.902277] RSP: 0018:ffffab2481a7fe48 EFLAGS: 00010286 # [ 50.914336] RAX: 0000000000000000 RBX: 00000000002706e0 RCX: 0000000000000000 # [ 50.922344] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 50.930335] RBP: ffffffffaa39091d R08: 0000000000000000 R09: 0000000000000000 # [ 50.938340] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b # [ 50.946329] R13: ffffab2481a7ff10 R14: ffffab2481a7ff10 R15: ffff9b49c4cc0000 # [ 50.954335] FS: 00007ff07de04580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 50.963377] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 50.969795] CR2: 00007ff07dc0d000 CR3: 00000001032c0003 CR4: 00000000003706e0 # [ 50.977[ 55.820102] lkdtm: Performing direct entry EXEC_NULL [ 55.828649] lkdtm: attempting ok execution at ffffffffa92e04f0 [ 55.835196] lkdtm: attempting bad execution at 0000000000000000 [ 55.841816] BUG: kernel NULL pointer dereference, address: 0000000000000000 768] Call Trace: # [ 50.980500] lkdtm_UNSET_SMEP.cold+0x1d/0[ 55.849620] #PF: supervisor instruction fetch in kernel mode [ 55.862153] #PF: error_code(0x0010) - not-present page [ 55.867891] PGD 0 P4D 0 x103 # [ 50.985401] direct_entry.cold+0x2c/0x38 # [ 50.98[ 55.870719] Oops: 0010 [#11] SMP PTI [ 55.880921] CPU: 3 PID: 1853 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 55.889572] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 55.896377] RIP: 0010:0x0 [ 55.899299] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. 9813] full_proxy_write+0x53/0x80 # [ 50.994132] vfs_write+0[ 55.906980] RSP: 0018:ffffab2482537e48 EFLAGS: 00010246 [ 55.919026] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 [ 55.926996] RDX: 0000000000000000 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 [ 55.934965] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 55.942934] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a [ 55.950904] R13: ffffab2482537f10 R14: ffffab2482537f10 R15: ffff9b49c3292000 [ 55.958873] FS: 00007f1db6075580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 55.967911] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 55.974329] CR2: ffffffffffffffd6 CR3: 000000010304e004 CR4: 00000000003706e0 [ 55.982298] Call Trace: [ 55.985026] execute_location+0x45/0x56 [ 55.989327] direct_entry.cold+0x2c/0x38 [ 55.993704] full_proxy_write+0x53/0x80 [ 55.997987] vfs_write+0xe7/0x3a0 [ 56.001686] ksys_write+0x68/0xf0 [ 56.005386] do_syscall_64+0x30/0x40 [ 56.009374] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 56.015005] RIP: 0033:0x7f1db5f8b8f3 [ 56.018984] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 56.039966] RSP: 002b:00007ffee18e0ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.048411] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f1db5f8b8f3 [ 56.056380] RDX: 000000000000000a RSI: 00007f1db5e7e000 RDI: 0000000000000001 [ 56.064347] RBP: 00007f1db5e7e000 R08: 00007f1db5e7d010 R09: 0000000000000000 [ 56.072329] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 56.080298] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 xe7/0x3a0 # [ 50.997864] ksys_write+0x68/0xf0 # [ 51.0016[ 56.088277] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 56.120915] CR2: 0000000000000000 [ 56.124612] ---[ end trace 5f8062a791bfe17c ]--- [ 56.129767] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 56.134144] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 56.155118] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 56.160951] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 56.168920] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 56.176891] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 56.184861] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 56.192830] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 56.200798] FS: 00007f1db6075580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 56.209834] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.216272] CR2: ffffffffffffffd6 CR3: 000000010304e004 CR4: 00000000003706e0 00] do_syscall_64+0x30/0x40 # [ 51.005623] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 51.011280] RIP: 0033:0x7ff07dd1a8f3 # [ 51.015281] Code: 8b 15 a1 25 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.042473] RSP: 002b:00007fff927ab918 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 51.050966] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007ff07dd1a8f3 # [ 51.058944] RDX: 000000000000000b RSI: 00007ff07dc0d000 RDI: 0000000000000001 # [ 51.066947] RBP: 00007ff07dc0d000 R08: 00007ff07dc0c010 R09: 0000000000000000 # [ 51.074922] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 51.089107] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 51.097086] irq event stamp: 0 # [ 51.106702] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 51.113737] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 51.122909] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 51.132077] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 51.139080] ---[ end trace 5f8062a791b[ 56.345378] lkdtm: Performing direct entry ACCESS_USERSPACE [ 56.354853] lkdtm: attempting bad read at 00007fe52aa89000 [ 56.361031] BUG: unable to handle page fault for address: 00007fe52aa89000 [ 56.368724] #PF: supervisor read access in kernel mode fe175 ]--- # [ 51.144265] lkdtm: ok: SMEP did not get cleared[ 56.374462] #PF: error_code(0x0001) - permissions violation [ 56.386894] PGD 800000010329a067 P4D 800000010329a067 PUD 10404a067 PMD 10309c067 PTE 1171b9067 [ 56.396616] Oops: 0001 [#12] SMP PTI [ 56.400603] CPU: 2 PID: 1888 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 56.409269] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 51.149341] lkdtm: trying to clear SMEP with call gadget [ 56.416086] RIP: 0010:lkdtm_ACCESS_USERSPACE.cold+0x41/0xa3 [ 56.428518] Code: 00 00 00 75 64 48 83 c4 10 5d c3 cc cc cc cc 48 89 ee 48 c7 c7 b0 19 39 aa e8 64 99 fd ff 48 c7 c7 d8 19 39 aa b8 de c0 de c0 <48> 03 45 00 48 89 04 24 e8 4b 99 fd ff 48 89 ee 48 c7 c7 00 1a 39 [ 56.449500] RSP: 0018:ffffab24825afe48 EFLAGS: 00010246 [ 56.455333] RAX: 00000000c0dec0de RBX: 0000000000000026 RCX: 0000000000000000 [ 56.463300] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa3919d8 [ 56.471289] RBP: 00007fe52aa89000 R08: 0000000000000000 R09: 0000000000000000 [ 56.479272] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000011 [ 56.487241] R13: ffffab24825aff10 R14: ffffab24825aff10 R15: ffff9b49c4d3a000 [ 56.495210] FS: 00007fe52aa5a580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 56.504264] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 51.161480] lkdtm: ok: SMEP removal was reverted # UNSET_[ 56.510689] CR2: 00007fe52aa89000 CR3: 0000000103756001 CR4: 00000000003706e0 [ 56.524873] Call Trace: [ 56.527602] direct_entry.cold+0x2c/0x38 [ 56.531982] full_proxy_write+0x53/0x80 [ 56.536276] vfs_write+0xe7/0x3a0 [ 56.539974] ksys_write+0x68/0xf0 [ 56.543671] do_syscall_64+0x30/0x40 [ 56.547650] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 56.553289] RIP: 0033:0x7fe52a9708f3 [ 56.557277] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 56.578273] RSP: 002b:00007ffc535494b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.586730] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fe52a9708f3 [ 56.594690] RDX: 0000000000000011 RSI: 00007fe52a863000 RDI: 0000000000000001 [ 56.602660] RBP: 00007fe52a863000 R08: 00007fe52a862010 R09: 0000000000000000 [ 56.610629] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 56.618599] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 56.626573] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify SMEP: saw 'pinned CR4 bits changed:': ok ok 14 selftests: lkdtm[ 56.653036] CR2: 00007fe52aa89000 [ 56.662946] ---[ end trace 5f8062a791bfe17d ]--- [ 56.668101] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 56.672469] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 56.693450] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 56.699282] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 56.707273] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 56.715242] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 56.723211] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 56.731181] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 56.739150] FS: 00007fe52aa5a580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 56.748188] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 56.754603] CR2: 00007fe52aa89000 CR3: 0000000103756001 CR4: 00000000003706e0 [ 56.762573] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 56.772486] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1888, name: cat [ 56.780941] INFO: lockdep is turned off. [ 56.785322] irq event stamp: 0 [ 56.788725] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 56.795723] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 56.804858] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 56.813995] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 56.820986] CPU: 2 PID: 1888 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 56.829634] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 56.836439] Call Trace: [ 56.839166] dump_stack+0x77/0x9b [ 56.842865] ___might_sleep.cold+0xa6/0xb6 [ 56.847438] exit_signals+0x1c/0x2e0 [ 56.851426] do_exit+0xd5/0xb00 [ 56.854928] ? ksys_write+0x68/0xf0 [ 56.858821] rewind_stack_do_exit+0x17/0x20 [ 56.863489] RIP: 0033:0x7fe52a9708f3 [ 56.867476] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 56.888461] RSP: 002b:00007ffc535494b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.896918] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fe52a9708f3 [ 56.904886] RDX: 0000000000000011 RSI: 00007fe52a863000 RDI: 0000000000000001 [ 56.912857] RBP: 00007fe52a863000 R08: 00007fe52a862010 R09: 0000000000000000 [ 56.920825] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 56.928795] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 : UNSET_SMEP.sh # selftests: lkdtm: DOUBLE_FAULT.sh # [ 51.244677] lkdtm: Performing direct entry DOUBLE_FAULT # [ 51.253311] lkdtm: XFAIL: this test is ia32-only # DOUBLE_FAULT: saw 'XFAIL': [SKIP] ok 15 selftests: lkdtm: DOUBLE_FAULT.sh # SKIP # selftests: lkdtm: CORRUPT_PAC.sh # [ 51.338038] lkdtm: Performing direct entry CORRUPT_PAC # [ 51.345006] lkdtm: XFAIL: this test is arm64-only # CORRUPT_PAC: saw 'XFAIL': [SKIP] ok 16 selftests: lkdtm: CORRUPT_PAC.sh # SKIP # selftests: lkdtm: UNALIGNED_LOAD_STORE_WRITE.sh # [ 51.446839] lkdtm: Performing direct entry UNALIGNED_LOAD_STORE_WRITE # [ 51.456895] 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_AFT[ 57.045348] lkdtm: Performing direct entry ACCESS_NULL [ 57.054412] lkdtm: attempting bad read at 0000000000000000 [ 57.060543] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 57.068350] #PF: supervisor read access in kernel mode ER_FREE.sh # [ 51.594997] lkdtm: Performing direct entry READ[ 57.074089] #PF: error_code(0x0000) - not-present page [ 57.086038] PGD 0 P4D 0 _AFTER_FREE # [ 51.601209] lkdtm: Value in memory before free[ 57.088865] Oops: 0000 [#13] SMP PTI [ 57.099064] CPU: 3 PID: 1923 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 57.107714] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 57.114513] RIP: 0010:lkdtm_ACCESS_NULL+0x14/0x53 [ 57.119762] Code: 08 99 fd ff be 00 10 00 00 48 89 ef e8 b7 6e 39 ff e9 69 ff ff ff 0f 1f 44 00 00 53 31 f6 48 c7 c7 b0 19 39 aa e8 e2 98 fd ff <48> 8b 1c 25 00 00 00 00 b8 de c0 de c0 48 c7 c7 d8 19 39 aa 48 01 [ 57.140741] RSP: 0018:ffffab2482647e58 EFLAGS: 00010246 [ 57.146573] RAX: 000000000000002e RBX: 0000000000000027 RCX: 0000000000000000 [ 57.154543] RDX: 0000000000000000 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 [ 57.162512] RBP: ffffffffaa390aa1 R08: 0000000000000000 R09: 0000000000000000 [ 57.170480] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c [ 57.178447] R13: ffffab2482647f10 R14: ffffab2482647f10 R15: ffff9b49c3363000 [ 57.186414] FS: 00007faa11d2b580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 57.195451] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.201865] CR2: 0000000000000000 CR3: 00000001036f0001 CR4: 00000000003706e0 [ 57.209833] Call Trace: [ 57.212560] direct_entry.cold+0x2c/0x38 [ 57.216938] full_proxy_write+0x53/0x80 [ 57.221219] vfs_write+0xe7/0x3a0 [ 57.224916] ksys_write+0x68/0xf0 [ 57.228607] do_syscall_64+0x30/0x40 [ 57.232596] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 57.238235] RIP: 0033:0x7faa11c418f3 [ 57.242224] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 57.263196] RSP: 002b:00007fff31e2e638 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.271651] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007faa11c418f3 [ 57.279619] RDX: 000000000000000c RSI: 00007faa11b34000 RDI: 0000000000000001 [ 57.287587] RBP: 00007faa11b34000 R08: 00007faa11b33010 R09: 0000000000000000 [ 57.295557] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 57.303526] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 57.311500] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify : 12345678 # [ 51.607192] lkdtm: Attempting bad read from fre[ 57.337961] CR2: 0000000000000000 [ 57.347871] ---[ end trace 5f8062a791bfe17e ]--- [ 57.353026] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 57.357401] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 57.378382] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 57.384206] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 57.392175] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 57.400143] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 57.408111] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 57.416080] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 57.424047] FS: 00007faa11d2b580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 57.433085] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.439500] CR2: 0000000000000000 CR3: 00000001036f0001 CR4: 00000000003706e0 ed memory # [ 51.613166] 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 # [ 51.736559] lkdtm: Performing direct entry READ_BUDDY_AFTER_FREE # [ 51.748824] lkdtm: Value in memory before free: 12345678 # [ 51.760974] lkdtm: Attempting to read from freed memory # [ 51.773028] lkdtm: Buddy page was not poisoned # READ_BUDDY_AFTER_FREE: missing 'call trace:': [FAIL] not ok 22 selftests: lkdtm: READ_BUDDY_AFTER_FREE.sh # exit=1 # selftests: lkdtm: SLAB_FREE_DOUBLE.sh # [ 51.860953] lkdtm: Performing direct entry SLAB_FREE_DOUBLE # [ 51.871263] 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 # [ 51.954750] lkdtm: Performing direct entry SLAB_FREE_CROSS # [ 51.963606] lkdtm: Attempting cross-cache slab free ... # SLAB_FREE_CROSS: missing 'call trace:': [FAIL] not ok 24 selftests: lkdtm: SLAB_FREE_CRO[ 57.570458] lkdtm: Performing direct entry WRITE_RO SS.sh # exit=1 # selftests: lkdtm: SLAB_FREE_PAGE.sh # [ 52.[ 57.577278] lkdtm: attempting bad rodata write at ffffffffa9fa0b50 042895] lkdtm: Performing direct entry SLAB_FREE_PAGE # [ 52.[ 57.590423] BUG: unable to handle page fault for address: ffffffffa9fa0b50 [ 57.604293] #PF: supervisor write access in kernel mode [ 57.610126] #PF: error_code(0x0003) - permissions violation [ 57.616348] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 8000000039a000e1 [ 57.623838] Oops: 0003 [#14] SMP PTI [ 57.627819] CPU: 1 PID: 1958 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 57.636469] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 57.643278] RIP: 0010:lkdtm_WRITE_RO+0x2e/0x3a 050082] lkdtm: Attempting non-Slab slab free ... # SLAB_FREE_PA[ 57.648241] Code: 00 48 c7 c7 90 18 39 aa 48 c7 c6 50 0b fa a9 e8 8c 9b fd ff 48 8b 05 21 05 63 00 ba 34 12 cd ab 48 c7 c7 c0 18 39 aa 48 31 d0 <48> 89 05 0b 05 63 00 e9 6a 9b fd ff 0f 1f 44 00 00 48 8b 05 da dc [ 57.675442] RSP: 0018:ffffab24826c7e60 EFLAGS: 00010202 [ 57.681277] RAX: 000000000198b861 RBX: 0000000000000028 RCX: 0000000000000000 [ 57.689238] RDX: 00000000abcd1234 RSI: ffff9b4a3ac9bf70 RDI: ffffffffaa3918c0 [ 57.697210] RBP: ffffffffaa390aad R08: 0000000000000000 R09: 0000000000000000 [ 57.705180] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000009 [ 57.713151] R13: ffffab24826c7f10 R14: ffffab24826c7f10 R15: ffff9b49c4c31000 [ 57.721122] FS: 00007f6cb45e4580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 57.730161] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.736577] CR2: ffffffffa9fa0b50 CR3: 0000000106482002 CR4: 00000000003706e0 [ 57.744546] Call Trace: [ 57.747282] direct_entry.cold+0x2c/0x38 [ 57.751663] full_proxy_write+0x53/0x80 GE: missing 'call trace:': [FAIL] not ok 25 selftests: lkdtm: S[ 57.755947] vfs_write+0xe7/0x3a0 [ 57.765858] ksys_write+0x68/0xf0 [ 57.769557] do_syscall_64+0x30/0x40 [ 57.773546] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 57.779185] RIP: 0033:0x7f6cb44fa8f3 [ 57.783174] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 57.804161] RSP: 002b:00007ffcdd97ee28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 57.812619] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f6cb44fa8f3 [ 57.820590] RDX: 0000000000000009 RSI: 00007f6cb43ed000 RDI: 0000000000000001 [ 57.828560] RBP: 00007f6cb43ed000 R08: 00007f6cb43ec010 R09: 0000000000000000 [ 57.836530] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 57.844501] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 LAB_FREE_PAGE.sh # exit=1 # selftests: lkdtm: SOFTLOCKUP.sh # [ 57.852475] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 57.885118] CR2: ffffffffa9fa0b50 [ 57.888815] ---[ end trace 5f8062a791bfe17f ]--- [ 57.893971] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 57.898349] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 57.919336] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 57.925170] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 57.933139] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 57.941111] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 57.949081] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 57.957052] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 57.965021] FS: 00007f6cb45e4580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 [ 57.974060] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 57.980476] CR2: ffffffffa9fa0b50 CR3: 0000000106482002 CR4: 00000000003706e0 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 # [ 52.243753] lkdtm: Performing direct entry EXEC_DATA # [ 52.253849] lkdtm: attempting ok execution at ffffffffa92e04f0 # [ 52.266574] lkdtm: attempting bad execution at ffffffffabc20660 # [ 52.279407] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 52.293978] BUG: unable to handle page fault for address: ffffffffabc20660 # [ 52.301656] #PF: supervisor instruction fetch in kernel mode # [ 52.307975] #PF: error_code(0x0011) - permissions violation # [ 52.314195] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 800000003b8000e3 # [ 52.321682] Oops: 0011 [#5] SMP PTI # [ 52.331787] CPU: 1 PID: 1637 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 52.340436] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ [ 58.108248] lkdtm: Performing direct entry WRITE_RO_AFTER_INIT [ 58.119272] lkdtm: attempting bad ro_after_init write at ffffffffaa40e330 [ 58.126862] BUG: unable to handle page fault for address: ffffffffaa40e330 [ 58.134547] #PF: supervisor write access in kernel mode 52.347242] RIP: 0010:data_area+0x0/0x40 # [ 52.351620] Code[ 58.140384] #PF: error_code(0x0003) - permissions violation [ 58.152820] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 104b88063 PTE 800000003a00e061 [ 58.161571] Oops: 0003 [#15] SMP PTI [ 58.165551] CPU: 2 PID: 1993 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 58.174201] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 58.181000] RIP: 0010:lkdtm_WRITE_RO_AFTER_INIT+0x4e/0x5a [ 58.187028] Code: 18 39 aa e9 3e 9b fd ff 48 c7 c7 18 19 39 aa e8 32 9b fd ff 48 8b 05 a7 dc a9 00 ba 34 12 cd ab 48 c7 c7 c0 18 39 aa 48 31 d0 <48> 89 05 91 dc a9 00 e9 10 9b fd ff 0f 1f 44 00 00 41 54 48 c7 c7 [ 58.208010] RSP: 0018:ffffab248277fe60 EFLAGS: 00010202 [ 58.213844] RAX: 00000000fe67479e RBX: 0000000000000029 RCX: 0000000000000000 [ 58.221814] RDX: 00000000abcd1234 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa3918c0 [ 58.229784] RBP: ffffffffaa390ab6 R08: 0000000000000000 R09: 0000000000000000 [ 58.237754] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000014 [ 58.245724] R13: ffffab248277ff10 R14: ffffab248277ff10 R15: ffff9b49c5ba0000 [ 58.253694] FS: 00007f6660a66580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 58.262733] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.269149] CR2: ffffffffaa40e330 CR3: 0000000106482005 CR4: 00000000003706e0 [ 58.277118] Call Trace: [ 58.279845] direct_entry.cold+0x2c/0x38 [ 58.284225] full_proxy_write+0x53/0x80 [ 58.288506] vfs_write+0xe7/0x3a0 [ 58.292204] ksys_write+0x68/0xf0 [ 58.295903] do_syscall_64+0x30/0x40 [ 58.299892] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 58.305524] RIP: 0033:0x7f666097c8f3 [ 58.309513] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 58.330496] RSP: 002b:00007ffdf143ced8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.338942] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f666097c8f3 [ 58.346911] RDX: 0000000000000014 RSI: 00007f666086f000 RDI: 0000000000000001 [ 58.354882] RBP: 00007f666086f000 R08: 00007f666086e010 R09: 0000000000000000 [ 58.362850] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 58.370820] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 58.378794] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify : ff ff 00 00 40 c4 49 9b ff ff 00 0f 1f c4 49 9b ff ff 00 00 00[ 58.405258] CR2: ffffffffaa40e330 [ 58.415168] ---[ end trace 5f8062a791bfe180 ]--- [ 58.420324] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 58.424699] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 58.445682] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 58.451507] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 58.459478] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 58.467449] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 58.475418] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 58.483387] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 58.491356] FS: 00007f6660a66580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 58.500393] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.506808] CR2: ffffffffaa40e330 CR3: 0000000106482005 CR4: 00000000003706e0 [ 58.514776] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 58.524688] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1993, name: cat [ 58.533144] INFO: lockdep is turned off. [ 58.537520] irq event stamp: 0 [ 58.540925] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 58.547926] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 58.557062] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 58.566187] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 58.573186] CPU: 2 PID: 1993 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 58.581837] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 58.588641] Call Trace: [ 58.591369] dump_stack+0x77/0x9b [ 58.595067] ___might_sleep.cold+0xa6/0xb6 [ 58.599631] exit_signals+0x1c/0x2e0 [ 58.603620] do_exit+0xd5/0xb00 [ 58.607115] ? ksys_write+0x68/0xf0 [ 58.611007] rewind_stack_do_exit+0x17/0x20 [ 58.615675] RIP: 0033:0x7f666097c8f3 [ 58.619663] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 58.640639] RSP: 002b:00007ffdf143ced8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 58.649095] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f666097c8f3 [ 58.657064] RDX: 0000000000000014 RSI: 00007f666086f000 RDI: 0000000000000001 [ 58.665031] RBP: 00007f666086f000 R08: 00007f666086e010 R09: 0000000000000000 [ 58.673001] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 58.680970] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 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 # [ 52.378813] RSP: 0018:ffffab24821efe48 EFLAGS: 00010246 # [ 52.384646] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 # [ 52.392614] RDX: 0000000000000000 RSI: ffff9b4a3ac9bf70 RDI: ffff9b4a3ac9bf70 # [ 52.400584] RBP: ffffffffabc20660 R08: 0000000000000000 R09: 0000000000000000 # [ 52.408553] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a # [ 52.416522] R13: ffffab24821eff10 R14: ffffab24821eff10 R15: ffff9b49c4f0b000 # [ 52.424490] FS: 00007f8af80ba580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 # [ 52.433528] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 52.439943] CR2: ffffffffabc20660 CR3: 0000000103068006 CR4: 00000000003706e0 # [ 52.447913] Call Trace: # [ 52.450641] ? execute_location+0x45/0x56 # [ 52.455117] ? direct_entry.cold+0x2c/0x38 # [ 52.465901] ? full_proxy_write+0x53/0x80 # [ 52.470379] ? vfs_write+0xe7/0x3a0 # [ 52.480482] ? ksys_write+0x68/0xf0 # [ 52.484374] ? do_syscall_64+0x30/0x40 # [ 52.488558] ? entry_SYSCALL_64_after_hwframe[ 58.803016] lkdtm: Performing direct entry WRITE_KERN [ 58.812716] lkdtm: attempting bad 6881465 byte write at ffffffffa99705a9 +0x61/0xc6 # [ 52.494395] Modules linked in: fuse ip_tables c[ 58.820215] BUG: unable to handle page fault for address: ffffffffa99705a9 [ 58.834104] #PF: supervisor write access in kernel mode [ 58.839940] #PF: error_code(0x0003) - permissions violation [ 58.846161] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 394000e1 ros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffe[ 58.852875] Oops: 0003 [#16] SMP PTI [ 58.863075] CPU: 3 PID: 2028 Comm: cat Tainted: G D W 5.10.155-cip20 #1 r kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_[ 58.871729] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 58.884752] RIP: 0010:lkdtm_WRITE_KERN+0x38/0x4e [ 58.889906] Code: 53 48 c7 c3 a9 05 97 a9 49 89 dc 48 89 da 49 81 ec f0 04 2e a9 4c 89 e6 e8 e5 9a fd ff 48 89 df 4c 89 e1 48 c7 c6 f0 04 2e a9 a4 48 c7 c7 c0 18 39 aa e8 ca 9a fd ff 5b 41 5c e9 b7 fe ff ff [ 58.910880] RSP: 0018:ffffab24827dfe50 EFLAGS: 00010246 [ 58.916714] RAX: 000000000000003c RBX: ffffffffa99705a9 RCX: 00000000006900b9 [ 58.924683] RDX: 0000000000000000 RSI: ffffffffa92e04f0 RDI: ffffffffa99705a9 [ 58.932653] RBP: ffffffffaa390aca R08: 0000000000000000 R09: 0000000000000000 [ 58.940613] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 00000000006900b9 [ 58.948584] R13: ffffab24827dff10 R14: ffffab24827dff10 R15: ffff9b49c368c000 [ 58.956552] FS: 00007f344d7f0580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 58.965588] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 58.972004] CR2: ffffffffa99705a9 CR3: 0000000105818004 CR4: 00000000003706e0 [ 58.979973] Call Trace: [ 58.982702] direct_entry.cold+0x2c/0x38 [ 58.987081] full_proxy_write+0x53/0x80 [ 58.991364] vfs_write+0xe7/0x3a0 [ 58.995060] ksys_write+0x68/0xf0 [ 58.998757] do_syscall_64+0x30/0x40 [ 59.002738] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 59.008376] RIP: 0033:0x7f344d7068f3 [ 59.012364] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 59.033345] RSP: 002b:00007ffef8ea3d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.041799] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f344d7068f3 [ 59.049770] RDX: 000000000000000b RSI: 00007f344d5f9000 RDI: 0000000000000001 [ 59.057730] RBP: 00007f344d5f9000 R08: 00007f344d5f8010 R09: 0000000000000000 [ 59.065699] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 59.073668] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 59.081640] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal c[ 59.108101] CR2: ffffffffa99705a9 [ 59.118011] ---[ end trace 5f8062a791bfe181 ]--- [ 59.123165] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 59.127542] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 59.148516] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 59.154340] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 59.162323] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 59.170292] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 59.178281] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 59.186268] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 59.194242] FS: 00007f344d7f0580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 59.203283] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.209699] CR2: ffffffffa99705a9 CR3: 0000000105818004 CR4: 00000000003706e0 [ 59.217669] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 59.227581] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 2028, name: cat [ 59.236036] INFO: lockdep is turned off. [ 59.240412] irq event stamp: 0 [ 59.243817] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 59.250816] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 59.259951] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 59.269076] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 59.276075] CPU: 3 PID: 2028 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 59.284724] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 59.291525] Call Trace: [ 59.294270] dump_stack+0x77/0x9b ros_ec_dev cros_usbpd_notify # [ 52.527031] CR2: ffffffffabc2[ 59.297979] ___might_sleep.cold+0xa6/0xb6 [ 59.308760] exit_signals+0x1c/0x2e0 [ 59.312749] do_exit+0xd5/0xb00 [ 59.316244] ? ksys_write+0x68/0xf0 [ 59.320137] ? lkdtm_SLAB_FREE_CROSS.cold+0x32/0x32 [ 59.325582] rewind_stack_do_exit+0x17/0x20 [ 59.330273] RIP: 0033:0x7f344d7068f3 [ 59.334276] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 59.355277] RSP: 002b:00007ffef8ea3d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.363732] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f344d7068f3 [ 59.371700] RDX: 000000000000000b RSI: 00007f344d5f9000 RDI: 0000000000000001 [ 59.379668] RBP: 00007f344d5f9000 R08: 00007f344d5f8010 R09: 0000000000000000 [ 59.387638] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 59.395608] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 0660 # [ 52.530728] ---[ end trace 5f8062a791bfe176 ]--- # [ 52.535876] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 52.540273] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 52.561275] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 52.567108] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 52.575078] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 52.583045] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 52.591013] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 52.598982] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 52.606951] FS: 00007f8af80ba580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 # [ 52.615988] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 52.622405] CR2: ffffffffabc20660 CR3: 0000000103068006 CR4: 00000000003706e0 # [ 52.630376] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 52.640280] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1637, name: cat # [ 52.648726] INFO: lockdep i[ 59.527328] lkdtm: Performing direct entry REFCOUNT_INC_OVERFLOW [ 59.534632] lkdtm: attempting good refcount_inc() without overflow [ 59.541539] lkdtm: attempting bad refcount_inc() overflow [ 59.547603] ------------[ cut here ]------------ [ 59.552789] refcount_t: saturated; leaking memory. [ 59.558166] WARNING: CPU: 3 PID: 2063 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 s turned off. # [ 52.653102] irq event stamp: 0 # [ 52.656[ 59.567594] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 59.600237] CPU: 3 PID: 2063 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 59.608915] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 59.615724] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 59.621561] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 [ 59.642552] RSP: 0018:ffffab24828a7e48 EFLAGS: 00010286 [ 59.648391] RAX: 0000000000000000 RBX: 000000000000002b RCX: 0000000000000000 [ 59.656365] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 506] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 59.664342] RBP: ffffffffaa390ad5 R08: 0000000000000000 R09: 0000000000000000 [ 52.663505] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 52.672639] softirqs last en[ 59.692720] R13: ffffab24828a7f10 R14: ffffab24828a7f10 R15: ffff9b49c65c4000 abled at (0): [] copy_process+0x640/0x1c80 # [ 59.706909] FS: 00007fb642b3e580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 59.722166] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 59.728610] CR2: 00007fb642947000 CR3: 00000001037e4002 CR4: 00000000003706e0 [ 59.736584] Call Trace: [ 59.739329] lkdtm_REFCOUNT_INC_OVERFLOW+0x70/0x98 [ 59.744714] direct_entry.cold+0x2c/0x38 [ 59.749097] full_proxy_write+0x53/0x80 [ 59.753408] vfs_write+0xe7/0x3a0 [ 59.757157] ksys_write+0x68/0xf0 [ 52.681775] softirqs last disabled at (0): [<0000000000000000[ 59.760874] do_syscall_64+0x30/0x40 [ 59.771071] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 59.776715] RIP: 0033:0x7fb642a548f3 [ 59.780707] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 59.801696] RSP: 002b:00007fff994a9e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 59.810158] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007fb642a548f3 [ 59.818132] RDX: 0000000000000016 RSI: 00007fb642947000 RDI: 0000000000000001 [ 59.826105] RBP: 00007fb642947000 R08: 00007fb642946010 R09: 0000000000000000 [ 59.834079] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 59.842054] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 59.850031] irq event stamp: 0 [ 59.853469] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 59.860472] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 59.869612] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 59.878750] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 59.885752] ---[ end trace 5f8062a791bfe182 ]--- [ 59.890908] lkdtm: Overflow detected: saturated >] 0x0 # [ 52.688775] CPU: 1 PID: 1637 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 52.697413] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 52.704215] Call Trace: # [ 52.706942] dump_stack+0x77/0x9b # [ 52.710641] ___might_sleep.cold+0xa6/0xb6 # [ 52.721421] exit_signals+0x1c/0x2e0 # [ 52.725409] do_exit+0xd5/0xb00 # [ 52.728902] ? ksys_write+0x68/0xf0 # [ 52.732794] rewind_stack_do_exit+0x17/0x20 # [ 52.737461] RIP: 0033:0x7f8af7fd08f3 # [ 52.741448] Code: 8b 15 a1 25 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.762428] RSP: 002b:00007fff2a76bf38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 52.770881] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f8af7fd08f3 # [ 52.778848] RDX: 000000000000000a RSI: 00007f8af7ec3000 RDI: 0000000000000001 # [ 52.786816] RBP: 00007f8af7ec3000 R08: 00007f8af7ec2010 R09: 0000000000000000 # [ 52.794784] R10: f[ 59.999692] lkdtm: Performing direct entry REFCOUNT_ADD_OVERFLOW [ 60.008379] lkdtm: attempting good refcount_add() without overflow [ 60.015351] lkdtm: attempting bad refcount_add() overflow ffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [[ 60.021396] ------------[ cut here ]------------ 52.802752] R13: 0000000000000001 R14: 0000000000020000 R15: 0[ 60.032759] refcount_t: saturated; leaking memory. [ 60.044354] WARNING: CPU: 2 PID: 2095 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 000000000020000 # EXEC_DATA: saw 'call trace:': ok ok 30 selft[ 60.053786] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 60.086448] CPU: 2 PID: 2095 Comm: cat Tainted: G D W 5.10.155-cip20 #1 ests: lkdtm: EXEC_DATA.sh # selftests: lkdtm: EXEC_STACK.sh # [ 60.095112] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 60.108132] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 60.113969] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 [ 60.134959] RSP: 0018:ffffab24828f7e48 EFLAGS: 00010286 [ 60.140796] RAX: 0000000000000000 RBX: 000000000000002c RCX: 0000000000000000 [ 60.148771] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 [ 60.156746] RBP: ffffffffaa390aeb R08: 0000000000000000 R09: 0000000000000000 [ 60.164719] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 [ 60.172693] R13: ffffab24828f7f10 R14: ffffab24828f7f10 R15: ffff9b49c4c64000 [ 60.180665] FS: 00007f8cf1532580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 60.189709] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.196130] CR2: 00007f8cf133b000 CR3: 00000001027de006 CR4: 00000000003706e0 [ 60.204103] Call Trace: [ 60.206835] lkdtm_REFCOUNT_ADD_OVERFLOW+0x7f/0xa7 [ 60.212188] direct_entry.cold+0x2c/0x38 [ 60.216594] full_proxy_write+0x53/0x80 [ 60.220879] vfs_write+0xe7/0x3a0 [ 60.224578] ksys_write+0x68/0xf0 [ 60.228293] do_syscall_64+0x30/0x40 [ 60.232334] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 60.237978] RIP: 0033:0x7f8cf14488f3 [ 60.241970] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 60.262959] RSP: 002b:00007ffe107aabd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 60.271417] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f8cf14488f3 [ 60.279391] RDX: 0000000000000016 RSI: 00007f8cf133b000 RDI: 0000000000000001 [ 60.287366] RBP: 00007f8cf133b000 R08: 00007f8cf133a010 R09: 0000000000000000 [ 60.295340] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 60.303327] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 60.311317] irq event stamp: 0 Killed # [ 52.920262] lkdtm: Performing direct entry EXEC_STA[ 60.314758] hardirqs last enabled at (0): [<0000000000000000>] 0x0 CK # [ 52.928269] lkdtm: attempting ok execution at ffffffffa[ 60.327978] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 60.343333] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 60.352473] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 60.359475] ---[ end trace 5f8062a791bfe183 ]--- [ 60.364633] lkdtm: Overflow detected: saturated 92e04f0 # [ 52.941008] lkdtm: attempting bad execution at ffffab248229fe18 # [ 52.953827] kernel tried to execute NX-protected page - exploit attempt? (uid: 0) # [ 52.968395] BUG: unable to handle page fault for address: ffffab248229fe18 # [ 52.976066] #PF: supervisor instruction fetch in kernel mode # [ 52.982386] #PF: error_code(0x0011) - permissions violation # [ 52.988610] PGD 100000067 P4D 100000067 PUD 100211067 PMD 1032db067 PTE 8000000103e52063 # [ 53.003869] Oops: 0011 [#6] SMP PTI # [ 53.007762] CPU: 1 PID: 1673 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 53.016405] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 53.023211] RIP: 0010:0xffffab248229fe18 # [ 53.027581] Code: 00 00 18 fe 29 82 24 ab ff ff ff 05 97 a9 ff ff ff ff 20 00 00 00 00 00 00 00 46 0a 39 aa ff ff ff ff 2e 07 97 a9 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 # [ 53.048568] RSP: 0018:ffffab248229fdf8 EFLAGS: 00010246 # [ 53.054403] RAX: 0000000000000033 RBX: 0000000000000001 RCX: 0000000000000000 # [ 53.062373] RDX: 0000000000000000 RSI: ffff9b4a3ac9bf70[ 60.476722] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_OVERFLOW [ 60.489208] lkdtm: attempting bad refcount_inc_not_zero() overflow [ 60.496145] ------------[ cut here ]------------ [ 60.501312] refcount_t: saturated; leaking memory. RDI: ffff9b4a3ac9bf70 # [ 53.070343] RBP: ffffab248229fe18 R[ 60.506687] WARNING: CPU: 2 PID: 2127 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 [ 60.522302] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 60.548750] CPU: 2 PID: 2127 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 60.557426] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 60.564234] RIP: 0010:refcount_warn_saturate+0x97/0x110 [ 60.570070] Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 aa c6 05 8c 3e 94 01 01 e8 34 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 [ 60.591057] RSP: 0018:ffffab248296fe38 EFLAGS: 00010282 08: 0000000000000000 R09: 0000000000000000 # [ 53.078330] R10[ 60.596895] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 : 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000b [ 60.611087] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 53.086316] R13: ffffab248229ff10 R14: ffffab248229ff10 R15[ 60.625278] RBP: ffffffffaa390728 R08: 0000000000000000 R09: 0000000000000000 [ 60.639468] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f [ 60.647441] R13: ffffab248296ff10 R14: ffffab248296ff10 R15: ffff9b49c5805000 [ 60.655406] FS: 00007f9619224580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 60.664447] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.670856] CR2: 00007f961902d000 CR3: 000000010659a002 CR4: 00000000003706e0 [ 60.678820] Call Trace: [ 60.681551] __refcount_add_not_zero.constprop.0+0x2a/0x35 [ 60.687681] lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW+0x3e/0x76 [ 60.693907] direct_entry.cold+0x2c/0x38 [ 60.698291] full_proxy_write+0x53/0x80 [ 60.702583] vfs_write+0xe7/0x3a0 [ 60.706322] ksys_write+0x68/0xf0 [ 60.710056] do_syscall_64+0x30/0x40 [ 60.714048] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 60.719691] RIP: 0033:0x7f961913a8f3 [ 60.723683] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 60.744673] RSP: 002b:00007ffc2c545bf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 60.753132] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f961913a8f3 [ 60.761106] RDX: 000000000000001f RSI: 00007f961902d000 RDI: 0000000000000001 [ 60.769079] RBP: 00007f961902d000 R08: 00007f961902c010 R09: 0000000000000000 [ 60.777052] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 60.785024] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 60.793002] irq event stamp: 0 [ 60.796441] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 60.803443] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 60.812582] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 60.821720] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 60.828724] ---[ end trace 5f8062a791bfe184 ]--- [ 60.833880] lkdtm: Overflow detected: saturated : ffff9b49c4837000 # [ 53.094292] FS: 00007f5920ac2580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 # [ 53.103332] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 53.109739] CR2: ffffab248229fe18 CR3: 000000010278c006 CR4: 00000000003706e0 # [ 53.117708] Call Trace: # [ 53.120439] ? execute_location+0x45/0x56 # [ 53.124913] ? lkdtm_EXEC_STACK+0x26/0x44 # [ 53.135602] ? direct_entry.cold+0x2c/0x38 # [ 53.140176] ? full_proxy_write+0x53/0x80 # [ 53.144653] ? vfs_write+0xe7/0x3a0 # [ 53.154757] ? ksys_write+0x68/0xf0 # [ 53.158650] ? do_syscall_64+0x30/0x40 # [ 53.162834] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 53.168664] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 53.201305] CR2: ffffab248229fe18 # [ 53.205002] ---[ end trace 5f8062a791bfe177 ]--- # [ 53.210157] RIP: 0010:lkdtm_BUG+0[ 60.944004] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_OVERFLOW [ 60.952296] lkdtm: attempting bad refcount_add_not_zero() overflow [ 60.959212] ------------[ cut here ]------------ x5/0x10 # [ 53.214534] Code: 89 ff e8 8e a3 a3 ff 48 c7 c0 ea[ 60.964378] refcount_t: saturated; leaking memory. ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 [ 60.975956] WARNING: CPU: 3 PID: 2159 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 [ 60.991595] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00[ 61.018069] CPU: 3 PID: 2159 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 61.032954] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 0f 1f 44 00 00 83 05 f0 04 94 02 # [ 53.235521] RSP: 0018:ff[ 61.039781] RIP: 0010:refcount_warn_saturate+0x97/0x110 [ 61.051823] Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 aa c6 05 8c 3e 94 01 01 e8 34 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 [ 61.072844] RSP: 0018:ffffab2482a07e38 EFLAGS: 00010282 [ 61.078684] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 [ 61.086658] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 [ 61.094636] RBP: ffffffffaa390748 R08: 0000000000000000 R09: 0000000000000000 [ 61.102611] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f [ 61.110587] R13: ffffab2482a07f10 R14: ffffab2482a07f10 R15: ffff9b49c30ed000 [ 61.118561] FS: 00007ff0278ae580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 61.127605] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.134025] CR2: 00007ff0276b7000 CR3: 0000000105b7c001 CR4: 00000000003706e0 [ 61.142000] Call Trace: [ 61.144733] __refcount_add_not_zero.constprop.0+0x2a/0x35 ffab24814bfe60 EFLAGS: 00010282 # [ 53.241354] RAX: ffffffffa[ 61.150894] lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW+0x3e/0x76 [ 61.163329] direct_entry.cold+0x2c/0x38 [ 61.167715] full_proxy_write+0x53/0x80 [ 61.172031] vfs_write+0xe7/0x3a0 [ 61.175765] ksys_write+0x68/0xf0 [ 61.179500] do_syscall_64+0x30/0x40 [ 61.183527] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 61.189202] RIP: 0033:0x7ff0277c48f3 [ 61.193197] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 61.214217] RSP: 002b:00007fff0deb8288 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.222678] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007ff0277c48f3 [ 61.230652] RDX: 000000000000001f RSI: 00007ff0276b7000 RDI: 0000000000000001 [ 61.238627] RBP: 00007ff0276b7000 R08: 00007ff0276b6010 R09: 0000000000000000 [ 61.246600] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 53.24[ 61.254575] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 9335] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa[ 61.268770] irq event stamp: 0 [ 61.278395] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 61.285405] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 61.294547] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 61.303716] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 61.310721] ---[ end trace 5f8062a791bfe185 ]--- [ 61.315878] lkdtm: Overflow detected: saturated 9fa06d0 # [ 53.257306] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 53.265277] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 53.273240] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 53.281212] FS: 00007f5920ac2580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 # [ 53.290251] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 53.296692] CR2: ffffab248229fe18 CR3: 000000010278c006 CR4: 00000000003706e0 # [ 53.304664] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 53.314577] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1673, name: cat # [ 53.323032] INFO: lockdep is turned off. # [ 53.327409] irq event stamp: 0 # [ 53.330815] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 53.337814] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 53.346950] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 53.356088] softirqs last disabl[ 61.424145] lkdtm: Performing direct entry REFCOUNT_DEC_ZERO ed at (0): [<0000000000000000>] 0x0 # [ 53.363088] CPU: 1 PID[ 61.432978] lkdtm: attempting good refcount_dec() : 1673 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 61.444472] lkdtm: attempting bad refcount_dec() to zero # [ 53.371738] Hardware name: Google Rammus/Rammus, BIOS 09/0[ 61.456621] ------------[ cut here ]------------ 4/2020 # [ 53.378543] Call Trace: # [ 53.381278] dump_sta[ 61.468007] refcount_t: decrement hit 0; leaking memory. ck+0x77/0x9b # [ 53.384978] ___might_sleep.cold+0xa6/0xb6 #[ 61.480169] WARNING: CPU: 0 PID: 2191 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 [ 53.395762] exit_signals+0x1c/0x2e0 # [ 53.399743] do_e[ 61.495793] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify xit+0xd5/0xb00 # [ 53.403239] ? ksys_write+0x68/0xf0 # [ [ 61.528448] CPU: 0 PID: 2191 Comm: cat Tainted: G D W 5.10.155-cip20 #1 53.407133] rewind_stack_do_exit+0x17/0x20 # [ 53.418014] RIP[ 61.543360] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 : 0033:0x7f59209d88f3 # [ 53.422004] Code: 8b 15 a1 25 0e 00 [ 61.556405] RIP: 0010:refcount_warn_saturate+0xfb/0x110 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 1[ 61.568481] Code: 50 c4 32 aa c6 05 3d 3e 94 01 01 e8 ea 98 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 20 c4 32 aa c6 05 24 3e 94 01 01 e8 d0 98 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b 8 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff [ 61.595660] RSP: 0018:ffffab2482a67e48 EFLAGS: 00010286 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 53.442982[ 61.607755] RAX: 0000000000000000 RBX: 000000000000002f RCX: 0000000000000000 ] RSP: 002b:00007fff8b6e4f08 EFLAGS: 00000246 ORIG_RAX: 00000000[ 61.621946] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 00000001 # [ 53.451440] RAX: ffffffffffffffda RBX: 0000000000[ 61.636119] RBP: ffffffffaa390b01 R08: 0000000000000000 R09: 0000000000000000 00000b RCX: 00007f59209d88f3 # [ 53.459410] RDX: 000000000000[ 61.650372] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 000b RSI: 00007f59208cb000 RDI: 0000000000000001 # [ 53.46738[ 61.664517] R13: ffffab2482a67f10 R14: ffffab2482a67f10 R15: ffff9b49c652a000 3] RBP: 00007f59208cb000 R08: 00007f59208ca010 R09: 000000000000[ 61.678668] FS: 00007f5287ba8580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 0000 # [ 53.475353] R10: fffffffffffffbc5 R11: 00000000000002[ 61.693931] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 46 R12: 0000000000000001 # [ 53.483334] R13: 0000000000000001[ 61.706573] CR2: 00007f52879b1000 CR3: 0000000103678006 CR4: 00000000003706f0 R14: 0000000000020000 R15: 0000000000020000 # EXEC_STACK: saw [ 61.720779] Call Trace: 'call trace:': ok ok 31 selftests: lkdtm: EXEC_STACK.sh # self[ 61.729720] lkdtm_REFCOUNT_DEC_ZERO+0x4d/0xbd tests: lkdtm: EXEC_KMALLOC.sh # Killed # [ 53.605283] lkdtm:[ 61.740951] direct_entry.cold+0x2c/0x38 Performing direct entry EXEC_KMALLOC # [ 53.615227] lkdtm: a[ 61.751524] full_proxy_write+0x53/0x80 ttempting ok execution at ffffffffa92e04f0 # [ 53.621745] lkd[ 61.762002] vfs_write+0xe7/0x3a0 tm: attempting bad execution at ffff9b49c3341640 # [ 53.62836[ 61.771907] ksys_write+0x68/0xf0 5] kernel tried to execute NX-protected page - exploit attempt? [ 61.781818] do_syscall_64+0x30/0x40 (uid: 0) # [ 53.636751] BUG: unable to handle page fault for [ 61.792022] entry_SYSCALL_64_after_hwframe+0x61/0xc6 address: ffff9b49c3341640 # [ 53.650643] #PF: supervisor inst[ 61.803880] RIP: 0033:0x7f5287abe8f3 ruction fetch in kernel mode # [ 53.656962] #PF: error_code(0[ 61.814101] Code: 8b 15 a1 25 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 x0011) - permissions violation # [ 53.663185] PGD 3ba01067 P4[ 61.841314] RSP: 002b:00007ffcd6dd4148 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 D 3ba01067 PUD 10084e063 PMD 104b91063 PTE 8000000103341063 # [[ 61.856011] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f5287abe8f3 53.678249] Oops: 0011 [#7] SMP PTI # [ 53.682144] CPU: 2 P[ 61.870218] RDX: 0000000000000012 RSI: 00007f52879b1000 RDI: 0000000000000001 ID: 1709 Comm: cat Tainted: G D W 5.10.155-cip20 #1[ 61.884414] RBP: 00007f52879b1000 R08: 00007f52879b0010 R09: 0000000000000000 # [ 53.690795] Hardware name: Google Rammus/Rammus, BIOS 09[ 61.898622] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 /04/2020 # [ 53.697602] RIP: 0010:0xffff9b49c3341640 # [ 5[ 61.912818] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 3.701981] Code: 00 00 02 00 00 00 00 00 00 00 00 62 d7 c4 49 9b [ 61.927035] irq event stamp: 0 ff ff 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1b 24 b0 a[ 61.936656] hardirqs last enabled at (0): [<0000000000000000>] 0x0 8 ff ff ff ff <0f> 1f 44 00 00 c3 cc cc cc cc 66 0f 1f 44 00 00 [ 61.949886] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 0f 1f 44 00 00 55 # [ 53.729176] RSP: 0018:ffffab2482317e38 E[ 61.965263] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 FLAGS: 00010246 # [ 53.735010] RAX: 0000000000000033 RBX: 000[ 61.980621] softirqs last disabled at (0): [<0000000000000000>] 0x0 0000000000001 RCX: 0000000000000000 # [ 53.742981] RDX: 00000[ 61.993861] ---[ end trace 5f8062a791bfe186 ]--- 00000000000 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 5[ 62.005245] lkdtm: Zero detected: saturated 3.750942] RBP: ffff9b49c3341640 R08: 0000000000000000 R09: 0000000000000000 # [ 53.758912] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000d # [ 53.766880] R13: ffffab2482317f10 R14: ffffab2482317f10 R15: ffff9b49c3f09000 # [ 53.774851] FS: 00007f448c9f0580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 53.783879] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 53.790296] CR2: ffff9b49c3341640 CR3: 00000001033a8006 CR4: 00000000003706e0 # [ 53.798257] Call Trace: # [ 53.800979] ? execute_location+0x45/0x56 # [ 53.811671] ? lkdtm_EXEC_KMALLOC+0x2c/0x40 # [ 53.816338] ? direct_entry.cold+0x2c/0x38 # [ 53.820911] ? full_proxy_write+0x53/0x80 # [ 53.825385] ? vfs_write+0xe7/0x3a0 # [ 53.829277] ? ksys_write+0x68/0xf0 # [ 53.833171] ? do_syscall_64+0x30/0x40 # [ 53.837353] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 53.843191] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal c[ 62.124542] lkdtm: Performing direct entry REFCOUNT_DEC_NEGATIVE ros_ec_dev cros_usbpd_notify # [ 53.869654] CR2: ffff9b49c334[ 62.134724] lkdtm: attempting bad refcount_dec() below zero 1640 # [ 53.879564] ---[ end trace 5f8062a791bfe178 ]--- # [[ 62.147185] ------------[ cut here ]------------ 53.884718] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 53.889086] Cod[ 62.158552] refcount_t: decrement hit 0; leaking memory. e: 89 ff e8 8e a3 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea f[ 62.170770] WARNING: CPU: 0 PID: 2226 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 f ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00[ 62.186363] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 f0 04 9[ 62.219051] CPU: 0 PID: 2226 Comm: cat Tainted: G D W 5.10.155-cip20 #1 4 02 # [ 53.910060] RSP: 0018:ffffab24814bfe60 EFLAGS: 000102[ 62.233874] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 82 # [ 53.915893] RAX: ffffffffa92e0120 RBX: 0000000000000001[ 62.246962] RIP: 0010:refcount_warn_saturate+0xfb/0x110 RCX: 0000000000000000 # [ 53.923863] RDX: 0000000000000000 R[ 62.258988] Code: 50 c4 32 aa c6 05 3d 3e 94 01 01 e8 ea 98 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 20 c4 32 aa c6 05 24 3e 94 01 01 e8 d0 98 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b SI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 53.931832] RBP[ 62.286183] RSP: 0018:ffffab2482affe48 EFLAGS: 00010286 : ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 62.298211] RAX: 0000000000000000 RBX: 0000000000000030 RCX: 0000000000000000 # [ 53.939803] R10: 00000000ffffe000 R11: 3fffffffffffffff R12[ 62.312395] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 : 0000000000000004 # [ 53.947764] R13: ffffab24814bff10 R14: [ 62.326596] RBP: ffffffffaa390b13 R08: 0000000000000000 R09: 0000000000000000 ffffab24814bff10 R15: ffff9b49c3442000 # [ 53.955735] FS: 00[ 62.340791] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 007f448c9f0580(0000) GS:ffff9b4a3ad00000(0000) knlGS:00000000000[ 62.354993] R13: ffffab2482afff10 R14: ffffab2482afff10 R15: ffff9b49c26be000 00000 # [ 53.964771] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000[ 62.369178] FS: 00007ff809a77580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 080050033 # [ 53.971188] CR2: ffff9b49c3341640 CR3: 000000010[ 62.384460] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 33a8006 CR4: 00000000003706e0 # EXEC_KMALLOC: saw 'call trace:'[ 62.397089] CR2: 00007ff809880000 CR3: 0000000104cb0005 CR4: 00000000003706f0 : ok ok 32 selftests: lkdtm: EXEC_KMALLOC.sh # selftests: lkdt[ 62.411296] Call Trace: m: EXEC_VMALLOC.sh # Killed # [ 54.065457] lkdtm: Performing[ 62.420256] lkdtm_REFCOUNT_DEC_NEGATIVE+0x37/0x61 direct entry EXEC_VMALLOC # [ 54.072067] lkdtm: attempting o[ 62.431899] direct_entry.cold+0x2c/0x38 k execution at ffffffffa92e04f0 # [ 54.084797] lkdtm: attempt[ 62.442437] full_proxy_write+0x53/0x80 ing bad execution at ffffab24801e7000 # [ 54.097644] kernel t[ 62.452954] vfs_write+0xe7/0x3a0 ried to execute NX-protected page - exploit attempt? (uid: 0) #[ 62.462929] ksys_write+0x68/0xf0 [ 54.112180] BUG: unable to handle page fault for address: ff[ 62.472796] do_syscall_64+0x30/0x40 ffab24801e7000 # [ 54.119860] #PF: supervisor instruction fet[ 62.482997] entry_SYSCALL_64_after_hwframe+0x61/0xc6 ch in kernel mode # [ 54.126171] #PF: error_code(0x0011) - pe[ 62.494848] RIP: 0033:0x7ff80998d8f3 rmissions violation # [ 54.132392] PGD 100000067 P4D 10000006[ 62.505078] Code: 8b 15 a1 25 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 7 PUD 100211067 PMD 100214067 PTE 8000000106427063 # [ 54.141[ 62.532265] RSP: 002b:00007ffd47729668 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 440] Oops: 0011 [#8] SMP PTI # [ 54.145331] CPU: 0 PID: 1745 [ 62.546891] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007ff80998d8f3 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 5[ 62.561080] RDX: 0000000000000016 RSI: 00007ff809880000 RDI: 0000000000000001 4.153982] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 62.575308] RBP: 00007ff809880000 R08: 00007ff80987f010 R09: 0000000000000000 # [ 54.160790] RIP: 0010:0xffffab24801e7000 # [ 54.165167][ 62.589509] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 Code: Unable to access opcode bytes at RIP 0xffffab24801e6fd6. [ 62.603705] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 54.172846] RSP: 0018:ffffab2482397e38 EFLAGS: 00010246 #[ 62.617921] irq event stamp: 0 [ 54.178681] RAX: 0000000000000033 RBX: 0000000000000001 RCX:[ 62.627507] hardirqs last enabled at (0): [<0000000000000000>] 0x0 0000000000000000 # [ 54.186653] RDX: 0000000000000000 RSI: f[ 62.640781] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 fff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 # [ 54.194623] RBP: fff[ 62.656149] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 fab24801e7000 R08: 0000000000000000 R09: 0000000000000000 # [ [ 62.671509] softirqs last disabled at (0): [<0000000000000000>] 0x0 54.202592] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000[ 62.684746] ---[ end trace 5f8062a791bfe187 ]--- 000000000000d # [ 54.210564] R13: ffffab2482397f10 R14: ffffa[ 62.696123] lkdtm: Negative detected: saturated b2482397f10 R15: ffff9b49c6427000 # [ 54.218536] FS: 00007fcb69290580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 # [ 54.227565] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 54.233981] CR2: ffffab24801e6fd6 CR3: 0000000103384006 CR4: 00000000003706f0 # [ 54.241952] Call Trace: # [ 54.244681] ? execute_location+0x45/0x56 # [ 54.249161] ? lkdtm_EXEC_VMALLOC+0x20/0x30 # [ 54.253821] ? direct_entry.cold+0x2c/0x38 # [ 54.258393] ? full_proxy_write+0x53/0x80 # [ 54.262869] ? vfs_write+0xe7/0x3a0 # [ 54.266761] ? ksys_write+0x68/0xf0 # [ 54.270654] ? do_syscall_64+0x30/0x40 # [ 54.274839] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 54.280678] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 54.307123] CR2: ffffab24801e7000 # [ 54.310822] ---[ end trace 5f8062a791bfe179 ]--- # [ 54.315978] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 54.320360] Code: 89 ff e8 8e a3 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc c[ 62.820478] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_NEGATIVE [ 62.833073] lkdtm: attempting bad refcount_dec_and_test() below zero [ 62.840178] ------------[ cut here ]------------ [ 62.845344] refcount_t: underflow; use-after-free. c cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f [ 62.850714] WARNING: CPU: 3 PID: 2261 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 84 00 00 00 00 00 0f 1f 44 00 00 83 05 f0 04 94 02 # [ 54.341[ 62.866351] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 62.898993] CPU: 3 PID: 2261 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 62.907668] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 62.914479] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 62.920328] Code: 01 01 e8 34 99 98 00 0f 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 aa c6 05 66 3e 94 01 01 e8 11 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 51 3e 94 01 00 0f 85 5e ff ff ff 48 c7 [ 62.941328] RSP: 0018:ffffab2482b57e40 EFLAGS: 00010286 [ 62.947164] RAX: 0000000000000000 RBX: 0000000000000031 RCX: 0000000000000000 [ 62.955138] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 [ 62.963112] RBP: ffffffffaa390768 R08: 0000000000000000 R09: 0000000000000000 [ 62.971109] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f [ 62.979082] R13: ffffab2482b57f10 R14: ffffab2482b57f10 R15: ffff9b49c3789000 [ 62.987058] FS: 00007f1172693580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 62.996099] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 63.002518] CR2: 00007f117249c000 CR3: 0000000106520004 CR4: 00000000003706e0 [ 63.010491] Call Trace: [ 63.013223] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 63.019373] lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE+0x3e/0x78 [ 63.025623] direct_entry.cold+0x2c/0x38 [ 63.030006] full_proxy_write+0x53/0x80 [ 63.034292] vfs_write+0xe7/0x3a0 [ 63.038000] ksys_write+0x68/0xf0 [ 63.041701] do_syscall_64+0x30/0x40 [ 63.045718] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 63.051362] RIP: 0033:0x7f11725a98f3 [ 63.055354] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 63.076339] RSP: 002b:00007ffe68c82598 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 63.084797] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f11725a98f3 [ 63.092770] RDX: 000000000000001f RSI: 00007f117249c000 RDI: 0000000000000001 [ 63.100741] RBP: 00007f117249c000 R08: 00007f117249b010 R09: 0000000000000000 [ 63.108715] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 63.116687] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 63.124664] irq event stamp: 0 [ 63.128102] hardirqs last enabled at (0): [<0000000000000000>] 0x0 343] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 54.34717[ 63.135106] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 6] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 000000000000[ 63.150461] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 63.165814] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 63.172816] ---[ end trace 5f8062a791bfe188 ]--- [ 63.177973] lkdtm: Negative detected: saturated 0000 # [ 54.355146] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 54.363114] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 54.371083] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 54.379050] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 54.387019] FS: 00007fcb69290580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 # [ 54.396053] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 54.402469] CR2: ffffab24801e6fd6 CR3: 0000000103384006 CR4: 00000000003706f0 # [ 54.410437] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 54.420348] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1745, name: cat # [ 54.428803] INFO: lockdep is turned off. # [ 54.433179] irq event stamp: 0 # [ 54.436584] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 54.443575] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 54.452710] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 54.461844] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 54.4[ 63.299031] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_NEGATIVE 68843] CPU: 0 PID: 1745 Comm: cat Tainted: G D W 5.[ 63.308790] lkdtm: attempting bad refcount_sub_and_test() below zero 10.155-cip20 #1 # [ 54.477490] Hardware name: Google Rammus/R[ 63.322080] ------------[ cut here ]------------ ammus, BIOS 09/04/2020 # [ 54.484293] Call Trace: # [ 54.[ 63.333477] refcount_t: underflow; use-after-free. 487021] dump_stack+0x77/0x9b # [ 54.490726] ___might_sleep.[ 63.345086] WARNING: CPU: 0 PID: 2296 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 cold+0xa6/0xb6 # [ 54.495303] exit_signals+0x1c/0x2e0 # [ [ 63.360718] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 54.499298] do_exit+0xd5/0xb00 # [ 54.502802] ? ksys_write+[ 63.393362] CPU: 0 PID: 2296 Comm: cat Tainted: G D W 5.10.155-cip20 #1 0x68/0xf0 # [ 54.506696] rewind_stack_do_exit+0x17/0x20 # [[ 63.408221] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 54.511368] RIP: 0033:0x7fcb691a68f3 # [ 54.515356] Code: 8[ 63.421286] RIP: 0010:refcount_warn_saturate+0xba/0x110 b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f[ 63.433327] Code: 01 01 e8 34 99 98 00 0f 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 aa c6 05 66 3e 94 01 01 e8 11 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 51 3e 94 01 00 0f 85 5e ff ff ff 48 c7 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48[ 63.460562] RSP: 0018:ffffab2482c0fe40 EFLAGS: 00010286 > 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18[ 63.472653] RAX: 0000000000000000 RBX: 0000000000000032 RCX: 0000000000000000 # [ 54.536338] RSP: 002b:00007ffcfc255ed8 EFLAGS: 00000246 O[ 63.486817] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 RIG_RAX: 0000000000000001 # [ 54.544792] RAX: ffffffffffffffd[ 63.501031] RBP: ffffffffaa390788 R08: 0000000000000000 R09: 0000000000000000 a RBX: 000000000000000d RCX: 00007fcb691a68f3 # [ 54.552761] [ 63.515208] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f RDX: 000000000000000d RSI: 00007fcb69099000 RDI: 000000000000000[ 63.529430] R13: ffffab2482c0ff10 R14: ffffab2482c0ff10 R15: ffff9b49c6483000 1 # [ 54.560731] RBP: 00007fcb69099000 R08: 00007fcb69098010 [ 63.543660] FS: 00007fec8b82c580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 R09: 0000000000000000 # [ 54.568701] R10: fffffffffffffbc5 R1[ 63.558893] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 1: 0000000000000246 R12: 0000000000000001 # [ 54.576671] R13:[ 63.571558] CR2: 00007fec8b635000 CR3: 0000000105b76003 CR4: 00000000003706f0 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 #[ 63.585784] Call Trace: EXEC_VMALLOC: saw 'call trace:': ok ok 33 selftests: lkdtm: EX[ 63.594769] __refcount_sub_and_test.constprop.0+0x3c/0x50 EC_VMALLOC.sh # selftests: lkdtm: EXEC_RODATA.sh # Killed # [[ 63.607141] lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE+0x3e/0x7b 54.713405] lkdtm: Performing direct entry EXEC_RODATA # [ [ 63.619602] direct_entry.cold+0x2c/0x38 54.720922] lkdtm: attempting ok execution at ffffffffa92e04f0 #[ 63.630158] full_proxy_write+0x53/0x80 [ 54.727445] lkdtm: attempting bad execution at ffffffffa9fa0[ 63.640690] vfs_write+0xe7/0x3a0 b60 # [ 54.734069] kernel tried to execute NX-protected page [ 63.650659] ksys_write+0x68/0xf0 - exploit attempt? (uid: 0) # [ 54.742435] BUG: unable to han[ 63.660548] do_syscall_64+0x30/0x40 dle page fault for address: ffffffffa9fa0b60 # [ 54.750115] #[ 63.670787] entry_SYSCALL_64_after_hwframe+0x61/0xc6 PF: supervisor instruction fetch in kernel mode # [ 54.756434[ 63.682663] RIP: 0033:0x7fec8b7428f3 ] #PF: error_code(0x0011) - permissions violation # [ 54.7626[ 63.692868] Code: 8b 15 a1 25 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] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 8000000039a000e1 [ 63.720084] RSP: 002b:00007ffc4b5f1ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 54.770139] Oops: 0011 [#9] SMP PTI # [ 54.780244] CPU[ 63.734779] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007fec8b7428f3 : 3 PID: 1781 Comm: cat Tainted: G D W 5.10.155-cip[ 63.748974] RDX: 000000000000001f RSI: 00007fec8b635000 RDI: 0000000000000001 20 #1 # [ 54.788894] Hardware name: Google Rammus/Rammus, BIO[ 63.763150] RBP: 00007fec8b635000 R08: 00007fec8b634010 R09: 0000000000000000 S 09/04/2020 # [ 54.795701] RIP: 0010:lkdtm_rodata_do_nothin[ 63.777343] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 g+0x0/0x10 # [ 54.801436] Code: ff ff 9e 1b 97 a9 ff ff ff ff[ 63.791570] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 92 0c 39 aa ff ff ff ff e4 02 97 a9 ff ff ff ff 55 aa 55 aa 00 [ 63.805789] irq event stamp: 0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00[ 63.815415] hardirqs last enabled at (0): [<0000000000000000>] 0x0 00 00 00 00 00 00 54 68 69 73 20 69 # [ 54.822418] RSP: 0018[ 63.828623] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 :ffffab24823f7e48 EFLAGS: 00010246 # [ 54.828243] RAX: 000000[ 63.843978] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 0000000033 RBX: 0000000000000000 RCX: 0000000000000000 # [ 54[ 63.859371] softirqs last disabled at (0): [<0000000000000000>] 0x0 .836210] RDX: 0000000000000000 RSI: ffff9b4a3ad9bf70 RDI: ffff9b[ 63.872579] ---[ end trace 5f8062a791bfe189 ]--- 4a3ad9bf70 # [ 54.844180] RBP: ffffffffa9fa0b60 R08: 00000000[ 63.883992] lkdtm: Negative detected: saturated 00000000 R09: 0000000000000000 # [ 54.852148] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000c # [ 54.860115] R13: ffffab24823f7f10 R14: ffffab24823f7f10 R15: ffff9b49c640d000 # [ 54.868084] FS: 00007f75377f7580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 54.877121] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 54.883535] CR2: ffffffffa9fa0b60 CR3: 000000010592c006 CR4: 00000000003706e0 # [ 54.891504] Call Trace: # [ 54.894231] ? execute_location+0x45/0x56 # [ 54.898704] ? direct_entry.cold+0x2c/0x38 # [ 54.903277] ? full_proxy_write+0x53/0x80 # [ 54.907753] ? vfs_write+0xe7/0x3a0 # [ 54.911643] ? ksys_write+0x68/0xf0 # [ 54.915534] ? do_syscall_64+0x30/0x40 # [ 54.919717] ? entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 54.925546] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 54.952008] CR2: ffffffffa9fa0b60 # [ 54.961918] ---[ end[ 64.005523] lkdtm: Performing direct entry REFCOUNT_INC_ZERO [ 64.013474] lkdtm: attempting safe refcount_inc_not_zero() from zero [ 64.020591] lkdtm: Good: zero detected trace 5f8062a791bfe17a ]--- # [ 54.967072] RIP: 0010:lkdtm_B[ 64.024795] lkdtm: Correctly stayed at zero UG+0x5/0x10 # [ 54.971447] Code: 89 ff e8 8e a3 a3 ff 48 c7 c[ 64.035679] lkdtm: attempting bad refcount_inc() from zero [ 64.048017] ------------[ cut here ]------------ 0 ea ff ff ff eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0[ 64.053175] refcount_t: addition on 0; use-after-free. [ 64.065156] WARNING: CPU: 2 PID: 2328 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 f4 ff ff ff eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 0[ 64.074592] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 64.107234] CPU: 2 PID: 2328 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 64.115889] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 64.122699] RIP: 0010:refcount_warn_saturate+0x74/0x110 [ 64.128536] Code: 01 01 e8 7a 99 98 00 0f 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 aa c6 05 ad 3e 94 01 01 e8 57 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 [ 64.149524] RSP: 0018:ffffab2482c87e48 EFLAGS: 00010286 [ 64.155362] RAX: 0000000000000000 RBX: 0000000000000033 RCX: 0000000000000000 [ 64.163336] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 [ 64.171311] RBP: ffffffffaa390b29 R08: 0000000000000000 R09: 0000000000000000 [ 64.179286] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 [ 64.187276] R13: ffffab2482c87f10 R14: ffffab2482c87f10 R15: ffff9b49c3e54000 0 00 0f 1f 44 00 00 83 05 f0 04 94 02 # [ 54.992427] RSP: 001[ 64.195250] FS: 00007f1b73e38580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 64.210503] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.216922] CR2: 00007f1b73c41000 CR3: 00000001036d0006 CR4: 00000000003706e0 [ 64.224894] Call Trace: [ 64.227627] lkdtm_REFCOUNT_INC_ZERO+0x99/0xc1 [ 64.232615] direct_entry.cold+0x2c/0x38 [ 64.237020] full_proxy_write+0x53/0x80 [ 64.241306] vfs_write+0xe7/0x3a0 [ 64.245033] ksys_write+0x68/0xf0 [ 64.248736] do_syscall_64+0x30/0x40 [ 64.252750] entry_SYSCALL_64_after_hwframe+0x61/0xc6 8:ffffab24814bfe60 EFLAGS: 00010282 # [ 54.998272] RAX: fffff[ 64.258402] RIP: 0033:0x7f1b73d4e8f3 [ 64.268604] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 64.289593] RSP: 002b:00007ffcc41b3d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 64.298053] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f1b73d4e8f3 [ 64.306027] RDX: 0000000000000012 RSI: 00007f1b73c41000 RDI: 0000000000000001 [ 64.314000] RBP: 00007f1b73c41000 R08: 00007f1b73c40010 R09: 0000000000000000 fffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 5[ 64.321975] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 5.006239] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: fffff[ 64.336164] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 64.350358] irq event stamp: 0 fffa9fa06d0 # [ 55.014207] RBP: ffffffffaa3ebf20 R08: 0000000[ 64.353793] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 64.367009] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 64.376171] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 64.385330] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 64.392366] ---[ end trace 5f8062a791bfe18a ]--- [ 64.397547] lkdtm: Zero detected: saturated 000000001 R09: 0000000000000001 # [ 55.022176] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 55.030144] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 55.038113] FS: 00007f75377f7580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 55.047149] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 55.053564] CR2: ffffffffa9fa0b60 CR3: 000000010592c006 CR4: 00000000003706e0 # EXEC_RODATA: saw 'call trace:': ok ok 34 selftests: lkdtm: EXEC_RODATA.sh # selftests: lkdtm: EXEC_USERSPACE.sh # Killed # [ 55.162469] lkdtm: Performing direct entry EXEC_USERSPACE # [ 55.173283] lkdtm: attempting ok execution at ffffffffa92e04f0 # [ 55.186035] lkdtm: attempting bad execution at 00007fcf5751d000 # [ 55.198858] unable to execute userspace code (SMEP?) (uid: 0) # [ 55.211454] BUG: unable to handle page fault for address: 00007fcf5751d000 # [ 55.219133] #PF: supervisor instruction fetch in kernel mode # [ 55.225443] #PF: error_code(0x0011) - permissions violation # [ 55.231665] PGD 8000000105b89067 P4D 8000000105b89067 PUD 103678067 PMD 1027df067 PTE 10de72067 # [ 55.241392] Oops: 0011 [#10] SMP PTI # [ 55.24[ 64.514998] lkdtm: Performing direct entry REFCOUNT_ADD_ZERO 5379] CPU: 0 PID: 1817 Comm: cat Tainted: G D W 5.1[ 64.526833] lkdtm: attempting safe refcount_add_not_zero() from zero 0.155-cip20 #1 # [ 55.254030] Hardware name: Google Rammus/Ra[ 64.540146] lkdtm: Good: zero detected mmus, BIOS 09/04/2020 # [ 55.260837] RIP: 0010:0x7fcf5751d00[ 64.550551] lkdtm: Correctly stayed at zero 0 # [ 55.264826] Code: Unable to access opcode bytes at RIP 0[ 64.561468] lkdtm: attempting bad refcount_add() from zero x7fcf5751cfd6. # [ 55.272116] RSP: 0018:ffffab24824b7e50 EFLA[ 64.573808] ------------[ cut here ]------------ GS: 00010246 # [ 55.277951] RAX: 0000000000000033 RBX: 000000[ 64.585186] refcount_t: addition on 0; use-after-free. 0000000024 RCX: 0000000000000000 # [ 55.285921] RDX: 00000000[ 64.597171] WARNING: CPU: 0 PID: 2360 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 00000000 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 # [ 55.2[ 64.612812] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 93890] RBP: 00007fcf5751d000 R08: 0000000000000000 R09: 00000000[ 64.645477] CPU: 0 PID: 2360 Comm: cat Tainted: G D W 5.10.155-cip20 #1 00000000 # [ 55.301859] R10: 00000000ffffe000 R11: 3fffffffff[ 64.660376] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 ffffff R12: 000000000000000f # [ 55.309829] R13: ffffab24824b[ 64.673394] RIP: 0010:refcount_warn_saturate+0x74/0x110 7f10 R14: ffffab24824b7f10 R15: ffff9b49c2776000 # [ 55.31779[ 64.685547] Code: 01 01 e8 7a 99 98 00 0f 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 aa c6 05 ad 3e 94 01 01 e8 57 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 9] FS: 00007fcf574ee580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0[ 64.712755] RSP: 0018:ffffab2482d0fe48 EFLAGS: 00010286 000000000000000 # [ 55.326836] CS: 0010 DS: 0000 ES: 0000 CR[ 64.724830] RAX: 0000000000000000 RBX: 0000000000000034 RCX: 0000000000000000 0: 0000000080050033 # [ 55.333276] CR2: 00007fcf5751d000 CR3:[ 64.739036] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 000000010378c004 CR4: 00000000003706f0 # [ 55.341245] Call T[ 64.753228] RBP: ffffffffaa390b3b R08: 0000000000000000 R09: 0000000000000000 race: # [ 55.343998] ? lkdtm_EXEC_USERSPACE.cold+0x66/0xae [ 64.767478] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 55.349352] ? direct_entry.cold+0x2c/0x38 # [ 55.353924[ 64.781703] R13: ffffab2482d0ff10 R14: ffffab2482d0ff10 R15: ffff9b49c304a000 ] ? full_proxy_write+0x53/0x80 # [ 55.358391] ? vfs_write+0[ 64.795922] FS: 00007fdfdada1580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 xe7/0x3a0 # [ 55.362282] ? ksys_write+0x68/0xf0 # [ 55.36[ 64.811243] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 6175] ? do_syscall_64+0x30/0x40 # [ 55.370350] ? entry_SYSC[ 64.823809] CR2: 00007fdfdabaa000 CR3: 000000010285e004 CR4: 00000000003706f0 ALL_64_after_hwframe+0x61/0xc6 # [ 55.376187] Modules linked [ 64.838017] Call Trace: in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industri[ 64.846969] lkdtm_REFCOUNT_ADD_ZERO+0x99/0xc1 alio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cr[ 64.858177] direct_entry.cold+0x2c/0x38 os_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x8[ 64.868769] full_proxy_write+0x53/0x80 6_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 55.40262[ 64.879237] vfs_write+0xe7/0x3a0 9] CR2: 00007fcf5751d000 # [ 55.406326] ---[ end trace 5f8062[ 64.889139] ksys_write+0x68/0xf0 a791bfe17b ]--- # [ 55.411481] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 64.899054] do_syscall_64+0x30/0x40 # [ 55.415848] Code: 89 ff e8 8e a3 a3 ff 48 c7 c0 ea ff ff ff[ 64.909316] entry_SYSCALL_64_after_hwframe+0x61/0xc6 eb de 48 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff [ 64.921173] RIP: 0033:0x7fdfdacb78f3 eb c9 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44[ 64.931393] Code: 8b 15 a1 25 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 00 00 83 05 f0 04 94 02 # [ 55.436833] RSP: 0018:ffffab24814[ 64.958628] RSP: 002b:00007ffcb6fef428 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 bfe60 EFLAGS: 00010282 # [ 55.442667] RAX: ffffffffa92e0120 R[ 64.973293] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fdfdacb78f3 BX: 0000000000000001 RCX: 0000000000000000 # [ 55.450637] RDX[ 64.987507] RDX: 0000000000000012 RSI: 00007fdfdabaa000 RDI: 0000000000000001 : 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 65.001685] RBP: 00007fdfdabaa000 R08: 00007fdfdaba9010 R09: 0000000000000000 # [ 55.458607] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09[ 65.015912] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 : 0000000000000001 # [ 55.466578] R10: 00000000ffffe000 R11: [ 65.030068] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 3fffffffffffffff R12: 0000000000000004 # [ 55.474547] R13: ff[ 65.044298] irq event stamp: 0 ffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ [ 65.053900] hardirqs last enabled at (0): [<0000000000000000>] 0x0 55.482519] FS: 00007fcf574ee580(0000) GS:ffff9b4a3ac00000(000[ 65.067121] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 0) knlGS:0000000000000000 # [ 55.491558] CS: 0010 DS: 0000 E[ 65.082514] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 S: 0000 CR0: 0000000080050033 # [ 55.497974] CR2: 00007fcf575[ 65.097834] softirqs last disabled at (0): [<0000000000000000>] 0x0 1d000 CR3: 000000010378c004 CR4: 00000000003706f0 # [ 55.5059[ 65.111090] ---[ end trace 5f8062a791bfe18b ]--- 44] BUG: sleeping function called from invalid context at includ[ 65.122450] lkdtm: Zero detected: saturated e/linux/percpu-rwsem.h:49 # [ 55.515858] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1817, name: cat # [ 55.524324] INFO: lockdep is turned off. # [ 55.528700] irq event stamp: 0 # [ 55.532106] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 55.539107] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 55.548236] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 55.557376] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 55.564374] CPU: 0 PID: 1817 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 55.573021] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 55.579822] Call Trace: # [ 55.582550] dump_stack+0x77/0x9b # [ 55.586253] ___might_sleep.cold+0xa6/0xb6 # [ 55.590830] exit_signals+0x1c/0x2e0 # [ 55.594818] do_exit+0xd5/0xb00 # [ 55.598322] ? ksys_write+0x68/0xf0 # [ 55.602213] rewind_stack_do_exit+0x17/0x20 # [ 55.606884] RIP: 0033:0x7fcf574048f3 # [ 55.610872] Code: 8b 15 a1 25 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 # [ 55.631852] RSP: 002b:00007ffc7ea76808 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 55.640306] RAX: ffffffffffffffda RBX: 000000000000000f RCX: 00007fcf574048f3 # [ 55.648275] RDX: 000000000000000f RSI: 00007fcf572f7000 RDI: 0000000000000001 # [ 55.656235] RBP: 00007fcf572f7000 R08: 00007fcf572f6010 R09: 0000000000000000 # [ 55.664201] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 55.672169] 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 # [ 55.820102] lkdtm: Performing direct entry EXEC_NULL # [ 55.828649] lkdtm: attempting ok execution at ffffffffa92e04f0 # [ 55.835196] lkdtm: attempting bad execution at 0000000000000000 # [ 55.841816] BUG: kernel NULL pointer dereference, address: 0000000000000000 # [ 55.849620] #PF: supervisor instruction fetch in kernel mode [ 65.346323] lkdtm: Performing direct entry REFCOUNT_INC_SATURATED [ 65.359095] lkdtm: attempting bad refcount_inc() from saturated [ 65.365743] ------------[ cut here ]------------ [ 65.370931] refcount_t: saturated; leaking memory. [ 65.376308] WARNING: CPU: 3 PID: 2395 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 55.862153] #PF: error_code(0x0010) - not-present page # [[ 65.385772] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 65.418458] CPU: 3 PID: 2395 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 65.427137] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 65.433945] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 65.439782] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 [ 65.460772] RSP: 0018:ffffab2482da7e48 EFLAGS: 00010286 [ 65.466610] RAX: 0000000000000000 RBX: 0000000000000035 RCX: 0000000000000000 [ 65.474584] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 [ 65.482558] RBP: ffffffffaa390b4d R08: 0000000000000000 R09: 0000000000000000 [ 65.490532] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 [ 65.498506] R13: ffffab2482da7f10 R14: ffffab2482da7f10 R15: ffff9b49c32fe000 [ 65.506480] FS: 00007f776f7f3580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 65.515523] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.521944] CR2: 00007f776f5fc000 CR3: 0000000106598001 CR4: 00000000003706e0 [ 65.529917] Call Trace: [ 65.532649] lkdtm_REFCOUNT_INC_SATURATED+0x3c/0x64 [ 65.538124] direct_entry.cold+0x2c/0x38 [ 65.542529] full_proxy_write+0x53/0x80 [ 65.546813] vfs_write+0xe7/0x3a0 [ 65.550539] ksys_write+0x68/0xf0 [ 65.554244] do_syscall_64+0x30/0x40 55.867891] PGD 0 P4D 0 # [ 55.870719] Oops: 0010 [#11] SM[ 65.558278] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 65.570140] RIP: 0033:0x7f776f7098f3 [ 65.574132] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 65.595123] RSP: 002b:00007fff3c5d42f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 65.603584] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f776f7098f3 [ 65.611560] RDX: 0000000000000017 RSI: 00007f776f5fc000 RDI: 0000000000000001 [ 65.619533] RBP: 00007f776f5fc000 R08: 00007f776f5fb010 R09: 0000000000000000 P PTI # [ 55.880921] CPU: 3 PID: 1853 Comm: cat Tainted: G [ 65.627507] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 D W 5.10.155-cip20 #1 # [ 55.889572] Hardware name[ 65.641698] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 65.655912] irq event stamp: 0 : Google Rammus/Rammus, BIOS 09/04/2020 # [ 55.896377] RIP: [ 65.659333] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 65.672547] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 65.681721] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 65.690895] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 65.697928] ---[ end trace 5f8062a791bfe18c ]--- [ 65.703088] lkdtm: Saturation detected: still saturated 0010:0x0 # [ 55.899299] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. # [ 55.906980] RSP: 0018:ffffab2482537e48 EFLAGS: 00010246 # [ 55.919026] RAX: 0000000000000033 RBX: 0000000000000000 RCX: 0000000000000000 # [ 55.926996] RDX: 0000000000000000 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 # [ 55.934965] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 # [ 55.942934] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000000a # [ 55.950904] R13: ffffab2482537f10 R14: ffffab2482537f10 R15: ffff9b49c3292000 # [ 55.958873] FS: 00007f1db6075580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 55.967911] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 55.974329] CR2: ffffffffffffffd6 CR3: 000000010304e004 CR4: 00000000003706e0 # [ 55.982298] Call Trace: # [ 55.985026] execute_location+0x45/0x56 # [ 55.989327] direct_entry.cold+0x2c/0x38 # [ 55.993704] full_proxy_write+0x53/0x80 # [ 55.997987] vfs_write+0xe7/0x3a0 # [ 56.001686] ksys_write+0x68/0xf0 # [ 56.005386] do_syscall_64+0x30/0x40 # [ 56.009374] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 56.015005] RIP: 0033:0x7f1db5f8b8f3 # [ 56.018984] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 [ 65.827764] lkdtm: Performing direct entry REFCOUNT_DEC_SATURATED [ 65.840084] lkdtm: attempting bad refcount_dec() from saturated [ 65.846706] ------------[ cut here ]------------ [ 65.851880] refcount_t: decrement hit 0; leaking memory. [ 65.857837] WARNING: CPU: 3 PID: 2430 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b[ 65.867274] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 65.899932] CPU: 3 PID: 2430 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 65.908586] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 [ 65.915398] RIP: 0010:refcount_warn_saturate+0xfb/0x110 83 ec 28 48 89 54 24 18 # [ 56.039966] RSP: 002b:00007ffee18e[ 65.927451] Code: 50 c4 32 aa c6 05 3d 3e 94 01 01 e8 ea 98 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 20 c4 32 aa c6 05 24 3e 94 01 01 e8 d0 98 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b [ 65.954659] RSP: 0018:ffffab2482e37e48 EFLAGS: 00010286 [ 65.960518] RAX: 0000000000000000 RBX: 0000000000000036 RCX: 0000000000000000 [ 65.968515] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 0ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 56.04841[ 65.976501] RBP: ffffffffaa390b64 R08: 0000000000000000 R09: 0000000000000000 [ 65.990681] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 [ 65.998655] R13: ffffab2482e37f10 R14: ffffab2482e37f10 R15: ffff9b49c36a0000 [ 66.006628] FS: 00007fafe48bb580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 [ 66.015670] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 66.022089] CR2: 00007fafe46c4000 CR3: 0000000104f88004 CR4: 00000000003706e0 [ 66.030062] Call Trace: [ 66.032795] lkdtm_REFCOUNT_DEC_SATURATED+0x37/0x5f 1] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f1db5f8[ 66.038281] direct_entry.cold+0x2c/0x38 [ 66.048878] full_proxy_write+0x53/0x80 [ 66.053187] vfs_write+0xe7/0x3a0 [ 66.056888] ksys_write+0x68/0xf0 [ 66.060589] do_syscall_64+0x30/0x40 [ 66.064581] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 66.070225] RIP: 0033:0x7fafe47d18f3 [ 66.074216] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 66.095204] RSP: 002b:00007ffcbedb65f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.103663] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007fafe47d18f3 [ 66.111627] RDX: 0000000000000017 RSI: 00007fafe46c4000 RDI: 0000000000000001 [ 66.119602] RBP: 00007fafe46c4000 R08: 00007fafe46c3010 R09: 0000000000000000 [ 66.127575] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 66.135549] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 66.143527] irq event stamp: 0 [ 66.146966] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 66.153969] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 66.163109] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 66.172264] softirqs last disabled at (0): [<0000000000000000>] 0x0 b8f3 # [ 56.056380] RDX: 000000000000000a RSI: 00007f1db5e7e0[ 66.179267] ---[ end trace 5f8062a791bfe18d ]--- [ 66.190636] lkdtm: Saturation detected: still saturated 00 RDI: 0000000000000001 # [ 56.064347] RBP: 00007f1db5e7e000 R08: 00007f1db5e7d010 R09: 0000000000000000 # [ 56.072329] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 56.080298] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 56.088277] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 56.120915] CR2: 0000000000000000 # [ 56.124612] ---[ end trace 5f8062a791bfe17c ]--- # [ 56.129767] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 56.134144] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 56.155118] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 56.160951] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 56.168920] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 56.176891] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 56.184861] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 56.192830] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 56.200798] FS: 00007f1db6075580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 56.209834] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 56.216272] CR2: ffffffffffffffd6 CR3: 000000010304e004 CR4: 00000000003706e0 # EXEC_NULL: saw 'call trace:': ok ok 36 selftests: lkdtm: EXEC_NULL.sh # selftests: lkdtm: ACCESS_USERSPACE.sh # Killed # [ 56.345378] lkdtm: Performing direct entry ACCESS_USERSPACE # [ 56.354853] lkdtm: attempting bad read at 00007fe52aa89000 # [ 56.361031] BUG: unable to handle page fault for address: 00007fe52aa89000 # [ 56.368724] #PF: supervisor read access in kernel mode # [ 56.374462] #PF: error_code(0x0001) - permissions violation # [ 56.386894] PGD 800000010329a067 P4D 800000010329a067 PUD 10404a067 PMD 10309c067 PTE 1171b9067 # [ 56.396616] Oops: 0001 [#12] SMP PTI # [ 56.400603] CPU: 2 PID: 1888 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 56.409269] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 56.416086] RIP: 0010:lkdtm_ACCESS_USERSPACE.cold+0x41/0xa3 # [ 56.428518] Code: 00 00 00 75 64 48 83 c4 10 5d c3 cc cc cc cc 48 89 ee 48 c7 c7 b0 19 39 aa e8 64 99 fd ff 48 c7 c7 d8 19 39 aa b8 de c0 de c0 <48> 03 45 00 48 89 04 24 e8 4b 99 fd ff 48 89 ee 48 c7 c7 00 1a 39 # [ 56.449500] RSP: 0018:ffffab24825afe48 EFLAGS: 00010246 # [ 56.455333] RAX: 00000000c0dec0de RBX: 0000000000000026 RCX: 0000000000000000 # [ 56.463300] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa3919d8 # [ 56.471289] RBP: 00007fe52aa89000 R08: 0000000000000000 R09: 0000000000000000 # [ 56.479272] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000011 # [ 56.487241] R13: ffffab24825aff10 R14: ffffab24825aff10 R15: ffff9b49c4d3a000 # [ 56.495210] FS: 00007fe52aa5a580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 56.504264] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 56.510689] CR2: 00007fe52aa89000 CR3: 0000000103756001 CR4: 00000000003706e0 # [ 56.524873] Call Trace: # [ 56.527602] direct_entry.cold+0x2c/0x38 # [ 56.531982] full_proxy_write+0x53/0x80 # [ 56.536276] vfs_write+0xe7/0x3a0 # [ 56.539974] ksys_write+0x68/0xf0 # [ 56.543671] do_syscall_64+0x30/0x40 # [ 56.547650] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 56.553289] RIP: 0033:0x7fe52a9708f3 # [ 56.557277] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 56.578273] RSP: 002b:00007ffc535494b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 56.586730] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fe52a9708f3 # [ 56.594690] RDX: 0000000000000011 RSI: 00007fe52a863000 RDI: 0000000000000001 # [ 56.602660] RBP: 00007fe52a863000 R08: 00007fe52a862010 R09: 0000000000000000 # [ 56.610629] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 56.618599] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 56.626573] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 56.653036] CR2: 00007fe52aa89000 # [ 56.662946] ---[ end trace 5f8062a791bfe17d ]--- # [ 56.668101] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 56.672469] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 56.693450] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 56.699282] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 56.707273] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 56.715242] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 56.723211] R10: 00000000ffffe000 R11: 3fffffffff[ 66.737224] lkdtm: Performing direct entry REFCOUNT_ADD_SATURATED [ 66.749475] lkdtm: attempting bad refcount_dec() from saturated [ 66.756101] ------------[ cut here ]------------ [ 66.761265] refcount_t: saturated; leaking memory. [ 66.766642] WARNING: CPU: 2 PID: 2465 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 ffffff R12: 0000000000000004 # [ 56.731181] R13: ffffab24814b[ 66.776082] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 66.808723] CPU: 2 PID: 2465 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 66.817400] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 66.824209] RIP: 0010:refcount_warn_saturate+0x51/0x110 [ 66.830046] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 [ 66.851036] RSP: 0018:ffffab2482ec7e48 EFLAGS: 00010286 [ 66.856874] RAX: 0000000000000000 RBX: 0000000000000037 RCX: 0000000000000000 [ 66.864846] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 [ 66.872820] RBP: ffffffffaa390b7b R08: 0000000000000000 R09: 0000000000000000 [ 66.880793] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 [ 66.888765] R13: ffffab2482ec7f10 R14: ffffab2482ec7f10 R15: ffff9b49c4f84000 [ 66.896738] FS: 00007fa6c1a12580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 66.905779] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 66.912199] CR2: 00007fa6c181b000 CR3: 000000010652e001 CR4: 00000000003706e0 [ 66.920171] Call Trace: [ 66.922903] lkdtm_REFCOUNT_ADD_SATURATED+0x3c/0x64 [ 66.928380] direct_entry.cold+0x2c/0x38 [ 66.932791] full_proxy_write+0x53/0x80 [ 66.937076] vfs_write+0xe7/0x3a0 [ 66.940808] ksys_write+0x68/0xf0 [ 66.944509] do_syscall_64+0x30/0x40 [ 66.948501] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 66.954143] RIP: 0033:0x7fa6c19288f3 [ 66.958135] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 66.979122] RSP: 002b:00007ffcba1e3a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 66.987583] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007fa6c19288f3 [ 66.995557] RDX: 0000000000000017 RSI: 00007fa6c181b000 RDI: 0000000000000001 [ 67.003533] RBP: 00007fa6c181b000 R08: 00007fa6c181a010 R09: 0000000000000000 [ 67.011505] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 ff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 56.73915[ 67.019480] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 0] FS: 00007fe52aa5a580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0[ 67.033674] irq event stamp: 0 000000000000000 # [ 56.748188] CS: 0010 DS: 0000 ES: 0000 CR[ 67.043293] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 67.056517] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 67.065688] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 67.074832] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 67.081866] ---[ end trace 5f8062a791bfe18e ]--- [ 67.087025] lkdtm: Saturation detected: still saturated 0: 0000000080050033 # [ 56.754603] CR2: 00007fe52aa89000 CR3: 0000000103756001 CR4: 00000000003706e0 # [ 56.762573] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 56.772486] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1888, name: cat # [ 56.780941] INFO: lockdep is turned off. # [ 56.785322] irq event stamp: 0 # [ 56.788725] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 56.795723] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 56.804858] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 56.813995] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 56.820986] CPU: 2 PID: 1888 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 56.829634] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 56.836439] Call Trace: # [ 56.839166] dump_stack+0x77/0x9b # [ 56.842865] ___might_sleep.cold+0xa6/0xb6 # [ 56.847438] exit_signals+0x1c/0x2e0 # [ 56.851426] do_exit+0xd5/0xb00 # [ 56.854928] ? ksys_write+0x68/0xf0 # [ 56.858821] rewind_stack_do_exit+0x17/0x20 # [ 56.863489] RIP: 0033:0x7fe52a9708[ 67.209846] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_SATURATED f3 # [ 56.867476] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c[ 67.218686] lkdtm: attempting bad refcount_inc_not_zero() from saturated 7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75[ 67.232394] ------------[ cut here ]------------ 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 0[ 67.243784] refcount_t: saturated; leaking memory. 0 48 83 ec 28 48 89 54 24 18 # [ 56.888461] RSP: 002b:00007ff[ 67.255386] WARNING: CPU: 0 PID: 2497 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 c535494b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 56.[ 67.271057] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 896918] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007fe[ 67.303692] CPU: 0 PID: 2497 Comm: cat Tainted: G D W 5.10.155-cip20 #1 52a9708f3 # [ 56.904886] RDX: 0000000000000011 RSI: 00007fe52[ 67.318570] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 a863000 RDI: 0000000000000001 # [ 56.912857] RBP: 00007fe52a8[ 67.331651] RIP: 0010:refcount_warn_saturate+0x97/0x110 63000 R08: 00007fe52a862010 R09: 0000000000000000 # [ 56.9208[ 67.343723] Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 aa c6 05 8c 3e 94 01 01 e8 34 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 25] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 00000000000[ 67.370952] RSP: 0018:ffffab2482f5fe38 EFLAGS: 00010282 00001 # [ 56.928795] R13: 0000000000000001 R14: 0000000000020[ 67.382953] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 000 R15: 0000000000020000 # ACCESS_USERSPACE: saw 'call trace:'[ 67.397118] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 : ok ok 37 selftests: lkdtm: ACCESS_USERSPACE.sh # selftests: [ 67.411345] RBP: ffffffffaa3907a8 R08: 0000000000000000 R09: 0000000000000000 lkdtm: ACCESS_NULL.sh # Killed # [ 57.045348] lkdtm: Perform[ 67.425508] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 ing direct entry ACCESS_NULL # [ 57.054412] lkdtm: attempting[ 67.439728] R13: ffffab2482f5ff10 R14: ffffab2482f5ff10 R15: ffff9b49c40d8000 bad read at 0000000000000000 # [ 57.060543] BUG: kernel NULL[ 67.453855] FS: 00007fdb43c05580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 pointer dereference, address: 0000000000000000 # [ 57.068350[ 67.469140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ] #PF: supervisor read access in kernel mode # [ 57.074089] #[ 67.481756] CR2: 00007fdb43a0e000 CR3: 0000000104c64003 CR4: 00000000003706f0 PF: error_code(0x0000) - not-present page # [ 57.086038] PGD [ 67.495948] Call Trace: 0 P4D 0 # [ 57.088865] Oops: 0000 [#13] SMP PTI # [ 57.09[ 67.504893] __refcount_add_not_zero.constprop.0+0x2a/0x35 9064] CPU: 3 PID: 1923 Comm: cat Tainted: G D W 5.1[ 67.517243] lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED+0x3e/0x76 0.155-cip20 #1 # [ 57.107714] Hardware name: Google Rammus/Ra[ 67.529797] direct_entry.cold+0x2c/0x38 mmus, BIOS 09/04/2020 # [ 57.114513] RIP: 0010:lkdtm_ACCESS_[ 67.540386] full_proxy_write+0x53/0x80 NULL+0x14/0x53 # [ 57.119762] Code: 08 99 fd ff be 00 10 00 0[ 67.550887] vfs_write+0xe7/0x3a0 0 48 89 ef e8 b7 6e 39 ff e9 69 ff ff ff 0f 1f 44 00 00 53 31 f6[ 67.560811] ksys_write+0x68/0xf0 48 c7 c7 b0 19 39 aa e8 e2 98 fd ff <48> 8b 1c 25 00 00 00 00 b[ 67.570723] do_syscall_64+0x30/0x40 8 de c0 de c0 48 c7 c7 d8 19 39 aa 48 01 # [ 57.140741] RSP: [ 67.580934] entry_SYSCALL_64_after_hwframe+0x61/0xc6 0018:ffffab2482647e58 EFLAGS: 00010246 # [ 57.146573] RAX: 00[ 67.592826] RIP: 0033:0x7fdb43b1b8f3 0000000000002e RBX: 0000000000000027 RCX: 0000000000000000 # [ [ 67.603034] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 57.154543] RDX: 0000000000000000 RSI: ffff9b4a3ad9bf70 RDI: ff[ 67.630251] RSP: 002b:00007ffef6b0db38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 ff9b4a3ad9bf70 # [ 57.162512] RBP: ffffffffaa390aa1 R08: 0000[ 67.644942] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007fdb43b1b8f3 000000000000 R09: 0000000000000000 # [ 57.170480] R10: 000000[ 67.659117] RDX: 0000000000000020 RSI: 00007fdb43a0e000 RDI: 0000000000000001 00ffffe000 R11: 3fffffffffffffff R12: 000000000000000c # [ 57[ 67.673383] RBP: 00007fdb43a0e000 R08: 00007fdb43a0d010 R09: 0000000000000000 .178447] R13: ffffab2482647f10 R14: ffffab2482647f10 R15: ffff9b[ 67.687527] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 49c3363000 # [ 57.186414] FS: 00007faa11d2b580(0000) GS:ffff[ 67.701735] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 9b4a3ad80000(0000) knlGS:0000000000000000 # [ 57.195451] CS: [ 67.715911] irq event stamp: 0 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 57.201865] [ 67.725569] hardirqs last enabled at (0): [<0000000000000000>] 0x0 CR2: 0000000000000000 CR3: 00000001036f0001 CR4: 00000000003706e[ 67.738773] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 0 # [ 57.209833] Call Trace: # [ 57.212560] direct_entry.[ 67.754149] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 cold+0x2c/0x38 # [ 57.216938] full_proxy_write+0x53/0x80 # [ 67.769515] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 57.221219] vfs_write+0xe7/0x3a0 # [ 57.224916] ksys_wri[ 67.782744] ---[ end trace 5f8062a791bfe18f ]--- te+0x68/0xf0 # [ 57.228607] do_syscall_64+0x30/0x40 # [ 5[ 67.794141] lkdtm: Saturation detected: still saturated 7.232596] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 57.238235] RIP: 0033:0x7faa11c418f3 # [ 57.242224] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 57.263196] RSP: 002b:00007fff31e2e638 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 57.271651] RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007faa11c418f3 # [ 57.279619] RDX: 000000000000000c RSI: 00007faa11b34000 RDI: 0000000000000001 # [ 57.287587] RBP: 00007faa11b34000 R08: 00007faa11b33010 R09: 0000000000000000 # [ 57.295557] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 57.303526] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 57.311500] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 57.337961] CR2: 0000000000000000 # [ 57.347871] ---[ end trace 5f8062a791bfe17e ]--- # [ 57.353026] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 57.357401] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 57.378382] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 57.384206] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 57.392175] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 57.400143] RBP: ffffffffaa3ebf20 R0[ 67.970950] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_SATURATED 8: 0000000000000001 R09: 0000000000000001 # [ 57.408111] R10:[ 67.981585] lkdtm: attempting bad refcount_add_not_zero() from saturated 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 #[ 67.995293] ------------[ cut here ]------------ [ 68.006659] refcount_t: saturated; leaking memory. [ 57.416080] R13: ffffab24814bff10 R14: ffffab24814bff10 R15:[ 68.012040] WARNING: CPU: 1 PID: 2529 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 ffff9b49c3442000 # [ 57.424047] FS: 00007faa11d2b580(0000) [ 68.027653] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 57.43308[ 68.060303] CPU: 1 PID: 2529 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 68.075172] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 5] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 57.4[ 68.081983] RIP: 0010:refcount_warn_saturate+0x97/0x110 39500] CR2: 0000000000000000 CR3: 00000001036f0001 CR4: 00000000[ 68.094033] Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 aa c6 05 8c 3e 94 01 01 e8 34 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 003706e0 # ACCESS_NULL: saw 'call trace:': ok ok 38 selftests:[ 68.121242] RSP: 0018:ffffab2483007e38 EFLAGS: 00010282 lkdtm: ACCESS_NULL.sh # selftests: lkdtm: WRITE_RO.sh # Kille[ 68.133298] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 [ 68.147489] RDX: ffff9b4a3acac660 RSI: ffff9b4a3ac9bf70 RDI: ffff9b4a3ac9bf70 d # [ 57.570458] lkdtm: Performing direct entry WRITE_RO # [[ 68.155464] RBP: ffffffffaa3907c8 R08: 0000000000000000 R09: 0000000000000000 [ 68.169651] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 57.577278] lkdtm: attempting bad rodata write at ffffffffa9fa[ 68.177626] R13: ffffab2483007f10 R14: ffffab2483007f10 R15: ffff9b49c3159000 [ 68.191813] FS: 00007f5a6c297580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000000000000 0b50 # [ 57.590423] BUG: unable to handle page fault for addr[ 68.200880] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 ess: ffffffffa9fa0b50 # [ 57.604293] #PF: supervisor write ac[ 68.213513] CR2: 00007f5a6c0a0000 CR3: 00000001033ea003 CR4: 00000000003706e0 [ 68.227728] Call Trace: cess in kernel mode # [ 57.610126] #PF: error_code(0x0003) - [ 68.230462] __refcount_add_not_zero.constprop.0+0x2a/0x35 permissions violation # [ 57.616348] PGD 3a229067 P4D 3a22906[ 68.242800] lkdtm_REFCOUNT_ADD_NOT_ZERO_SATURATED+0x3e/0x76 [ 68.255363] direct_entry.cold+0x2c/0x38 7 PUD 3a22a063 PMD 8000000039a000e1 # [ 57.623838] Oops: 000[ 68.259746] full_proxy_write+0x53/0x80 3 [#14] SMP PTI # [ 57.627819] CPU: 1 PID: 1958 Comm: cat Tai[ 68.270247] vfs_write+0xe7/0x3a0 nted: G D W 5.10.155-cip20 #1 # [ 57.636469] Har[ 68.280164] ksys_write+0x68/0xf0 dware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 57.643[ 68.290082] do_syscall_64+0x30/0x40 278] RIP: 0010:lkdtm_WRITE_RO+0x2e/0x3a # [ 57.648241] Code: [ 68.300290] entry_SYSCALL_64_after_hwframe+0x61/0xc6 00 48 c7 c7 90 18 39 aa 48 c7 c6 50 0b fa a9 e8 8c 9b fd ff 48 8[ 68.312150] RIP: 0033:0x7f5a6c1ad8f3 b 05 21 05 63 00 ba 34 12 cd ab 48 c7 c7 c0 18 39 aa 48 31 d0 <4[ 68.322359] Code: 8b 15 a1 25 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 8> 89 05 0b 05 63 00 e9 6a 9b fd ff 0f 1f 44 00 00 48 8b 05 da d[ 68.349574] RSP: 002b:00007fffaf35c478 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 c # [ 57.675442] RSP: 0018:ffffab24826c7e60 EFLAGS: 00010202 [ 68.364252] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f5a6c1ad8f3 # [ 57.681277] RAX: 000000000198b861 RBX: 0000000000000028 RC[ 68.378439] RDX: 0000000000000020 RSI: 00007f5a6c0a0000 RDI: 0000000000000001 X: 0000000000000000 # [ 57.689238] RDX: 00000000abcd1234 RSI:[ 68.392630] RBP: 00007f5a6c0a0000 R08: 00007f5a6c09f010 R09: 0000000000000000 ffff9b4a3ac9bf70 RDI: ffffffffaa3918c0 # [ 57.697210] RBP: f[ 68.406822] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 fffffffaa390aad R08: 0000000000000000 R09: 0000000000000000 # [[ 68.421013] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 57.705180] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0[ 68.435212] irq event stamp: 0 000000000000009 # [ 57.713151] R13: ffffab24826c7f10 R14: fff[ 68.444833] hardirqs last enabled at (0): [<0000000000000000>] 0x0 fab24826c7f10 R15: ffff9b49c4c31000 # [ 57.721122] FS: 00007[ 68.458053] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 f6cb45e4580(0000) GS:ffff9b4a3ac80000(0000) knlGS:00000000000000[ 68.473411] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 00 # [ 57.730161] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080[ 68.488769] softirqs last disabled at (0): [<0000000000000000>] 0x0 050033 # [ 57.736577] CR2: ffffffffa9fa0b50 CR3: 000000010648[ 68.501989] ---[ end trace 5f8062a791bfe190 ]--- 2002 CR4: 00000000003706e0 # [ 57.744546] Call Trace: # [ [ 68.513361] lkdtm: Saturation detected: still saturated 57.747282] direct_entry.cold+0x2c/0x38 # [ 57.751663] full_proxy_write+0x53/0x80 # [ 57.755947] vfs_write+0xe7/0x3a0 # [ 57.765858] ksys_write+0x68/0xf0 # [ 57.769557] do_syscall_64+0x30/0x40 # [ 57.773546] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 57.779185] RIP: 0033:0x7f6cb44fa8f3 # [ 57.783174] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 57.804161] RSP: 002b:00007ffcdd97ee28 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 57.812619] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f6cb44fa8f3 # [ 57.820590] RDX: 0000000000000009 RSI: 00007f6cb43ed000 RDI: 0000000000000001 # [ 57.828560] RBP: 00007f6cb43ed000 R08: 00007f6cb43ec010 R09: 0000000000000000 # [ 57.836530] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 57.844501] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 57.852475] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 57.885118] CR2: ffffffffa9fa0b50 # [ 57.888815] ---[ end trace 5f8062a791bfe17f ]--- [ 68.660964] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_SATURATED # [ 57.893971] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 57.898349][ 68.669882] lkdtm: attempting bad refcount_dec_and_test() from saturated Code: 89 ff e8 8e a3 a3 ff 48 c7 c0 ea ff ff ff eb de 48 c7 c0 [ 68.683602] ------------[ cut here ]------------ ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f 1f 44 0[ 68.694991] refcount_t: underflow; use-after-free. 0 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 05 f0 [ 68.706572] WARNING: CPU: 0 PID: 2564 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 04 94 02 # [ 57.919336] RSP: 0018:ffffab24814bfe60 EFLAGS: 00[ 68.722206] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify 010282 # [ 57.925170] RAX: ffffffffa92e0120 RBX: 000000000000[ 68.754874] CPU: 0 PID: 2564 Comm: cat Tainted: G D W 5.10.155-cip20 #1 0001 RCX: 0000000000000000 # [ 57.933139] RDX: 00000000000000[ 68.769758] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 00 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 57.941111][ 68.782797] RIP: 0010:refcount_warn_saturate+0xba/0x110 RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 00000000000000[ 68.794863] Code: 01 01 e8 34 99 98 00 0f 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 aa c6 05 66 3e 94 01 01 e8 11 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 51 3e 94 01 00 0f 85 5e ff ff ff 48 c7 01 # [ 57.949081] R10: 00000000ffffe000 R11: 3fffffffffffffff[ 68.822075] RSP: 0018:ffffab248306fe40 EFLAGS: 00010286 R12: 0000000000000004 # [ 57.957052] R13: ffffab24814bff10 R[ 68.834119] RAX: 0000000000000000 RBX: 000000000000003a RCX: 0000000000000000 14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 57.965021] FS:[ 68.848297] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 00007f6cb45e4580(0000) GS:ffff9b4a3ac80000(0000) knlGS:0000000[ 68.862517] RBP: ffffffffaa3907e8 R08: 0000000000000000 R09: 0000000000000000 000000000 # [ 57.974060] CS: 0010 DS: 0000 ES: 0000 CR0: 000[ 68.876676] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 0000080050033 # [ 57.980476] CR2: ffffffffa9fa0b50 CR3: 00000[ 68.890898] R13: ffffab248306ff10 R14: ffffab248306ff10 R15: ffff9b49c13d3000 00106482002 CR4: 00000000003706e0 # WRITE_RO: saw 'call trace:'[ 68.905080] FS: 00007f20035f2580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 : ok ok 39 selftests: lkdtm: WRITE_RO.sh # selftests: lkdtm: W[ 68.920367] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 RITE_RO_AFTER_INIT.sh # Killed # [ 58.108248] lkdtm: Perform[ 68.933021] CR2: 00007f20033fb000 CR3: 0000000106592005 CR4: 00000000003706f0 ing direct entry WRITE_RO_AFTER_INIT # [ 58.119272] lkdtm: at[ 68.947213] Call Trace: tempting bad ro_after_init write at ffffffffaa40e330 # [ 58.1[ 68.956173] __refcount_sub_and_test.constprop.0+0x3c/0x50 26862] BUG: unable to handle page fault for address: ffffffffaa4[ 68.968549] lkdtm_REFCOUNT_DEC_AND_TEST_SATURATED+0x3e/0x76 0e330 # [ 58.134547] #PF: supervisor write access in kernel m[ 68.981166] direct_entry.cold+0x2c/0x38 ode # [ 58.140384] #PF: error_code(0x0003) - permissions viol[ 68.991718] full_proxy_write+0x53/0x80 ation # [ 58.152820] PGD 3a229067 P4D 3a229067 PUD 3a22a063 P[ 69.002333] vfs_write+0xe7/0x3a0 MD 104b88063 PTE 800000003a00e061 # [ 58.161571] Oops: 0003 [[ 69.012217] ksys_write+0x68/0xf0 #15] SMP PTI # [ 58.165551] CPU: 2 PID: 1993 Comm: cat Tainte[ 69.022144] do_syscall_64+0x30/0x40 d: G D W 5.10.155-cip20 #1 # [ 58.174201] Hardwa[ 69.032389] entry_SYSCALL_64_after_hwframe+0x61/0xc6 re name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 58.181000[ 69.044213] RIP: 0033:0x7f20035088f3 ] RIP: 0010:lkdtm_WRITE_RO_AFTER_INIT+0x4e/0x5a # [ 58.187028[ 69.054490] Code: 8b 15 a1 25 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 ] Code: 18 39 aa e9 3e 9b fd ff 48 c7 c7 18 19 39 aa e8 32 9b fd[ 69.081676] RSP: 002b:00007fffd592aa18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 ff 48 8b 05 a7 dc a9 00 ba 34 12 cd ab 48 c7 c7 c0 18 39 aa 48 [ 69.096375] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f20035088f3 31 d0 <48> 89 05 91 dc a9 00 e9 10 9b fd ff 0f 1f 44 00 00 41 54[ 69.110551] RDX: 0000000000000020 RSI: 00007f20033fb000 RDI: 0000000000000001 48 c7 c7 # [ 58.208010] RSP: 0018:ffffab248277fe60 EFLAGS: 0[ 69.124731] RBP: 00007f20033fb000 R08: 00007f20033fa010 R09: 0000000000000000 0010202 # [ 58.213844] RAX: 00000000fe67479e RBX: 00000000000[ 69.138928] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 00029 RCX: 0000000000000000 # [ 58.221814] RDX: 00000000abcd1[ 69.153133] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 234 RSI: ffff9b4a3ad1bf70 RDI: ffffffffaa3918c0 # [ 58.229784[ 69.167419] irq event stamp: 0 ] RBP: ffffffffaa390ab6 R08: 0000000000000000 R09: 0000000000000[ 69.176977] hardirqs last enabled at (0): [<0000000000000000>] 0x0 000 # [ 58.237754] R10: 00000000ffffe000 R11: 3ffffffffffffff[ 69.190257] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 f R12: 0000000000000014 # [ 58.245724] R13: ffffab248277ff10 [ 69.205618] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 R14: ffffab248277ff10 R15: ffff9b49c5ba0000 # [ 58.253694] FS[ 69.221011] softirqs last disabled at (0): [<0000000000000000>] 0x0 : 00007f6660a66580(0000) GS:ffff9b4a3ad00000(0000) knlGS:000000[ 69.234228] ---[ end trace 5f8062a791bfe191 ]--- 0000000000 # [ 58.262733] CS: 0010 DS: 0000 ES: 0000 CR0: 00[ 69.245624] lkdtm: Saturation detected: still saturated 00000080050033 # [ 58.269149] CR2: ffffffffaa40e330 CR3: 0000000106482005 CR4: 00000000003706e0 # [ 58.277118] Call Trace: # [ 58.279845] direct_entry.cold+0x2c/0x38 # [ 58.284225] full_proxy_write+0x53/0x80 # [ 58.288506] vfs_write+0xe7/0x3a0 # [ 58.292204] ksys_write+0x68/0xf0 # [ 58.295903] do_syscall_64+0x30/0x40 # [ 58.299892] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 58.305524] RIP: 0033:0x7f666097c8f3 # [ 58.309513] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 58.330496] RSP: 002b:00007ffdf143ced8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 58.338942] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f666097c8f3 # [ 58.346911] RDX: 0000000000000014 RSI: 00007f666086f000 RDI: 0000000000000001 # [ 58.354882] RBP: 00007f666086f000 R08: 00007f666086e010 R09: 0000000000000000 # [ 58.362850] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 58.370820] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 58.378794] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_tri[ 69.378155] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_SATURATED [ 69.389812] lkdtm: attempting bad refcount_sub_and_test() from saturated ggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sy[ 69.397321] ------------[ cut here ]------------ [ 69.408684] refcount_t: underflow; use-after-free. [ 69.414062] WARNING: CPU: 2 PID: 2599 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 sfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_te[ 69.423502] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 69.456145] CPU: 2 PID: 2599 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 69.464798] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 69.471607] RIP: 0010:refcount_warn_saturate+0xba/0x110 [ 69.477446] Code: 01 01 e8 34 99 98 00 0f 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 aa c6 05 66 3e 94 01 01 e8 11 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 51 3e 94 01 00 0f 85 5e ff ff ff 48 c7 [ 69.498436] RSP: 0018:ffffab2482e77e40 EFLAGS: 00010286 mp_thermal cros_ec_dev cros_usbpd_notify # [ 58.405258] CR2: [ 69.504278] RAX: 0000000000000000 RBX: 000000000000003b RCX: 0000000000000000 [ 69.518471] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 ffffffffaa40e330 # [ 58.415168] ---[ end trace 5f8062a791bfe1[ 69.526446] RBP: ffffffffaa390808 R08: 0000000000000000 R09: 0000000000000000 80 ]--- # [ 58.420324] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 58[ 69.540637] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 [ 69.554829] R13: ffffab2482e77f10 R14: ffffab2482e77f10 R15: ffff9b49c32cb000 [ 69.562835] FS: 00007f9a6b3bb580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 [ 69.571876] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 69.578299] CR2: 00007f9a6b1c4000 CR3: 000000010315a002 CR4: 00000000003706e0 .424699] Code: 89 ff e8 8e a3 a3 ff 48 c7 c0 ea ff ff ff eb de 4[ 69.586279] Call Trace: 8 c7 c0 ea ff ff ff c3 cc cc cc cc 48 c7 c0 f4 ff ff ff eb c9 0f[ 69.595260] __refcount_sub_and_test.constprop.0+0x3c/0x50 [ 69.607608] lkdtm_REFCOUNT_SUB_AND_TEST_SATURATED+0x3e/0x76 [ 69.613965] direct_entry.cold+0x2c/0x38 [ 69.618346] full_proxy_write+0x53/0x80 [ 69.622657] vfs_write+0xe7/0x3a0 [ 69.626359] ksys_write+0x68/0xf0 [ 69.630086] do_syscall_64+0x30/0x40 [ 69.634105] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 69.639750] RIP: 0033:0x7f9a6b2d18f3 [ 69.643741] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 69.664728] RSP: 002b:00007ffc29691db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 69.673189] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007f9a6b2d18f3 [ 69.681163] RDX: 0000000000000020 RSI: 00007f9a6b1c4000 RDI: 0000000000000001 [ 69.689137] RBP: 00007f9a6b1c4000 R08: 00007f9a6b1c3010 R09: 0000000000000000 [ 69.697112] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 69.705087] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 69.713065] irq event stamp: 0 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 8[ 69.716499] hardirqs last enabled at (0): [<0000000000000000>] 0x0 [ 69.729714] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 [ 69.738856] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 [ 69.747994] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 69.754998] ---[ end trace 5f8062a791bfe192 ]--- [ 69.760168] lkdtm: Saturation detected: still saturated 3 05 f0 04 94 02 # [ 58.445682] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 58.451507] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 58.459478] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 58.467449] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 58.475418] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 58.483387] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 58.491356] FS: 00007f6660a66580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 58.500393] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 58.506808] CR2: ffffffffaa40e330 CR3: 0000000106482005 CR4: 00000000003706e0 # [ 58.514776] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 58.524688] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1993, name: cat # [ 58.533144] INFO: lockdep is turned off. # [ 58.537520] irq event stamp: 0 # [ 58.540925] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 58.547926] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 58.557062] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 58.566187] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 58.573186] CPU: 2 PID: 1993 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 58.581837] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 58.588641] Call Trace: # [ 58.591369] dump_stack+0x77/0x9b # [ 58.595067] ___might_sleep.cold+0xa6/0xb6 # [ 58.599631] exit_signals+0x1c/0x2e0 # [ 58.603620] do_exit+0xd5/0xb00 # [ 58.607115] ? ksys_write+0x68/0xf0 # [ 58.611007] rewind_stack_do_exit+0x17/0x20 # [ 58.615675] RIP: 0033:0x7f666097c8f3 # [ 58.619663] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 58.640639] RSP: 002b:00007ffdf143ced8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 58.649095] RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 00007f666097c8f3 # [ 58.657064] RDX: 0000000000000014 RSI: 00007f666086f000 RDI: 0000000000000001 # [ 58.665031] RBP: 00007f666086f000 R08: 00007f666086e010 R09: 0000000000000000 # [ 58.673001] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 58.680970] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # WRITE_RO_AFTER_INIT: saw 'call trace:': ok ok 40 selftests: lkdtm: WRITE_RO_AFTER_INIT.sh # selftests: lkdtm: WRITE_KERN.sh # Killed # [ 58.803016] lkdtm: Performing direct entry WRITE_KERN # [ 58.812716] lkdtm: attempting bad 6881465 byte write at ffffffffa99705a9 # [ 58.820215] BUG: unable to handle page fault for address: ffffffffa99705a9 # [ 58.834104] #PF: supervisor write access in kernel mode # [ 58.839940] #PF: error_code(0x0003) - permissions violation # [ 58.846161] PGD 3a229067 P4D 3a229067 PUD 3a22a063 PMD 394000e1 # [ 58.852875] Oops: 0003 [#16] SMP PTI # [ 58.863075] CPU: 3 PID: 2028 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 58.871729] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 58.884752] RIP: 0010:lkdtm_WRITE_KERN+0x38/0x4e # [ 58.889906] Code: 53 48 c7 c3 a9 05 97 a9 49 89 dc 48 89 da 49 81 ec f0 04 2e a9 4c 89 e6 e8 e5 9a fd ff 48 89 df 4c 89 e1 48 c7 c6 f0 04 2e a9 a4 48 c7 c7 c0 18 39 aa e8 ca 9a fd ff 5b 41 5c e9 b7 fe ff ff # [ 58.910880] RSP: 0018:ffffab24827dfe50 EFLAGS: 00010246 # [ 58.916714] RAX: 000000000000003c RBX: ffffffffa99705a9 RCX: 00000000006900b9 # [ 58.924683] RDX: 0000000000000000 RSI: ffffffffa92e04f0 RDI: ffffffffa99705a9 # [ 58.932653] RBP: ffffffffaa390aca R08: 0000000000000000 R09: 0000000000000000 # [ 58.940613] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 00000000006900b9 # [ 58.948584] R13: ffffab24827dff10 R14: ffffab24827dff10 R15: ffff9b49c368c000 # [ 58.956552] FS: 00007f344d7f0580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 58.965588] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 58.972004] [ 70.183139] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_TO CR2: ffffffffa99705a9 CR3: 0000000105818004 CR4: 00000000003706e[ 70.193839] lkdtm: attempting good copy_to_user of correct size 0 # [ 58.979973] Call Trace: # [ 58.982702] direct_entry.[ 70.206687] lkdtm: attempting bad copy_to_user of too large size cold+0x2c/0x38 # [ 58.987081] full_proxy_write+0x53/0x80 # [ 58.991364] vfs_write+0xe7/0x3a0 # [ 58.995060] ksys_write+0x68/0xf0 # [ 58.998757] do_syscall_64+0x30/0x40 # [ 59.002738] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 59.008376] RIP: 0033:0x7f344d7068f3 # [ 59.012364] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 59.033345] RSP: 002b:00007ffef8ea3d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 59.041799] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f344d7068f3 # [ 59.049770] RDX: 000000000000000b RSI: 00007f344d5f9000 RDI: 0000000000000001 # [ 59.057730] RBP: 00007f344d5f9000 R08: 00007f344d5f8010 R09: 0000000000000000 # [ 59.065699] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 59.073668] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 59.081640] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd[ 70.339260] lkdtm: Performing direct entry USERCOPY_HEAP_SIZE_FROM [ 70.350935] lkdtm: attempting good copy_from_user of correct size _notify # [ 59.108101] CR2: ffffffffa99705a9 # [ 59.118011[ 70.357757] lkdtm: attempting bad copy_from_user of too large size ] ---[ end trace 5f8062a791bfe181 ]--- # [ 59.123165] RIP: 0010:lkdtm_BUG+0x5/0x10 # [ 59.127542] Code: 89 ff e8 8e a3 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 f0 04 94 02 # [ 59.148516] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 # [ 59.154340] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 # [ 59.162323] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 # [ 59.170292] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 # [ 59.178281] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 # [ 59.186268] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 # [ 59.194242] FS: 00007f344d7f0580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 59.203283] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 59.209699] CR2: ffffffffa99705a9 CR3: 0000000105818004 CR4: 00000000003706e0 # [ 59.217669] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 # [ 59.227581] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 2028, name: cat # [ 59.236036] INFO: lockdep is turned off. # [ [ 70.493594] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_TO 59.240412] irq event stamp: 0 # [ 59.243817] hardirqs last e[ 70.502609] lkdtm: attempting good copy_to_user inside whitelist nabled at (0): [<0000000000000000>] 0x0 # [ 59.250816] hardir[ 70.515547] lkdtm: attempting bad copy_to_user outside whitelist qs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 59.259951] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 59.269076] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 59.276075] CPU: 3 PID: 2028 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 59.284724] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 59.291525] Call Trace: # [ 59.294270] dump_stack+0x77/0x9b # [ 59.297979] ___might_sleep.cold+0xa6/0xb6 # [ 59.308760] exit_signals+0x1c/0x2e0 # [ 59.312749] do_exit+0xd5/0xb00 # [ 59.316244] ? ksys_write+0x68/0xf0 # [ 59.320137] ? lkdtm_SLAB_FREE_CROSS.cold+0x32/0x32 # [ 59.325582] rewind_stack_do_exit+0x17/0x20 # [ 59.330273] RIP: 0033:0x7f344d7068f3 # [ 59.334276] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 59.355277] RSP: 002b:00007ffef8ea3d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 59.363732] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f344d7068f3 # [ 59.371700] RDX: 000000000000000b RSI: 00007f344d5f9000 RDI: 0000000000000001 # [ [ 70.651126] lkdtm: Performing direct entry USERCOPY_HEAP_WHITELIST_FROM 59.379668] RBP: 00007f344d5f9000 R08: 00007f344d5f8010 R09: 0000[ 70.660222] lkdtm: attempting good copy_from_user inside whitelist [ 70.673362] lkdtm: attempting bad copy_from_user outside whitelist 000000000000 # [ 59.387638] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 59.395608] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # WRITE_KERN: saw 'call trace:': ok ok 41 selftests: lkdtm: WRITE_KERN.sh # selftests: lkdtm: REFCOUNT_INC_OVERFLOW.sh # [ 59.527328] lkdtm: Performing direct entry REFCOUNT_INC_OVERFLOW # [ 59.534632] lkdtm: attempting good refcount_inc() without overflow # [ 59.541539] lkdtm: attempting bad refcount_inc() overflow # [ 59.547603] ------------[ cut here ]------------ # [ 59.552789] refcount_t: saturated; leaking memory. # [ 59.558166] WARNING: CPU: 3 PID: 2063 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 59.567594] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 59.600237] CPU: 3 PID: 2063 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 59.608915] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 59.615724] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 59.621561] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6[ 70.798544] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_TO [ 70.811587] lkdtm: good_stack: ffffab2483487e20-ffffab2483487e40 [ 70.818311] lkdtm: bad_stack : ffffab2483487da8-ffffab2483487dc8 [ 70.825043] lkdtm: attempting good copy_to_user of local stack [ 70.831578] lkdtm: attempting bad copy_to_user of distant stack 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 # [ 59.642552] RSP: 0018:ffffab24828a7e48 EFLAGS: 00010286 # [ 59.648391] RAX: 0000000000000000 RBX: 000000000000002b RCX: 0000000000000000 # [ 59.656365] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 # [ 59.664342] RBP: ffffffffaa390ad5 R08: 0000000000000000 R09: 0000000000000000 # [ 59.678529] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 59.692720] R13: ffffab24828a7f10 R14: ffffab24828a7f10 R15: ffff9b49c65c4000 # [ 59.706909] FS: 00007fb642b3e580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 59.722166] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 59.728610] CR2: 00007fb642947000 CR3: 00000001037e4002 CR4: 00000000003706e0 # [ 59.736584] Call Trace: # [ 59.739329] lkdtm_REFCOUNT_INC_OVERFLOW+0x70/0x98 # [ 59.744714] direct_entry.cold+0x2c/0x38 # [ 59.749097] full_proxy_write+0x53/0x80 # [ 59.753408] vfs_write+0xe7/0x3a0 # [ 59.757157] ksys_write+0x68/0xf0 # [ 59.760874] do_syscall_64+0x30/0x40 # [ 59.771071] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 59.776715] RIP: 0033:0x7fb642a548f3 # [ 59.780707] Code: 8b 15 a1 25 0e 00 f7 d8 64[ 70.964417] lkdtm: Performing direct entry USERCOPY_STACK_FRAME_FROM 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 [ 70.975994] lkdtm: good_stack: ffffab2483507e20-ffffab2483507e40 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3[ 70.988927] lkdtm: bad_stack : ffffab2483507da8-ffffab2483507dc8 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 59.801696] RSP: 0[ 71.001875] lkdtm: attempting good copy_from_user of local stack 02b:00007fff994a9e88 EFLAGS: 00000246 ORIG_RAX: 0000000000000001[ 71.014815] lkdtm: attempting bad copy_from_user of distant stack # [ 59.810158] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007fb642a548f3 # [ 59.818132] RDX: 0000000000000016 RSI: 00007fb642947000 RDI: 0000000000000001 # [ 59.826105] RBP: 00007fb642947000 R08: 00007fb642946010 R09: 0000000000000000 # [ 59.834079] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 59.842054] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 59.850031] irq event stamp: 0 # [ 59.853469] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 59.860472] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 59.869612] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 59.878750] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 59.885752] ---[ end trace 5f8062a791bfe182 ]--- # [ 59.890908] 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 # [ 59.999692] lkdtm: Performing direct entry REFCOUNT_ADD_OVERFLOW # [ 60.008379] lkdtm: attempting good refcount_add() without overflow # [ 60.015351] lkd[ 71.145122] lkdtm: Performing direct entry USERCOPY_STACK_BEYOND [ 71.152695] lkdtm: good_stack: ffffab248356fe20-ffffab248356fe40 [ 71.159412] lkdtm: bad_stack : ffffab248356fff8-ffffab2483570018 [ 71.166131] lkdtm: attempting good copy_to_user of local stack [ 71.172660] lkdtm: attempting bad copy_to_user of distant stack tm: attempting bad refcount_add() overflow # [ 60.021396] ---[ 71.179282] lkdtm: copy_to_user failed, but lacked Oops ---------[ cut here ]------------ # [ 60.032759] refcount_t: saturated; leaking memory. # [ 60.044354] WARNING: CPU: 2 PID: 2095 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 60.053786] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 60.086448] CPU: 2 PID: 2095 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 60.095112] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 60.108132] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 60.113969] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 # [ 60.134959] RSP: 0018:ffffab24828f7e48 EFLAGS: 00010286 # [ 60.140796] RAX: 0000000000000000 RBX: 000000000000002c RCX: 0000000000000000 # [ 60.148771] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 60.156746] RBP: ffffffffaa390aeb R08: 0000000000000000 R09: 0000000000000000 # [ 60.164719] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 60.172693] R13: ffffab24828f7f10[ 71.317040] lkdtm: Performing direct entry USERCOPY_KERNEL R14: ffffab24828f7f10 R15: ffff9b49c4c64000 # [ 60.180665] F[ 71.328033] lkdtm: attempting good copy_to_user from kernel rodata: ffffffffa9fa0b70 S: 00007f8cf1532580(0000) GS:ffff9b4a3ad00000(0000) knlGS:00000[ 71.342912] lkdtm: attempting bad copy_to_user from kernel text: ffffffffa8ce33b0 [ 71.357466] lkdtm: FAIL: survived bad copy_to_user() 00000000000 # [ 60.189709] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 60.196130] CR2: 00007f8cf133b000 CR3: 00000001027de006 CR4: 00000000003706e0 # [ 60.204103] Call Trace: # [ 60.206835] lkdtm_REFCOUNT_ADD_OVERFLOW+0x7f/0xa7 # [ 60.212188] direct_entry.cold+0x2c/0x38 # [ 60.216594] full_proxy_write+0x53/0x80 # [ 60.220879] vfs_write+0xe7/0x3a0 # [ 60.224578] ksys_write+0x68/0xf0 # [ 60.228293] do_syscall_64+0x30/0x40 # [ 60.232334] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 60.237978] RIP: 0033:0x7f8cf14488f3 # [ 60.241970] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 60.262959] RSP: 002b:00007ffe107aabd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 60.271417] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007f8cf14488f3 # [ 60.279391] RDX: 0000000000000016 RSI: 00007f8cf133b000 RDI: 0000000000000001 # [ 60.287366] RBP: 00007f8cf133b000 R08: 00007f8cf133a010 R09: 0000000000000000 # [ 60.295340] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 71.475469] lkdtm: Performing direct entry STACKLEAK_ERASING [ 71.487521] lkdtm: checking unused part of the thread stack (15928 bytes)... [ 71.495407] lkdtm: FAIL: the erased part is not found (checked 15928 bytes) [ 71.503198] lkdtm: FAIL: the thread stack is NOT properly erased [ 71.509918] CPU: 3 PID: 2964 Comm: cat Tainted: G D W 5.10.155-cip20 #1 [ 71.518600] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 71.525405] Call Trace: [ 71.528136] dump_stack+0x77/0x9b [ 71.531834] lkdtm_STACKLEAK_ERASING+0x116/0x144 [ 71.536980] direct_entry.cold+0x2c/0x38 [ 71.541359] full_proxy_write+0x53/0x80 [ 71.545641] vfs_write+0xe7/0x3a0 [ 71.549340] ksys_write+0x68/0xf0 [ 71.553038] do_syscall_64+0x30/0x40 [ 71.557019] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 71.562661] RIP: 0033:0x7f51f6b9a8f3 [ 71.566649] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 [ 71.587635] RSP: 002b:00007ffd60307ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 71.596092] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f51f6b9a8f3 [ 71.604064] RDX: 0000000000000012 RSI: 00007f51f6a8d000 RDI: 0000000000000001 [ 71.612034] RBP: 00007f51f6a8d000 R08: 00007f51f6a8c010 R09: 0000000000000000 [ 71.620005] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 [ 71.627976] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 [ 60.303327] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 60.311317] irq event stamp: 0 # [ 60.314758] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 60.327978] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 60.343333] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 60.352473] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 60.359475] ---[ end trace 5f8062a791bfe183 ]--- # [ 60.364633] 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 # [ 60.476722] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_OVERFLOW # [ 60.489208] lkdtm: attempting bad refcount_inc_not_zero() overflow # [ 60.496145] ------------[ cut here ]------------ # [ 60.501312] refcount_t: saturated; leaking memory. # [ 60.506687] WARNING: CPU: 2 PID: 2127 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 60.522302] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 60.548750] CPU: 2 PID: 2127 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 60.557426] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 60.56423[ 71.780587] lkdtm: Performing direct entry CFI_FORWARD_PROTO 4] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 60.570070][ 71.791495] lkdtm: Calling matched prototype ... Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 [ 71.802872] lkdtm: Calling mismatched prototype ... 01 00 75 a8 48 c7 c7 a0 c3 32 aa c6 05 8c 3e 94 01 01 e8 34 99 9[ 71.814562] lkdtm: Fail: survived mismatched prototype function call! 8 00 <0f> 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 # [ 60.591057] RSP: 0018:ffffab248296fe38 EFLAGS: 00010282 # [ 60.596895] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 # [ 60.611087] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 60.625278] RBP: ffffffffaa390728 R08: 0000000000000000 R09: 0000000000000000 # [ 60.639468] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 60.647441] R13: ffffab248296ff10 R14: ffffab248296ff10 R15: ffff9b49c5805000 # [ 60.655406] FS: 00007f9619224580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 60.664447] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 60.670856] CR2: 00007f961902d000 CR3: 000000010659a002 CR4: 00000000003706e0 # [ 60.678820] Call Trace: # [ 60.681551] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 60.687681] lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW+0x3e/0x76 # [ 60.693907] direct_entry.cold+0x2c/0x38 # [ 60.698291] full_proxy_write+0x53/0x80 # [ 60.702583] vfs_write+0xe7/0x3a0 # [ 60.706322] ksys_write+0x68/0xf0 # [ 60.710056] do_syscall_64+0x30/0x40 # [ 60.714048] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 60.719691] RIP: 0033:0x7f961913a8f3 # [ 60.723683] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 60.744673] RSP: 002b:00007ffc2c545bf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 60.753132] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f961913a8f3 # [ 60.761106] RDX: 000000000000001f RSI: 00007f961902d000 RDI: 0000000000000001 # [ 60.769079] RBP: 00007f961902d000 R08: 00007f961902c010 R09: 0000000000000000 # [ 60.777052] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 60.785024] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 60.793002] irq event stamp: 0 # [ 60.796441] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 60.803443] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 60.812582] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 60.821720] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 60.828724] ---[ end trace 5f8062a791bfe184 ]--- # [ 60.833880] 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 # [ 60.944004] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_OVERFLOW # [ 60.952296] lkdtm: attempting bad refcount_add_not_zero() overflow # [ 60.959212] ------------[ cut here ]------------ # [ 60.964378] refcount_t: saturated; leaking memory. # [ 60.975956] WARNING: CPU: 3 PID: 2159 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 60.991595] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 61.018069] CPU: 3 PID: 2159 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 61.032954] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 61.039781] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 61.051823] Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 aa c6 05 8c 3e 94 01 01 e8 34 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 # [ 61.072844] RSP: 0018:ffffab2482a07e38 EFLAGS: 00010282 # [ 61.078684] RAX: 0000000000000000 RBX: 000000007fffffff RCX: 0000000000000000 # [ 61.086658] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 # [ 61.094636] RBP: ffffffffaa390748 R08: 0000000000000000 R09: 0000000000000000 # [ 61.102611] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 61.110587] R13: ffffab2482a07f10 R14: ffffab2482a07f10 R15: ffff9b49c30ed000 # [ 61.118561] FS: 00007ff0278ae580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 61.127605] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 61.134025] CR2: 00007ff0276b7000 CR3: 0000000105b7c001 CR4: 00000000003706e0 # [ 61.142000] Call Trace: # [ 61.144733] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 61.150894] lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW+0x3e/0x76 # [ 61.163329] direct_entry.cold+0x2c/0x38 # [ 61.167715] full_proxy_write+0x53/0x80 # [ 61.172031] vfs_write+0xe7/0x3a0 # [ 61.175765] ksys_write+0x68/0xf0 # [ 61.179500] do_syscall_64+0x30/0x40 # [ 61.183527] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 61.189202] RIP: 0033:0x7ff0277c48f3 # [ 61.193197] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 61.214217] RSP: 002b:00007fff0deb8288 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 61.222678] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007ff0277c48f3 # [ 61.230652] RDX: 000000000000001f RSI: 00007ff0276b7000 RDI: 0000000000000001 # [ 61.238627] RBP: 00007ff0276b7000 R08: 00007ff0276b6010 R09: 0000000000000000 # [ 61.246600] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 61.254575] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 61.268770] irq event stamp: 0 # [ 61.278395] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 61.285405] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 61.294547] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 61.303716] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 61.310721] ---[ end trace 5f8062a791bfe185 ]--- # [ 61.315878] 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 # [ 61.424145] lkdtm: Performing direct entry REFCOUNT_DEC_ZERO # [ 61.432978] lkdtm: attempting good refcount_dec() # [ 61.444472] lkdtm: attempting bad refcount_dec() to zero # [ 61.456621] ------------[ cut here ]------------ # [ 61.468007] refcount_t: decrement hit 0; leaking memory. # [ 61.480169] WARNING: CPU: 0 PID: 2191 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 61.495793] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 61.528448] CPU: 0 PID: 2191 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 61.543360] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 61.556405] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 61.568481] Code: 50 c4 32 aa c6 05 3d 3e 94 01 01 e8 ea 98 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 20 c4 32 aa c6 05 24 3e 94 01 01 e8 d0 98 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 61.595660] RSP: 0018:ffffab2482a67e48 EFLAGS: 00010286 # [ 61.607755] RAX: 0000000000000000 RBX: 000000000000002f RCX: 0000000000000000 # [ 61.621946] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 # [ 61.636119] RBP: ffffffffaa390b01 R08: 0000000000000000 R09: 0000000000000000 # [ 61.650372] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 61.664517] R13: ffffab2482a67f10 R14: ffffab2482a67f10 R15: ffff9b49c652a000 # [ 61.678668] FS: 00007f5287ba8580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 # [ 61.693931] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 61.706573] CR2: 00007f52879b1000 CR3: 0000000103678006 CR4: 00000000003706f0 # [ 61.720779] Call Trace: # [ 61.729720] lkdtm_REFCOUNT_DEC_ZERO+0x4d/0xbd # [ 61.740951] direct_entry.cold+0x2c/0x38 # [ 61.751524] full_proxy_write+0x53/0x80 # [ 61.762002] vfs_write+0xe7/0x3a0 # [ 61.771907] ksys_write+0x68/0xf0 # [ 61.781818] do_syscall_64+0x30/0x40 # [ 61.792022] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 61.803880] RIP: 0033:0x7f5287abe8f3 # [ 61.814101] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 61.841314] RSP: 002b:00007ffcd6dd4148 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 61.856011] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f5287abe8f3 # [ 61.870218] RDX: 0000000000000012 RSI: 00007f52879b1000 RDI: 0000000000000001 # [ 61.884414] RBP: 00007f52879b1000 R08: 00007f52879b0010 R09: 0000000000000000 # [ 61.898622] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 61.912818] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 61.927035] irq event stamp: 0 # [ 61.936656] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 61.949886] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 61.965263] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 61.980621] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 61.993861] ---[ end trace 5f8062a791bfe186 ]--- # [ 62.005245] 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 # [ 62.124542] lkdtm: Performing direct entry REFCOUNT_DEC_NEGATIVE # [ 62.134724] lkdtm: attempting bad refcount_dec() below zero # [ 62.147185] ------------[ cut here ]------------ # [ 62.158552] refcount_t: decrement hit 0; leaking memory. # [ 62.170770] WARNING: CPU: 0 PID: 2226 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 62.186363] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 62.219051] CPU: 0 PID: 2226 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 62.233874] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 62.246962] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 62.258988] Code: 50 c4 32 aa c6 05 3d 3e 94 01 01 e8 ea 98 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 20 c4 32 aa c6 05 24 3e 94 01 01 e8 d0 98 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 62.286183] RSP: 0018:ffffab2482affe48 EFLAGS: 00010286 # [ 62.298211] RAX: 0000000000000000 RBX: 0000000000000030 RCX: 0000000000000000 # [ 62.312395] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 # [ 62.326596] RBP: ffffffffaa390b13 R08: 0000000000000000 R09: 0000000000000000 # [ 62.340791] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000016 # [ 62.354993] R13: ffffab2482afff10 R14: ffffab2482afff10 R15: ffff9b49c26be000 # [ 62.369178] FS: 00007ff809a77580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 # [ 62.384460] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 62.397089] CR2: 00007ff809880000 CR3: 0000000104cb0005 CR4: 00000000003706f0 # [ 62.411296] Call Trace: # [ 62.420256] lkdtm_REFCOUNT_DEC_NEGATIVE+0x37/0x61 # [ 62.431899] direct_entry.cold+0x2c/0x38 # [ 62.442437] full_proxy_write+0x53/0x80 # [ 62.452954] vfs_write+0xe7/0x3a0 # [ 62.462929] ksys_write+0x68/0xf0 # [ 62.472796] do_syscall_64+0x30/0x40 # [ 62.482997] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 62.494848] RIP: 0033:0x7ff80998d8f3 # [ 62.505078] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 62.532265] RSP: 002b:00007ffd47729668 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 62.546891] RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00007ff80998d8f3 # [ 62.561080] RDX: 0000000000000016 RSI: 00007ff809880000 RDI: 0000000000000001 # [ 62.575308] RBP: 00007ff809880000 R08: 00007ff80987f010 R09: 0000000000000000 # [ 62.589509] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 62.603705] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 62.617921] irq event stamp: 0 # [ 62.627507] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 62.640781] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 62.656149] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 62.671509] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 62.684746] ---[ end trace 5f8062a791bfe187 ]--- # [ 62.696123] 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 # [ 62.820478] lkdtm: Performing direct entry REFCOUNT_DEC_AND_TEST_NEGATIVE # [ 62.833073] lkdtm: attempting bad refcount_dec_and_test() below zero # [ 62.840178] ------------[ cut here ]------------ # [ 62.845344] refcount_t: underflow; use-after-free. # [ 62.850714] WARNING: CPU: 3 PID: 2261 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 62.866351] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 62.898993] CPU: 3 PID: 2261 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 62.907668] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 62.914479] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 62.920328] Code: 01 01 e8 34 99 98 00 0f 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 aa c6 05 66 3e 94 01 01 e8 11 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 51 3e 94 01 00 0f 85 5e ff ff ff 48 c7 # [ 62.941328] RSP: 0018:ffffab2482b57e40 EFLAGS: 00010286 # [ 62.947164] RAX: 0000000000000000 RBX: 0000000000000031 RCX: 0000000000000000 # [ 62.955138] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 # [ 62.963112] RBP: ffffffffaa390768 R08: 0000000000000000 R09: 0000000000000000 # [ 62.971109] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 62.979082] R13: ffffab2482b57f10 R14: ffffab2482b57f10 R15: ffff9b49c3789000 # [ 62.987058] FS: 00007f1172693580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 62.996099] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 63.002518] CR2: 00007f117249c000 CR3: 0000000106520004 CR4: 00000000003706e0 # [ 63.010491] Call Trace: # [ 63.013223] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 63.019373] lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE+0x3e/0x78 # [ 63.025623] direct_entry.cold+0x2c/0x38 # [ 63.030006] full_proxy_write+0x53/0x80 # [ 63.034292] vfs_write+0xe7/0x3a0 # [ 63.038000] ksys_write+0x68/0xf0 # [ 63.041701] do_syscall_64+0x30/0x40 # [ 63.045718] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 63.051362] RIP: 0033:0x7f11725a98f3 # [ 63.055354] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 63.076339] RSP: 002b:00007ffe68c82598 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 63.084797] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007f11725a98f3 # [ 63.092770] RDX: 000000000000001f RSI: 00007f117249c000 RDI: 0000000000000001 # [ 63.100741] RBP: 00007f117249c000 R08: 00007f117249b010 R09: 0000000000000000 # [ 63.108715] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 63.116687] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 63.124664] irq event stamp: 0 # [ 63.128102] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 63.135106] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 63.150461] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 63.165814] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 63.172816] ---[ end trace 5f8062a791bfe188 ]--- # [ 63.177973] 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 # [ 63.299031] lkdtm: Performing direct entry REFCOUNT_SUB_AND_TEST_NEGATIVE # [ 63.308790] lkdtm: attempting bad refcount_sub_and_test() below zero # [ 63.322080] ------------[ cut here ]------------ # [ 63.333477] refcount_t: underflow; use-after-free. # [ 63.345086] WARNING: CPU: 0 PID: 2296 at lib/refcount.c:28 refcount_warn_saturate+0xba/0x110 # [ 63.360718] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 63.393362] CPU: 0 PID: 2296 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 63.408221] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 63.421286] RIP: 0010:refcount_warn_saturate+0xba/0x110 # [ 63.433327] Code: 01 01 e8 34 99 98 00 0f 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 aa c6 05 66 3e 94 01 01 e8 11 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 51 3e 94 01 00 0f 85 5e ff ff ff 48 c7 # [ 63.460562] RSP: 0018:ffffab2482c0fe40 EFLAGS: 00010286 # [ 63.472653] RAX: 0000000000000000 RBX: 0000000000000032 RCX: 0000000000000000 # [ 63.486817] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 # [ 63.501031] RBP: ffffffffaa390788 R08: 0000000000000000 R09: 0000000000000000 # [ 63.515208] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 000000000000001f # [ 63.529430] R13: ffffab2482c0ff10 R14: ffffab2482c0ff10 R15: ffff9b49c6483000 # [ 63.543660] FS: 00007fec8b82c580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 # [ 63.558893] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 63.571558] CR2: 00007fec8b635000 CR3: 0000000105b76003 CR4: 00000000003706f0 # [ 63.585784] Call Trace: # [ 63.594769] __refcount_sub_and_test.constprop.0+0x3c/0x50 # [ 63.607141] lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE+0x3e/0x7b # [ 63.619602] direct_entry.cold+0x2c/0x38 # [ 63.630158] full_proxy_write+0x53/0x80 # [ 63.640690] vfs_write+0xe7/0x3a0 # [ 63.650659] ksys_write+0x68/0xf0 # [ 63.660548] do_syscall_64+0x30/0x40 # [ 63.670787] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 63.682663] RIP: 0033:0x7fec8b7428f3 # [ 63.692868] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 63.720084] RSP: 002b:00007ffc4b5f1ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 63.734779] RAX: ffffffffffffffda RBX: 000000000000001f RCX: 00007fec8b7428f3 # [ 63.748974] RDX: 000000000000001f RSI: 00007fec8b635000 RDI: 0000000000000001 # [ 63.763150] RBP: 00007fec8b635000 R08: 00007fec8b634010 R09: 0000000000000000 # [ 63.777343] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 63.791570] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 63.805789] irq event stamp: 0 # [ 63.815415] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 63.828623] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 63.843978] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 63.859371] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 63.872579] ---[ end trace 5f8062a791bfe189 ]--- # [ 63.883992] 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 # [ 64.005523] lkdtm: Performing direct entry REFCOUNT_INC_ZERO # [ 64.013474] lkdtm: attempting safe refcount_inc_not_zero() from zero # [ 64.020591] lkdtm: Good: zero detected # [ 64.024795] lkdtm: Correctly stayed at zero # [ 64.035679] lkdtm: attempting bad refcount_inc() from zero # [ 64.048017] ------------[ cut here ]------------ # [ 64.053175] refcount_t: addition on 0; use-after-free. # [ 64.065156] WARNING: CPU: 2 PID: 2328 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 # [ 64.074592] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 64.107234] CPU: 2 PID: 2328 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 64.115889] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 64.122699] RIP: 0010:refcount_warn_saturate+0x74/0x110 # [ 64.128536] Code: 01 01 e8 7a 99 98 00 0f 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 aa c6 05 ad 3e 94 01 01 e8 57 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 # [ 64.149524] RSP: 0018:ffffab2482c87e48 EFLAGS: 00010286 # [ 64.155362] RAX: 0000000000000000 RBX: 0000000000000033 RCX: 0000000000000000 # [ 64.163336] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 64.171311] RBP: ffffffffaa390b29 R08: 0000000000000000 R09: 0000000000000000 # [ 64.179286] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 64.187276] R13: ffffab2482c87f10 R14: ffffab2482c87f10 R15: ffff9b49c3e54000 # [ 64.195250] FS: 00007f1b73e38580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 64.210503] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 64.216922] CR2: 00007f1b73c41000 CR3: 00000001036d0006 CR4: 00000000003706e0 # [ 64.224894] Call Trace: # [ 64.227627] lkdtm_REFCOUNT_INC_ZERO+0x99/0xc1 # [ 64.232615] direct_entry.cold+0x2c/0x38 # [ 64.237020] full_proxy_write+0x53/0x80 # [ 64.241306] vfs_write+0xe7/0x3a0 # [ 64.245033] ksys_write+0x68/0xf0 # [ 64.248736] do_syscall_64+0x30/0x40 # [ 64.252750] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 64.258402] RIP: 0033:0x7f1b73d4e8f3 # [ 64.268604] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 64.289593] RSP: 002b:00007ffcc41b3d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 64.298053] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007f1b73d4e8f3 # [ 64.306027] RDX: 0000000000000012 RSI: 00007f1b73c41000 RDI: 0000000000000001 # [ 64.314000] RBP: 00007f1b73c41000 R08: 00007f1b73c40010 R09: 0000000000000000 # [ 64.321975] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 64.336164] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 64.350358] irq event stamp: 0 # [ 64.353793] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 64.367009] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 64.376171] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 64.385330] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 64.392366] ---[ end trace 5f8062a791bfe18a ]--- # [ 64.397547] 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 # [ 64.514998] lkdtm: Performing direct entry REFCOUNT_ADD_ZERO # [ 64.526833] lkdtm: attempting safe refcount_add_not_zero() from zero # [ 64.540146] lkdtm: Good: zero detected # [ 64.550551] lkdtm: Correctly stayed at zero # [ 64.561468] lkdtm: attempting bad refcount_add() from zero # [ 64.573808] ------------[ cut here ]------------ # [ 64.585186] refcount_t: addition on 0; use-after-free. # [ 64.597171] WARNING: CPU: 0 PID: 2360 at lib/refcount.c:25 refcount_warn_saturate+0x74/0x110 # [ 64.612812] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 64.645477] CPU: 0 PID: 2360 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 64.660376] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 64.673394] RIP: 0010:refcount_warn_saturate+0x74/0x110 # [ 64.685547] Code: 01 01 e8 7a 99 98 00 0f 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 aa c6 05 ad 3e 94 01 01 e8 57 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 # [ 64.712755] RSP: 0018:ffffab2482d0fe48 EFLAGS: 00010286 # [ 64.724830] RAX: 0000000000000000 RBX: 0000000000000034 RCX: 0000000000000000 # [ 64.739036] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 # [ 64.753228] RBP: ffffffffaa390b3b R08: 0000000000000000 R09: 0000000000000000 # [ 64.767478] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000012 # [ 64.781703] R13: ffffab2482d0ff10 R14: ffffab2482d0ff10 R15: ffff9b49c304a000 # [ 64.795922] FS: 00007fdfdada1580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 # [ 64.811243] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 64.823809] CR2: 00007fdfdabaa000 CR3: 000000010285e004 CR4: 00000000003706f0 # [ 64.838017] Call Trace: # [ 64.846969] lkdtm_REFCOUNT_ADD_ZERO+0x99/0xc1 # [ 64.858177] direct_entry.cold+0x2c/0x38 # [ 64.868769] full_proxy_write+0x53/0x80 # [ 64.879237] vfs_write+0xe7/0x3a0 # [ 64.889139] ksys_write+0x68/0xf0 # [ 64.899054] do_syscall_64+0x30/0x40 # [ 64.909316] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 64.921173] RIP: 0033:0x7fdfdacb78f3 # [ 64.931393] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 64.958628] RSP: 002b:00007ffcb6fef428 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 64.973293] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00007fdfdacb78f3 # [ 64.987507] RDX: 0000000000000012 RSI: 00007fdfdabaa000 RDI: 0000000000000001 # [ 65.001685] RBP: 00007fdfdabaa000 R08: 00007fdfdaba9010 R09: 0000000000000000 # [ 65.015912] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 65.030068] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 65.044298] irq event stamp: 0 # [ 65.053900] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 65.067121] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 65.082514] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 65.097834] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 65.111090] ---[ end trace 5f8062a791bfe18b ]--- # [ 65.122450] 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 # [ 65.346323] lkdtm: Performing direct entry REFCOUNT_INC_SATURATED # [ 65.359095] lkdtm: attempting bad refcount_inc() from saturated # [ 65.365743] ------------[ cut here ]------------ # [ 65.370931] refcount_t: saturated; leaking memory. # [ 65.376308] WARNING: CPU: 3 PID: 2395 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 65.385772] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 65.418458] CPU: 3 PID: 2395 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 65.427137] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 65.433945] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 65.439782] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 # [ 65.460772] RSP: 0018:ffffab2482da7e48 EFLAGS: 00010286 # [ 65.466610] RAX: 0000000000000000 RBX: 0000000000000035 RCX: 0000000000000000 # [ 65.474584] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 # [ 65.482558] RBP: ffffffffaa390b4d R08: 0000000000000000 R09: 0000000000000000 # [ 65.490532] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 65.498506] R13: ffffab2482da7f10 R14: ffffab2482da7f10 R15: ffff9b49c32fe000 # [ 65.506480] FS: 00007f776f7f3580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 65.515523] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 65.521944] CR2: 00007f776f5fc000 CR3: 0000000106598001 CR4: 00000000003706e0 # [ 65.529917] Call Trace: # [ 65.532649] lkdtm_REFCOUNT_INC_SATURATED+0x3c/0x64 # [ 65.538124] direct_entry.cold+0x2c/0x38 # [ 65.542529] full_proxy_write+0x53/0x80 # [ 65.546813] vfs_write+0xe7/0x3a0 # [ 65.550539] ksys_write+0x68/0xf0 # [ 65.554244] do_syscall_64+0x30/0x40 # [ 65.558278] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 65.570140] RIP: 0033:0x7f776f7098f3 # [ 65.574132] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 65.595123] RSP: 002b:00007fff3c5d42f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 65.603584] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007f776f7098f3 # [ 65.611560] RDX: 0000000000000017 RSI: 00007f776f5fc000 RDI: 0000000000000001 # [ 65.619533] RBP: 00007f776f5fc000 R08: 00007f776f5fb010 R09: 0000000000000000 # [ 65.627507] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 65.641698] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 65.655912] irq event stamp: 0 # [ 65.659333] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 65.672547] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 65.681721] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 65.690895] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 65.697928] ---[ end trace 5f8062a791bfe18c ]--- # [ 65.703088] 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 # [ 65.827764] lkdtm: Performing direct entry REFCOUNT_DEC_SATURATED # [ 65.840084] lkdtm: attempting bad refcount_dec() from saturated # [ 65.846706] ------------[ cut here ]------------ # [ 65.851880] refcount_t: decrement hit 0; leaking memory. # [ 65.857837] WARNING: CPU: 3 PID: 2430 at lib/refcount.c:31 refcount_warn_saturate+0xfb/0x110 # [ 65.867274] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 65.899932] CPU: 3 PID: 2430 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 65.908586] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 65.915398] RIP: 0010:refcount_warn_saturate+0xfb/0x110 # [ 65.927451] Code: 50 c4 32 aa c6 05 3d 3e 94 01 01 e8 ea 98 98 00 0f 0b c3 cc cc cc cc 48 c7 c7 20 c4 32 aa c6 05 24 3e 94 01 01 e8 d0 98 98 00 <0f> 0b c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 8b # [ 65.954659] RSP: 0018:ffffab2482e37e48 EFLAGS: 00010286 # [ 65.960518] RAX: 0000000000000000 RBX: 0000000000000036 RCX: 0000000000000000 # [ 65.968515] RDX: ffff9b4a3adac660 RSI: ffff9b4a3ad9bf70 RDI: ffff9b4a3ad9bf70 # [ 65.976501] RBP: ffffffffaa390b64 R08: 0000000000000000 R09: 0000000000000000 # [ 65.990681] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 65.998655] R13: ffffab2482e37f10 R14: ffffab2482e37f10 R15: ffff9b49c36a0000 # [ 66.006628] FS: 00007fafe48bb580(0000) GS:ffff9b4a3ad80000(0000) knlGS:0000000000000000 # [ 66.015670] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 66.022089] CR2: 00007fafe46c4000 CR3: 0000000104f88004 CR4: 00000000003706e0 # [ 66.030062] Call Trace: # [ 66.032795] lkdtm_REFCOUNT_DEC_SATURATED+0x37/0x5f # [ 66.038281] direct_entry.cold+0x2c/0x38 # [ 66.048878] full_proxy_write+0x53/0x80 # [ 66.053187] vfs_write+0xe7/0x3a0 # [ 66.056888] ksys_write+0x68/0xf0 # [ 66.060589] do_syscall_64+0x30/0x40 # [ 66.064581] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 66.070225] RIP: 0033:0x7fafe47d18f3 # [ 66.074216] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 66.095204] RSP: 002b:00007ffcbedb65f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 66.103663] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007fafe47d18f3 # [ 66.111627] RDX: 0000000000000017 RSI: 00007fafe46c4000 RDI: 0000000000000001 # [ 66.119602] RBP: 00007fafe46c4000 R08: 00007fafe46c3010 R09: 0000000000000000 # [ 66.127575] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 66.135549] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 66.143527] irq event stamp: 0 # [ 66.146966] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 66.153969] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 66.163109] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 66.172264] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 66.179267] ---[ end trace 5f8062a791bfe18d ]--- # [ 66.190636] 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 # [ 66.737224] lkdtm: Performing direct entry REFCOUNT_ADD_SATURATED # [ 66.749475] lkdtm: attempting bad refcount_dec() from saturated # [ 66.756101] ------------[ cut here ]------------ # [ 66.761265] refcount_t: saturated; leaking memory. # [ 66.766642] WARNING: CPU: 2 PID: 2465 at lib/refcount.c:22 refcount_warn_saturate+0x51/0x110 # [ 66.776082] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 66.808723] CPU: 2 PID: 2465 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 66.817400] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 66.824209] RIP: 0010:refcount_warn_saturate+0x51/0x110 # [ 66.830046] Code: 84 bc 00 00 00 c3 cc cc cc cc 85 f6 74 46 80 3d e1 3e 94 01 00 75 ee 48 c7 c7 a0 c3 32 aa c6 05 d1 3e 94 01 01 e8 7a 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d bd 3e 94 01 00 75 cb 48 c7 c7 c8 c3 32 # [ 66.851036] RSP: 0018:ffffab2482ec7e48 EFLAGS: 00010286 # [ 66.856874] RAX: 0000000000000000 RBX: 0000000000000037 RCX: 0000000000000000 # [ 66.864846] RDX: ffff9b4a3ad2c660 RSI: ffff9b4a3ad1bf70 RDI: ffff9b4a3ad1bf70 # [ 66.872820] RBP: ffffffffaa390b7b R08: 0000000000000000 R09: 0000000000000000 # [ 66.880793] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000017 # [ 66.888765] R13: ffffab2482ec7f10 R14: ffffab2482ec7f10 R15: ffff9b49c4f84000 # [ 66.896738] FS: 00007fa6c1a12580(0000) GS:ffff9b4a3ad00000(0000) knlGS:0000000000000000 # [ 66.905779] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 66.912199] CR2: 00007fa6c181b000 CR3: 000000010652e001 CR4: 00000000003706e0 # [ 66.920171] Call Trace: # [ 66.922903] lkdtm_REFCOUNT_ADD_SATURATED+0x3c/0x64 # [ 66.928380] direct_entry.cold+0x2c/0x38 # [ 66.932791] full_proxy_write+0x53/0x80 # [ 66.937076] vfs_write+0xe7/0x3a0 # [ 66.940808] ksys_write+0x68/0xf0 # [ 66.944509] do_syscall_64+0x30/0x40 # [ 66.948501] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 66.954143] RIP: 0033:0x7fa6c19288f3 # [ 66.958135] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 66.979122] RSP: 002b:00007ffcba1e3a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 66.987583] RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 00007fa6c19288f3 # [ 66.995557] RDX: 0000000000000017 RSI: 00007fa6c181b000 RDI: 0000000000000001 # [ 67.003533] RBP: 00007fa6c181b000 R08: 00007fa6c181a010 R09: 0000000000000000 # [ 67.011505] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 67.019480] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 67.033674] irq event stamp: 0 # [ 67.043293] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 67.056517] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 67.065688] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 67.074832] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 67.081866] ---[ end trace 5f8062a791bfe18e ]--- # [ 67.087025] 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 # [ 67.209846] lkdtm: Performing direct entry REFCOUNT_INC_NOT_ZERO_SATURATED # [ 67.218686] lkdtm: attempting bad refcount_inc_not_zero() from saturated # [ 67.232394] ------------[ cut here ]------------ # [ 67.243784] refcount_t: saturated; leaking memory. # [ 67.255386] WARNING: CPU: 0 PID: 2497 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 67.271057] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 67.303692] CPU: 0 PID: 2497 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 67.318570] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 67.331651] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 67.343723] Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 75 a8 48 c7 c7 a0 c3 32 aa c6 05 8c 3e 94 01 01 e8 34 99 98 00 <0f> 0b c3 cc cc cc cc 80 3d 76 3e 94 01 00 75 85 48 c7 c7 f8 c3 32 # [ 67.370952] RSP: 0018:ffffab2482f5fe38 EFLAGS: 00010282 # [ 67.382953] RAX: 0000000000000000 RBX: 00000000c0000000 RCX: 0000000000000000 # [ 67.397118] RDX: ffff9b4a3ac2c660 RSI: ffff9b4a3ac1bf70 RDI: ffff9b4a3ac1bf70 # [ 67.411345] RBP: ffffffffaa3907a8 R08: 0000000000000000 R09: 0000000000000000 # [ 67.425508] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000020 # [ 67.439728] R13: ffffab2482f5ff10 R14: ffffab2482f5ff10 R15: ffff9b49c40d8000 # [ 67.453855] FS: 00007fdb43c05580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 # [ 67.469140] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 # [ 67.481756] CR2: 00007fdb43a0e000 CR3: 0000000104c64003 CR4: 00000000003706f0 # [ 67.495948] Call Trace: # [ 67.504893] __refcount_add_not_zero.constprop.0+0x2a/0x35 # [ 67.517243] lkdtm_REFCOUNT_INC_NOT_ZERO_SATURATED+0x3e/0x76 # [ 67.529797] direct_entry.cold+0x2c/0x38 # [ 67.540386] full_proxy_write+0x53/0x80 # [ 67.550887] vfs_write+0xe7/0x3a0 # [ 67.560811] ksys_write+0x68/0xf0 # [ 67.570723] do_syscall_64+0x30/0x40 # [ 67.580934] entry_SYSCALL_64_after_hwframe+0x61/0xc6 # [ 67.592826] RIP: 0033:0x7fdb43b1b8f3 # [ 67.603034] Code: 8b 15 a1 25 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18 # [ 67.630251] RSP: 002b:00007ffef6b0db38 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 # [ 67.644942] RAX: ffffffffffffffda RBX: 0000000000000020 RCX: 00007fdb43b1b8f3 # [ 67.659117] RDX: 0000000000000020 RSI: 00007fdb43a0e000 RDI: 0000000000000001 # [ 67.673383] RBP: 00007fdb43a0e000 R08: 00007fdb43a0d010 R09: 0000000000000000 # [ 67.687527] R10: fffffffffffffbc5 R11: 0000000000000246 R12: 0000000000000001 # [ 67.701735] R13: 0000000000000001 R14: 0000000000020000 R15: 0000000000020000 # [ 67.715911] irq event stamp: 0 # [ 67.725569] hardirqs last enabled at (0): [<0000000000000000>] 0x0 # [ 67.738773] hardirqs last disabled at (0): [] copy_process+0x640/0x1c80 # [ 67.754149] softirqs last enabled at (0): [] copy_process+0x640/0x1c80 # [ 67.769515] softirqs last disabled at (0): [<0000000000000000>] 0x0 # [ 67.782744] ---[ end trace 5f8062a791b[ 76.097154] BUG: kernel NULL pointer dereference, address: 0000000000000008 [ 76.111005] #PF: supervisor read access in kernel mode [ 76.116738] #PF: error_code(0x0000) - not-present page [ 76.122473] PGD 0 P4D 0 [ 76.125298] Oops: 0000 [#17] SMP PTI [ 76.129286] CPU: 0 PID: 446 Comm: tee Tainted: G D W 5.10.155-cip20 #1 [ 76.137828] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 76.144633] RIP: 0010:anon_pipe_buf_release+0xb/0x60 [ 76.150179] Code: 07 b8 01 00 00 00 eb bd 48 89 ef 88 44 24 07 e8 6b 8a f6 ff 0f b6 44 24 07 eb aa 0f 1f 40 00 0f 1f 44 00 00 48 89 fa 48 8b 3e <48> 8b 4f 08 48 8d 41 ff 83 e1 01 48 0f 44 c7 8b 40 34 83 f8 01 75 [ 76.171153] RSP: 0018:ffffab2481157dc0 EFLAGS: 00010202 [ 76.176985] RAX: ffffffffa8d59150 RBX: 0000000000000d51 RCX: ffffab2481157e60 [ 76.184954] RDX: ffff9b49c599c200 RSI: ffff9b49c4019400 RDI: 0000000000000000 [ 76.192924] RBP: 000000000000100c R08: 0000000000000000 R09: 0000000000000000 [ 76.200894] R10: ffff9b4a3effad00 R11: 0000000000104bf4 R12: 0000000000000000 [ 76.208863] R13: 0000000000000ff4 R14: ffff9b49c599c200 R15: ffff9b49c599c290 [ 76.216832] FS: 00007f6bb7132580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 [ 76.225869] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 76.232284] CR2: 0000000000000008 CR3: 00000001037e2001 CR4: 00000000003706f0 [ 76.240254] Call Trace: [ 76.242981] pipe_read+0x219/0x4a0 [ 76.246768] ? avc_has_perm+0x48/0xd0 [ 76.250862] new_sync_read+0x192/0x1b0 [ 76.255053] vfs_read+0x178/0x1d0 [ 76.258756] ksys_read+0xb7/0xf0 [ 76.262347] ? trace_hardirqs_on+0x40/0xe0 [ 76.266918] do_syscall_64+0x30/0x40 [ 76.270906] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 76.276546] RIP: 0033:0x7f6bb704884e [ 76.280535] Code: c0 e9 b6 fe ff ff 50 48 8d 3d 2e 04 0b 00 e8 a9 fd 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28 [ 76.301521] RSP: 002b:00007ffcba934b88 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 76.309970] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f6bb704884e [ 76.317942] RDX: 0000000000002000 RSI: 00007ffcba934bb0 RDI: 0000000000000000 [ 76.325912] RBP: 0000557b00c202f0 R08: 0000000000000000 R09: 0000000000000001 [ 76.333882] R10: fffffffffffffd8e R11: 0000000000000246 R12: 0000000000002000 [ 76.341851] R13: 0000557b00c20310 R14: 00007ffcba934bb0 R15: 0000000000000002 [ 76.349825] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify [ 76.376272] CR2: 0000000000000008 [ 76.379960] ---[ end trace 5f8062a791bfe193 ]--- [ 76.385116] RIP: 0010:lkdtm_BUG+0x5/0x10 [ 76.389484] Code: 89 ff e8 8e a3 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 f0 04 94 02 [ 76.410469] RSP: 0018:ffffab24814bfe60 EFLAGS: 00010282 [ 76.416302] RAX: ffffffffa92e0120 RBX: 0000000000000001 RCX: 0000000000000000 [ 76.424272] RDX: 0000000000000000 RSI: ffff9b4a3ad1bf70 RDI: ffffffffa9fa06d0 [ 76.432241] RBP: ffffffffaa3ebf20 R08: 0000000000000001 R09: 0000000000000001 [ 76.440211] R10: 00000000ffffe000 R11: 3fffffffffffffff R12: 0000000000000004 [ 76.448181] R13: ffffab24814bff10 R14: ffffab24814bff10 R15: ffff9b49c3442000 [ 76.456151] FS: 00007f6bb7132580(0000) GS:ffff9b4a3ac00000(0000) knlGS:0000000000000000 [ 76.465190] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 76.471605] CR2: 0000000000000008 CR3: 00000001037e2001 CR4: 00000000003706f0 [ 76.479577] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 76.489481] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 446, name: tee [ 76.497840] INFO: lockdep is turned off. [ 76.502216] irq event stamp: 1880 [ 76.505914] hardirqs last enabled at (1879): [] _raw_spin_unlock_irqrestore+0x3d/0x40 [ 76.516508] hardirqs last disabled at (1880): [] __schedule+0x645/0x9c0 [ 76.525646] softirqs last enabled at (1398): [] asm_call_irq_on_stack+0xf/0x20 [ 76.535550] softirqs last disabled at (1389): [] asm_call_irq_on_stack+0xf/0x20 [ 76.545463] CPU: 0 PID: 446 Comm: tee Tainted: G D W 5.10.155-cip20 #1 [ 76.554015] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 [ 76.560820] Call Trace: [ 76.563546] dump_stack+0x77/0x9b [ 76.567236] ___might_sleep.cold+0xa6/0xb6 [ 76.571810] exit_signals+0x1c/0x2e0 [ 76.575798] do_exit+0xd5/0xb00 [ 76.579292] ? ksys_read+0xb7/0xf0 [ 76.583085] ? trace_hardirqs_on+0x40/0xe0 [ 76.587657] rewind_stack_do_exit+0x17/0x20 [ 76.592325] RIP: 0033:0x7f6bb704884e [ 76.596313] Code: c0 e9 b6 fe ff ff 50 48 8d 3d 2e 04 0b 00 e8 a9 fd 01 00 66 0f 1f 84 00 00 00 00 00 64 8b 04 25 18 00 00 00 85 c0 75 14 0f 05 <48> 3d 00 f0 ff ff 77 5a c3 66 0f 1f 84 00 00 00 00 00 48 83 ec 28 [ 76.617299] RSP: 002b:00007ffcba934b88 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [ 76.625755] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f6bb704884e [ 76.633725] RDX: 0000000000002000 RSI: 00007ffcba934bb0 RDI: 0000000000000000 [ 76.641695] RBP: 0000557b00c202f0 R08: 0000000000000000 R09: 0000000000000001 [ 76.649664] R10: fffffffffffffd8e R11: 0000000000000246 R12: 0000000000002000 [ 76.657634] R13: 0000557b00c20310 R14: 00007ffcba934bb0 R15: 0000000000000002 fe18f ]--- # [ 67.794141] 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 # [ 67.970950] lkdtm: Performing direct entry REFCOUNT_ADD_NOT_ZERO_SATURATED # [ 67.981585] lkdtm: attempting bad refcount_add_not_zero() from saturated # [ 67.995293] ------------[ cut here ]------------ # [ 68.006659] refcount_t: saturated; leaking memory. # [ 68.012040] WARNING: CPU: 1 PID: 2529 at lib/refcount.c:19 refcount_warn_saturate+0x97/0x110 # [ 68.027653] Modules linked in: fuse ip_tables cros_ec_sensors cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio cros_ec_lightbar cros_ec_sysfs cros_ec_debugfs cros_ec_chardev cros_ec_sensorhub x86_pkg_temp_thermal cros_ec_dev cros_usbpd_notify # [ 68.060303] CPU: 1 PID: 2529 Comm: cat Tainted: G D W 5.10.155-cip20 #1 # [ 68.075172] Hardware name: Google Rammus/Rammus, BIOS 09/04/2020 # [ 68.081983] RIP: 0010:refcount_warn_saturate+0x97/0x110 # [ 68.094033] Code: 01 01 e8 57 99 98 00 0f 0b c3 cc cc cc cc 80 3d 9c 3e 94 01 00 7