lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 24 Apr 2018 18:14:58 +0200
From:   Paul Menzel <pmenzel+linux-block@...gen.mpg.de>
To:     Jens Axboe <axboe@...nel.dk>,
        "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
        "Martin K. Petersen" <martin.petersen@...cle.com>
Cc:     linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
        regressions@...mhuis.info, linux-scsi@...r.kernel.org
Subject: Regression 4.17-rc1: SSD doesn’t properly resume causing system hang (NULL pointer dereference)

Dear Linux folks,


Since Linux 4.17-rc1, resume from ACPI on the Lenovo X60 fails because 
of a NULL pointer dereference. As the drive doesn’t come back, messages 
can be seen on the display, but the system cannot be controlled anymore, 
and has to be forcefully shut down.

> 18.021: [  102.160790] BUG: unable to handle kernel NULL pointer dereference at 000000f4
> 18.022: [  102.160794] *pde = 00000000 
> 18.022: [  102.160798] Oops: 0002 [#1] SMP
> 18.022: [  102.160800] Modules linked in: serport mousedev
> 18.022: [  102.166164] call 0000:05:00.2+ returned 0 after 133531 usecs
> 18.022: [  102.166146]  binfmt_misc iTCO_wdt iTCO_vendor_support coretemp arc4 kvm_intel kvm snd_hda_codec_analog snd_hda_codec_generic irqbypass snd_pcsp psmouse iwl3945 pcmcia iwlegacy mac80211
> 18.022: [  102.176063] call PNP0C0A:00+ returned 0 after 67496 usecs
> 18.022: [  102.176029]  snd_hda_intel snd_hda_codec sdhci_pci cqhci snd_hda_core firewire_ohci yenta_socket snd_hwdep lpc_ich pcmcia_rsrc cfg80211 mfd_core firewire_core pcmcia_core sdhci crc_itu_t mmc_core thinkpad_acpi i2c_i801 rng_core snd_pcm e1000e ehci_pci snd_timer
> 18.022: [  102.186594] calling  PNP0C0A:01+ @ 603, parent: PNP0C09:00
> 18.022: [  102.186584]  nvram snd rfkill battery uhci_hcd soundcore ehci_hcd usbcore video shpchp button ac acpi_cpufreq ip_tables x_tables autofs4 ext4 crc16 mbcache
> 18.022: [  102.197513] calling  hdaudioC0D0+ @ 654, parent: 0000:00:1b.0
> 18.023: [  102.196868]  jbd2 fscrypto cbc dm_crypt dm_mod sd_mod ahci libahci libata evdev serio_raw scsi_mod fan thermal
> 18.023: [  102.196868] CPU: 0 PID: 619 Comm: kworker/u4:5 Not tainted 4.17.0-rc2+ #12
> 18.023: [  102.196868] Hardware name: LENOVO 636338U/636338U, BIOS CBET4000 TIMELESS 01/01/1970
> 18.023: [  102.196868] Workqueue: events_unbound async_run_entry_fn
> 18.023: [  102.208295] call hdaudioC0D0+ returned 0 after 829 usecs
> 18.023: [  102.207490] EIP: blk_set_runtime_active+0x4f/0xc0
> 18.023: [  102.207490] EFLAGS: 00010013 CPU: 0
> 18.023: [  102.207490] EAX: 00000000 EBX: f6640bc0 ECX: f6640cb8 EDX: 00000000
> 18.023: [  102.207490] ESI: 00000000 EDI: ffff35b3 EBP: f1b4fe38 ESP: f1b4fe24
> 18.023: [  102.207490]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> 18.023: [  102.207490] CR0: 80050033 CR2: 000000f4 CR3: 34329000 CR4: 000006d0
> 18.024: [  102.207490] Call Trace:
> 18.024: [  102.207490]  ? async_sdev_thaw+0x20/0x20 [scsi_mod]
> 18.024: [  102.217657] call PNP0C0A:01+ returned 0 after 20334 usecs
> 18.024: [  102.207490]  scsi_bus_resume_common+0x79/0x180 [scsi_mod]
> 18.024: [  102.207490]  scsi_bus_resume+0x12/0x20 [scsi_mod]
> 18.024: [  102.225483] calling  PNP0C0E:00+ @ 603, parent: PNP0C09:00
> 18.024: [  102.207490]  dpm_run_callback+0x47/0x1b0
> 18.024: [  102.207490]  ? scsi_bus_thaw+0x20/0x20 [scsi_mod]
> 18.024: [  102.207490]  device_resume+0x97/0x190
> 18.025: [  102.247723] call PNP0C0E:00+ returned 0 after 1 usecs
> 18.025: [  102.207490]  ? device_resume+0x190/0x190
> 18.025: [  102.207490]  async_resume+0x1e/0x50
> 18.025: [  102.207490]  async_run_entry_fn+0x61/0x3a0
> 18.025: [  102.207490]  ? try_to_wake_up+0x4d/0x790
> 18.025: [  102.207490]  ? pwq_dec_nr_in_flight+0x7c/0x150
> 18.025: [  102.276518] call usb2+ returned 0 after 117617 usecs
> 18.025: [  102.207490]  process_one_work+0x235/0x690
> 18.025: [  102.207490]  worker_thread+0x19d/0x6a0
> 18.025: [  102.207490]  kthread+0x14a/0x1f0
> 18.025: [  102.207490]  ? process_one_work+0x690/0x690
> 18.026: [  102.207490]  ? kthread_create_worker_on_cpu+0x30/0x30
> 18.026: [  102.296000] call usb5+ returned 0 after 126932 usecs
> 18.026: [  102.207490]  ret_from_fork+0x2e/0x38
> 18.026: [  102.207490] Code: 7e 8b 83 
> 18.026: [  102.311897] calling  phy0+ @ 121, parent: 0000:02:00.0
> 18.026: [  102.207490] fc 00 00 00 e8 e0 32 53 00 8b b3 50 01 00 00 31 
> 18.026: [  102.326676] calling  5-6+ @ 642, parent: usb5
> 18.026: [  102.207490] c0 8b 3d 20 7d 6a de 89 83 54 01 00 00 81 fe 0c ff 
> 18.026: [  102.337499] call usb3+ returned 0 after 177124 usecs
> 18.026: [  102.207490] ff ff 89 7d ec 74 46 <89> be f4 00 00 00 ba 09 00 
> 18.027: [  102.345835] call usb4+ returned 0 after 185236 usecs
> 18.027: [  102.207490] 00 00 8b 83 50 01 00 00 e8 0b 25 24 
> 18.027: [  102.207490] EIP: blk_set_runtime_active+0x4f/0xc0 SS:ESP: 0068:f1b4fe24
> 18.027: [  102.207490] CR2: 00000000000000f4
> 18.027: [  102.358489] call usb1+ returned 0 after 193086 usecs
> 18.029: [  102.207490] ---[ end trace 5717e021dd8debaa ]---

Please find the serial (also with coreboot messages) attached.


Kind regards,

Paul

View attachment "seriallog-20180423_232310.log" of type "text/x-log" (198122 bytes)

Download attachment "smime.p7s" of type "application/pkcs7-signature" (5174 bytes)

Powered by blists - more mailing lists