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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250405084307.4080edf4@foxbook>
Date: Sat, 5 Apr 2025 08:43:07 +0200
From: MichaƂ Pecio <michal.pecio@...il.com>
To: Paul Menzel <pmenzel@...gen.mpg.de>
Cc: Mathias Nyman <mathias.nyman@...el.com>, Greg Kroah-Hartman
 <gregkh@...uxfoundation.org>, linux-usb@...r.kernel.org, LKML
 <linux-kernel@...r.kernel.org>
Subject: Re: xhci: WARN Set TR Deq Ptr cmd failed due to incorrect slot or
 ep state.

Hi,

On Thu, 3 Apr 2025 20:02:05 +0200, Paul Menzel wrote:
> Just a heads-up, that connecting an LMP USB-C mini Dock [1] to the
> Intel Kaby Lake Dell XPS 13 9360 with
> 
>      00:14.0 USB controller [0c03]: Intel Corporation Sunrise
> Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)

This is not the USB bus generating that noise. And the problem appears
to be that some USB device gets reset periodically, probably /dev/sda,
whatever it is. This reset loop is also visible in your new log today.

The warning appears to be connected to that, and the suspend problem
may also be if some mutex stays locked for more than 20s as a result.

Could you check:
1. what exact USB device is getting reset?
2. is it reproducible on master? (seems so)
3. is it reproducible on 6.14, 6.13, ...

> [   74.898485] usb 4-1.4: reset SuperSpeed USB device number 5 using 
> xhci_hcd
> [   74.916241] sd 0:0:0:0: [sda] Media removed, stopped polling
> [   74.916634] sd 0:0:0:0: [sda] Attached SCSI removable disk
> [   98.803081] PM: suspend entry (deep)
> [   98.813999] Filesystems sync: 0.010 seconds
> [   98.819226] Freezing user space processes
> [  105.534176] xhci_hcd 0000:39:00.0: WARN Set TR Deq Ptr cmd failed
> due to incorrect slot or ep state.
> [  105.606437] usb 4-1.4: reset SuperSpeed USB device number 5 using 
> xhci_hcd
> [  118.822270] Freezing user space processes failed after 20.003
> seconds (2 tasks refusing to freeze, wq_busy=0):
> [  118.822281] task:systemd-journal state:D stack:0     pid:474 
> tgid:474   ppid:1      task_flags:0x400100 flags:0x00000006
> [  118.822285] Call Trace:
> [  118.822287]  <TASK>
> [  118.822291]  __schedule+0x537/0xbb0
> [  118.822297]  schedule+0x27/0xd0
> [  118.822300]  schedule_preempt_disabled+0x15/0x20
> [  118.822302]  __mutex_lock.constprop.0+0x4b4/0x890
> [  118.822306]  uevent_show+0x99/0x150
> [  118.822309]  dev_attr_show+0x19/0x40
> [  118.822312]  sysfs_kf_seq_show+0xcd/0x110
> [  118.822315]  seq_read_iter+0x116/0x400
> [  118.822318]  vfs_read+0x299/0x360
> [  118.822321]  ksys_read+0x6b/0xe0
> [  118.822323]  do_syscall_64+0x82/0x9b0
> [  118.822327]  ? arch_exit_to_user_mode_prepare.isra.0+0x16/0x90
> [  118.822331]  ? syscall_exit_to_user_mode+0x37/0x1a0
> [  118.822333]  ? do_syscall_64+0x8e/0x9b0
> [  118.822336]  ? __memcg_slab_free_hook+0xf9/0x140
> [  118.822339]  ? __x64_sys_close+0x3d/0x80
> [  118.822341]  ? kmem_cache_free+0x236/0x460
> [  118.822344]  ? arch_exit_to_user_mode_prepare.isra.0+0x16/0x90
> [  118.822346]  ? syscall_exit_to_user_mode+0x37/0x1a0
> [  118.822348]  ? do_syscall_64+0x8e/0x9b0Dez 21 10:22:08 abreu

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