NVIDIA Linux open GPU kernel module source
This report presents the forensic synthetic code analysis of NVIDIA/open-gpu-kernel-modules, a C project with 17,162 GitHub stars. SynthScan v2.0 examined 1,491,818 lines of code across 3337 source files, recording 11215 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 6.0 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 11215 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 LINE; do | COMMENT |
| LOW | kernel-open/conftest.sh | 181 | # Older kernels perform this check and set this flag in Kbuild, and since | COMMENT |
| LOW | kernel-open/conftest.sh | 221 | #include <linux/kconfig.h> | COMMENT |
| LOW | kernel-open/conftest.sh | 501 | # Determine if the set_memory_uc() function is present. | COMMENT |
| LOW | kernel-open/conftest.sh | 521 | ;; | COMMENT |
| LOW | kernel-open/conftest.sh | 581 | COMMENT | |
| LOW | kernel-open/conftest.sh | 601 | }" | COMMENT |
| LOW | kernel-open/conftest.sh | 621 | #include <linux/percpu.h> | COMMENT |
| LOW | kernel-open/conftest.sh | 741 | ;; | COMMENT |
| LOW | kernel-open/conftest.sh | 781 | # Determine if mdev_get_type_group_id() function is present or not | COMMENT |
| LOW | kernel-open/conftest.sh | 801 | # Determine if vfio_device_mig_state enum is present or not | COMMENT |
| LOW | kernel-open/conftest.sh | 881 | # Determine if the struct mdev_parent_ops type is present. | COMMENT |
| LOW | kernel-open/conftest.sh | 901 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 921 | # Removed by commit 062e720cd20 ("vfio/mdev: remove | COMMENT |
| LOW | kernel-open/conftest.sh | 941 | CODE=" | COMMENT |
| LOW | kernel-open/conftest.sh | 1041 | # Determine if 'vfio_device_ops' struct has 'dma_unmap' field. | COMMENT |
| LOW | kernel-open/conftest.sh | 1081 | #include <linux/pci.h> | COMMENT |
| LOW | kernel-open/conftest.sh | 1141 | compile_check_conftest "$CODE" "NV_IRQ_BYPASS_PRODUCER_HAS_TOKEN" "" "types" | COMMENT |
| LOW | kernel-open/conftest.sh | 1281 | #if defined(NV_LINUX_VFIO_PCI_CORE_H_PRESENT) | COMMENT |
| LOW | kernel-open/conftest.sh | 1381 | compile_check_conftest "$CODE" "NV_GET_DEV_PAGEMAP_HAS_PGMAP_ARG" "" "types" | COMMENT |
| LOW | kernel-open/conftest.sh | 1541 | drm_driver_has_legacy_dev_list) | COMMENT |
| LOW | kernel-open/conftest.sh | 1581 | COMMENT | |
| LOW | kernel-open/conftest.sh | 1601 | COMMENT | |
| LOW | kernel-open/conftest.sh | 1621 | CODE=" | COMMENT |
| LOW | kernel-open/conftest.sh | 1801 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 1981 | # Determine if FOLL_LONGTERM enum is present or not | COMMENT |
| LOW | kernel-open/conftest.sh | 2101 | COMMENT | |
| LOW | kernel-open/conftest.sh | 2181 | # Determine if vma.vm_ops.fault takes (vma, vmf), or just (vmf) | COMMENT |
| LOW | kernel-open/conftest.sh | 2261 | rm -f conftest$$.o | COMMENT |
| LOW | kernel-open/conftest.sh | 2301 | else | COMMENT |
| LOW | kernel-open/conftest.sh | 2401 | drm_helper_mode_fill_fb_struct(NULL, NULL, NULL, NULL); | COMMENT |
| LOW | kernel-open/conftest.sh | 2421 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 2461 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 2481 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 2561 | ;; | COMMENT |
| LOW | kernel-open/conftest.sh | 2581 | #include <drm/drm_blend.h> | COMMENT |
| LOW | kernel-open/conftest.sh | 2621 | drm_connector_for_each_possible_encoder) | COMMENT |
| LOW | kernel-open/conftest.sh | 2701 | # Added by commit d56c0d45f0e2 ("proc: decouple proc from VFS | COMMENT |
| LOW | kernel-open/conftest.sh | 2841 | pci_enable_atomic_ops_to_root) | COMMENT |
| LOW | kernel-open/conftest.sh | 2961 | # pci_channel_state was removed by commit 16d79cd4e23b ("PCI: Use | COMMENT |
| LOW | kernel-open/conftest.sh | 3001 | #if defined(NV_LINUX_CC_PLATFORM_H_PRESENT) | COMMENT |
| LOW | kernel-open/conftest.sh | 3081 | drm_crtc_atomic_check_has_atomic_state_arg) | COMMENT |
| LOW | kernel-open/conftest.sh | 3121 | # argument of 'struct dma_buf_map' type. | COMMENT |
| LOW | kernel-open/conftest.sh | 3161 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3181 | # by commit 233eb0bf3b94 ("mm: remove follow_pfn") | COMMENT |
| LOW | kernel-open/conftest.sh | 3261 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3321 | COMMENT | |
| LOW | kernel-open/conftest.sh | 3381 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3581 | # Determine if the migrate_device_range() function is present | COMMENT |
| LOW | kernel-open/conftest.sh | 3601 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3621 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3661 | (void)foo.no_vblank; | COMMENT |
| LOW | kernel-open/conftest.sh | 3721 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3821 | # Added by commit 1224451bb6f93 ("PM / devfreq: Register devfreq as a cooling device | COMMENT |
| LOW | kernel-open/conftest.sh | 3881 | COMMENT | |
| LOW | kernel-open/conftest.sh | 3901 | COMMENT | |
| LOW | kernel-open/conftest.sh | 3961 | # | COMMENT |
| LOW | kernel-open/conftest.sh | 3981 | # Note: the include directive for <linux/types> in this conftest is | COMMENT |
| 11046 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | kernel-open/nvidia/nv-dma.c | 722 | // ops can be NULL on 5.0+ kernels, meaning we can utilize direct dma. | COMMENT |
| MEDIUM | kernel-open/nvidia-uvm/uvm_ce_test.c | 1104 | // 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 | 2080 | // 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 | 6650 | //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 | 186 | // Do nothing if robust channels are not enabled | COMMENT |
| MEDIUM | …nvidia/src/kernel/gpu/rc/kernel_rc_watchdog_callback.c | 242 | // Handle robust channel testing, if necessary. | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/rc/kernel_rc.c | 88 | // Force uncached pushbuffers for robust channel. | COMMENT |
| MEDIUM | src/nvidia/src/kernel/gpu/rc/kernel_rc.c | 93 | // 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 | 775 | // procfs_files are created before gpu_init_isr, we need to check if the | COMMENT |
| LOW | kernel-open/nvidia-uvm/uvm_va_block.c | 6362 | // Step 1: Make the 2M entry invalid. We can't directly transition from a | COMMENT |
| LOW | kernel-open/nvidia-uvm/uvm_va_block.c | 6388 | // 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 | 1815 | // we need to check if we have enough BW for the stream on FRL link. | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4322 | // Step 1: Setup PCON for later operation | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4354 | // Step 2: Assess FRL Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4436 | // Step 3: Assess DP Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_configcaps.cpp | 2500 | // 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 | 258 | // Step 1: check for conflicting requests, and bail out without changing | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 290 | // 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 | 318 | // Step 3: record client state: | COMMENT |
| LOW⚡ | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 324 | // Step 4: 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 | 3588 | // 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 | 6362 | // Step 1: Make the 2M entry invalid. We can't directly transition from a | COMMENT |
| LOW | kernel-open/nvidia-uvm/uvm_va_block.c | 6388 | // 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 | 4322 | // Step 1: Setup PCON for later operation | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4354 | // Step 2: Assess FRL Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_connectorimpl.cpp | 4436 | // Step 3: Assess DP Link capability. | COMMENT |
| LOW | src/common/displayport/src/dp_configcaps.cpp | 2500 | // 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 | 258 | // Step 1: check for conflicting requests, and bail out without changing | COMMENT |
| LOW | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 290 | // 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 | 318 | // Step 3: record client state: | COMMENT |
| LOW⚡ | src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c | 324 | // Step 4: if per-GPU/RC refcount has changed from 0 to 1, then change the | COMMENT |
| LOW | src/nvidia/src/kernel/core/locks.c | 2024 | // 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 | 3025 | // 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 | 3030 | // 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 | 5971 | // set GPCs as requested | COMMENT |
| HIGH | src/nvidia-modeset/src/nvkms-evo.c | 9163 | // as requested. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kernel-open/conftest.sh | 180 | # Check if gcc supports asm goto and set CC_HAVE_ASM_GOTO if it does. | COMMENT |
| LOW | kernel-open/conftest.sh | 351 | # Check if any of the linuxkpi or drm kernel module files contain | COMMENT |
| LOW | kernel-open/conftest.sh | 416 | # Print the value of given configuration option, if defined | COMMENT |
| LOW | kernel-open/conftest.sh | 709 | # Check if vfio_info_add_capability() has cap_type_id parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 3346 | # Check if add_memory_driver_managed() has mhp_flags arg. | COMMENT |
| LOW | kernel-open/conftest.sh | 3364 | # Check if remove_memory() has nid parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 4110 | # Check if iommu_sva_bind_device() has drvdata parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 4188 | # Check if memory_failure_queue() has trapno parameter. | COMMENT |
| LOW | kernel-open/conftest.sh | 4206 | # Check if memory_failure() flag MF_SW_SIMULATED is defined. | COMMENT |
| LOW | kernel-open/conftest.sh | 5238 | # Check if the selected compiler can create object files | COMMENT |
| LOW | kernel-open/conftest.sh | 5384 | # Check if the target kernel is a Xen kernel. If so, exit, since | COMMENT |
| LOW | kernel-open/conftest.sh | 5416 | # 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 | 429 | # Create a 32-bit generic ELF header with no program header, and 'shnum' | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 445 | # Create a 32-bit ELF section header, where 'sh_name' is the offset of the | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 467 | # Create a 64-bit .shstrtab ELF section header. | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 558 | # Create the ELF header | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 666 | # Create a symlink, deleting the existing file/link if necessary | COMMENT |
| MEDIUM | nouveau/extract-firmware-nouveau.py | 727 | # 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 | 1824 | // In this implementation, the time is monotonic time | COMMENT |
| HIGH | kernel-open/nvidia/linux_nvswitch.c | 1840 | // 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 | 473 | def elf_section_header_shstrtab(sh_name, shnum, sh_size): | 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 | 1006 | print(f"Error: {e}", file=sys.stderr) | STRING |