[PATCH] nvmet-rdma: Suppress a class of lockdep complaints

Bart Van Assche bvanassche at acm.org
Wed May 10 11:13:15 PDT 2023


On 5/10/23 09:09, Shinichiro Kawasaki wrote:
> [   70.030101][    C2] general protection fault, probably for non-canonical address 0xdffffc0000000008:I
> [   70.054774][    C2] Call Trace:
> [   70.055795][    C2]  <IRQ>
> [   70.062128][    C2]  lock_acquire+0x1a7/0x4e0
> [   70.067127][    C2]  _raw_spin_lock_irqsave+0x47/0x70
> [   70.069135][    C2]  hrtimer_interrupt+0x100/0x810
> [   70.071129][    C2]  __sysvec_apic_timer_interrupt+0x146/0x3f0
> [   70.072201][    C2]  sysvec_apic_timer_interrupt+0x8a/0xb0
> [   70.073246][    C2]  </IRQ>
> [   70.074097][    C2]  <TASK>

This may indicate a use-after-free of the lock class key by the
following code from kernel/workqueue.c:

	lock_map_release(&lockdep_map);

I will try to find a solution.

Bart.



More information about the Linux-nvme mailing list