Skip to content

[17.0] Kernel update - [amd64-rt, amd64-generic, amd64-generic, arm64-generic, arm64-generic, arm64-nvidia-jp7, riscv64-generic] - #6191

Merged
rene merged 2 commits into
lf-edge:17.0-stablefrom
christoph-zededa:17.0-bump_eve_kernel
Aug 4, 2026
Merged

[17.0] Kernel update - [amd64-rt, amd64-generic, amd64-generic, arm64-generic, arm64-generic, arm64-nvidia-jp7, riscv64-generic]#6191
rene merged 2 commits into
lf-edge:17.0-stablefrom
christoph-zededa:17.0-bump_eve_kernel

Conversation

@christoph-zededa

@christoph-zededa christoph-zededa commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description

Backport of #6180

Release-branch counterpart of #6180 for 17.0. The kernel pins on 17.0 matched master's pre-update state, so this applies the same update: kernel-commits.mk regenerated with tools/update_kernel_commits.py and amd64 moved to the new eve-kernel-amd64-v6.12.96-generic branch, resulting in the identical pin set.

The arm64 and riscv64 pins pick up the same three changes:

  • KVM: x86: Fix shadow paging use-after-free due to unexpected role
  • KVM: x86: Fix shadow paging use-after-free due to unexpected GFN
  • Makefile.eve: make linuxkit tmp dir user-specific (kernel build tooling; no runtime change)

amd64 instead moves from the v6.12.49 to the v6.12.96 eve-kernel branch, i.e. from upstream stable Linux 6.12.49 to 6.12.96 (47 point releases), and kernel-version.mk is bumped accordingly. Both KVM shadow-paging fixes are in upstream 6.12.96, as is the af_alg CVE-2026-31431 fix that v6.12.49-generic carried as a backport. The EVE patch stack (37 patches) was rebased onto the new tag unchanged, with one exception: Makefile.eve: make linuxkit tmp dir user-specific is not present on the new branch (build tooling only, no runtime effect). docs/KERNEL.md is updated to match, in a separate commit.

Updated pins used by this branch:

eve-kernel branch old new
eve-kernel-amd64-v6.12.49-genericeve-kernel-amd64-v6.12.96-generic dcdba3ddf871 bfc617435842
eve-kernel-arm64-v6.1.155-generic 9fa67514972d 417a12ac3d50
eve-kernel-arm64-v6.8.12-nvidia-jp7 452eaffef5ed 7f5919c0eaef
eve-kernel-riscv64-v6.1.112-generic 30aa75d58cdd bd5816893ca9

amd64-next, nvidia-jp5 and nvidia-jp6 pins are unchanged. The update also re-adds pins for eve-kernel branches that exist upstream but are not referenced by kernel-version.mk on this branch (amd64-v6.1.111-rt, amd64-v6.1.177-generic, arm64-v6.1.112-generic); these entries are inert here. The inert amd64 6.1.x pin now tracks the new v6.1.177 branch instead of v6.1.112. See the commit message for the full per-branch changelogs.

Docker Hub images for all new pins were verified to exist, including the amd64 core and rt config flavors.

How to test and validate this PR

  • The PR gate builds every supported ZARCH/PLATFORM combination against the new pins, which validates that the pinned kernel images are pullable and usable.
  • Local validation: make live && make run-live; the device should boot normally and uname -r inside EVE reports a kernel version string containing the new short commit hash of the pinned kernel.
  • The KVM shadow-paging fixes are exercised by deploying/booting any VM app instance; make eden TEST_SMOKE=1 covers app-instance deployment end to end.

Changelog notes

Kernel update for all supported platforms: the amd64 kernel moves to upstream stable Linux 6.12.96 (from 6.12.49), and arm64/riscv64 pick up two KVM x86 shadow-paging use-after-free fixes.

PR Backports

