← Back to scan
File as GitHub Issue repo: kernel-patches/bpf

Push this scan report to kernel-patches/bpf

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Missing import: `struct` used but not imported

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 [MINED107] Missing import: `html` used but not imported: The file uses `html.something(..… tools/power/pm-graph/sleepgraph.py:6411
CRIT MINED107 [MINED107] Missing import: `ast` used but not imported: The file uses `ast.something(...)… tools/net/sunrpc/xdrgen/xdr_ast.py:782
CRIT MINED107 [MINED107] Missing import: `string` used but not imported: The file uses `string.somethin… tools/net/ynl/pyynl/lib/ynl.py:1246
CRIT MINED107 [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(..… tools/net/ynl/pyynl/lib/ynl.py:783
CRIT MINED107 [MINED107] Missing import: `struct` used but not imported: The file uses `struct.somethin… tools/net/ynl/pyynl/ynl_gen_c.py:2003
CRIT MINED107 [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(..… tools/net/ynl/pyynl/ynl_gen_c.py:2071
CRIT MINED107 [MINED107] Missing import: `sys` used but not imported: The file uses `sys.something(...)… tools/lib/python/kdoc/kdoc_yaml_file.py:34
CRIT MINED107 [MINED107] Missing import: `glob` used but not imported: The file uses `glob.something(..… tools/lib/python/kdoc/kdoc_files.py:310
CRIT MINED107 [MINED107] Missing import: `queue` used but not imported: The file uses `queue.something(… tools/verification/rvgen/rvgen/dot2k.py:425
CRIT MINED107 [MINED107] Missing import: `array` used but not imported: The file uses `array.something(… drivers/gpu/drm/msm/registers/gen_heade…:401
CRIT MINED107 [MINED107] Missing import: `os` used but not imported: The file uses `os.something(...)` … scripts/clang-tools/run-clang-tools.py:94
CRIT MINED107 [MINED107] Missing import: `sys` used but not imported: The file uses `sys.something(...)… scripts/gdb/vmlinux-gdb.py:16
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. arch/alpha/boot/stdio.c:293
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. arch/alpha/boot/main.c:183
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. arch/alpha/boot/bootp.c:207
CRIT MINED116 [MINED116] Workflow uses `secrets.KP_REVIEW_BOT_APP_PRIVATE_KEY` on a `pull_request` trig… .github/workflows/ai-agent.yml:220
CRIT MINED116 [MINED116] Workflow uses `secrets.KP_REVIEW_BOT_APP_ID` on a `pull_request` trigger: This… .github/workflows/ai-agent.yml:219
CRIT MINED116 [MINED116] Workflow uses `secrets.AWS_BEDROCK_ROLE` on a `pull_request` trigger: This wor… .github/workflows/ai-agent.yml:163
CRIT MINED116 [MINED116] Workflow uses `secrets.KP_REVIEW_BOT_APP_PRIVATE_KEY` on a `pull_request` trig… .github/workflows/ai-agent.yml:158
CRIT MINED116 [MINED116] Workflow uses `secrets.KP_REVIEW_BOT_APP_ID` on a `pull_request` trigger: This… .github/workflows/ai-agent.yml:157
CRIT MINED116 [MINED116] Workflow uses `secrets.AWS_ROLE_ARN` on a `pull_request` trigger: This workflo… .github/workflows/test.yml:78
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_PAT_READ_RUNNERS` on a `pull_request` trigger: This … .github/workflows/test.yml:43
CRIT MINED116 [MINED116] Workflow uses `secrets.AWS_BEDROCK_ROLE` on a `pull_request` trigger: This wor… .github/workflows/ai-code-review.yml:77
CRIT MINED116 [MINED116] Workflow uses `secrets.KP_REVIEW_BOT_APP_PRIVATE_KEY` on a `pull_request` trig… .github/workflows/ai-code-review.yml:72
CRIT MINED116 [MINED116] Workflow uses `secrets.KP_REVIEW_BOT_APP_ID` on a `pull_request` trigger: This… .github/workflows/ai-code-review.yml:71
HIGH MINED106 [MINED106] Phantom test coverage: test_bit: Test function `test_bit` runs code but contai… scripts/gdb/linux/mm.py:16
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… Documentation/sphinx/maintainers_includ…:99
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… Documentation/sphinx/kerneldoc.py:128
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … .github/scripts/stagger.py:34
HIGH SEC078 [SEC078] Python: requests without timeout: requests.get/post without a timeout will hang … .github/scripts/matrix.py:56
HIGH MINED115 [MINED115] Action `libbpf/ci/build-selftests` pinned to mutable ref `@v4`: `uses: libbpf/… .github/workflows/test-progs-asan.yml:87
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v7`: `uses: actions… .github/workflows/test-progs-asan.yml:76
HIGH MINED115 [MINED115] Action `libbpf/ci/setup-build-env` pinned to mutable ref `@v4`: `uses: libbpf/… .github/workflows/test-progs-asan.yml:71
HIGH MINED115 [MINED115] Action `libbpf/ci/patch-kernel` pinned to mutable ref `@v4`: `uses: libbpf/ci/… .github/workflows/test-progs-asan.yml:64
HIGH MINED115 [MINED115] Action `libbpf/ci/get-linux-source` pinned to mutable ref `@v4`: `uses: libbpf… .github/workflows/test-progs-asan.yml:59
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/test-progs-asan.yml:51
HIGH MINED115 [MINED115] Action `actions/create-github-app-token` pinned to mutable ref `@v2`: `uses: a… .github/workflows/linux-next-sync.yml:74
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/lint.yml:62
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/lint.yml:51
HIGH MINED115 [MINED115] Action `psf/black` pinned to mutable ref `@stable`: `uses: psf/black@stable` r… .github/workflows/lint.yml:33
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/lint.yml:31
HIGH MINED115 [MINED115] Action `ludeeus/action-shellcheck` pinned to mutable ref `@master`: `uses: lud… .github/workflows/lint.yml:20
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/lint.yml:18
HIGH MINED115 [MINED115] Action `libbpf/ci/run-vmtest` pinned to mutable ref `@v4`: `uses: libbpf/ci/ru… .github/workflows/veristat-cilium.yml:62
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v7`: `uses: actions… .github/workflows/veristat-cilium.yml:47
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/veristat-cilium.yml:39
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/test.yml:24
HIGH MINED115 [MINED115] Action `actions/github-script` pinned to mutable ref `@v8`: `uses: actions/git… .github/workflows/ai-code-review.yml:177
HIGH MINED115 [MINED115] Action `anthropics/claude-code-action` pinned to mutable ref `@v1`: `uses: ant… .github/workflows/ai-code-review.yml:138
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ai-code-review.yml:127
HIGH MINED115 [MINED115] Action `libbpf/ci/get-linux-source` pinned to mutable ref `@v4`: `uses: libbpf… .github/workflows/ai-code-review.yml:87
HIGH MINED115 [MINED115] Action `aws-actions/configure-aws-credentials` pinned to mutable ref `@v4`: `u… .github/workflows/ai-code-review.yml:75
HIGH MINED115 [MINED115] Action `actions/create-github-app-token` pinned to mutable ref `@v2`: `uses: a… .github/workflows/ai-code-review.yml:69
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout… .github/workflows/ai-code-review.yml:61
HIGH MINED115 [MINED115] Action `libbpf/ci/get-linux-source` pinned to mutable ref `@v4`: `uses: libbpf… .github/workflows/ai-code-review.yml:27
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… tools/verification/rvgen/rvgen/generato…:227
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… tools/verification/rvgen/rvgen/generato…:15
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… tools/verification/rvgen/rvgen/dot2k.py:20
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… tools/verification/rvgen/rvgen/containe…:14
MED MINED109 [MINED109] Mutable default argument in `__init__` (dict): `def __init__(... = []/{}/set()… tools/verification/rvgen/rvgen/ltl2k.py:64
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… tools/testing/selftests/damon/_damon_sy…:818
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… tools/testing/selftests/damon/_damon_sy…:674
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… tools/testing/selftests/damon/_damon_sy…:609
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… tools/testing/selftests/damon/_damon_sy…:412
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… tools/testing/selftests/damon/_damon_sy…:354
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… tools/testing/selftests/damon/_damon_sy…:307
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/testing/selftests/damon/sysfs_no_…:14
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/testing/selftests/tc-testing/tdc.…:487
MED MINED109 [MINED109] Mutable default argument in `bpftool_prog_load` (list): `def bpftool_prog_load… tools/testing/selftests/net/bpf_offload…:219
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/testing/kunit/kunit_kernel.py:377
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/sched/dl_bw_dump.py:49
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/sched/root_domains_dump.py:60
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/cgroup/iocost_monitor.py:44
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/mm/show_page_info.py:165
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/mm/show_page_info.py:139
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/mm/show_page_info.py:74
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… tools/mm/show_page_info.py:49
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… drivers/tty/vt/gen_ucs_width_table.py:229
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… drivers/tty/vt/gen_ucs_fallback_table.py:271
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… drivers/tty/vt/gen_ucs_fallback_table.py:23
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/gdb/linux/stackdepot.py:65
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/gdb/linux/stackdepot.py:52
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/gdb/linux/mm.py:78
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/gdb/vmlinux-gdb.py:21
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/checkkconfigsymbols.py:112
MED MINED109 [MINED109] Mutable default argument in `find_sims` (list): `def find_sims(... = []/{}/set… scripts/checkkconfigsymbols.py:270
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/spdxcheck.py:453
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/spdxcheck.py:378
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/spdxcheck.py:368
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/bpf_doc.py:463
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/bpf_doc.py:475
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… scripts/bpf_doc.py:458
MED MINED109 [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set()… scripts/bpf_doc.py:61
MED COMP001 [COMP001] High cognitive complexity: Function `parse_table` has cognitive complexity 15 (… .github/scripts/veristat_compare.py:151
MED COMP001 [COMP001] High cognitive complexity: Function `query_runners_from_github` has cognitive c… .github/scripts/matrix.py:42
MED MINED124 [MINED124] requirements.txt: `pyyaml` has no version pin: Unpinned pip requirement means … Documentation/sphinx/requirements.txt:4
MED MINED124 [MINED124] requirements.txt: `Sphinx` has no version pin: Unpinned pip requirement means … Documentation/sphinx/requirements.txt:3
MED MINED124 [MINED124] requirements.txt: `alabaster` has no version pin: Unpinned pip requirement mea… Documentation/sphinx/requirements.txt:2
MED AIC001 Parallel implementation file sits beside a canonical file drivers/net/ethernet/ti/cpsw_new.c:1
MED AIC001 Parallel implementation file sits beside a canonical file drivers/media/rc/keymaps/rc-pixelview-n…:1
MED AIC001 Parallel implementation file sits beside a canonical file drivers/infiniband/hw/hfi1/pio_copy.c:1
MED AIC001 Parallel implementation file sits beside a canonical file drivers/iio/imu/inv_icm42600/inv_icm426…:1
MED AIC001 Parallel implementation file sits beside a canonical file drivers/gpu/drm/amd/display/dc/dce/dce_…:1
MED AIC001 Parallel implementation file sits beside a canonical file drivers/clk/tegra/clk-periph-fixed.c:1
MED AIC001 Parallel implementation file sits beside a canonical file arch/sh/mm/ioremap_fixed.c:1
MED AIC001 Parallel implementation file sits beside a canonical file arch/arm/boot/compressed/fdt_wip.c:1
MED AIC004 Suspicious implementation file appears unreferenced tools/testing/selftests/tty/tty_tstamp_…:1
MED AIC004 Suspicious implementation file appears unreferenced tools/testing/selftests/bpf/benchs/benc…:1
MED AIC004 Suspicious implementation file appears unreferenced net/ethtool/cmis_fw_update.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/scsi/fnic/vnic_wq_copy.h:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/scsi/fnic/vnic_wq_copy.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/scsi/fnic/vnic_cq_copy.h:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/platform/x86/intel/wmi/sbl-fw-u…:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/net/ethernet/ti/cpsw_new.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/net/ethernet/intel/ixgbe/ixgbe_…:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/net/ethernet/intel/ice/ice_fw_u…:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/iio/imu/inv_icm42600/inv_icm426…:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/iio/imu/inv_icm42600/inv_icm426…:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/hwmon/sbtsi_temp.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/hwmon/i5500_temp.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/gpu/drm/amd/display/dc/dce/dce_…:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/fpga/intel-m10-bmc-sec-update.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/crypto/intel/iaa/iaa_crypto_com…:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/clk/tegra/clk-tegra-fixed.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/clk/tegra/clk-periph-fixed.c:1
MED AIC004 Suspicious implementation file appears unreferenced drivers/ata/pata_pdc202xx_old.c:1
LOW COMP001 [COMP001] High cognitive complexity: Function `count_by_status` has cognitive complexity … .github/scripts/matrix.py:115
LOW AIC003 Duplicated implementation block across source files arch/arm/include/asm/ptrace.h:42
LOW AIC003 Duplicated implementation block across source files arch/arc/include/asm/irqflags-compact.h:64
LOW AIC003 Duplicated implementation block across source files arch/arc/include/asm/entry-compact.h:38
LOW AIC003 Duplicated implementation block across source files arch/alpha/lib/checksum.c:1
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/sys_miata.c:98
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_wildfire.c:232
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_wildfire.c:212
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_tsunami.c:26
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_tsunami.c:7
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_titan.c:291
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_titan.c:43
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_polaris.c:14
LOW AIC003 Duplicated implementation block across source files arch/alpha/kernel/core_marvel.c:306
LOW AIC003 Duplicated implementation block across source files arch/alpha/boot/main.c:4
LOW AIC003 Duplicated implementation block across source files arch/alpha/boot/bootpz.c:41
LOW AIC003 Duplicated implementation block across source files drivers/net/ethernet/intel/ixgbe/ixgbe_…:112
LOW AIC002 Source file name looks like an AI patch artifact drivers/platform/x86/intel/wmi/sbl-fw-u…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/net/ethernet/intel/ixgbe/ixgbe_…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/net/ethernet/intel/ice/ice_fw_u…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/media/rc/keymaps/rc-budget-ci-o…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/iio/temperature/iqs620at-temp.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/iio/imu/inv_icm42600/inv_icm426…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/hwmon/surface_temp.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/hwmon/sparx5-temp.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/hwmon/sbtsi_temp.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/hwmon/i5500_temp.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/gpu/drm/ttm/ttm_backup.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/gpu/drm/i915/display/intel_fixe…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/gpu/drm/amd/display/dc/inc/bw_f…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/gpu/drm/amd/display/dc/basics/b…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/fpga/intel-m10-bmc-sec-update.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/firmware/microchip/mpfs-auto-up…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/crypto/intel/iaa/iaa_crypto_com…:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/clk/tegra/clk-tegra-fixed.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/ata/pata_pdc202xx_old.c:1
LOW AIC002 Source file name looks like an AI patch artifact drivers/acpi/pfr_update.c:1
LOW AIC002 Source file name looks like an AI patch artifact arch/mips/lib/iomap_copy.c:1
LOW AIC002 Source file name looks like an AI patch artifact arch/alpha/lib/csum_partial_copy.c:1
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… arch/arm64/include/asm/alternative.h:18
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… arch/arm/nwfpe/softfloat.h:16
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… arch/arm/nwfpe/milieu.h:16
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… arch/alpha/boot/misc.c:165
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. Documentation/sphinx/translations.py:32
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… Documentation/sphinx/translations.py:33
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… Documentation/sphinx/kerneldoc.py:129
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… .github/scripts/stagger.py:34
INFO MINED067 [MINED067] Python Requests No Timeout: requests.get/post/etc. without timeout= can hang f… .github/scripts/matrix.py:56
Reset to top 5 174 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `kernel-patches/bpf`

**Score: 78/100 (B)**  ·  232 findings  ·  scanned 2026-06-05 23:45 UTC  ·  1,883,014 LOC

| Severity | Count |
|---|---|
| CRITICAL | 25 |
| HIGH | 30 |
| MEDIUM | 71 |
| LOW | 39 |

📊 [Full filterable report](https://repobility.com/scan/983b7a8a-3ae9-4725-aa7f-f810cac52a77/)  ·  ![scorecard](https://repobility.com/scan/983b7a8a-3ae9-4725-aa7f-f810cac52a77/report.png?v=1780703135-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `html` used but not imported
   `tools/power/pm-graph/sleepgraph.py:6411` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `ast` used but not imported
   `tools/net/sunrpc/xdrgen/xdr_ast.py:782` · ✓ Repobility
3. **CRITICAL** `MINED107` — Missing import: `string` used but not imported
   `tools/net/ynl/pyynl/lib/ynl.py:1246` · ✓ Repobility
4. **CRITICAL** `MINED107` — Missing import: `enum` used but not imported
   `tools/net/ynl/pyynl/lib/ynl.py:783` · ✓ Repobility
5. **CRITICAL** `MINED107` — Missing import: `struct` used but not imported
   `tools/net/ynl/pyynl/ynl_gen_c.py:2003` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/983b7a8a-3ae9-4725-aa7f-f810cac52a77/_
Megaproject â high spam risk
Could not determine 'kernel-patches/bpf' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
108/234 findings (46%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.