Use new annotations model
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Roxana Nicolescu | ||
Jammy |
Fix Released
|
Low
|
Unassigned | ||
Kinetic |
Won't Fix
|
Low
|
Unassigned | ||
linux-gcp (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Thadeu Lima de Souza Cascardo | ||
Kinetic |
Invalid
|
Undecided
|
Thadeu Lima de Souza Cascardo | ||
linux-kvm (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Thibf | ||
Jammy |
New
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Starting with lunar we have introduced a new way to manage kernel configs, unifying the duplicated information defined in the annotations file + config chunks into an annotations-only model.
[Test case]
A kernel build can be considered a valid test case, in particular the specific command that is used to update the .config's for all the supported architectures and flavours:
$ fakeroot debian/rules updateconfigs
[Fix]
Import the required changes in debian/ from lunar (with the required adjustments) to support the annotations-only model also in all the previous releases.
[Regression potential]
We may experience regressions during the updateconfigs step, especially with derivatives. Moreover, derivatives that want to transition to the new annotations model require to adjust the header in the annotations file as following (make sure to define the corresponding architectures and flavours):
# FORMAT: 4
# ARCH: amd64 arm64 armhf ppc64el s390x
# FLAVOUR: amd64-generic amd64-lowlatency arm64-generic arm64-generic-64k arm64-lowlatency arm64-lowlatenc
After adjusting the header a special command is provided to transition to the new annotations-only model:
$ fakeroot debian/rules migrateconfigs
This command should automatically import the old configs into the new annotations file.
A kernel with this change applied can still support the old annotations+configs model, the transition to the new model is not mandatory.
Basically without using `fakeroot debian/rules migrateconfigs` the updateconfigs step will continue to use the old model and the old scripts (that is the safest approach to avoid potential unexpected .config changes).
CVE References
- 2022-48502
- 2023-0597
- 2023-1380
- 2023-1670
- 2023-1859
- 2023-2124
- 2023-2612
- 2023-30456
- 2023-3090
- 2023-31083
- 2023-31248
- 2023-3141
- 2023-31436
- 2023-32233
- 2023-3389
- 2023-3390
- 2023-34319
- 2023-3439
- 2023-35001
- 2023-3772
- 2023-4132
- 2023-42752
- 2023-42753
- 2023-42755
- 2023-42756
- 2023-4622
- 2023-4623
- 2023-4881
- 2023-4921
description: | updated |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in linux (Ubuntu Jammy): | |
importance: | Undecided → Low |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Low |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu Kinetic): | |
importance: | Undecided → Low |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu Focal): | |
status: | Confirmed → Triaged |
Changed in linux (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
Changed in linux-gcp (Ubuntu Jammy): | |
status: | New → Fix Committed |
Changed in linux-gcp (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in linux-gcp (Ubuntu Jammy): | |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
Changed in linux-gcp (Ubuntu Kinetic): | |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
Changed in linux-gcp (Ubuntu Jammy): | |
importance: | Undecided → Medium |
tags: |
added: verification-done-jammy removed: verification-needed-jammy |
Changed in linux (Ubuntu Focal): | |
status: | Triaged → In Progress |
assignee: | nobody → Roxana Nicolescu (roxanan) |
importance: | Low → Medium |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux-kvm (Ubuntu Kinetic): | |
status: | New → Invalid |
Changed in linux-kvm (Ubuntu Focal): | |
status: | New → Fix Committed |
assignee: | nobody → Thibf (thibf) |
tags: |
added: verification-done-focal-linux removed: verification-needed-focal-linux |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2019000
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.