NVIDIA Linux open GPU kernel module source
This report summarizes scanner evidence for NVIDIA/open-gpu-kernel-modules, a C project with 17,453 GitHub stars. SynthScan examined 1,524,781 lines of code across 3434 source files, recording 11085 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 11081 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 3 finding(s).
Which changes need focused human review? 11085 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 11085 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nv-compiler.sh | 1 | #!/bin/sh | COMMENT |
| LOW | kernel-open/conftest.sh | 41 | # sufficient to check for CONFIG_XEN, but the introduction of | COMMENT |
| LOW | kernel-open/conftest.sh | 61 | while read -r LINE; do | COMMENT |
| LOW | kernel-open/conftest.sh | 181 | # conftest.sh runs outside of Kbuild it ends up building without this flag. | COMMENT |
| LOW | kernel-open/conftest.sh | 221 | defined(CONFIG_XEN_INTERFACE_VERSION) && !defined(__XEN_INTERFACE_VERSION__) | COMMENT |
| LOW | kernel-open/conftest.sh | 501 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 521 | set_memory_array_uc) | COMMENT |
| LOW | kernel-open/conftest.sh | 581 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 601 | compile_check_conftest "$CODE" "NV_SET_PAGES_UC_PRESENT" "" "functions" | COMMENT |
| LOW | kernel-open/conftest.sh | 621 | #else | COMMENT |
| LOW | kernel-open/conftest.sh | 741 | mdev_uuid) | COMMENT |
| LOW | kernel-open/conftest.sh | 761 | # Determine if mdev_uuid() returns 'const guid_t *'. | COMMENT |
| LOW | kernel-open/conftest.sh | 781 | # Added by commit 15fcc44be0c7a ("vfio/mdev: Add | COMMENT |
| LOW | kernel-open/conftest.sh | 801 | # Added by commit 115dcec65f61d ("vfio: Define device | COMMENT |
| LOW | kernel-open/conftest.sh | 861 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 881 | # Added by commit 42930553a7c1 ("vfio-mdev: de-polute the | COMMENT |
| LOW | kernel-open/conftest.sh | 901 | # the parent data structure") in v6.1 | COMMENT |
| LOW | kernel-open/conftest.sh | 941 | #include <linux/vfio.h> | COMMENT |
| LOW | kernel-open/conftest.sh | 1021 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 1041 | # Added by commit ce4b4657ff18 ("vfio: Replace the DMA unmapping | COMMENT |
| LOW | kernel-open/conftest.sh | 1141 | COMMENT | |
| LOW | kernel-open/conftest.sh | 1161 | COMMENT | |
| LOW | kernel-open/conftest.sh | 1241 | COMMENT | |
| LOW | kernel-open/conftest.sh | 1281 | #include <linux/vfio_pci_core.h> | COMMENT |
| LOW | kernel-open/conftest.sh | 1381 | ;; | COMMENT |
| LOW | kernel-open/conftest.sh | 1481 | # Determine if drm_hdcp_update_content_protection() is present. | COMMENT |
| LOW | kernel-open/conftest.sh | 1561 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 1601 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 1641 | # present. | COMMENT |
| LOW | kernel-open/conftest.sh | 1721 | return | COMMENT |
| LOW | kernel-open/conftest.sh | 1901 | COMMENT | |
| LOW | kernel-open/conftest.sh | 2161 | # Determine the number of arguments of the | COMMENT |
| LOW | kernel-open/conftest.sh | 2221 | elif [ "$DRM_MODESET_3_COMPILED" = "0" ] && | COMMENT |
| LOW | kernel-open/conftest.sh | 2381 | echo "#undef NV_DMA_MAP_OPS_HAS_MAP_PHYS" | append_conftest "types" | COMMENT |
| LOW | kernel-open/conftest.sh | 2421 | fi | COMMENT |
| LOW | kernel-open/conftest.sh | 2481 | echo "#undef NV_DMA_BUF_ATTACHMENT_HAS_PEER2PEER" | append_conftest "types" | COMMENT |
| LOW | kernel-open/conftest.sh | 2581 | # drm_mode_connector_attach_encoder() was renamed to | COMMENT |
| LOW | kernel-open/conftest.sh | 2681 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 2761 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 2781 | COMMENT | |
| LOW | kernel-open/conftest.sh | 2941 | # Added by commit fb7fcc96a86cf ("timekeeping: Standardize on | COMMENT |
| LOW | kernel-open/conftest.sh | 3021 | COMMENT | |
| LOW | kernel-open/conftest.sh | 3081 | return drv->master_set(dev, file_priv, from_open); | COMMENT |
| LOW | kernel-open/conftest.sh | 3221 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3241 | drv.gem_prime_vmap = 0; | COMMENT |
| LOW | kernel-open/conftest.sh | 3281 | else | COMMENT |
| LOW | kernel-open/conftest.sh | 3381 | ;; | COMMENT |
| LOW | kernel-open/conftest.sh | 3421 | COMMENT | |
| LOW | kernel-open/conftest.sh | 3461 | COMMENT | |
| LOW | kernel-open/conftest.sh | 3561 | COMMENT | |
| LOW | kernel-open/conftest.sh | 3801 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3841 | # is added by commit e3eb3250d84e ("drm: add support for | COMMENT |
| LOW | kernel-open/conftest.sh | 4021 | # Commit b5d281f6c16d ("PM / devfreq: Rework freq_table | COMMENT |
| LOW | kernel-open/conftest.sh | 4061 | int bpmp_mrq_has_strap = STRAP_SET; | COMMENT |
| LOW | kernel-open/conftest.sh | 4081 | }" | COMMENT |
| LOW | kernel-open/conftest.sh | 4161 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 4181 | compile_check_conftest "$CODE" "NV_ACPI_VIDEO_REGISTER_BACKLIGHT" "" "functions" | COMMENT |
| LOW | kernel-open/conftest.sh | 4201 | #include <acpi/video.h> | COMMENT |
| LOW | kernel-open/conftest.sh | 4241 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 4421 | # | COMMENT |
| 10913 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | kernel-open/nvidia/nv-dma.c | 755 | // ops can be NULL on 5.0+ kernels, meaning we can utilize direct dma. | COMMENT |
| MEDIUM | kernel-open/nvidia-uvm/uvm_ce_test.c | 1112 | // CPU decryption(s), but it is more robust against test changes to force | COMMENT |
| MEDIUM | kernel-open/nvidia-uvm/uvm_gpu.h | 1119 | // Bug 4577236 outlines the issue. Essentially normal eviction of coherent | COMMENT |
| MEDIUM | kernel-open/nvidia-uvm/uvm_sec2_test.c | 463 | // CPU decryption(s), but it is more robust against test changes to force | COMMENT |
| MEDIUM | kernel-open/nvidia-uvm/uvm_gpu_semaphore.c | 806 | // recent addition to the kernel, just leverage smp_mb__after_atomic() that | COMMENT |
| MEDIUM | src/common/nvswitch/kernel/lr10/clock_lr10.c | 138 | // Unfortunately, we don't have a full robust infrastructure for detecting the | COMMENT |
| MEDIUM | src/nvidia/src/libraries/containers/eheap/eheap_old.c | 195 | // Form the list of free mem structures. Just need to utilize the next field of EMEMBLOCK. | COMMENT |
| MEDIUM | src/nvidia/src/kernel/mem_mgr/gpu_vaspace.c | 696 | // RM would need internal CE support (e.g. leverage ECC scrubber) | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/mem_mgr/sem_surf.c | 1093 | // it to ensure using it in the future (E.g., for robust channel error | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/mem_mgr/sem_surf.c | 1255 | // it to ensure using it in the future (E.g., for robust channel error | COMMENT |
| MEDIUM | …ia/src/kernel/gpu/mem_mgr/arch/maxwell/mem_mgr_gm107.c | 2039 | // I.e. refactor and leverage the code performing these tasks | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/spdm/arch/hopper/spdm_gh100.c | 832 | // If we haven't established the session yet, we need to utilize polling | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/mmu/gmmu_walk.c | 910 | // debug print - to remove when the code is robust enough | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/mig_mgr/kernel_mig_manager.c | 6745 | //TODO: Remove below code once a more robust SRT is available to test for this condition | COMMENT |
| MEDIUM | …nvidia/src/kernel/gpu/ce/arch/hopper/kernel_ce_gh100.c | 948 | // In the self hosted case, utilize table entries | COMMENT |
| MEDIUM | …nvidia/src/kernel/gpu/rc/kernel_rc_watchdog_callback.c | 184 | // Do nothing if robust channels are not enabled | COMMENT |
| MEDIUM | …nvidia/src/kernel/gpu/rc/kernel_rc_watchdog_callback.c | 240 | // Handle robust channel testing, if necessary. | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/rc/kernel_rc.c | 158 | // Force uncached pushbuffers for robust channel. | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/rc/kernel_rc.c | 163 | // with the robust channel, and ended up requesting sizeof(RC + pushbuffer) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kernel-open/nvidia-uvm/uvm_gpu.c | 784 | // procfs_files are created before gpu_init_isr, we need to check if the | COMMENT |
| LOW | kernel-open/nvidia-uvm/uvm_va_block.c | 6443 | // Step 1: Make the 2M entry invalid. We can't directly transition from a | COMMENT |
| LOW | kernel-open/nvidia-uvm/uvm_va_block.c | 6469 | // Step 2: Switch the 2M entry from invalid to a PDE. This activates the | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 65 | // Step 1: Perform INITPHASE1 on all endpoints | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 319 | // Step 1: Perform INITPHASE1 on all endpoints | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 379 | // Step 3: Enable Common mode on all Tx's | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 405 | // Step 4: call INITPHASE5 | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 431 | // Step 5: Put the links in SAFE mode | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 2158 | // we need to check if we have enough BW for the stream on FRL link. | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4901 | // Step 1: Setup PCON for later operation | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4933 | // Step 2: Assess FRL Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 5015 | // Step 3: Assess DP Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_configcaps.cpp | 2614 | // Step 1: Configure FRL Link (FRL BW, BW mask / Concurrent) | COMMENT |
| LOW | src/common/nvswitch/kernel/lr10/lr10.c | 6193 | // Step 0 : | COMMENT |
| LOW | src/common/nvswitch/kernel/lr10/lr10.c | 6242 | // Step 1 : Perform surgical reset | COMMENT |
| LOW | src/common/nvswitch/kernel/lr10/lr10.c | 6313 | // Step 2 : Assert NPORT Reset after Control & Drain routine. | COMMENT |
| LOW | src/common/nvswitch/kernel/lr10/lr10.c | 6377 | // Step 3 : Restore link state | COMMENT |
| LOW | src/common/nvswitch/kernel/cci/cables/cci_common.c | 1451 | * The purpose of this function is to provide a trace | COMMENT |
| LOW | src/nvidia/arch/nvalloc/unix/src/unix_intr.c | 248 | // Step 1: Check if we can service nonstall interrupts outside the GPUs lock. Otherwise | COMMENT |
| LOW | src/nvidia/arch/nvalloc/unix/src/unix_intr.c | 284 | // Step 2: Service nonstall interrupts and check if there are any stall interrupts | COMMENT |
| LOW | …nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c | 74 | // Step 1: | COMMENT |
| LOW | …nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c | 84 | // Step 2: | COMMENT |
| LOW | …nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c | 103 | // Step 3: | COMMENT |
| LOW⚡ | …nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c | 348 | // Step 1: Unregister(vas) --> UnsetPageDirectory(vas) | COMMENT |
| LOW⚡ | …nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c | 349 | // Step 2: FreeSubcontext(vas) | COMMENT |
| LOW | …nvidia/src/kernel/gpu/ce/arch/ampere/kernel_ce_ga100.c | 524 | // So, we need to check if the FBHUB PCEs have already been assigned. | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 277 | // Step 1: check for conflicting requests, and bail out without changing | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 309 | // Step 2: if client state has changed, adjust the per-GPU/RC refcount: | COMMENT |
| LOW⚡ | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 346 | // Step 3: record client state: | COMMENT |
| LOW⚡ | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 353 | // Step 4: if pause request refcount has changed, update the | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 370 | // Step 5: if per-GPU/RC refcount has changed from 0 to 1, then change the | COMMENT |
| LOW | src/nvidia/src/kernel/rmapi/alloc_free.c | 1008 | // so we need to check if Device has the same OBJGPU. | COMMENT |
| LOW | src/nvidia/src/kernel/rmapi/nv_gpu_ops.c | 3595 | // is that it is indeed supported, we need to check if the link has | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kernel-open/nvidia-uvm/uvm_va_block.c | 6443 | // Step 1: Make the 2M entry invalid. We can't directly transition from a | COMMENT |
| LOW | kernel-open/nvidia-uvm/uvm_va_block.c | 6469 | // Step 2: Switch the 2M entry from invalid to a PDE. This activates the | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 65 | // Step 1: Perform INITPHASE1 on all endpoints | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 319 | // Step 1: Perform INITPHASE1 on all endpoints | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 379 | // Step 3: Enable Common mode on all Tx's | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 405 | // Step 4: call INITPHASE5 | COMMENT |
| LOW | …c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c | 431 | // Step 5: Put the links in SAFE mode | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4901 | // Step 1: Setup PCON for later operation | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4933 | // Step 2: Assess FRL Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 5015 | // Step 3: Assess DP Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_configcaps.cpp | 2614 | // Step 1: Configure FRL Link (FRL BW, BW mask / Concurrent) | COMMENT |
| LOW | src/common/nvswitch/kernel/lr10/lr10.c | 6242 | // Step 1 : Perform surgical reset | COMMENT |
| LOW | src/common/nvswitch/kernel/lr10/lr10.c | 6313 | // Step 2 : Assert NPORT Reset after Control & Drain routine. | COMMENT |
| LOW | src/common/nvswitch/kernel/lr10/lr10.c | 6377 | // Step 3 : Restore link state | COMMENT |
| LOW | src/nvidia/arch/nvalloc/unix/src/unix_intr.c | 248 | // Step 1: Check if we can service nonstall interrupts outside the GPUs lock. Otherwise | COMMENT |
| LOW | src/nvidia/arch/nvalloc/unix/src/unix_intr.c | 284 | // Step 2: Service nonstall interrupts and check if there are any stall interrupts | COMMENT |
| LOW⚡ | …nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c | 348 | // Step 1: Unregister(vas) --> UnsetPageDirectory(vas) | COMMENT |
| LOW⚡ | …nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c | 349 | // Step 2: FreeSubcontext(vas) | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 277 | // Step 1: check for conflicting requests, and bail out without changing | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 309 | // Step 2: if client state has changed, adjust the per-GPU/RC refcount: | COMMENT |
| LOW⚡ | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 346 | // Step 3: record client state: | COMMENT |
| LOW⚡ | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 353 | // Step 4: if pause request refcount has changed, update the | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 370 | // Step 5: if per-GPU/RC refcount has changed from 0 to 1, then change the | COMMENT |
| LOW | src/nvidia/src/kernel/core/locks.c | 1893 | // NOTE: This function assumes ALL GPUs were previously locked by rmGpuLocksAcquire | COMMENT |
| LOW | src/nvidia/src/kernel/rmapi/mapping_cpu.c | 339 | // NOTE: This function intentionally leaves priv uninitialized. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/nvidia/src/kernel/gpu/nvlink/kernel_nvlink.c | 3935 | // For the transfer direction pLocalGpu->pRemoteGpu, update the new key for Tx or Rx as requested | COMMENT |
| HIGH | src/nvidia/src/kernel/gpu/nvlink/kernel_nvlink.c | 3940 | // For the transfer direction pRemoteGpu->pLocalGpu, update the new key for Tx or Rx as requested | COMMENT |
| HIGH | src/nvidia/src/kernel/gpu/mig_mgr/kernel_mig_manager.c | 6060 | // set GPCs as requested | COMMENT |
| HIGH | src/nvidia-modeset/src/nvkms-evo.c | 9130 | // as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kernel-open/conftest.sh | 179 | # Check if gcc supports asm goto and set CC_HAVE_ASM_GOTO if it does. | COMMENT |
| LOW | kernel-open/conftest.sh | 349 | # Check if any of the linuxkpi or drm kernel module files contain | COMMENT |
| LOW | kernel-open/conftest.sh | 414 | # Print the value of given configuration option, if defined | COMMENT |
| LOW | kernel-open/conftest.sh | 707 | # Check if vfio_info_add_capability() has cap_type_id parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 3514 | # Check if add_memory_driver_managed() has mhp_flags arg. | COMMENT |
| LOW | kernel-open/conftest.sh | 3532 | # Check if remove_memory() has nid parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 4294 | # Check if iommu_sva_bind_device() has drvdata parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 4372 | # Check if memory_failure_queue() has trapno parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 4390 | # Check if memory_failure() flag MF_SW_SIMULATED is defined. | COMMENT |
| LOW | kernel-open/conftest.sh | 5681 | # Check if the selected compiler can create object files | COMMENT |
| LOW | kernel-open/conftest.sh | 5827 | # Check if the target kernel is a Xen kernel. If so, exit, since | COMMENT |
| LOW | kernel-open/conftest.sh | 5859 | # Check if the target kernel has the PREEMPT_RT patch set applied. If | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | nouveau/extract-firmware-nouveau.py | 437 | # Create an ELF header with no program header and 'shnum' section headers, | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 458 | # Create an ELF section header, where 'sh_name' is the offset of the | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 484 | # Create a shstrtab ELF section header. | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 582 | # Create the ELF header | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 739 | # Create a symlink, deleting the existing file/link if necessary | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 817 | # Create a text file that can be inserted as-is to the WHENCE file of the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | kernel-open/nvidia/linux_nvswitch.c | 1903 | // In this implementation, the time is monotonic time | COMMENT |
| HIGH | kernel-open/nvidia/linux_nvswitch.c | 1919 | // In this implementation, the time is from epoch time | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kernel-open/pahole.sh | 42 | # make sure to exclude c++ when generating encoding BTF. | COMMENT |
| LOW | kernel-open/common/inc/rs_access.h | 54 | // When adding a new access right, don't forget to update | COMMENT |
| LOW | src/common/sdk/nvidia/inc/rs_access.h | 51 | // When adding a new access right, don't forget to update | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ….0/library/spdm_requester_lib/libspdm_req_key_update.c | 13 | uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)]; | CODE |
| LOW | …5.0/library/spdm_requester_lib/libspdm_req_heartbeat.c | 12 | uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)]; | CODE |
| LOW | …0/library/spdm_requester_lib/libspdm_req_end_session.c | 15 | uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)]; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nouveau/extract-firmware-nouveau.py | 490 | def elf_section_header_shstrtab(sh_name, shnum, sh_size, elf64: bool): | CODE |
| LOW | src/nvidia/arch/nvalloc/unix/src/rmobjexportimport.c | 65 | // generated by function RmGenerateObjExportHandle(). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/nvidia/inc/kernel/core/bin_data.h | 158 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | nouveau/extract-firmware-nouveau.py | 1140 | print(f"Error: {e}", file=sys.stderr) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nouveau/extract-firmware-nouveau.py | 996 | CODE |