AI Slop Code RIsk Monitor

NVIDIA/open-gpu-kernel-modules

NVIDIA Linux open GPU kernel module source

5.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

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.

5.8
Adjusted Signal
5.8
Raw Pattern Score
100%
Time Factor
2026-10-07
Last Push
17.5K
Stars
C
Language
1.5M
Lines of Code
3.4K
Files
11.1K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 25.3/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 11081 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 3 finding(s).

Agent Over-Engineering Ratio 0.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 3 finding(s).

PR Review Velocity Impact 30.7/100 · MEDIUM

Which changes need focused human review? 11085 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 6MEDIUM 26LOW 11053

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block10973 hits · 8670 pts
SeverityFileLineSnippetContext
LOWnv-compiler.sh1#!/bin/shCOMMENT
LOWkernel-open/conftest.sh41 # sufficient to check for CONFIG_XEN, but the introduction ofCOMMENT
LOWkernel-open/conftest.sh61 while read -r LINE; doCOMMENT
LOWkernel-open/conftest.sh181 # conftest.sh runs outside of Kbuild it ends up building without this flag.COMMENT
LOWkernel-open/conftest.sh221 defined(CONFIG_XEN_INTERFACE_VERSION) && !defined(__XEN_INTERFACE_VERSION__)COMMENT
LOWkernel-open/conftest.sh501 #COMMENT
LOWkernel-open/conftest.sh521 set_memory_array_uc)COMMENT
LOWkernel-open/conftest.sh581 #COMMENT
LOWkernel-open/conftest.sh601 compile_check_conftest "$CODE" "NV_SET_PAGES_UC_PRESENT" "" "functions"COMMENT
LOWkernel-open/conftest.sh621 #elseCOMMENT
LOWkernel-open/conftest.sh741 mdev_uuid)COMMENT
LOWkernel-open/conftest.sh761 # Determine if mdev_uuid() returns 'const guid_t *'.COMMENT
LOWkernel-open/conftest.sh781 # Added by commit 15fcc44be0c7a ("vfio/mdev: AddCOMMENT
LOWkernel-open/conftest.sh801 # Added by commit 115dcec65f61d ("vfio: Define deviceCOMMENT
LOWkernel-open/conftest.sh861 #COMMENT
LOWkernel-open/conftest.sh881 # Added by commit 42930553a7c1 ("vfio-mdev: de-polute theCOMMENT
LOWkernel-open/conftest.sh901 # the parent data structure") in v6.1COMMENT
LOWkernel-open/conftest.sh941 #include <linux/vfio.h>COMMENT
LOWkernel-open/conftest.sh1021 #COMMENT
LOWkernel-open/conftest.sh1041 # Added by commit ce4b4657ff18 ("vfio: Replace the DMA unmappingCOMMENT
LOWkernel-open/conftest.sh1141COMMENT
LOWkernel-open/conftest.sh1161COMMENT
LOWkernel-open/conftest.sh1241COMMENT
LOWkernel-open/conftest.sh1281 #include <linux/vfio_pci_core.h>COMMENT
LOWkernel-open/conftest.sh1381 ;;COMMENT
LOWkernel-open/conftest.sh1481 # Determine if drm_hdcp_update_content_protection() is present.COMMENT
LOWkernel-open/conftest.sh1561 #COMMENT
LOWkernel-open/conftest.sh1601 #COMMENT
LOWkernel-open/conftest.sh1641 # present.COMMENT
LOWkernel-open/conftest.sh1721 returnCOMMENT
LOWkernel-open/conftest.sh1901COMMENT
LOWkernel-open/conftest.sh2161 # Determine the number of arguments of theCOMMENT
LOWkernel-open/conftest.sh2221 elif [ "$DRM_MODESET_3_COMPILED" = "0" ] &&COMMENT
LOWkernel-open/conftest.sh2381 echo "#undef NV_DMA_MAP_OPS_HAS_MAP_PHYS" | append_conftest "types"COMMENT
LOWkernel-open/conftest.sh2421 fiCOMMENT
LOWkernel-open/conftest.sh2481 echo "#undef NV_DMA_BUF_ATTACHMENT_HAS_PEER2PEER" | append_conftest "types"COMMENT
LOWkernel-open/conftest.sh2581 # drm_mode_connector_attach_encoder() was renamed toCOMMENT
LOWkernel-open/conftest.sh2681 #COMMENT
LOWkernel-open/conftest.sh2761 #COMMENT
LOWkernel-open/conftest.sh2781COMMENT
LOWkernel-open/conftest.sh2941 # Added by commit fb7fcc96a86cf ("timekeeping: Standardize onCOMMENT
LOWkernel-open/conftest.sh3021COMMENT
LOWkernel-open/conftest.sh3081 return drv->master_set(dev, file_priv, from_open);COMMENT
LOWkernel-open/conftest.sh3221 #COMMENT
LOWkernel-open/conftest.sh3241 drv.gem_prime_vmap = 0;COMMENT
LOWkernel-open/conftest.sh3281 elseCOMMENT
LOWkernel-open/conftest.sh3381 ;;COMMENT
LOWkernel-open/conftest.sh3421COMMENT
LOWkernel-open/conftest.sh3461COMMENT
LOWkernel-open/conftest.sh3561COMMENT
LOWkernel-open/conftest.sh3801 #COMMENT
LOWkernel-open/conftest.sh3841 # is added by commit e3eb3250d84e ("drm: add support forCOMMENT
LOWkernel-open/conftest.sh4021 # Commit b5d281f6c16d ("PM / devfreq: Rework freq_tableCOMMENT
LOWkernel-open/conftest.sh4061 int bpmp_mrq_has_strap = STRAP_SET;COMMENT
LOWkernel-open/conftest.sh4081 }"COMMENT
LOWkernel-open/conftest.sh4161 #COMMENT
LOWkernel-open/conftest.sh4181 compile_check_conftest "$CODE" "NV_ACPI_VIDEO_REGISTER_BACKLIGHT" "" "functions"COMMENT
LOWkernel-open/conftest.sh4201 #include <acpi/video.h>COMMENT
LOWkernel-open/conftest.sh4241 #COMMENT
LOWkernel-open/conftest.sh4421 #COMMENT
10913 more matches not shown…
AI Slop Vocabulary19 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMkernel-open/nvidia/nv-dma.c755 // ops can be NULL on 5.0+ kernels, meaning we can utilize direct dma.COMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_ce_test.c1112 // CPU decryption(s), but it is more robust against test changes to forceCOMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_gpu.h1119 // Bug 4577236 outlines the issue. Essentially normal eviction of coherentCOMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_sec2_test.c463 // CPU decryption(s), but it is more robust against test changes to forceCOMMENT
MEDIUMkernel-open/nvidia-uvm/uvm_gpu_semaphore.c806 // recent addition to the kernel, just leverage smp_mb__after_atomic() thatCOMMENT
MEDIUMsrc/common/nvswitch/kernel/lr10/clock_lr10.c138 // Unfortunately, we don't have a full robust infrastructure for detecting theCOMMENT
MEDIUMsrc/nvidia/src/libraries/containers/eheap/eheap_old.c195 // Form the list of free mem structures. Just need to utilize the next field of EMEMBLOCK.COMMENT
MEDIUMsrc/nvidia/src/kernel/mem_mgr/gpu_vaspace.c696 // RM would need internal CE support (e.g. leverage ECC scrubber)COMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mem_mgr/sem_surf.c1093 // it to ensure using it in the future (E.g., for robust channel errorCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mem_mgr/sem_surf.c1255 // it to ensure using it in the future (E.g., for robust channel errorCOMMENT
MEDIUM…ia/src/kernel/gpu/mem_mgr/arch/maxwell/mem_mgr_gm107.c2039 // I.e. refactor and leverage the code performing these tasksCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/spdm/arch/hopper/spdm_gh100.c832 // If we haven't established the session yet, we need to utilize pollingCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mmu/gmmu_walk.c910 // debug print - to remove when the code is robust enoughCOMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/mig_mgr/kernel_mig_manager.c6745 //TODO: Remove below code once a more robust SRT is available to test for this conditionCOMMENT
MEDIUM…nvidia/src/kernel/gpu/ce/arch/hopper/kernel_ce_gh100.c948 // In the self hosted case, utilize table entriesCOMMENT
MEDIUM…nvidia/src/kernel/gpu/rc/kernel_rc_watchdog_callback.c184 // Do nothing if robust channels are not enabledCOMMENT
MEDIUM…nvidia/src/kernel/gpu/rc/kernel_rc_watchdog_callback.c240 // Handle robust channel testing, if necessary.COMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/rc/kernel_rc.c158 // Force uncached pushbuffers for robust channel.COMMENT
MEDIUMsrc/nvidia/src/kernel/gpu/rc/kernel_rc.c163 // with the robust channel, and ended up requesting sizeof(RC + pushbuffer)COMMENT
Verbosity Indicators33 hits · 52 pts
SeverityFileLineSnippetContext
LOWkernel-open/nvidia-uvm/uvm_gpu.c784 // procfs_files are created before gpu_init_isr, we need to check if theCOMMENT
LOWkernel-open/nvidia-uvm/uvm_va_block.c6443 // Step 1: Make the 2M entry invalid. We can't directly transition from aCOMMENT
LOWkernel-open/nvidia-uvm/uvm_va_block.c6469 // Step 2: Switch the 2M entry from invalid to a PDE. This activates theCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c65 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c319 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c379 // Step 3: Enable Common mode on all Tx'sCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c405 // Step 4: call INITPHASE5COMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c431 // Step 5: Put the links in SAFE modeCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp2158 // we need to check if we have enough BW for the stream on FRL link.COMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4901 // Step 1: Setup PCON for later operationCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4933 // Step 2: Assess FRL Link capability.COMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp5015 // Step 3: Assess DP Link capability.COMMENT
LOWsrc/common/displayport/src/dp_configcaps.cpp2614 // Step 1: Configure FRL Link (FRL BW, BW mask / Concurrent)COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6193 // Step 0 :COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6242 // Step 1 : Perform surgical resetCOMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6313 // Step 2 : Assert NPORT Reset after Control & Drain routine.COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6377 // Step 3 : Restore link stateCOMMENT
LOWsrc/common/nvswitch/kernel/cci/cables/cci_common.c1451 * The purpose of this function is to provide a traceCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c248 // Step 1: Check if we can service nonstall interrupts outside the GPUs lock. OtherwiseCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c284 // Step 2: Service nonstall interrupts and check if there are any stall interruptsCOMMENT
LOW…nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c74 // Step 1:COMMENT
LOW…nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c84 // Step 2:COMMENT
LOW…nel/gpu/mem_mgr/arch/hopper/virt_mem_allocator_gh100.c103 // Step 3:COMMENT
LOW⚡…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c348 // Step 1: Unregister(vas) --> UnsetPageDirectory(vas)COMMENT
LOW⚡…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c349 // Step 2: FreeSubcontext(vas)COMMENT
LOW…nvidia/src/kernel/gpu/ce/arch/ampere/kernel_ce_ga100.c524 // So, we need to check if the FBHUB PCEs have already been assigned.COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c277 // Step 1: check for conflicting requests, and bail out without changingCOMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c309 // Step 2: if client state has changed, adjust the per-GPU/RC refcount:COMMENT
LOW⚡src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c346 // Step 3: record client state:COMMENT
LOW⚡src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c353 // Step 4: if pause request refcount has changed, update theCOMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c370 // Step 5: if per-GPU/RC refcount has changed from 0 to 1, then change theCOMMENT
LOWsrc/nvidia/src/kernel/rmapi/alloc_free.c1008 // so we need to check if Device has the same OBJGPU.COMMENT
LOWsrc/nvidia/src/kernel/rmapi/nv_gpu_ops.c3595 // is that it is indeed supported, we need to check if the link hasCOMMENT
Structural Annotation Overuse25 hits · 40 pts
SeverityFileLineSnippetContext
LOWkernel-open/nvidia-uvm/uvm_va_block.c6443 // Step 1: Make the 2M entry invalid. We can't directly transition from aCOMMENT
LOWkernel-open/nvidia-uvm/uvm_va_block.c6469 // Step 2: Switch the 2M entry from invalid to a PDE. This activates theCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c65 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c319 // Step 1: Perform INITPHASE1 on all endpointsCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c379 // Step 3: Enable Common mode on all Tx'sCOMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c405 // Step 4: call INITPHASE5COMMENT
LOW…c/common/nvlink/kernel/nvlink/core/nvlink_initialize.c431 // Step 5: Put the links in SAFE modeCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4901 // Step 1: Setup PCON for later operationCOMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp4933 // Step 2: Assess FRL Link capability.COMMENT
LOWsrc/common/displayport/src/dp_connectorimpl.cpp5015 // Step 3: Assess DP Link capability.COMMENT
LOWsrc/common/displayport/src/dp_configcaps.cpp2614 // Step 1: Configure FRL Link (FRL BW, BW mask / Concurrent)COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6242 // Step 1 : Perform surgical resetCOMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6313 // Step 2 : Assert NPORT Reset after Control & Drain routine.COMMENT
LOWsrc/common/nvswitch/kernel/lr10/lr10.c6377 // Step 3 : Restore link stateCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c248 // Step 1: Check if we can service nonstall interrupts outside the GPUs lock. OtherwiseCOMMENT
LOWsrc/nvidia/arch/nvalloc/unix/src/unix_intr.c284 // Step 2: Service nonstall interrupts and check if there are any stall interruptsCOMMENT
LOW⚡…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c348 // Step 1: Unregister(vas) --> UnsetPageDirectory(vas)COMMENT
LOW⚡…nvidia/src/kernel/gpu/mmu/arch/volta/kern_gmmu_gv100.c349 // Step 2: FreeSubcontext(vas)COMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c277 // Step 1: check for conflicting requests, and bail out without changingCOMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c309 // Step 2: if client state has changed, adjust the per-GPU/RC refcount:COMMENT
LOW⚡src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c346 // Step 3: record client state:COMMENT
LOW⚡src/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c353 // Step 4: if pause request refcount has changed, update theCOMMENT
LOWsrc/nvidia/src/kernel/gpu/rc/kernel_rc_watchdog.c370 // Step 5: if per-GPU/RC refcount has changed from 0 to 1, then change theCOMMENT
LOWsrc/nvidia/src/kernel/core/locks.c1893// NOTE: This function assumes ALL GPUs were previously locked by rmGpuLocksAcquireCOMMENT
LOWsrc/nvidia/src/kernel/rmapi/mapping_cpu.c339 // NOTE: This function intentionally leaves priv uninitialized.COMMENT
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsrc/nvidia/src/kernel/gpu/nvlink/kernel_nvlink.c3935 // For the transfer direction pLocalGpu->pRemoteGpu, update the new key for Tx or Rx as requestedCOMMENT
HIGHsrc/nvidia/src/kernel/gpu/nvlink/kernel_nvlink.c3940 // For the transfer direction pRemoteGpu->pLocalGpu, update the new key for Tx or Rx as requestedCOMMENT
HIGHsrc/nvidia/src/kernel/gpu/mig_mgr/kernel_mig_manager.c6060 // set GPCs as requestedCOMMENT
HIGHsrc/nvidia-modeset/src/nvkms-evo.c9130 // as requested.COMMENT
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippetContext
LOWkernel-open/conftest.sh179 # Check if gcc supports asm goto and set CC_HAVE_ASM_GOTO if it does.COMMENT
LOWkernel-open/conftest.sh349 # Check if any of the linuxkpi or drm kernel module files containCOMMENT
LOWkernel-open/conftest.sh414 # Print the value of given configuration option, if definedCOMMENT
LOWkernel-open/conftest.sh707 # Check if vfio_info_add_capability() has cap_type_id parameter.COMMENT
LOWkernel-open/conftest.sh3514 # Check if add_memory_driver_managed() has mhp_flags arg.COMMENT
LOWkernel-open/conftest.sh3532 # Check if remove_memory() has nid parameter.COMMENT
LOWkernel-open/conftest.sh4294 # Check if iommu_sva_bind_device() has drvdata parameter.COMMENT
LOWkernel-open/conftest.sh4372 # Check if memory_failure_queue() has trapno parameter.COMMENT
LOWkernel-open/conftest.sh4390 # Check if memory_failure() flag MF_SW_SIMULATED is defined.COMMENT
LOWkernel-open/conftest.sh5681 # Check if the selected compiler can create object filesCOMMENT
LOWkernel-open/conftest.sh5827 # Check if the target kernel is a Xen kernel. If so, exit, sinceCOMMENT
LOWkernel-open/conftest.sh5859 # Check if the target kernel has the PREEMPT_RT patch set applied. IfCOMMENT
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMnouveau/extract-firmware-nouveau.py437# Create an ELF header with no program header and 'shnum' section headers,COMMENT
MEDIUMnouveau/extract-firmware-nouveau.py458# Create an ELF section header, where 'sh_name' is the offset of theCOMMENT
MEDIUMnouveau/extract-firmware-nouveau.py484# Create a shstrtab ELF section header.COMMENT
MEDIUMnouveau/extract-firmware-nouveau.py582 # Create the ELF headerCOMMENT
MEDIUMnouveau/extract-firmware-nouveau.py739# Create a symlink, deleting the existing file/link if necessaryCOMMENT
MEDIUMnouveau/extract-firmware-nouveau.py817# Create a text file that can be inserted as-is to the WHENCE file of theCOMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHkernel-open/nvidia/linux_nvswitch.c1903// In this implementation, the time is monotonic timeCOMMENT
HIGHkernel-open/nvidia/linux_nvswitch.c1919// In this implementation, the time is from epoch timeCOMMENT
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWkernel-open/pahole.sh42# make sure to exclude c++ when generating encoding BTF.COMMENT
LOWkernel-open/common/inc/rs_access.h54// When adding a new access right, don't forget to updateCOMMENT
LOWsrc/common/sdk/nvidia/inc/rs_access.h51// When adding a new access right, don't forget to updateCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW….0/library/spdm_requester_lib/libspdm_req_key_update.c13 uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)];CODE
LOW…5.0/library/spdm_requester_lib/libspdm_req_heartbeat.c12 uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)];CODE
LOW…0/library/spdm_requester_lib/libspdm_req_end_session.c15 uint8_t dummy_data[sizeof(spdm_error_data_response_not_ready_t)];CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWnouveau/extract-firmware-nouveau.py490def elf_section_header_shstrtab(sh_name, shnum, sh_size, elf64: bool):CODE
LOWsrc/nvidia/arch/nvalloc/unix/src/rmobjexportimport.c65// generated by function RmGenerateObjExportHandle().COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/nvidia/inc/kernel/core/bin_data.h158// Example usage:COMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
MEDIUMnouveau/extract-firmware-nouveau.py1140 print(f"Error: {e}", file=sys.stderr)STRING
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWnouveau/extract-firmware-nouveau.py996CODE