Intel TDX Azure instances crash during boot due to glibc bug part 2
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
glibc (Ubuntu) | Status tracked in Mantic | |||||
Focal |
Invalid
|
Undecided
|
Heather Lemon | |||
Jammy |
In Progress
|
High
|
Simon Chopin | |||
Mantic |
In Progress
|
High
|
Simon Chopin |
Bug Description
[IMPACT]
This is a continuation of the lp # 2011421
Intel TDX Azure instances are segfaulting due to an error in glibc.
The glibc error is fixed with this patch [1]
FYI elaborating on the commit back-port request [1]
19.1 USING THE CPUID INSTRUCTION
Use the CPUID instruction for processor identification in the Pentium M processor family, Pentium 4 processor
family, Intel Xeon processor family, P6 family, Pentium processor, and later Intel486 processors. This instruction
returns the family, model and (for some processors) a brand string for the processor that executes the instruction.
It also indicates the features that are present in the processor and gives information about the processor’s caches
and TLB.
The ID flag (bit 21) in the EFLAGS register indicates support for the CPUID instruction. If a software procedure can
set and clear this flag, the processor executing the procedure supports the CPUID instruction. The CPUID instruc-
tion will cause the invalid opcode exception (#UD) if executed on a processor that does not support it.
To obtain processor identification information, a source operand value is placed in the EAX register to select the
type of information to be returned. When the CPUID instruction is executed, selected information is returned in the
EAX, EBX, ECX, and EDX registers. For a complete description of the CPUID instruction, tables indicating values
returned, and example code, see CPUID—CPU Identification in Chapter 3 of the Intel® 64 and IA-32 Architectures
Software Developer’s Manual, Volume 2A
Obtain feature flags, status, and system information by using the CPUID instruction, by checking control register
bits, and by reading model-specific registers. We are moving toward a new syntax to represent this information.
See Figure 1-2.
pg 217
[TEST CASE]
Test case requires an azure TDX instance.
Testing instructions from [2] being
getconf -a | grep CACHE
showing non-zero entries for the cache values
[REGRESSION POTENTIAL]
Compatibility impact on applications which invoke CPUID directly.
[OTHER]
This will affect Mantic, Jammy, Focal
[0] https:/
[1] https:/
[2] https:/
Changed in glibc (Ubuntu Focal): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
description: | updated |
description: | updated |
tags: | added: ubuntu-sponsors |
Changed in glibc (Ubuntu Jammy): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
Changed in glibc (Ubuntu Mantic): | |
assignee: | nobody → Heather Lemon (hypothetical-lemon) |
tags: | removed: ubuntu-sponsors |
jammy patch