Skip to content

First iteration fips boot support for 6.12 kernel#15659

Merged
chalamalasetty merged 6 commits into3.0-devfrom
schalam/kernelhwefips
Feb 7, 2026
Merged

First iteration fips boot support for 6.12 kernel#15659
chalamalasetty merged 6 commits into3.0-devfrom
schalam/kernelhwefips

Conversation

@chalamalasetty
Copy link
Contributor

@chalamalasetty chalamalasetty commented Feb 2, 2026

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

First‑iteration changes for FIPS boot support on the 6.12 kernel for testing.
Upstream includes the cfb and ofb kernel modules in the module list—even though they are deprecated in newer kernel versions —in the latest dracut main branch (https://github.com/dracut-ng/dracut-ng/blob/main/modules.d/11fips/module-setup.sh#L22), which suggests support for kernels beyond 6.8.
We are currently carrying an old Fedora patch (0006-dracut.sh-validate-instmods-calls.patch).
Since we need to support both 6.6 and 6.12 kernels, we are removing this patch to remain on Dracut v102.
Enable building and producing 6.12 FIPS core and marketplace images for initial testing.

Change Log
  • Change
    Enable fips boot support for 6.12 kernel
  • Change
  • Change
Does this affect the toolchain?

NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Pipeline build id: Local build validation

@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging Schema Changes to image configurations 3.0-dev PRs Destined for AzureLinux 3.0 labels Feb 2, 2026
@chalamalasetty chalamalasetty marked this pull request as ready for review February 2, 2026 20:28
@chalamalasetty chalamalasetty requested a review from a team as a code owner February 2, 2026 20:28
Copy link
Contributor

@Camelron Camelron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me from a dracut standpoint.

@dmcilvaney
Copy link
Contributor

Also looks ok.

It would be nice to get some background on why we are removing the patch though: what was broken? Why does it work now without the patch, etc.

# Mocks sha512hmac using the openssl tool.
# Only for use during RPM build.

openssl sha512 -hmac FIPS-FTW-RHT2009 -hex "$1" | cut -f 2 -d ' ' | echo "$(cat -) $1" No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: missing trailing new line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@chalamalasetty chalamalasetty merged commit dfde579 into 3.0-dev Feb 7, 2026
29 of 32 checks passed
@chalamalasetty chalamalasetty deleted the schalam/kernelhwefips branch February 7, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging Schema Changes to image configurations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants