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: <1644984964-28300-3-git-send-email-byungchul.park@lge.com>
Date:   Wed, 16 Feb 2022 13:16:04 +0900
From:   Byungchul Park <byungchul.park@....com>
To:     damien.lemoal@...nsource.wdc.com, linux-ide@...r.kernel.org
Cc:     torvalds@...ux-foundation.org, mingo@...hat.com,
        linux-kernel@...r.kernel.org, peterz@...radead.org,
        will@...nel.org, tglx@...utronix.de, rostedt@...dmis.org,
        joel@...lfernandes.org, sashal@...nel.org, daniel.vetter@...ll.ch,
        chris@...is-wilson.co.uk, duyuyang@...il.com,
        johannes.berg@...el.com, tj@...nel.org, tytso@....edu,
        willy@...radead.org, david@...morbit.com, amir73il@...il.com,
        bfields@...ldses.org, gregkh@...uxfoundation.org,
        kernel-team@....com, linux-mm@...ck.org, akpm@...ux-foundation.org,
        mhocko@...nel.org, minchan@...nel.org, hannes@...xchg.org,
        vdavydov.dev@...il.com, sj@...nel.org, jglisse@...hat.com,
        dennis@...nel.org, cl@...ux.com, penberg@...nel.org,
        rientjes@...gle.com, vbabka@...e.cz, ngupta@...are.org,
        linux-block@...r.kernel.org, axboe@...nel.dk,
        paolo.valente@...aro.org, josef@...icpanda.com,
        linux-fsdevel@...r.kernel.org, viro@...iv.linux.org.uk,
        jack@...e.cz, jlayton@...nel.org, dan.j.williams@...el.com,
        hch@...radead.org, djwong@...nel.org,
        dri-devel@...ts.freedesktop.org, airlied@...ux.ie,
        rodrigosiqueiramelo@...il.com, melissa.srw@...il.com,
        hamohammed.sa@...il.com
Subject: Report in ata_scsi_port_error_handler()

