Bug 295351 - sysutils/cpu-microcode-intel: missing 06-9a-04.80 Alder Lake R0 microcode blobs
Summary: sysutils/cpu-microcode-intel: missing 06-9a-04.80 Alder Lake R0 microcode blobs
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Joseph Mingrone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-05-17 05:45 UTC by fastboot
Modified: 2026-09-23 18:19 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jrm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fastboot 2026-05-17 05:45:19 UTC
On Alder Lake R0 systems (Intel Core i3-1215U / CPUID 06-9a-04.80),
the cpu-microcode-intel package appears to miss the required .80
microcode split files.

Installed packages:

cpu-microcode-intel-20260227
os-cpu-microcode-intel-1.1

Current microcode after boot:

x86info -a | grep -i micro
Microcode version: 0x432

Boot log:

dmesg | grep -i micro
CPU microcode: no matching update found

The package currently only contains:

/usr/local/share/cpucontrol/06-9a-04.40

However, Linux microcode packages contain:
- 06-9a-04.10
- 06-9a-04.40
- 06-9a-04.80

The Linux blobs are also significantly larger, suggesting that
the FreeBSD split packaging may have omitted the .10 and .80
variants entirely.

As a result, Alder Lake R0 platform 06-9a-04.80 systems appear
to remain on firmware-provided microcode (0x432) instead of
newer revisions (Linux currently loads 0x43a).

The issue was discussed here:
https://forum.opnsense.org/index.php?topic=51877.0
Comment 1 fastboot 2026-05-17 05:56:51 UTC
Additional information:

It appears my original assumption regarding the missing 06-9a-04.80 variant was likely incorrect.

The Intel i3-1215U (Alder Lake R0) is a mobile SKU, so the existing 06-9a-04.40 blob should in fact be the correct platform variant.

However, the core issue still seems to remain:

dmesg reports:
"CPU microcode: no matching update found"

despite:

- cpu-microcode-intel being installed
- a matching 06-9a-04.40 blob existing
- newer microcode revisions apparently being available upstream/Linux-side.

So this now looks more like a matching/loading problem than a missing .80 split blob issue.
Comment 2 Joseph Mingrone freebsd_committer freebsd_triage 2026-05-17 15:09:45 UTC
Thanks for reporting.  Are you able to test the proposed fix in https://reviews.freebsd.org/D57046?
Comment 3 fastboot 2026-05-17 18:03:46 UTC
Thanks for the fast support in this. 

Unfortunately I cannot test this directly on the affected system.

This is a production OPNsense firewall and the packages come from the OPNsense build infrastructure, so the fix would first need to be picked up and built by OPNsense.
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-05-26 02:11:33 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d4b93e88468975e64d6321cfc463f5fc19f46d35

commit d4b93e88468975e64d6321cfc463f5fc19f46d35
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2026-05-25 16:15:26 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-05-26 02:10:18 +0000

    sysutils/cpu-microcode-intel: Handle extended signature tables

    Intel microcode files can contain an extended signature table after the
    main payload, listing additional processor signatures and platform flag
    combinations that are covered by the same microcode blob.

    ucode-split was only reading the primary header signature when naming
    output files and ignored the extended table entirely.  As a result,
    processors whose signature appeared only in an extended table entry had
    no matching split file in ${DATADIR} and therefore no microcode via
    cpucontrol(8).

    This affected a number of CPU families in the current release, including
    Raptor Lake (06-bf-02/05/06/07, Core Gen13/Gen14), Sapphire Rapids
    steppings E0-E3 (06-8f-04 through 06-8f-07), Arrow Lake-H (06-c5-02),
    Panther Lake (06-cc-02/03), and others.

    Extend ucode-split to read the extended signature table and write an
    additional output file for each entry.

    PR:             295351
    Reported by:    fastboot <255.255.255.255@web.de>
    Reviewed by:    markj, sbruno
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D57046

 sysutils/cpu-microcode-intel/Makefile            |   1 +
 sysutils/cpu-microcode-intel/files/ucode-split.c | 132 ++++++++++++++++++-----
 sysutils/cpu-microcode-intel/pkg-plist           |  22 ++++
 3 files changed, 129 insertions(+), 26 deletions(-)
