2023-09-07 17:48:26 |
Jethro Beekman |
bug |
|
|
added bug |
2023-09-12 14:24:03 |
Tim Gardner |
affects |
linux-signed-azure-5.15 (Ubuntu) |
linux-azure (Ubuntu) |
|
2023-09-12 14:48:58 |
Tim Gardner |
attachment added |
|
Test kernel https://kernel.ubuntu.com/~rtg/jammy-sgx-xsave-lp2034745/5.15.0-1049.56~lp2034745.1/ |
|
2023-09-12 14:57:35 |
Tim Gardner |
affects |
linux-azure (Ubuntu) |
linux (Ubuntu) |
|
2023-09-12 15:00:06 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2023-09-12 15:02:28 |
Tim Gardner |
description |
In 5.15.0-1045, only loading enclaves with XFRM set to 3 works, sgx_encl_init returns EINVAL. The only reason this wouldn't work properly is if sgx_drv_init thinks XSAVE isn't enabled. This works fine in 5.15.0-1043.
Likely cause:
1045 adds this patch: https://github.com/torvalds/linux/commit/b81fac906a8f9e682e513ddd95697ec7a20878d4 . This later patch indicates that the former patch introduced some ordering problems. https://github.com/torvalds/linux/commit/2c66ca3949dc701da7f4c9407f2140ae425683a5 . That later patch isn't applied to 1045. |
SRU Justification
[Impact]
In 5.15.0-1045, only loading enclaves with XFRM set to 3 works, sgx_encl_init returns EINVAL. The only reason this wouldn't work properly is if sgx_drv_init thinks XSAVE isn't enabled. This works fine in 5.15.0-1043.
Likely cause:
1045 adds this patch: https://github.com/torvalds/linux/commit/b81fac906a8f9e682e513ddd95697ec7a20878d4 . This later patch indicates that the former patch introduced some ordering problems. https://github.com/torvalds/linux/commit/2c66ca3949dc701da7f4c9407f2140ae425683a5 . That later patch isn't applied to 1045.
[Test Plan]
User tested.
[Regression Potential]
SGX could continue to fail. |
|
2023-09-12 15:19:20 |
Tim Gardner |
description |
SRU Justification
[Impact]
In 5.15.0-1045, only loading enclaves with XFRM set to 3 works, sgx_encl_init returns EINVAL. The only reason this wouldn't work properly is if sgx_drv_init thinks XSAVE isn't enabled. This works fine in 5.15.0-1043.
Likely cause:
1045 adds this patch: https://github.com/torvalds/linux/commit/b81fac906a8f9e682e513ddd95697ec7a20878d4 . This later patch indicates that the former patch introduced some ordering problems. https://github.com/torvalds/linux/commit/2c66ca3949dc701da7f4c9407f2140ae425683a5 . That later patch isn't applied to 1045.
[Test Plan]
User tested.
[Regression Potential]
SGX could continue to fail. |
SRU Justification
[Impact]
In 5.15.0-1045, only loading enclaves with XFRM set to 3 works, sgx_encl_init returns EINVAL. The only reason this wouldn't work properly is if sgx_drv_init thinks XSAVE isn't enabled. This works fine in 5.15.0-1043.
Likely cause:
1045 adds this patch: https://github.com/torvalds/linux/commit/b81fac906a8f9e682e513ddd95697ec7a20878d4 . This later patch indicates that the former patch introduced some ordering problems. https://github.com/torvalds/linux/commit/2c66ca3949dc701da7f4c9407f2140ae425683a5 . That later patch isn't applied to 1045.
[Test Plan]
User test results pending, but its a fix commit so should likely be applied regardless.
[Regression Potential]
SGX could continue to fail. |
|
2023-09-12 15:19:27 |
Tim Gardner |
nominated for series |
|
Ubuntu Jammy |
|
2023-09-12 15:19:27 |
Tim Gardner |
bug task added |
|
linux (Ubuntu Jammy) |
|
2023-09-12 15:19:45 |
Tim Gardner |
linux (Ubuntu Jammy): importance |
Undecided |
Medium |
|
2023-09-12 15:19:45 |
Tim Gardner |
linux (Ubuntu Jammy): status |
New |
In Progress |
|
2023-09-12 15:19:45 |
Tim Gardner |
linux (Ubuntu Jammy): assignee |
|
Tim Gardner (timg-tpi) |
|
2023-09-12 15:19:52 |
Tim Gardner |
linux (Ubuntu): status |
Incomplete |
Fix Released |
|
2023-09-19 12:32:25 |
Fabian Grünbichler |
bug watch added |
|
https://github.com/openzfs/zfs/issues/15223 |
|
2023-09-20 08:35:24 |
Roxana Nicolescu |
nominated for series |
|
Ubuntu Focal |
|
2023-09-20 08:35:24 |
Roxana Nicolescu |
bug task added |
|
linux (Ubuntu Focal) |
|
2023-09-20 08:35:30 |
Roxana Nicolescu |
nominated for series |
|
Ubuntu Lunar |
|
2023-09-20 08:35:30 |
Roxana Nicolescu |
bug task added |
|
linux (Ubuntu Lunar) |
|
2023-09-20 08:35:39 |
Roxana Nicolescu |
linux (Ubuntu Lunar): status |
New |
Fix Committed |
|
2023-09-20 08:35:41 |
Roxana Nicolescu |
linux (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2023-09-20 08:35:58 |
Roxana Nicolescu |
linux (Ubuntu Lunar): assignee |
|
Tim Gardner (timg-tpi) |
|
2023-09-20 08:40:59 |
Roxana Nicolescu |
linux (Ubuntu Focal): status |
New |
Fix Committed |
|
2023-09-20 08:42:07 |
Roxana Nicolescu |
linux (Ubuntu Focal): assignee |
|
Tim Gardner (timg-tpi) |
|
2023-09-21 02:08:14 |
Darren Dupre |
bug |
|
|
added subscriber Darren Dupre |
2023-09-27 08:34:39 |
Ralf Koelmel |
bug |
|
|
added subscriber Ralf Koelmel |
2023-09-27 09:51:20 |
Joel Low |
bug |
|
|
added subscriber Joel Low |
2023-10-05 12:42:47 |
Ubuntu Kernel Bot |
tags |
|
kernel-spammed-jammy-linux-v2 verification-needed-jammy-linux |
|
2023-10-05 21:20:36 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-jammy-linux-v2 verification-needed-jammy-linux |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 verification-needed-focal-linux verification-needed-jammy-linux |
|
2023-10-06 11:23:23 |
Ubuntu Kernel Bot |
tags |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 verification-needed-focal-linux verification-needed-jammy-linux |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 kernel-spammed-lunar-linux-v2 verification-needed-focal-linux verification-needed-jammy-linux verification-needed-lunar-linux |
|
2023-10-13 18:34:04 |
Gaurav Kumar |
tags |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 kernel-spammed-lunar-linux-v2 verification-needed-focal-linux verification-needed-jammy-linux verification-needed-lunar-linux |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 kernel-spammed-lunar-linux-v2 verification-done-focal-linux verification-needed-jammy-linux verification-needed-lunar-linux |
|
2023-10-13 18:47:16 |
Gaurav Kumar |
tags |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 kernel-spammed-lunar-linux-v2 verification-done-focal-linux verification-needed-jammy-linux verification-needed-lunar-linux |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 kernel-spammed-lunar-linux-v2 verification-done-focal-linux verification-done-jammy-linux verification-needed-lunar-linux |
|
2023-10-13 19:01:14 |
Gaurav Kumar |
tags |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 kernel-spammed-lunar-linux-v2 verification-done-focal-linux verification-done-jammy-linux verification-needed-lunar-linux |
kernel-spammed-focal-linux-v2 kernel-spammed-jammy-linux-v2 kernel-spammed-lunar-linux-v2 verification-done-focal-linux verification-done-jammy-linux verification-done-lunar-linux |
|