[GH-ISSUE #1] GB202: pairing unpublished Falcon images in the closed driver module, and automating the payload derivation #3

Open
opened 2026-10-31 06:58:56 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @isma-is-dev on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/phiraml/gpu-unlock-blackwell/issues/1

I have been working the same question from the Linux module side and got three results that may save you time. Nothing here touches a GPU, and nothing here is a claim about your measurements: your probe/5090-stock.json is the baseline I used for the restriction itself (FP16/FP16 334.68 TFLOP/s against FP16/FP32 226.14, ratio 0.676, and BF16/FP32 at 0.664, which agrees with NVIDIA's own 209.5 against 419).

1. The payload derivation is mechanical, not manual RE

The six gadgets the payload needs have fixed byte signatures, because the constants they carry are the same on every chip that runs this booter: the BAR window at 0x1c000, the mailbox at 0x1000, the canary slot at 0x5f50.

So they can be found by pattern instead of by reading a disassembly. find_gadgets.py locates them and rebuilds the payload word table.

It is validated, not hoped for. On the AD102 booter code region rebuilt from TOTORONG's published decrypted disassembly, it finds the gadgets at exactly the published addresses (0x21b2, 0x33fc, 0x256f, 0x7a02, 0x31b5, 0x771e), and the payload it produces is byte for byte the one the Ada repository pins (SHA-256 44c36b2d6b3424e53e18f3e55db85c833655de071ce66ce42749588a4a7dc8cb). A host test pins that.

The consequence for a Blackwell port: a GB20x booter plaintext is enough. The payload table follows from it mechanically; only the four PLM target registers and the stack pointer the chain starts from still have to be read off the chip.

2. How to reach the unpublished Falcon images in the closed module

The driver's precompiled module keeps NVIDIA's generated bindata as raw DEFLATE streams followed by a gzip trailer, so the booter images are in there in compressed form.

The pairing rule is exact: inside the module a container's header record sits just before its image, and the image is the os code, the code and the data, so its size is the data offset plus the data size plus the os code block.

With that rule, the 610.43.03 nv-kernel.o_binary yields seven published images as a control and 86 unpublished ones. The control is byte exact: the image the rule pairs with the AD102 header is byte for byte the AD102 IMAGE_DBG that NVIDIA publishes in the open source (SHA-256 8f1edc1cc980208eae1a25334d5f32e972b8cce3ad997c1d93a232be825b7441), so the pairing finds real archives and not coincidences.

find_booter_in_module.py --pair reproduces it and --extract DIR writes the images out with a sidecar describing each one's geometry.

3. What the Linux driver does not have

Every booter-sized geometry in the 610.43.03 module belongs to a chip NVIDIA already publishes: 60416 (GA102), 60160 (GA100), 59136 (TU102), 58880 (TU116), 56832 (AD102). The unpublished images are smaller ucodes, the largest at 40192 bytes with a code end of 0x5000, against the Ada booter's 56832 and code end 0x7e00.

And in the open module the per-chip dispatch for the booter (g_kernel_gsp_nvoc.c, kgspGetBinArchiveBooterLoadUcode) covers TU102, TU116, GA100, the GA102 family and AD10x explicitly, and resolves every other chip, Blackwell included, to kgspGetBinArchiveBooterLoadUcode_80f438, which in the open header is a stub that returns NULL. So the Blackwell booter is not in the open source either, and not in the Linux module's bindata.

Two things worth checking on your side, since you flagged nvlddmkm.sys as the place to look: the Windows module's bindata set may be larger than the Linux one, and the per-chip Blackwell firmware an install writes under /usr/lib/firmware/nvidia/gb202/ is the installer's split of the encrypted .fwimage, which is a different route again.

4. The ask

Either of these unblocks the port:

  • a GB20x booter plaintext, or a GB20x IMAGE_DBG someone can decrypt;
  • the debug test key, if you have it.

On the key: the cmp170hx wiki says the "debug key number 37" claim was never substantiated, that neither the key nor a decrypted production image was ever posted, and that the actionable recipe is a "trivial non-secret key 01234567...". I have swept the simple permutations of the MD5 initialisation vector with the key number last and first, on both the binary and the ASCII hex bases, plus the trivial families and hash-derived candidates, with no hit. If anyone knows where that key actually is, it is the single missing input for this whole line of work.

5. What I did with it meanwhile

In a fork of the Ada repository the module now has per-chip profiles, refuses GB20x cards explicitly with a reason instead of ignoring them, carries the GB202 GSP boot assets extracted and pinned from the pinned NVIDIA source, and has a read-only measurement path ready for a real 5090. The tools above are described here; the diff is on request, and the reasoning is written up in docs/gb20x-blackwell-report.md.

Originally created by @isma-is-dev on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/phiraml/gpu-unlock-blackwell/issues/1 I have been working the same question from the Linux module side and got three results that may save you time. Nothing here touches a GPU, and nothing here is a claim about your measurements: your `probe/5090-stock.json` is the baseline I used for the restriction itself (FP16/FP16 334.68 TFLOP/s against FP16/FP32 226.14, ratio 0.676, and BF16/FP32 at 0.664, which agrees with NVIDIA's own 209.5 against 419). ## 1. The payload derivation is mechanical, not manual RE The six gadgets the payload needs have fixed byte signatures, because the constants they carry are the same on every chip that runs this booter: the BAR window at 0x1c000, the mailbox at 0x1000, the canary slot at 0x5f50. So they can be found by pattern instead of by reading a disassembly. `find_gadgets.py` locates them and rebuilds the payload word table. It is validated, not hoped for. On the AD102 booter code region rebuilt from TOTORONG's published decrypted disassembly, it finds the gadgets at exactly the published addresses (0x21b2, 0x33fc, 0x256f, 0x7a02, 0x31b5, 0x771e), and the payload it produces is byte for byte the one the Ada repository pins (SHA-256 `44c36b2d6b3424e53e18f3e55db85c833655de071ce66ce42749588a4a7dc8cb`). A host test pins that. The consequence for a Blackwell port: **a GB20x booter plaintext is enough**. The payload table follows from it mechanically; only the four PLM target registers and the stack pointer the chain starts from still have to be read off the chip. ## 2. How to reach the unpublished Falcon images in the closed module The driver's precompiled module keeps NVIDIA's generated bindata as raw DEFLATE streams followed by a gzip trailer, so the booter images are in there in compressed form. The pairing rule is exact: inside the module a container's header record sits just before its image, and the image is the os code, the code and the data, so its size is the data offset plus the data size plus the os code block. With that rule, the 610.43.03 `nv-kernel.o_binary` yields seven published images as a control and **86 unpublished ones**. The control is byte exact: the image the rule pairs with the AD102 header is byte for byte the AD102 `IMAGE_DBG` that NVIDIA publishes in the open source (SHA-256 `8f1edc1cc980208eae1a25334d5f32e972b8cce3ad997c1d93a232be825b7441`), so the pairing finds real archives and not coincidences. `find_booter_in_module.py --pair` reproduces it and `--extract DIR` writes the images out with a sidecar describing each one's geometry. ## 3. What the Linux driver does not have Every booter-sized geometry in the 610.43.03 module belongs to a chip NVIDIA already publishes: 60416 (GA102), 60160 (GA100), 59136 (TU102), 58880 (TU116), 56832 (AD102). The unpublished images are smaller ucodes, the largest at 40192 bytes with a code end of 0x5000, against the Ada booter's 56832 and code end 0x7e00. And in the open module the per-chip dispatch for the booter (`g_kernel_gsp_nvoc.c`, `kgspGetBinArchiveBooterLoadUcode`) covers TU102, TU116, GA100, the GA102 family and AD10x explicitly, and resolves every other chip, Blackwell included, to `kgspGetBinArchiveBooterLoadUcode_80f438`, which in the open header is a stub that returns NULL. So the Blackwell booter is not in the open source either, and not in the Linux module's bindata. Two things worth checking on your side, since you flagged `nvlddmkm.sys` as the place to look: the Windows module's bindata set may be larger than the Linux one, and the per-chip Blackwell firmware an install writes under `/usr/lib/firmware/nvidia/gb202/` is the installer's split of the encrypted `.fwimage`, which is a different route again. ## 4. The ask Either of these unblocks the port: - a GB20x booter plaintext, or a GB20x `IMAGE_DBG` someone can decrypt; - the debug test key, if you have it. On the key: the cmp170hx wiki says the "debug key number 37" claim was never substantiated, that neither the key nor a decrypted production image was ever posted, and that the actionable recipe is a "trivial non-secret key `01234567...`". I have swept the simple permutations of the MD5 initialisation vector with the key number last and first, on both the binary and the ASCII hex bases, plus the trivial families and hash-derived candidates, with no hit. If anyone knows where that key actually is, it is the single missing input for this whole line of work. ## 5. What I did with it meanwhile In a fork of the Ada repository the module now has per-chip profiles, refuses GB20x cards explicitly with a reason instead of ignoring them, carries the GB202 GSP boot assets extracted and pinned from the pinned NVIDIA source, and has a read-only measurement path ready for a real 5090. The tools above are described here; the diff is on request, and the reasoning is written up in `docs/gb20x-blackwell-report.md`.
Author
Owner

@isma-is-dev commented on GitHub (Oct 25, 2026):

Update on the driver modules, since this is the part you were pointing at.

I extracted the Windows driver properly and worked the bindata in it. The 610.88 installer is a 7z payload and Display.Driver/nvlddmkm.sys is 114.8 MB inside it. Two things were in the way and both are now solved.

The layout is not the same as on Linux. On Linux a container's header record sits right before its image, so the images can be paired by adjacency. On Windows the 139 Falcon header records live in their own region (0x1d2xxxx) and the images are elsewhere, so adjacency finds nothing. The rule that works on both is the geometry: a header record declares where the code and the data live, so the image size is known before the image is found (data offset plus data size plus the os code block). With that, the Windows module yields 97 images behind its 48 geometries, 81 of them unpublished by NVIDIA.

Size alone will mislead you. A Falcon ucode container starts with a cleartext preamble of zeroes, which is what the AD102 and GA102 booters do; the GSP images are RISC-V code from the first byte. The largest unpublished image in the module, 53,248 bytes, is a GSP image and not a booter. Once you tell the two apart, only 10 of the 81 are Falcon ucode, and the largest is 17,920 bytes, against 56,832 for the Ada booter. The Linux module leaves 9 Falcon images, the largest unpublished one a 40,192 byte unload ucode.

So the answer to "is the Blackwell booter in the driver": no, not in the Linux 610.43.03 module and not in the Windows 610.88 module. It is either inside the encrypted .fwimage the installer splits per chip, or it is not a separate image at all.

find_booter_by_geometry.py does the whole route: it reads the header records, looks for the images of the sizes they declare, tells Falcon ucode from GSP images and flags the unpublished ones. The published AD102 IMAGE_DBG is the control that says the pairing finds real archives and not coincidences, and the AD102 and GA102 booters are the reference for what a Falcon container looks like.

That leaves the two routes I mentioned before: the debug test key, or the per-chip firmware an install writes under /usr/lib/firmware/nvidia/gb202/, which is the installer's split of the encrypted bundle. The second one needs the card.

<!-- gh-comment-id:6398070507 --> @isma-is-dev commented on GitHub (Oct 25, 2026): Update on the driver modules, since this is the part you were pointing at. I extracted the Windows driver properly and worked the bindata in it. The 610.88 installer is a 7z payload and `Display.Driver/nvlddmkm.sys` is 114.8 MB inside it. Two things were in the way and both are now solved. **The layout is not the same as on Linux.** On Linux a container's header record sits right before its image, so the images can be paired by adjacency. On Windows the 139 Falcon header records live in their own region (0x1d2xxxx) and the images are elsewhere, so adjacency finds nothing. The rule that works on both is the geometry: a header record declares where the code and the data live, so the image size is known before the image is found (data offset plus data size plus the os code block). With that, the Windows module yields 97 images behind its 48 geometries, 81 of them unpublished by NVIDIA. **Size alone will mislead you.** A Falcon ucode container starts with a cleartext preamble of zeroes, which is what the AD102 and GA102 booters do; the GSP images are RISC-V code from the first byte. The largest unpublished image in the module, 53,248 bytes, is a GSP image and not a booter. Once you tell the two apart, only **10 of the 81 are Falcon ucode**, and the largest is 17,920 bytes, against 56,832 for the Ada booter. The Linux module leaves 9 Falcon images, the largest unpublished one a 40,192 byte unload ucode. So the answer to "is the Blackwell booter in the driver": no, not in the Linux 610.43.03 module and not in the Windows 610.88 module. It is either inside the encrypted `.fwimage` the installer splits per chip, or it is not a separate image at all. `find_booter_by_geometry.py` does the whole route: it reads the header records, looks for the images of the sizes they declare, tells Falcon ucode from GSP images and flags the unpublished ones. The published AD102 `IMAGE_DBG` is the control that says the pairing finds real archives and not coincidences, and the AD102 and GA102 booters are the reference for what a Falcon container looks like. That leaves the two routes I mentioned before: the debug test key, or the per-chip firmware an install writes under `/usr/lib/firmware/nvidia/gb202/`, which is the installer's split of the encrypted bundle. The second one needs the card.
Author
Owner

@isma-is-dev commented on GitHub (Oct 25, 2026):

Second update, with the identification closed.

The 621.01 Windows driver (the newest one NVIDIA publishes for this hardware) does carry booter-sized Falcon images, and two of them looked like Blackwell candidates: 60,928 and 57,600 bytes, each with a debug twin whose AES control appears eleven and fifteen times, so they are the images the public test key would open.

They are not Blackwell. The way to know is the open source of the branch that shipped them: 621.01 on Windows corresponds to the 615 branch of the open kernel modules, and that branch's generated arrays name every booter and its source path.

AD102  57600 B  code_end=0x8100  kernel/inc/gsprm/bin/booter/ad10x/load/g_booteruc_load_ad10x_*.h
GA102  60928 B  code_end=0x8c00  kernel/inc/gsprm/bin/booter/ga10x/load/g_booteruc_load_ga10x_*.h
GA100  60160 B  code_end=0x8700  .../booter/ga100/...
TU102  59648 B  code_end=0x8700  .../booter/tu10x/...
TU116  59648 B  code_end=0x8700  .../booter/tu11x/...

The 57,600 byte image is byte for byte that branch's AD102 booter and the 60,928 byte one is byte for byte its GA102 booter, with the debug twins matching the published IMAGE_DBG arrays. So the newest driver has no Blackwell booter either, and neither has the 610.88 one, nor the 610.43.03 Linux module.

Two things worth keeping from this:

  • The identification method generalises: take the branch's open source, list its booters with geometry and hash, and whatever is left in the driver module is a chip NVIDIA does not publish. find_booter_by_geometry.py does the module side; the source side is one hash comparison per archive.
  • The newer generator stores each array as NvU64 words of eight little endian bytes rather than a plain byte array. If you are pulling assets from a 615-or-later branch, the parser needs that.

So the remaining routes are the ones from before, unchanged: the debug test key, the per-chip firmware an install writes under /usr/lib/firmware/nvidia/gb202/, which needs the card, or an FSP/FMC bug. What is now settled is that there is no Blackwell Falcon booter to port, so a Blackwell payload would have to be built around the FSP or the GFW rather than transplanted from the Ada chain.

I have the tools and the write-up for all of this; happy to share the diff.

<!-- gh-comment-id:6398665701 --> @isma-is-dev commented on GitHub (Oct 25, 2026): Second update, with the identification closed. The 621.01 Windows driver (the newest one NVIDIA publishes for this hardware) does carry booter-sized Falcon images, and two of them looked like Blackwell candidates: 60,928 and 57,600 bytes, each with a debug twin whose AES control appears eleven and fifteen times, so they are the images the public test key would open. They are not Blackwell. The way to know is the open source of the branch that shipped them: 621.01 on Windows corresponds to the 615 branch of the open kernel modules, and that branch's generated arrays name every booter and its source path. ``` AD102 57600 B code_end=0x8100 kernel/inc/gsprm/bin/booter/ad10x/load/g_booteruc_load_ad10x_*.h GA102 60928 B code_end=0x8c00 kernel/inc/gsprm/bin/booter/ga10x/load/g_booteruc_load_ga10x_*.h GA100 60160 B code_end=0x8700 .../booter/ga100/... TU102 59648 B code_end=0x8700 .../booter/tu10x/... TU116 59648 B code_end=0x8700 .../booter/tu11x/... ``` The 57,600 byte image is byte for byte that branch's AD102 booter and the 60,928 byte one is byte for byte its GA102 booter, with the debug twins matching the published `IMAGE_DBG` arrays. So the newest driver has no Blackwell booter either, and neither has the 610.88 one, nor the 610.43.03 Linux module. Two things worth keeping from this: - The identification method generalises: take the branch's open source, list its booters with geometry and hash, and whatever is left in the driver module is a chip NVIDIA does not publish. `find_booter_by_geometry.py` does the module side; the source side is one hash comparison per archive. - The newer generator stores each array as NvU64 words of eight little endian bytes rather than a plain byte array. If you are pulling assets from a 615-or-later branch, the parser needs that. So the remaining routes are the ones from before, unchanged: the debug test key, the per-chip firmware an install writes under `/usr/lib/firmware/nvidia/gb202/`, which needs the card, or an FSP/FMC bug. What is now settled is that there is no Blackwell Falcon booter to port, so a Blackwell payload would have to be built around the FSP or the GFW rather than transplanted from the Ada chain. I have the tools and the write-up for all of this; happy to share the diff.
Author
Owner

@adoan412 commented on GitHub (Oct 27, 2026):

Thanks for documenting the Blackwell firmware investigation. Your findings were useful context for a separate, non-invasive GB202 comparison we've been conducting.

We started by asking whether the RTX 5090 and RTX PRO 6000 might use different security-related firmware, given their differing FP32-accumulation throughput specifications.

Using NVIDIA Linux 595.58.03, we traced the production, non-CC firmware-selection logic and verified that both configurations select the same host-distributed GSP payload and GB202 boot/FMC asset families.

We also extracted 18 arrays from six public GB202 firmware archives and matched all 18 byte-for-byte against their corresponding symbols in NVIDIA's official driver binary.

These are source-to-distribution consistency checks, not comparisons between physical boards.

Our architectural analysis also supports your recent observation that Blackwell's FSP/GSP-FMC initialization path needs to be treated independently of the earlier SEC2 BooterLoad mechanism.

What remains unknown: Board-resident firmware differences, fuse configurations, effective speed-selector states, and configuration-dependent runtime behavior.

We haven't identified an unlocking mechanism, but the results narrow the investigation toward hardware configuration and initialization inputs rather than separate host-distributed firmware executables.

We've published the complete report, extraction methodology, hashes, source references, and reproducibility scripts here:

https://github.com/adoan412/gb202-firmware-comparison

Hopefully this saves someone from repeating the same investigation. Corrections or additional evidence are very welcome!

<!-- gh-comment-id:6436317716 --> @adoan412 commented on GitHub (Oct 27, 2026): Thanks for documenting the Blackwell firmware investigation. Your findings were useful context for a separate, non-invasive GB202 comparison we've been conducting. We started by asking whether the RTX 5090 and RTX PRO 6000 might use different security-related firmware, given their differing FP32-accumulation throughput specifications. Using NVIDIA Linux 595.58.03, we traced the production, non-CC firmware-selection logic and verified that both configurations select the same host-distributed GSP payload and GB202 boot/FMC asset families. We also extracted **18 arrays from six public GB202 firmware archives** and matched all 18 byte-for-byte against their corresponding symbols in NVIDIA's official driver binary. These are source-to-distribution consistency checks, not comparisons between physical boards. Our architectural analysis also supports your recent observation that Blackwell's FSP/GSP-FMC initialization path needs to be treated independently of the earlier SEC2 BooterLoad mechanism. **What remains unknown:** Board-resident firmware differences, fuse configurations, effective speed-selector states, and configuration-dependent runtime behavior. We haven't identified an unlocking mechanism, but the results narrow the investigation toward hardware configuration and initialization inputs rather than separate host-distributed firmware executables. We've published the complete report, extraction methodology, hashes, source references, and reproducibility scripts here: https://github.com/adoan412/gb202-firmware-comparison Hopefully this saves someone from repeating the same investigation. Corrections or additional evidence are very welcome!
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
phiraml/gpu-unlock-blackwell#3
No description provided.