[    2.051040] ===================================================
[    2.051406] DEPT: Circular dependency has been detected.
[    2.051730] 5.17.0-rc1-00014-gcf3441bb2012 #2 Tainted: G        W        
[    2.051991] ---------------------------------------------------
[    2.051991] summary
[    2.051991] ---------------------------------------------------
[    2.051991] *** DEADLOCK ***
[    2.051991] 
[    2.051991] context A
[    2.051991]     [S] (unknown)(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [W] __raw_spin_lock_irq(&host->lock:0)
[    2.051991]     [E] event(&(&ap->eh_wait_q)->dmap:0)
[    2.051991] 
[    2.051991] context B
[    2.051991]     [S] __raw_spin_lock_irqsave(&host->lock:0)
[    2.051991]     [W] wait(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [E] spin_unlock(&host->lock:0)
[    2.051991] 
[    2.051991] [S]: start of the event context
[    2.051991] [W]: the wait blocked
[    2.051991] [E]: the event not reachable
[    2.051991] ---------------------------------------------------
[    2.051991] context A's detail
[    2.051991] ---------------------------------------------------
[    2.051991] context A
[    2.051991]     [S] (unknown)(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [W] __raw_spin_lock_irq(&host->lock:0)
[    2.051991]     [E] event(&(&ap->eh_wait_q)->dmap:0)
[    2.051991] 
[    2.051991] [S] (unknown)(&(&ap->eh_wait_q)->dmap:0):
[    2.051991] (N/A)
[    2.051991] 
[    2.051991] [W] __raw_spin_lock_irq(&host->lock:0):
[    2.051991] [<ffffffff8178d355>] ata_sff_flush_pio_task+0x45/0xc0
[    2.051991] stacktrace:
[    2.051991]       _raw_spin_lock_irq+0x58/0x90
[    2.051991]       ata_sff_flush_pio_task+0x45/0xc0
[    2.051991]       ata_exec_internal_sg+0x422/0x690
[    2.051991]       ata_do_set_mode+0x5ee/0xac0
[    2.051991]       ata_set_mode+0xfc/0x110
[    2.051991]       ata_eh_recover+0x1061/0x1360
[    2.051991]       ata_do_eh+0x3f/0xa0
[    2.051991]       ata_scsi_port_error_handler+0x432/0x740
[    2.051991]       ata_scsi_error+0x94/0xc0
[    2.051991]       scsi_error_handler+0x8d/0x3a0
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [E] event(&(&ap->eh_wait_q)->dmap:0):
[    2.051991] [<ffffffff810baa53>] __wake_up_common+0x93/0x1a0
[    2.051991] stacktrace:
[    2.051991]       dept_event+0x12b/0x1f0
[    2.051991]       __wake_up_common+0xb0/0x1a0
[    2.051991]       __wake_up_common_lock+0x65/0x90
[    2.051991]       ata_scsi_port_error_handler+0x67a/0x740
[    2.051991]       ata_scsi_error+0x94/0xc0
[    2.051991]       scsi_error_handler+0x8d/0x3a0
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] ---------------------------------------------------
[    2.051991] context B's detail
[    2.051991] ---------------------------------------------------
[    2.051991] context B
[    2.051991]     [S] __raw_spin_lock_irqsave(&host->lock:0)
[    2.051991]     [W] wait(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [E] spin_unlock(&host->lock:0)
[    2.051991] 
[    2.051991] [S] __raw_spin_lock_irqsave(&host->lock:0):
[    2.051991] [<ffffffff8178047c>] ata_port_wait_eh+0x6c/0xc0
[    2.051991] stacktrace:
[    2.051991]       _raw_spin_lock_irqsave+0x82/0xa0
[    2.051991]       ata_port_wait_eh+0x6c/0xc0
[    2.051991]       ata_port_probe+0x1f/0x30
[    2.051991]       async_port_probe+0x27/0x50
[    2.051991]       async_run_entry_fn+0x21/0xa0
[    2.051991]       process_one_work+0x317/0x640
[    2.051991]       worker_thread+0x44/0x410
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [W] wait(&(&ap->eh_wait_q)->dmap:0):
[    2.051991] [<ffffffff810bb017>] prepare_to_wait+0x47/0xd0
[    2.051991] stacktrace:
[    2.051991]       ata_port_wait_eh+0x52/0xc0
[    2.051991]       ata_port_probe+0x1f/0x30
[    2.051991]       async_port_probe+0x27/0x50
[    2.051991]       async_run_entry_fn+0x21/0xa0
[    2.051991]       process_one_work+0x317/0x640
[    2.051991]       worker_thread+0x44/0x410
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [E] spin_unlock(&host->lock:0):
[    2.051991] [<ffffffff8178046e>] ata_port_wait_eh+0x5e/0xc0
[    2.051991] stacktrace:
[    2.051991]       _raw_spin_unlock_irqrestore+0x35/0x80
[    2.051991]       ata_port_wait_eh+0x5e/0xc0
[    2.051991]       ata_port_probe+0x1f/0x30
[    2.051991]       async_port_probe+0x27/0x50
[    2.051991]       async_run_entry_fn+0x21/0xa0
[    2.051991]       process_one_work+0x317/0x640
[    2.051991]       worker_thread+0x44/0x410
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] ---------------------------------------------------
[    2.051991] information that might be helpful
[    2.051991] ---------------------------------------------------
[    2.051991] CPU: 1 PID: 53 Comm: scsi_eh_1 Tainted: G        W         5.17.0-rc1-00014-gcf3441bb2012 #2
[    2.051991] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
[    2.051991] Call Trace:
[    2.051991]  <TASK>
[    2.051991]  dump_stack_lvl+0x44/0x57
[    2.051991]  print_circle+0x384/0x510
[    2.051991]  ? print_circle+0x510/0x510
[    2.051991]  cb_check_dl+0x58/0x60
[    2.051991]  bfs+0xdc/0x1b0
[    2.051991]  add_dep+0x94/0x120
[    2.051991]  do_event.isra.22+0x284/0x300
[    2.051991]  ? __wake_up_common+0x93/0x1a0
[    2.051991]  dept_event+0x12b/0x1f0
[    2.051991]  __wake_up_common+0xb0/0x1a0
[    2.051991]  __wake_up_common_lock+0x65/0x90
[    2.051991]  ata_scsi_port_error_handler+0x67a/0x740
[    2.051991]  ? trace_hardirqs_on+0x38/0xe0
[    2.051991]  ? scsi_eh_get_sense+0x150/0x150
[    2.051991]  ata_scsi_error+0x94/0xc0
[    2.051991]  scsi_error_handler+0x8d/0x3a0
[    2.051991]  ? _raw_spin_unlock_irqrestore+0x63/0x80
[    2.051991]  ? scsi_eh_get_sense+0x150/0x150
[    2.051991]  kthread+0xe3/0x110
[    2.051991]  ? kthread_complete_and_exit+0x20/0x20
[    2.051991]  ret_from_fork+0x22/0x30
[    2.051991]  </TASK>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