iBFT iSCSI out-of-bounds shift UBSAN warning
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| linux (Ubuntu) |
In Progress
|
Undecided
|
Chengen Du | ||
| Focal |
Won't Fix
|
Undecided
|
Chengen Du | ||
| Jammy |
Fix Released
|
Medium
|
Chengen Du | ||
| Noble |
Fix Released
|
Medium
|
Chengen Du | ||
| Oracular |
Fix Released
|
Medium
|
Chengen Du | ||
| Plucky |
Fix Released
|
Undecided
|
Chengen Du | ||
Bug Description
[Impact]
During an iSCSI boot in an IPv6 environment, `iscsistart` continues to access the `/sys/firmware/
[Fix]
A commit has been made to fix this issue.
https:/
[Test Plan]
1. Set up a machine with an iSCSI backend in an IPv6-only environment.
2. Power on the machine and verify that the following error does not occur:
[ 105.283243] UBSAN: shift-out-of-bounds in /build/
[ 105.432609] shift exponent -32 is negative
[ 105.498209] CPU: 106 PID: 2536 Comm: iscsistart Not tainted 6.8.0-1008-oracle #8-Ubuntu
[ 105.610611] Hardware name: Oracle Corporation ORACLE SERVER E4-2c/Asm,MB Tray,2U,E4-2c, BIOS 78016100 04/11/2024
[ 105.749047] Call Trace:
[ 105.794939] <TASK>
[ 105.832503] dump_stack_
[ 105.876679] dump_stack+
[ 105.916742] __ubsan_
[ 105.983788] ibft_attr_
[ 106.050817] iscsi_boot_
[ 106.126167] sysfs_kf_
[ 106.174475] kernfs_
[ 106.219654] seq_read_
[ 106.264824] kernfs_
[ 106.315190] vfs_read+
[ 106.355160] ksys_read+
[ 106.395116] __x64_sys_
[ 106.439234] x64_sys_
[ 106.485422] do_syscall_
[ 106.529528] ? srso_alias_
[ 106.587154] ? syscall_
[ 106.645810] ? srso_alias_
[ 106.703424] ? do_syscall_
[ 106.749594] ? srso_alias_
[ 106.807197] ? __do_sys_
[ 106.858552] ? srso_alias_
[ 106.916147] ? syscall_
[ 106.974771] ? srso_alias_
[ 107.032350] ? do_syscall_
[ 107.078488] ? do_syscall_
[ 107.124620] ? exc_page_
[ 107.171789] entry_SYSCALL_
[ 107.232475] RIP: 0033:0x764465a69a61
[ 107.275484] Code: 00 48 8b 15 b9 73 0e 00 f7 d8 64 89 02 b8 ff ff ff ff eb bd e8 40 c4 01 00 f3 0f 1e fa 80 3d e5 f5 0e 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
[ 107.500766] RSP: 002b:00007ffc83
[ 107.591622] RAX: ffffffffffffffda RBX: 00007ffc83fa6840 RCX: 0000764465a69a61
[ 107.677276] RDX: 0000000000000100 RSI: 00007ffc83fa6840 RDI: 0000000000000003
[ 107.762929] RBP: 00007ffc83fa6f80 R08: 00005d0f5c8b7fb4 R09: 0000000000000007
[ 107.848624] R10: 0000000000000000 R11: 0000000000000246 R12: 00005d0f5c8b7fb4
[ 107.934283] R13: 00007ffc83fa6940 R14: 00005d0f5c8bf650 R15: 0000000000000003
[ 108.019949] </TASK>
[Where problems could occur]
The patch resolves the UBSAN warning that occurs when accessing the `/sys/firmware/
CVE References
- 2022-0995
- 2022-49034
- 2024-26837
- 2024-26928
- 2024-35864
- 2024-41014
- 2024-41932
- 2024-41935
- 2024-42122
- 2024-43098
- 2024-44955
- 2024-45828
- 2024-46826
- 2024-47141
- 2024-47143
- 2024-47794
- 2024-47809
- 2024-48873
- 2024-48875
- 2024-48876
- 2024-48881
- 2024-49569
- 2024-49899
- 2024-49906
- 2024-50051
- 2024-50167
- 2024-50215
- 2024-50216
- 2024-50218
- 2024-50220
- 2024-50221
- 2024-50222
- 2024-50223
- 2024-50224
- 2024-50225
- 2024-50226
- 2024-50230
- 2024-50231
- 2024-50232
- 2024-50234
- 2024-50235
- 2024-50236
- 2024-50237
- 2024-50238
- 2024-50239
- 2024-50240
- 2024-50242
- 2024-50243
- 2024-50244
- 2024-50245
- 2024-50246
- 2024-50247
- 2024-50248
- 2024-50249
- 2024-50250
- 2024-50251
- 2024-50252
- 2024-50255
- 2024-50256
- 2024-50257
- 2024-50258
- 2024-50259
- 2024-50261
- 2024-50262
- 2024-50263
- 2024-50265
- 2024-50267
- 2024-50268
- 2024-50269
- 2024-50270
- 2024-50271
- 2024-50272
- 2024-50273
- 2024-50274
- 2024-50275
- 2024-50276
- 2024-50278
- 2024-50279
- 2024-50280
- 2024-50282
- 2024-50283
- 2024-50284
- 2024-50285
- 2024-50286
- 2024-50287
- 2024-50288
- 2024-50289
- 2024-50290
- 2024-50291
- 2024-50292
- 2024-50294
- 2024-50295
- 2024-50296
- 2024-50297
- 2024-50298
- 2024-50299
- 2024-50300
- 2024-50301
- 2024-50302
- 2024-50303
- 2024-50304
- 2024-52332
- 2024-53042
- 2024-53043
- 2024-53044
- 2024-53045
- 2024-53046
- 2024-53047
- 2024-53048
- 2024-53050
- 2024-53051
- 2024-53052
- 2024-53053
- 2024-53055
- 2024-53058
- 2024-53059
- 2024-53060
- 2024-53061
- 2024-53062
- 2024-53063
- 2024-53066
- 2024-53067
- 2024-53068
- 2024-53072
- 2024-53076
- 2024-53081
- 2024-53082
- 2024-53083
- 2024-53084
- 2024-53085
- 2024-53086
- 2024-53087
- 2024-53088
- 2024-53140
- 2024-53142
- 2024-53145
- 2024-53146
- 2024-53147
- 2024-53148
- 2024-53150
- 2024-53151
- 2024-53154
- 2024-53155
- 2024-53157
- 2024-53158
- 2024-53160
- 2024-53161
- 2024-53162
- 2024-53163
- 2024-53166
- 2024-53168
- 2024-53169
- 2024-53171
- 2024-53172
- 2024-53173
- 2024-53174
- 2024-53175
- 2024-53176
- 2024-53177
- 2024-53178
- 2024-53180
- 2024-53181
- 2024-53183
- 2024-53184
- 2024-53185
- 2024-53187
- 2024-53188
- 2024-53190
- 2024-53191
- 2024-53194
- 2024-53195
- 2024-53196
- 2024-53197
- 2024-53198
- 2024-53200
- 2024-53201
- 2024-53202
- 2024-53203
- 2024-53208
- 2024-53209
- 2024-53210
- 2024-53213
- 2024-53214
- 2024-53215
- 2024-53216
- 2024-53217
- 2024-53218
- 2024-53219
- 2024-53220
- 2024-53221
- 2024-53222
- 2024-53223
- 2024-53224
- 2024-53226
- 2024-53227
- 2024-53228
- 2024-53229
- 2024-53230
- 2024-53231
- 2024-53232
- 2024-53233
- 2024-53234
- 2024-53236
- 2024-53237
- 2024-53239
- 2024-56531
- 2024-56532
- 2024-56533
- 2024-56538
- 2024-56539
- 2024-56540
- 2024-56543
- 2024-56545
- 2024-56546
- 2024-56548
- 2024-56549
- 2024-56550
- 2024-56551
- 2024-56557
- 2024-56558
- 2024-56561
- 2024-56562
- 2024-56565
- 2024-56566
- 2024-56567
- 2024-56568
- 2024-56569
- 2024-56570
- 2024-56572
- 2024-56573
- 2024-56574
- 2024-56575
- 2024-56576
- 2024-56577
- 2024-56578
- 2024-56579
- 2024-56580
- 2024-56581
- 2024-56583
- 2024-56584
- 2024-56585
- 2024-56586
- 2024-56587
- 2024-56588
- 2024-56589
- 2024-56590
- 2024-56592
- 2024-56593
- 2024-56594
- 2024-56595
- 2024-56596
- 2024-56597
- 2024-56598
- 2024-56599
- 2024-56600
- 2024-56601
- 2024-56602
- 2024-56603
- 2024-56604
- 2024-56605
- 2024-56606
- 2024-56607
- 2024-56608
- 2024-56609
- 2024-56610
- 2024-56611
- 2024-56613
- 2024-56615
- 2024-56616
- 2024-56619
- 2024-56620
- 2024-56621
- 2024-56622
- 2024-56623
- 2024-56625
- 2024-56626
- 2024-56627
- 2024-56628
- 2024-56629
- 2024-56630
- 2024-56631
- 2024-56632
- 2024-56633
- 2024-56634
- 2024-56635
- 2024-56636
- 2024-56637
- 2024-56638
- 2024-56640
- 2024-56641
- 2024-56642
- 2024-56643
- 2024-56644
- 2024-56645
- 2024-56647
- 2024-56648
- 2024-56649
- 2024-56650
- 2024-56651
- 2024-56658
- 2024-56661
- 2024-56672
- 2024-56677
- 2024-56678
- 2024-56679
- 2024-56681
- 2024-56683
- 2024-56685
- 2024-56687
- 2024-56688
- 2024-56689
- 2024-56690
- 2024-56691
- 2024-56692
- 2024-56693
- 2024-56694
- 2024-56698
- 2024-56700
- 2024-56701
- 2024-56703
- 2024-56704
- 2024-56705
- 2024-56707
- 2024-56708
- 2024-56720
- 2024-56721
- 2024-56722
- 2024-56723
- 2024-56724
- 2024-56725
- 2024-56726
- 2024-56727
- 2024-56728
- 2024-56729
- 2024-56739
- 2024-56741
- 2024-56742
- 2024-56744
- 2024-56745
- 2024-56746
- 2024-56747
- 2024-56748
- 2024-56751
- 2024-56752
- 2024-56754
- 2024-56755
- 2024-56756
- 2024-56765
- 2024-56771
- 2024-56772
- 2024-56773
- 2024-56774
- 2024-56775
- 2024-56776
- 2024-56777
- 2024-56778
- 2024-56779
- 2024-56780
- 2024-56781
- 2024-56782
- 2024-56783
- 2024-56785
- 2024-56786
- 2024-56787
- 2024-57798
- 2024-57838
- 2024-57843
- 2024-57849
- 2024-57850
- 2024-57872
- 2024-57874
- 2024-57876
- 2025-21700
- 2025-21701
- 2025-21702
- 2025-21703
- 2025-21756
| Changed in linux (Ubuntu Noble): | |
| status: | In Progress → Fix Committed |
| Changed in linux (Ubuntu Oracular): | |
| status: | In Progress → Fix Committed |
| Changed in linux (Ubuntu Jammy): | |
| status: | In Progress → Fix Committed |
| Changed in linux (Ubuntu Focal): | |
| status: | In Progress → Won't Fix |
| Changed in linux (Ubuntu Jammy): | |
| importance: | Undecided → Medium |
| Changed in linux (Ubuntu Noble): | |
| importance: | Undecided → Medium |
| Changed in linux (Ubuntu Oracular): | |
| importance: | Undecided → Medium |
| tags: | added: kernel-daily-bug |

https:/ /lists. ubuntu. com/archives/ kernel- team/2025- February/ 156928. html