It's not crashing.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2091579

Title:
  UBSAN: shift-out-of-bounds in /build/linux-oracle-e23yiU/linux-
  oracle-6.11.0/drivers/firmware/iscsi_ibft.c:313:9

Status in linux package in Ubuntu:
  New
Status in linux-oracle package in Ubuntu:
  New

Bug description:
  There is a kernel crash when using dracut and iscsi:

  ```
  [  266.527314] UBSAN: shift-out-of-bounds in 
/build/linux-oracle-e23yiU/linux-oracle-6.11.0/drivers/firmware/iscsi_ibft.c:313:9
  [  266.661617] shift exponent -32 is negative
  [  266.710627] CPU: 11 UID: 0 PID: 3260 Comm: iscsiadm Not tainted 
6.11.0-1007-oracle #7-Ubuntu
  [  266.811631] Hardware name: Oracle Corporation ORACLE SERVER E4-2c/Asm,MB 
Tray,2U,E4-2c, BIOS 78016100 04/11/2024
  [  266.933435] Call Trace:
  [  266.962672]  <TASK>
  [  266.987748]  show_stack+0x49/0x60
  [  267.027392]  dump_stack_lvl+0x5f/0x90
  [  267.071192]  dump_stack+0x10/0x18
  [  267.110835]  ubsan_epilogue+0x9/0x40
  [  267.153595]  __ubsan_handle_shift_out_of_bounds.cold+0x61/0xe6
  [  267.223396]  ibft_attr_show_nic.cold+0x17/0x2d [iscsi_ibft]
  [  267.290081]  iscsi_boot_show_attribute+0x3f/0x70 [iscsi_boot_sysfs]
  [  267.365081]  sysfs_kf_seq_show+0xa7/0x110
  [  267.413038]  kernfs_seq_show+0x27/0x40
  [  267.457875]  seq_read_iter+0x131/0x490
  [  267.503375]  kernfs_fop_read_iter+0x34/0x40
  [  267.553992]  vfs_read+0x2a3/0x380
  [  267.594164]  ksys_read+0x71/0x100
  [  267.634321]  __x64_sys_read+0x19/0x30
  [  267.678679]  x64_sys_call+0x206c/0x22b0
  [  267.725109]  do_syscall_64+0x7e/0x170
  [  267.769416]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  267.827241]  ? putname+0x5b/0x80
  [  267.866342]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  267.924062]  ? do_sys_openat2+0xa4/0xf0
  [  267.970492]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  268.028313]  ? syscall_exit_to_user_mode+0x4e/0x250
  [  268.087186]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  268.145047]  ? do_syscall_64+0x8a/0x170
  [  268.191419]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  268.249261]  ? do_syscall_64+0x8a/0x170
  [  268.295668]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  268.353478]  ? syscall_exit_to_user_mode+0x4e/0x250
  [  268.412323]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  268.470125]  ? do_syscall_64+0x8a/0x170
  [  268.516528]  ? srso_alias_return_thunk+0x5/0xfbef5
  [  268.574381]  ? exc_page_fault+0x96/0x1a0
  [  268.621854]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
  [  268.682838] RIP: 0033:0x7b1eaede8701
  [  268.726116] Code: 00 48 8b 15 21 b7 0e 00 f7 d8 64 89 02 b8 ff ff ff ff eb 
bd e8 c0 cb 01 00 f3 0f 1e fa 80 3d 65 39 0f 00 00 74 13 31 c0 0f 05 <48> 3d 00 
f0 ff ff 77 4f c3 66 0f 1f 44 00 00 55 48 89 e5 48 83 ec
  [  268.951379] RSP: 002b:00007fff5bd09918 EFLAGS: 00000246 ORIG_RAX: 
0000000000000000
  [  269.042490] RAX: ffffffffffffffda RBX: 00007fff5bd099b0 RCX: 
00007b1eaede8701
  [  269.128474] RDX: 0000000000000100 RSI: 00007fff5bd099b0 RDI: 
0000000000000003
  [  269.214429] RBP: 00007fff5bd09ee0 R08: 00007fff5bd09ab4 R09: 
0000000000000007
  [  269.300385] R10: 0000000000000000 R11: 0000000000000246 R12: 
0000000000000003
  [  269.386341] R13: 00007fff5bd09ef0 R14: 000064b366842270 R15: 
0000000000000000
  [  269.472299]  </TASK>
  ```

  The /proc/cmdline has:

  ```
  BOOT_IMAGE=/vmlinuz-6.11.0-1007-oracle 
root=UUID=8def4bfb-8542-4652-857a-b413ee53b4c8 ro console=tty1 console=ttyS0 
nvme.shutdown_timeout=10 libiscsi.debug_libiscsi_eh=1 
crash_kexec_post_notifiers rd.iscsi.ibft=1 rd.iscsi.firmware=1 
rd.iscsi.waitnet=0
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: linux-image-6.11.0-1007-oracle 6.11.0-1007.7
  ProcVersionSignature: Ubuntu 6.11.0-1007.7-oracle 6.11.0
  Uname: Linux 6.11.0-1007-oracle x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Dec 11 18:47 seq
   crw-rw---- 1 root audio 116, 33 Dec 11 18:47 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.31.0-0ubuntu1
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer', 
'/dev/snd/seq'] failed with exit code 1:
  CRDA: N/A
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudBuildName: server
  CloudID: oracle
  CloudName: oracle
  CloudPlatform: oracle
  CloudSerial: 20241009
  CloudSubPlatform: metadata (http://[fd00:c1::a9fe:a9fe]/opc/v2/)
  CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read 
kernel buffer failed: Operation not permitted
  Date: Wed Dec 11 18:56:10 2024
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 002: ID 2a4b:0400 EMULEX Corporation Pilot4 Integrated Hub
   Bus 001 Device 003: ID 0430:a111 Fujitsu Component Limited remote keyboard 
for P4 chip
   Bus 001 Device 004: ID 0430:a112 Fujitsu Component Limited remote mouse for 
P4 chip
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
  Lsusb-t:
   /:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
       |__ Port 001: Dev 002, If 0, Class=Hub, Driver=hub/7p, 480M
           |__ Port 001: Dev 003, If 0, Class=Human Interface Device, 
Driver=usbhid, 480M
           |__ Port 002: Dev 004, If 0, Class=Human Interface Device, 
Driver=usbhid, 480M
   /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
  MachineType: Oracle Corporation ORACLE SERVER E4-2c
  PciMultimedia:
   
  ProcFB: 0 mgag200drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.11.0-1007-oracle 
root=UUID=8def4bfb-8542-4652-857a-b413ee53b4c8 ro console=tty1 console=ttyS0 
nvme.shutdown_timeout=10 libiscsi.debug_libiscsi_eh=1 
crash_kexec_post_notifiers rd.iscsi.ibft=1 rd.iscsi.firmware=1 
rd.iscsi.waitnet=0
  RelatedPackageVersions:
   linux-restricted-modules-6.11.0-1007-oracle N/A
   linux-backports-modules-6.11.0-1007-oracle  N/A
   linux-firmware                              N/A
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux-oracle
  UpgradeStatus: Upgraded to plucky on 2024-12-11 (0 days ago)
  acpidump:
   
  dmi.bios.date: 04/11/2024
  dmi.bios.release: 1.61
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: 78016100
  dmi.board.asset.tag: 8207735
  dmi.board.name: Asm,MB Tray,2U,E4-2c
  dmi.board.vendor: Oracle Corporation
  dmi.board.version: Rev 02
  dmi.chassis.asset.tag: OracleCloud.com
  dmi.chassis.type: 17
  dmi.chassis.vendor: Oracle Corporation
  dmi.chassis.version: ORACLE SERVER E4-2c
  dmi.ec.firmware.release: 5.1
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvr78016100:bd04/11/2024:br1.61:efr5.1:svnOracleCorporation:pnORACLESERVERE4-2c:pvr:rvnOracleCorporation:rnAsm,MBTray,2U,E4-2c:rvrRev02:cvnOracleCorporation:ct17:cvrORACLESERVERE4-2c:sku8209381:
  dmi.product.name: ORACLE SERVER E4-2c
  dmi.product.sku: 8209381
  dmi.sys.vendor: Oracle Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2091579/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to