Comment 5 Joseph Mingrone freebsd_committer freebsd_triage 2026-05-26 02:20:45 UTC
The fix is in the main branch of FreeBSD's ports repository.  If OPNsense builds its packages from our main branch, I presume you will see the fix soon.  If there are no new reports after a few days, I'll merge this to the quarterly branch.

Thanks again for reporting.  If I missed something, please let me know.
Comment 6 fastboot 2026-06-03 05:16:24 UTC
Hi Joe,

I updated the affected OPNsense system to cpu-microcode-intel-20260512, which should include the ucode-split fix.

Unfortunately the system still reports:

CPU microcode: no matching update found

Relevant details:

cpu-microcode-intel-20260512
os-cpu-microcode-intel-1.1

/boot/loader.conf:
cpu_microcode_load="YES"
cpu_microcode_name="/boot/firmware/intel-ucode.bin"

/boot/firmware/intel-ucode.bin exists and is 16M.

The only matching split file installed is still:

/usr/local/share/cpucontrol/06-9a-04.40

System:

Protectli VP6630
12th Gen Intel Core i3-1215U
Dasharo coreboot+UEFI v0.9.0

So the committed fix appears to be present in the package, but this specific Alder Lake system still does not receive a matching microcode update.

Best regards

fb
Comment 7 Joseph Mingrone freebsd_committer freebsd_triage 2026-06-03 14:27:38 UTC
(In reply to fastboot from comment #6)
Hi fp,

The problem still exists in cpu-microcode-intel-20260512.  The fix was only included starting with cpu-microcode-intel-20260512_1 (note the _1).

Joe
Comment 8 fastboot 2026-06-05 06:48:50 UTC
(In reply to Joseph Mingrone from comment #7)
 Hi Joe,

sorry... my bad. I'll recheck it once the _1 version is available for me. 

Thanks for the feedback.
Comment 9 fastboot 2026-06-15 13:50:12 UTC
Quick update after upgrading to the fixed package:

The system is now running:

cpu-microcode-intel-20260512_1
os-cpu-microcode-intel-1.1

The new split files are now present:

/usr/local/share/cpucontrol/06-9a-04.40
/usr/local/share/cpucontrol/06-9a-04.80

So the ucode-split fix appears to be working as intended and additional files are now generated from the extended signature tables.

However... after rebooting, the system still reports:

dmesg | grep -i micro
[1] CPU microcode: no matching update found

After loading cpuctl:

kldload cpuctl
x86info -a | grep -i micro
Microcode version: 0x0000000000000432

The system is:

Protectli VP6630
Dasharo (coreboot+UEFI) v0.9.0
Intel Core i3-1215U (CPUID 06-9a-04)

So while the original packaging issue is clearly fixed, this particular system still does not appear to receive a microcode update and remains on revision 0x432.
Comment 10 fastboot 2026-06-19 06:17:04 UTC
(In reply to fastboot from comment #8)
(In reply to Joseph Mingrone from comment #7)

Hi Joe,

some additional information:

I checked IA32_PLATFORM_ID:

cpucontrol -m 0x17 /dev/cpuctl0
MSR 0x17: 0x001c0000 0x00000000

This appears to decode to platform ID 7 (platform mask 0x80), which would make 06-9a-04.80 the applicable split file for this CPU.

The 06-9a-04.80 file is now present after upgrading to cpu-microcode-intel-20260512_1.

I also found Intel release notes indicating:

ADL R0 | 06-9a-04/80 | old 0x43a | new 0x43b

which suggests that newer microcode revisions should exist for this platform.

Reference:
https://forum.opnsense.org/index.php?topic=51877.msg268757#msg268757

The system nevertheless remains on microcode revision 0x432 and still reports:

CPU microcode: no matching update found

Given that the original packaging issue appears to be fixed and the correct 06-9a-04.80 split file is now present, does this look more like another issue in the FreeBSD microcode loading path, or something firmware-related (Dasharo/coreboot/Protectli/OPNsense)?

This is a production firewall, so I would prefer not to experiment with manual microcode loading or other potentially disruptive tests unless there is a specific FreeBSD-side diagnostic procedure you would recommend.

Best regards,

fb
Comment 11 Joseph Mingrone freebsd_committer freebsd_triage 2026-06-19 13:35:01 UTC
(In reply to fastboot from comment #10)
Hi fb,

Thanks for the additional information, and sorry for the delay (I'm travelling for a developer summit and BSDCan).  I'll dig into this as soon as I can, but it might take a week or so.

Joe
Comment 12 lumiwa 2026-07-15 20:49:16 UTC
I have the same problem with amd cpu:
lscpu shows:
Architecture:            amd64
Byte Order:              Little Endian
Total CPU(s):            8
Thread(s) per core:      2
Core(s) per socket:      4
Socket(s):               1
Vendor:                  AuthenticAMD
CPU family:              23
Model:                   24
Model name:              AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
Stepping:                1
L1d cache:               32K
L1i cache:               64K
L2 cache:                512K
L3 cache:                4M
Flags:                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cflsh mmx fxsr sse sse2 htt sse3 pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave osxsave avx f16c rdrnd syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm lahf_lm cmp_legacy svm extapic cr8_legacy lzcnt sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb pcx_l2i

Is a laptop Lenovo Thinkpad T495.

Thank you.
Comment 13 Joseph Mingrone freebsd_committer freebsd_triage 2026-07-16 17:15:48 UTC
Hi fb,

Thanks for your patience and the additional information.  Your platform-ID decode in comment 10 looks correct.

Could you try applying the update with the late (runtime) method?  It will help pin down the problem, only ever raises the revision, and doesn't persist across reboots:

sudo kldload cpuctl
sudo cpucontrol -m 0x8b /dev/cpuctl0 # current revision
sudo cpucontrol -u -v -d /usr/local/share/cpucontrol /dev/cpuctl0
sudo cpucontrol -m 0x8b /dev/cpuctl0 # revision after

If that brings you to 0x43b, the update itself works, and the problem is specific to FreeBSD's early (loader) path.  A detail worth repeating: the matching image's primary header signature is 06-9a-03; your 06-9a-04 is carried only in its extended signature table.  That matters because of this fix: https://cgit.freebsd.org/src/commit/?id=0beb172898499fff51eed4df3d9284cd1094afbb

Before it, the kernel's early loader had a backwards check that made it ignore the extended signature table entirely.  That means a CPU whose signature appears only there (like yours) never matched during early loading.  It's merged to stable/15 (and stable/14), but not to the 15.0/15.1 release branches.  You haven't mentioned which FreeBSD version your OPNsense build is based on, and your symptoms match a kernel without this fix.

Could you send:

uname -a
freebsd-version -k

That'll confirm whether your kernel predates the fix.  In the meantime, the late/runtime method (using the microcode_update rc service) will keep you patched.  See sysutils/cpu-microcode-rc and its pkg-message.

If it unexpectedly stays at 0x432, we'll hopefully learn more from the -v output.  That could point to the Dasharo/coreboot firmware on the VP6630 rather than FreeBSD.

Joe
Comment 14 fastboot 2026-07-16 17:57:03 UTC
Hi Joe,

I ran the runtime update test you suggested.

Kernel information:

uname -a
FreeBSD fw.domain.tld 14.3-RELEASE-p16 FreeBSD 14.3-RELEASE-p16 stable/26.1-n272152-9b6eef552f24 SMP amd64

freebsd-version -k
14.3-RELEASE-p16

Before the update:

cpucontrol -m 0x8b /dev/cpuctl0
MSR 0x8b: 0x00000432 0x00000000

Runtime update:

cpucontrol -u -v -d /usr/local/share/cpucontrol /dev/cpuctl0
/usr/local/share/cpucontrol/06-9a-04.80: updating cpu /dev/cpuctl0 from rev 0x432 to rev 0x43b... done.
cpucontrol: skipping /usr/local/share/cpucontrol/06-9a-03.80 of rev 0x43b: up to date
cpucontrol: skipping /usr/local/share/cpucontrol/06-9a-04.80 of rev 0x43b: up to date
cpucontrol: skipping /usr/local/share/cpucontrol/06-9a-03.80 of rev 0x43b: up to date

After the update:

cpucontrol -m 0x8b /dev/cpuctl0
MSR 0x8b: 0x0000043b 0x00000000

So the runtime update works correctly and the CPU successfully updates from 0x432 to 0x43b using 06-9a-04.80.

This seems to confirm that the microcode image itself is valid for this CPU and that the remaining issue is specific to the early loader path on this kernel.

I'll wait for your feedback on what the appropriate next step would be, and whether this needs to be addressed in FreeBSD or in the kernel branch used by OPNsense.

Thanks again for your help and for pointing me in the right direction.

Cheers,

fb
Comment 15 fastboot 2026-07-16 18:00:50 UTC
(In reply to lumiwa from comment #12)

No offense, but I assume you noticed that this bug report is specifically about an Intel CPU and Intel microcode handling.

The AMD issue you're facing may have a completely different root cause. I would suggest opening a separate bug report for it rather than hijacking this one, so it can be investigated independently.

Cheers,

fb
Comment 16 Joseph Mingrone freebsd_committer freebsd_triage 2026-07-16 23:05:50 UTC
Sure. I certainly could have put the pieces together earlier, but I got bogged down on the particular problem discussed in the original post, even though you backed away from that claim in comment 1.

The change committed here (ports d4b93e8, "Handle extended signature tables"), which made ucode-split emit an explicitly named split file for each signature+platform, has no bearing on early loading, which uses the concatenated blob anyway.  Everything in my commit message starting with "and therefore no microcode via cpucontrol(8)." was probably inaccurate.  Each split file already contains a complete microcode image (including its extended signature table), and late loading via cpucontrol(8) would have worked before because cpucontrol iterates over every file in the data directory and matches the data reported from the CPU against the image's primary signature and its extended signature table.

I understand your system is in production, but if you're willing to test this the next time you need to reboot, it would be very helpful.  If you can somehow downgrade to cpu-microcode-intel-20260512 and test late loading again, that would confirm that my change was unnecessary.  Based on past comments, I'm guessing this won't be easy for you.  If you're unable to downgrade, I guess I could revert d4b93e8 first.

Writing a named split file for each (signature, platform) combination an image covers, including combinations that appear only in an image's extended signature table, is still a discoverability improvement and matches the upstream Linux layout, but it increases the size of the split files by about 50% when the default SPLIT knob is enabled.

I can ask about an EN, but in the short term I'd stick to late loading so your CPU uses the latest microcode.
Comment 17 fastboot 2026-07-17 06:31:03 UTC
(In reply to Joseph Mingrone from comment #16)

Hi Joe,

I was able to test the older package as requested.

I first made sure to take a configuration backup and created a fresh ZFS boot environment as a rollback point before making any changes.

The system was initially running:

pkg info cpu-microcode-intel
cpu-microcode-intel-20260512_1

Downgraded the package using OPNsense's revert mechanism:

opnsense-revert -r 26.1.9 cpu-microcode-intel

Output:

Fetching cpu-microcode-intel.pkg: ...... done
Verifying signature with trusted certificate pkg.opnsense.org.20260120... done
cpu-microcode-intel-20260512_1: already unlocked
Installing cpu-microcode-intel-20260512...
package cpu-microcode-intel is already installed, forced install
Extracting cpu-microcode-intel-20260512: 100%

I verified the installed package afterwards:

pkg info -x microcode

cpu-microcode-intel-20260512
os-cpu-microcode-intel-1.1

Then rebooted the firewall...

After the reboot:

pkg info -x microcode
cpu-microcode-intel-20260512
os-cpu-microcode-intel-1.1

I loaded cpuctl:

kldload cpuctl

and checked the microcode revision:

cpucontrol -m 0x8b /dev/cpuctl0

MSR 0x8b: 0x00000432 0x00000000

So after the reboot, the CPU was back at revision 0x432 as expected.

Tested late/runtime loading with the older cpu-microcode-intel-20260512 package:

cpucontrol -u -v -d /usr/local/share/cpucontrol /dev/cpuctl0

Output:

/usr/local/share/cpucontrol/06-9a-04.80: updating cpu /dev/cpuctl0 from rev 0x432 to rev 0x43b... done.
cpucontrol: skipping /usr/local/share/cpucontrol/06-9a-03.80 of rev 0x43b: up to date
cpucontrol: skipping /usr/local/share/cpucontrol/06-9a-04.80 of rev 0x43b: up to date
cpucontrol: skipping /usr/local/share/cpucontrol/06-9a-03.80 of rev 0x43b: up to date

Finally, I checked the revision again:

cpucontrol -m 0x8b /dev/cpuctl0

MSR 0x8b: 0x0000043b 0x00000000

So late/runtime loading successfully updates the CPU from 0x432 to 0x43b with cpu-microcode-intel-20260512 as well.

This appears to confirm your conclusion that d4b93e8 was not required for cpucontrol(8) late loading, and that the remaining issue on this system is specific to the early loader path.

I'll restore the current cpu-microcode-intel package version now.

Thanks again for looking into this. Any idea how we can get the early loading issue fixed?

Cheers,

fb
Cheers,

fb
Comment 18 Joseph Mingrone freebsd_committer freebsd_triage 2026-07-18 21:27:56 UTC
(In reply to fastboot from comment #17)

Hi fb,

Thank you very much for the detailed test, especially on your production system.  After you downgraded the package, rebooted, and ran cpucontrol, your output still references 06-9a-04.80.  This file was only added in ports d4b93e8, so your package downgrade somehow left the newer split files in place.  I think we have a clear picture, though.  The output also says, "skipping /usr/local/share/cpucontrol/06-9a-03.80 of rev 0x43b," which shows cpucontrol matched your CPU against the old file via its extended signature table.

It's unrelated to the situation here, but I'll revert ports d4b93e8 to save a few MB in the package.  I'll likely wait until the next time we need to update sysutils/cpu-microcode-intel to minimize disruption.

> Any idea how we can get the early loading issue fixed?

I will ask release engineering and secteam about an EN (Errata Notice).  If they accept the EN, you'll see an entry at https://www.freebsd.org/security/notices/, with guidance on how to work around or solve the issue.  If they decline, we have to wait for the next point release for the fix to land.  

I'm unsure how OPNsense handles cases like this.  They may use FreeBSD ENs, wait for the next point release, or use their own update mechanism.

Thanks again,
Joe
Comment 19 fastboot 2026-07-19 05:44:02 UTC
(In reply to Joseph Mingrone from comment #18)


Hi Joe,

thanks for the clarification and for looking into the EN.

That also explains the 06-9a-04.80 file after the downgrade. I hadn't considered that the downgrade might leave files introduced by the newer package behind.

I'll keep an eye on the FreeBSD notices and will also see how OPNsense handles the fix once the path forward is clear.

Thanks again for all your work on this and for keeping me updated.

Cheers,

fb
Comment 20 commit-hook freebsd_committer freebsd_triage 2026-08-12 03:58:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ead6f1476713d51fd85ffae50645786b782f2d07

commit ead6f1476713d51fd85ffae50645786b782f2d07
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2026-08-11 17:25:21 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-08-12 03:57:28 +0000

    Revert "sysutils/cpu-microcode-intel: Handle extended signature tables"

    This reverts a change to the way Intel CPU microcode files were split.
    In d4b93e8846, an explicitly named file was written for each
    signature+platform combination in an image's extended signature table.
    Writing these new files offered discoverability advantages, but it was
    unnecessary since cpucontrol(8) already checks the embedded extended
    signature table.  Moreover, adding these extra files increased the size
    of the split files by about 50% when the default SPLIT knob was enabled.

    This reverts commit d4b93e88468975e64d6321cfc463f5fc19f46d35.

    PR:             295351
    Sponsored by:   The FreeBSD Foundation

 sysutils/cpu-microcode-intel/Makefile            |   2 +-
 sysutils/cpu-microcode-intel/files/ucode-split.c | 132 +++++------------------
 sysutils/cpu-microcode-intel/pkg-plist           |  22 ----
 3 files changed, 27 insertions(+), 129 deletions(-)
Comment 21 Joseph Mingrone freebsd_committer freebsd_triage 2026-08-15 15:33:47 UTC
Hello fastboot,

I submitted a draft Errata Notice (EN) to the security team at the beginning of the month for src commit 0beb172898499fff51eed4df3d9284cd1094afbb, which fixes early loading.  Their response was positive, so the fix could be available soon for the current releases (14.4, 15.0, and 15.1).  Since your OPNsense system is based on FreeBSD 14.3, OPNsense will have to backport the fix regardless of any EN.

On the ports side, as you saw, I reverted ports commit ead6f1476713.

I think this is about all we can do for this bug report, so if you have no further concerns or objections, I will close it.

Joe
Comment 22 Joseph Mingrone freebsd_committer freebsd_triage 2026-09-08 15:22:26 UTC
Hello fastboot,

The Errata Notice is out: https://www.freebsd.org/security/advisories/FreeBSD-EN-26:20.microcode.asc

I think this is all we can do.  If there are no objections, I'll close this issue.