All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Changhui Zhong <czhong@redhat.com>
To: Linux Block Devices <linux-block@vger.kernel.org>
Cc: Ming Lei <ming.lei@redhat.com>
Subject: [bug report] BUG: kernel NULL pointer dereference, address: 0000000000000000
Date: Mon, 18 Mar 2024 17:38:41 +0800	[thread overview]
Message-ID: <CAGVVp+WxUcAzkDcii_2T-wQTUmCjvM=mKJqpWKV-vgG7CvH6yQ@mail.gmail.com> (raw)

Hello,

found a kernel panic issue on blktests nbd/003, please help check

repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
branch: master
commit HEAD:c442a42363b2ce5c3eb2b0ff1e052ee956f0a29f

[ 2519.746767] run blktests nbd/003 at 2024-03-15 18:22:55
[ 2519.838846] block nbd0: shutting down sockets
[ 2519.843319] I/O error, dev nbd0, sector 2 op 0x0:(READ) flags
0x1000 phys_seg 1 prio class 0
[ 2519.851806] EXT4-fs (nbd0): unable to read superblock
[ 2519.851854] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0
phys_seg 4 prio class 0
[ 2519.865085] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 2519.871980] Buffer I/O error on dev nbd0, logical block 1, async page read
[ 2519.878873] Buffer I/O error on dev nbd0, logical block 2, async page read
[ 2519.885770] Buffer I/O error on dev nbd0, logical block 3, async page read
[ 2519.897012] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0
phys_seg 4 prio class 0
[ 2519.905219] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 2519.912121] Buffer I/O error on dev nbd0, logical block 1, async page read
[ 2519.919012] Buffer I/O error on dev nbd0, logical block 2, async page read
[ 2519.925898] Buffer I/O error on dev nbd0, logical block 3, async page read
[ 2519.932862] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0
phys_seg 4 prio class 0
[ 2519.941066] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 2519.947961] Buffer I/O error on dev nbd0, logical block 1, async page read
[ 2519.954902] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0
phys_seg 1 prio class 0
[ 2519.963111] I/O error, dev nbd0, sector 2 op 0x0:(READ) flags 0x0
phys_seg 3 prio class 0
[ 2519.963549]  slab kmalloc-2k start ffff892d516dc000 pointer offset
1224 size 2048
[ 2519.971379] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0
phys_seg 4 prio class 0
[ 2519.978820] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 2519.978827] #PF: supervisor instruction fetch in kernel mode
[ 2519.987049] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0
phys_seg 1 prio class 0
[ 2519.993955] #PF: error_code(0x0010) - not-present page
[ 2519.993963] PGD 12e8f5067 P4D 12e8f5067 PUD 12e8f6067 PMD 0
[ 2519.999692] I/O error, dev nbd0, sector 2 op 0x0:(READ) flags 0x0
phys_seg 3 prio class 0
[ 2520.007806] Oops: 0010 [#1] PREEMPT SMP NOPTI
[ 2520.007817] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 6.8.0+ #1
[ 2520.012986]  nbd0: unable to read partition table
[ 2520.018622] Hardware name: Dell Inc. PowerEdge R640/0X45NX, BIOS
2.19.1 06/04/2023
[ 2520.018627] RIP: 0010:0x0
[ 2520.018641] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[ 2520.018646] RSP: 0018:ffffae5b80758ee0 EFLAGS: 00010296
[ 2520.027281] I/O error, dev nbd0, sector 0 op 0x0:(READ) flags 0x0
phys_seg 4 prio class 0
[ 2520.031179]
[ 2520.031184] RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000
[ 2520.031189] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff892d516dc4c8
[ 2520.031193] RBP: ffff8930afab5fc0 R08: 0000000000000002 R09: 0000000000000835
[ 2520.031197] R10: 0000000062616c73 R11: 00000000616c7320 R12: ffff892d432ec180
[ 2520.043947]  nbd0: unable to read partition table
[ 2520.049386] R13: 0000000000000000 R14: 0000000000000000 R15: ffff8930afab6038
[ 2520.049392] FS:  0000000000000000(0000) GS:ffff8930afa80000(0000)
knlGS:0000000000000000
[ 2520.049397] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2520.049402] CR2: ffffffffffffffd6 CR3: 0000000162934001 CR4: 00000000007706f0
[ 2520.049407] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2520.052555]  nbd0: unable to read partition table
[ 2520.058557] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 2520.058562] PKRU: 55555554
[ 2520.058565] Call Trace:
[ 2520.058568]  <IRQ>
[ 2520.058573]  ? __die+0x20/0x70
[ 2520.063867] EXT4-fs (nbd0): unable to read superblock
[ 2520.071973]  ? page_fault_oops+0x75/0x170
[ 2520.071990]  ? exc_page_fault+0x64/0x150
[ 2520.072001]  ? asm_exc_page_fault+0x22/0x30
[ 2520.074038]  nbd0: unable to read partition table
[ 2520.080637]  rcu_do_batch+0x1a7/0x530
[ 2520.090467]  nbd0: unable to read partition table
[ 2520.094920]  rcu_core+0x26a/0x420
[ 2520.094934]  __do_softirq+0xc7/0x2a5
[ 2520.102123] EXT4-fs (nbd0): unable to read superblock
[ 2520.106772]  irq_exit_rcu+0xa4/0xc0
[ 2520.106787]  sysvec_apic_timer_interrupt+0x72/0x90
[ 2520.107187]  nbd0: unable to read partition table
[ 2520.108301]  nbd0: unable to read partition table
[ 2520.115021]  nbd0: unable to read partition table
[ 2520.122019]  </IRQ>
[ 2520.122025]  <TASK>
[ 2520.122030]  asm_sysvec_apic_timer_interrupt+0x16/0x20
[ 2520.127798] nbd0: partition table beyond EOD,
[ 2520.134910] RIP: 0010:intel_idle_irq+0x57/0xa0
[ 2520.134924] Code: f0 31 d2 48 89 d1 65 48 8b 05 a5 50 73 67 0f 01
c8 48 8b 00 a8 08 75 13 66 90 0f 00 2d 7e 2f 43 00 31 c9 48 89 f0 fb
0f 01 c9 <fa> 65 48 8b 05 80 50 73 67 f0 80 60 02 df f0 83 44 24 fc 00
48 8b
[ 2520.142069] truncated
[ 2520.146766] RSP: 0018:ffffae5b8030fe78 EFLAGS: 00000246
[ 2520.146775] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[ 2520.146782] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8930afabffa0
[ 2520.153945] mount_clear_soc: attempt to access beyond end of device
[ 2520.153945] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.156628] RBP: ffff8930afabffa0 R08: 0000000000000001 R09: 0000000000000014
[ 2520.156635] R10: 0000000000000174 R11: ffff8930afab34e4 R12: ffffffff998bbee0
[ 2520.156640] R13: ffffffff998bbf60 R14: 0000000000000001 R15: 0000000000000000
[ 2520.159101] EXT4-fs (nbd0): unable to read superblock
[ 2520.161115]  cpuidle_enter_state+0x7d/0x410
[ 2520.161127]  cpuidle_enter+0x29/0x40
[ 2520.164861] mount_clear_soc: attempt to access beyond end of device
[ 2520.164861] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.169239]  cpuidle_idle_call+0xf8/0x160
[ 2520.173283] EXT4-fs (nbd0): unable to read superblock
[ 2520.177188]  do_idle+0x7a/0xe0
[ 2520.177198]  cpu_startup_entry+0x25/0x30
[ 2520.182171] mount_clear_soc: attempt to access beyond end of device
[ 2520.182171] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.186089]  start_secondary+0x115/0x140
[ 2520.186103]  common_startup_64+0x13e/0x141
[ 2520.189784] EXT4-fs (nbd0): unable to read superblock
[ 2520.194483]  </TASK>
[ 2520.194488] Modules linked in: nbd
[ 2520.198640] mount_clear_soc: attempt to access beyond end of device
[ 2520.198640] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.201392]  null_blk loop ext4 mbcache jbd2 tls rpcsec_gss_krb5 auth_rpcgss
[ 2520.206473] EXT4-fs (nbd0): unable to read superblock
[ 2520.209955]  nfsv4 dns_resolver nfs lockd grace netfs rfkill sunrpc
vfat fat dm_multipath
[ 2520.215576] mount_clear_soc: attempt to access beyond end of device
[ 2520.215576] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.219471]  intel_rapl_msr intel_rapl_common
intel_uncore_frequency intel_uncore_frequency_common isst_if_common
skx_edac
[ 2520.224205] EXT4-fs (nbd0): unable to read superblock
[ 2520.228898]  nfit libnvdimm x86_pkg_temp_thermal intel_powerclamp coretemp
[ 2520.231796] mount_clear_soc: attempt to access beyond end of device
[ 2520.231796] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.233120]  kvm_intel kvm ipmi_ssif irqbypass mgag200 rapl
intel_cstate iTCO_wdt i2c_algo_bit
[ 2520.238295] EXT4-fs (nbd0): unable to read superblock
[ 2520.242724]  iTCO_vendor_support drm_shmem_helper acpi_ipmi
drm_kms_helper intel_uncore ipmi_si dcdbas mei_me dell_smbios
[ 2520.247897] mount_clear_soc: attempt to access beyond end of device
[ 2520.247897] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.265934]  i2c_i801 dell_wmi_descriptor ipmi_devintf wmi_bmof mei
pcspkr lpc_ich i2c_smbus intel_pch_thermal ipmi_msghandler
[ 2520.268238] EXT4-fs (nbd0): unable to read superblock
[ 2520.273456]  acpi_power_meter drm fuse xfs libcrc32c sd_mod sg ahci
crct10dif_pclmul nvme
[ 2520.281379] mount_clear_soc: attempt to access beyond end of device
[ 2520.281379] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.287738]  libahci bnxt_en crc32_pclmul crc32c_intel nvme_core
libata tg3 ghash_clmulni_intel megaraid_sas t10_pi wmi
[ 2520.299593] EXT4-fs (nbd0): unable to read superblock
[ 2520.306708]  dm_mirror dm_region_hash dm_log dm_mod [last unloaded:
scsi_debug]
[ 2520.306721] CR2: 0000000000000000
[ 2520.306726] ---[ end trace 0000000000000000 ]---
[ 2520.314657] mount_clear_soc: attempt to access beyond end of device
[ 2520.314657] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.331320] RIP: 0010:0x0
[ 2520.334983] EXT4-fs (nbd0): unable to read superblock
[ 2520.339155] Code: Unable to access opcode bytes at 0xffffffffffffffd6.
[ 2520.339161] RSP: 0018:ffffae5b80758ee0 EFLAGS: 00010296
[ 2520.339168] RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000
[ 2520.339173] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff892d516dc4c8
[ 2520.343697] mount_clear_soc: attempt to access beyond end of device
[ 2520.343697] nbd0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 2520.354564] RBP: ffff8930afab5fc0 R08: 0000000000000002 R09: 0000000000000835
[ 2520.354570] R10: 0000000062616c73 R11: 00000000616c7320 R12: ffff892d432ec180
[ 2520.354574] R13: 0000000000000000 R14: 0000000000000000 R15: ffff8930afab6038
[ 2520.354578] FS:  0000000000000000(0000) GS:ffff8930afa80000(0000)
knlGS:0000000000000000
[ 2520.354583] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2520.358612] EXT4-fs (nbd0): unable to read superblock
[ 2520.363648] CR2: ffffffffffffffd6 CR3: 0000000162934001 CR4: 00000000007706f0
[ 2520.363655] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2520.363659] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 2520.363663] PKRU: 55555554
[ 2520.363666] Kernel panic - not syncing: Fatal exception in interrupt
[ 2520.366747] Kernel Offset: 0x16c00000 from 0xffffffff81000000
(relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 2520.733124] ---[ end Kernel panic - not syncing: Fatal exception in
interrupt ]---

Thanks,


             reply	other threads:[~2024-03-18  9:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18  9:38 Changhui Zhong [this message]
2024-03-19  2:43 ` [bug report] BUG: kernel NULL pointer dereference, address: 0000000000000000 Changhui Zhong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGVVp+WxUcAzkDcii_2T-wQTUmCjvM=mKJqpWKV-vgG7CvH6yQ@mail.gmail.com' \
    --to=czhong@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.