Not applicable — this PR targets the 17.0 release branch (counterpart of #6180; the LTS-branch PRs are #6181, #6182 and #6183).

Checklist

  • I've provided a proper description
  • I've added the proper documentation
  • I've tested my PR on amd64 device
  • I've tested my PR on arm64 device
  • I've written the test verification instructions
  • I've set the proper labels to this PR

For backport PRs (remove it if it's not a backport):

  • I've added a reference link to the original PR
  • PR's title follows the template

And the last but not least:

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them: device testing is pending while this PR is in draft (CI + QA validation to follow).

@christoph-zededa

Copy link
Copy Markdown
Contributor Author

seems yetus does not like this 17.0 branch - I see the same issue f.e. here: #6175

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.02%. Comparing base (2de292d) to head (db50b64).
⚠️ Report is 3 commits behind head on 17.0-stable.

Additional details and impacted files
@@               Coverage Diff               @@
##           17.0-stable    #6191      +/-   ##
===============================================
+ Coverage        20.61%   21.02%   +0.41%     
===============================================
  Files              506      516      +10     
  Lines            92880    94578    +1698     
===============================================
+ Hits             19148    19887     +739     
- Misses           72136    72917     +781     
- Partials          1596     1774     +178     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@christoph-zededa
christoph-zededa force-pushed the 17.0-bump_eve_kernel branch 6 times, most recently from 0a7a0a8 to 5508b21 Compare July 29, 2026 12:22
@christoph-zededa
christoph-zededa marked this pull request as ready for review July 31, 2026 11:23

@eriknordmark eriknordmark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@eriknordmark
eriknordmark requested a review from rene July 31, 2026 18:39
@rene
rene force-pushed the 17.0-bump_eve_kernel branch from 5508b21 to 87ff82a Compare August 3, 2026 09:35
@github-actions
github-actions Bot requested a review from eriknordmark August 3, 2026 09:35
@rene

rene commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Updates in this PR:

  • Rebase on top of 17.0-stable to get Eden Tests fixes.

christoph-zededa and others added 2 commits August 3, 2026 12:54
This commit changes:
eve-kernel-amd64-v6.12.96-generic
    bfc617435842: Makefile.eve: Set kernel version to 6.12.96
    513d44fe2f68: KVM: x86/mmu: emulate (not -EFAULT) guest access to a disabled passthrough BAR
    d5cf6db669bd: vfio/pci: Set up BAR resources and maps in vfio_pci_core_enable()
    14c0ab4408c5: Dockerfile.gcc: bump ZFS to 2.3.6
    fc2b2d7e8d8c: GHA: targeted cleanup — preserve BuildKit ccache across runs
    26c351a70659: GHA: pin actions to commit SHAs and bump to latest versions
    77b1f5d7e31f: Makefile.eve: use linuxkit pkg build for kernel build
    0c6334cdab08: Makefile.eve: pin linuxkit to upstream master tip
    7a637697296d: Makefile.eve: flexible linuxkit acquisition, drop manual builder setup
    e24d3a76f5ec: Add cleanup steps to CI workflows and Makefile
    1fab3342f815: Enable NUMA and NUMA balancing
    18609908513f: configs: Disable INTEL_PCH_THERMAL driver
    9239af580bbf: [rt] Adjust rt.fragment according to Intel recommendations
    39809ebe29a2: Add RT patch download/apply to rt-config and rt-clean target
    0084072d4c71: Re-enable cgroup v1 support
    f9d6e74deb7f: Improve kernel compression
    81da20db5cf5: Update kernel tag for 6.12.49 and push named branch
    9e7a4bb60a97: [hwe] Enable UAS for USB
    2ec3b739aa98: [core,hwe] Add proper support for Siemens IPC devices
    b3c1ca585eb1: gha: add GHA and add 'rt' flavor to the matrix
    3c77ada27420: [rt] Add CONFIG_X86_CPU_RESCTRL for Intel CAT
    815f1633dcb7: [rt] Add RT config generation using fragment
    e53a51d2fe0e: Bump ZFS version to 2.3.3
    fe626a1d906e: Adopt drivers/usb/serial/xr_usb_serial_common.c for kernel 6.12
    c45389115367: Update configs to 6.12.49
    dcb3b01c586d: MFD: Add JUMPtec/Kontron PLD drivers (kempld)
    4bfd02bd78a3: Enable RS485 mode for USB_SERIAL_XR_RS485
    facb93e81d80: Add USB MaxLinear/Exar USB to Serial driver. Version 1G
    b4082a0b6342: bpf: lockdown for security
    11df13a9e3aa: stmmac: Do not enable/disable runtime PM for PCI devices
    46cd7afdcedb: Override ACS capability even if it is supported by device
    afbec254dca5: Add support for EM321 platform devices
    25b31ca3bbd2: Add support for LEDs on Operational Services EM320 device
    268ce016f3a7: Quirk for brocken INTx on Euresys Grablink Full XR
    72cb0d25c008: ACS override patch
    0b1bc50d43fd: Integrate build files from v6.1.112 branch
    27886b02af9c: Initial kernel configs from  6.1.38 kernel

eve-kernel-arm64-v6.1.155-generic
    417a12ac3d50: Makefile.eve: make linuxkit tmp dir user-specific
    ad07c79db038: KVM: x86: Fix shadow paging use-after-free due to unexpected role
    73eada660b80: KVM: x86: Fix shadow paging use-after-free due to unexpected GFN

eve-kernel-arm64-v6.8.12-nvidia-jp7
    7f5919c0eaef: Makefile.eve: make linuxkit tmp dir user-specific
    c4b76b8d40ce: KVM: x86: Fix shadow paging use-after-free due to unexpected role
    08d72f7bb0c1: KVM: x86: Fix shadow paging use-after-free due to unexpected GFN

eve-kernel-riscv64-v6.1.112-generic
    bd5816893ca9: Makefile.eve: make linuxkit tmp dir user-specific
    385a8712783d: KVM: x86: Fix shadow paging use-after-free due to unexpected role
    2e746af4691d: KVM: x86: Fix shadow paging use-after-free due to unexpected GFN

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
The amd64 generic/rt kernel moved from the eve-kernel v6.12.49 branch to
v6.12.96. Update the current-version list, the branch-name examples and
the pinned commit shown in the kernel-commits.mk sample.

Signed-off-by: Christoph Ostarek <christoph@zededa.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@rene
rene merged commit bba2329 into lf-edge:17.0-stable Aug 4, 2026
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants