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]
Message-ID: <20250122093020.6e8a4e5b@gandalf.local.home>
Date: Wed, 22 Jan 2025 09:30:20 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>, Daniel Wagner
 <wagi@...nel.org>, Christoph Hellwig <hch@....de>, Hannes Reinecke
 <hare@...e.de>, Ming Lei <ming.lei@...hat.com>, John Garry
 <john.g.garry@...cle.com>, Jens Axboe <axboe@...nel.dk>
Subject: WARNING: CPU: 3 PID: 1 at block/blk-mq-cpumap.c:90
 blk_mq_map_hw_queues+0xf3/0x100

I hit this WARN_ON on both my 32 bit test VM and my 64 bit one:

[    1.861456] ------------[ cut here ]------------
[    1.862394] WARNING: CPU: 3 PID: 1 at block/blk-mq-cpumap.c:90 blk_mq_map_hw_queues+0xf3/0x100
[    1.864100] Modules linked in:
[    1.864785] CPU: 3 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.13.0-test-01253-g66611c047570-dirty #128
[    1.866545] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[    1.868320] EIP: blk_mq_map_hw_queues+0xf3/0x100
[    1.869254] Code: 0c 3a b4 db 25 ff 00 00 00 74 17 f3 0f bc c0 83 f8 07 77 0e 8b 0e c7 04 81 00 00 00 00 8d 48 01 75 d6 83 c4 08 5b 5e 5f 5d c3 <0f> 0b eb c5 90 2e 8d b4 26 00 00 00 00 3e 8d 74 26 00 55 31 c9 89
[    1.872620] EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
[    1.873812] ESI: c1c2bc20 EDI: c130dc10 EBP: c116dcbc ESP: c116dca8
[    1.875002] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010206
[    1.878621] CR0: 80050033 CR2: 00000000 CR3: 1bdf8000 CR4: 000006f0
[    1.879854] Call Trace:
[    1.880441]  ? show_regs.cold+0x14/0x1d
[    1.881245]  ? __warn.cold+0x42/0xe8
[    1.882011]  ? blk_mq_map_hw_queues+0xf3/0x100
[    1.882837]  ? report_bug+0x101/0x140
[    1.883497]  ? blk_mq_map_hw_queues+0xf4/0x100
[    1.884238]  ? exc_overflow+0x40/0x40
[    1.884866]  ? handle_bug+0x46/0x70
[    1.885467]  ? exc_invalid_op+0x18/0x60
[    1.886116]  ? handle_exception+0x133/0x133
[    1.886814]  ? vp_modern_probe+0x5b8/0x620
[    1.887514]  ? exc_overflow+0x40/0x40
[    1.888148]  ? blk_mq_map_hw_queues+0xf3/0x100
[    1.888904]  ? vp_modern_probe+0x5b8/0x620
[    1.889586]  ? exc_overflow+0x40/0x40
[    1.890208]  ? blk_mq_map_hw_queues+0xf3/0x100
[    1.890939]  virtblk_map_queues+0x55/0x80
[    1.891642]  blk_mq_update_queue_map+0x77/0xb0
[    1.892382]  blk_mq_alloc_tag_set+0x16b/0x390
[    1.893103]  virtblk_probe+0x158/0xe40
[    1.893740]  ? idr_alloc_cyclic+0x46/0xa0
[    1.894414]  virtio_dev_probe+0x281/0x370
[    1.895084]  really_probe+0xc2/0x310
[    1.896168]  __driver_probe_device+0x71/0x150
[    1.896887]  ? kernfs_create_dir_ns+0x46/0x70
[    1.897612]  driver_probe_device+0x1f/0xa0
[    1.898314]  __driver_attach+0xa7/0x1a0
[    1.898957]  ? __device_attach_driver+0x100/0x100
[    1.899749]  bus_for_each_dev+0x70/0xc0
[    1.900406]  driver_attach+0x19/0x20
[    1.901020]  ? __device_attach_driver+0x100/0x100
[    1.901777]  bus_add_driver+0xe6/0x1c0
[    1.902416]  driver_register+0x6d/0xc0
[    1.903051]  __register_virtio_driver+0x1e/0x30
[    1.903816]  virtio_blk_init+0x4d/0x74
[    1.904467]  ? regmap_initcall+0x14/0x14
[    1.905134]  do_one_initcall+0x4b/0x2c0
[    1.905796]  ? parse_args+0x1db/0x3e0
[    1.906431]  kernel_init_freeable+0x186/0x1c4
[    1.907148]  ? rest_init+0xb0/0xb0
[    1.907812]  kernel_init+0x17/0x110
[    1.908533]  ret_from_fork+0x38/0x50
[    1.909301]  ? rest_init+0xb0/0xb0
[    1.910028]  ret_from_fork_asm+0x12/0x18
[    1.910902]  entry_INT80_32+0xf0/0xf0
[    1.913755] ---[ end trace 0000000000000000 ]---

Seems introduced by: 1452e9b470c90 ("blk-mq: introduce blk_mq_map_hw_queues")

Config for x86_64 attached.

-- Steve

Download attachment "config" of type "application/octet-stream" (129601 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