Fix boot test warning for log_check "CPU: 0 PID: 0 at arch/x86/kernel/fpu/xstate.c:878 get_xsave_addr+0x98/0xb0"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Roxana Nicolescu |
Bug Description
SRU Justification
[Impact]
Gather Data Sampling, affecting Intel processors and assigned CVE-2022-40982 introduced this warning.The fix is on microcode, but part of the mitigation on the kernel side is to detect if the microcode update is not there and disable AVX in case it's supported. This needed some reshuffle during initialization so that turning off AVX was possible without it being too late, which also moved the FPU initialization. See commit https:/
This causes the following warning during boot: CPU: 0 PID: 0 at arch/x86/
Logs:
1546 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.438234] ------------[ cut here ]------------
1547 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.439198] get of unsupported state
1548 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.439206] WARNING: CPU: 0 PID: 0 at arch/x86/
1549 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] Modules linked in:
1550 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.0-158-
1551 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] Hardware name: NVIDIA NVIDIA DGX-2/NVIDIA DGX-2, BIOS 0.29 06/07/2021
1552 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] RIP: 0010:get_
1553 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] Code: 7e ff ff ff 48 83 c4 08 5b 5d c3 80 3d ed d8 bc 01 00 75 ae 48 c7 c7 52 76 51 9a 89 75 f4 c6 05 da d8 bc 01 01 e8 1a c8 a7 00 <0f> 0b 8b 75 f4 eb 91 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f
1554 09:02:40 INFO | Aug 10 09:01:05 akis systemd-
1555 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] RSP: 0000:ffffffff9a
1556 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] RAX: 0000000000000000 RBX: ffffffff9ae47180 RCX: 000000032109e11a
1557 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] RDX: 0000000000000018 RSI: ffffffff9bd8c620 RDI: 0000000000000246
1558 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] RBP: ffffffff9ac03e90 R08: ffffffff9bd8c620 R09: 74726f707075736e
1559 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] R10: 74726f707075736e R11: 6574617473206465 R12: ffffffff9ae47040
1560 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] R13: 0000000000000246 R14: 000000005a1c7469 R15: 000000005a1d7ee0
1561 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] FS: 000000000000000
1562 09:02:40 INFO | Aug 10 09:01:05 akis systemd[1]: Starting Load Kernel Module pstore_zone...
1563 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
1564 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] CR2: ffffa146fffff000 CR3: 000000802c80a001 CR4: 00000000007200b0
1565 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
1566 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
1567 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] Call Trace:
1568 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? show_regs.
1569 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? __warn+0x98/0xe0
1570 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? get_xsave_
1571 09:02:40 INFO | Aug 10 09:01:05 akis systemd[1]: Condition check resulted in Load Kernel Module ramoops being skipped.
1572 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? report_
1573 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? do_error_
1574 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? do_invalid_
1575 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? get_xsave_
1576 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? invalid_
1577 09:02:40 INFO | Aug 10 09:01:05 akis systemd[1]: Condition check resulted in OpenVSwitch configuration for cleanup being skipped.
1578 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ? get_xsave_
1579 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] identify_
1580 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] identify_
1581 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] arch_cpu_
1582 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] start_kernel+
1583 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] x86_64_
1584 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] x86_64_
1585 09:02:40 INFO | Aug 10 09:01:05 akis systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.
1586 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] secondary_
1587 09:02:40 INFO | Aug 10 09:01:05 akis kernel: [ 13.440197] ---[ end trace 6200f61a0ffeb796 ]---
[Fix]
This commit seems to fix the warning https:/
[Test plan]
Booted locally and no warning shown.
[Regression potentials]
We may see issue during FPU init.
tags: | added: sru-20230807 |
Changed in linux (Ubuntu Focal): | |
status: | New → Fix Committed |
assignee: | nobody → Roxana Nicolescu (roxanan) |
tags: |
added: verification-done-focal-linux removed: verification-done-focal verification-needed-focal-linux |
This bug is awaiting verification that the linux/5.4.0-162.179 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal-linux' to 'verification- done-focal- linux'. If the problem still exists, change the tag 'verification- needed- focal-linux' to 'verification- failed- focal-linux' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!