Application Kernel for Containers
4242 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | webhook/main.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | webhook/pkg/cli/cli.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | webhook/pkg/injector/webhook.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | webhook/pkg/injector/certs.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | g3doc/proposals/runtime_dedicate_os_thread.md | 101 | run, and the M that selects the G then needs to transfer its P to the locked M, |
| LOW | tools/install_containerd.sh | 1 | #!/bin/bash |
| LOW | tools/workspace_status.sh | 1 | #!/bin/bash |
| LOW | tools/builkite-check-paths.sh | 1 | #!/bin/bash |
| LOW | tools/make_release.sh | 1 | #!/bin/bash |
| LOW | tools/go_branch.sh | 1 | #!/bin/bash |
| LOW | tools/build_cover.sh | 1 | #!/bin/bash |
| LOW | tools/tag_release.sh | 1 | #!/bin/bash |
| LOW | tools/make_apt.sh | 1 | #!/bin/bash |
| LOW | tools/go_fieldenum/main.go | 1 | // Copyright 2021 The gVisor Authors. |
| LOW | tools/gvisor_k8s_tool/main.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gvisor_k8s_tool/cmd/install/install.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gvisor_k8s_tool/cluster/cluster.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gvisor_k8s_tool/util/util.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gvisor_k8s_tool/spec/spec.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | …ls/gvisor_k8s_tool/provider/clusterflag/clusterflag.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gvisor_k8s_tool/provider/gke/gke.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gvisor_k8s_tool/provider/kubectl/kubectl.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/checklinkname/check_linkname.go | 1 | // Copyright 2021 The gVisor Authors. |
| LOW | tools/checklinkname/check_linkname.go | 141 | // function declared as “localname” in the source code. If the |
| LOW | tools/checklinkname/test/test_unsafe.go | 1 | // Copyright 2021 The gVisor Authors. |
| LOW | tools/parsers/version.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | tools/parsers/go_parser_test.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | tools/parsers/go_parser.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | tools/parsers/go_parser.go | 41 | suite.Benchmarks = append(suite.Benchmarks, bm) |
| LOW | tools/parsers/parser_main.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | tools/profiletool/profiletool.go | 1 | // Copyright 2024 The gVisor Authors. |
| LOW | tools/profiletool/profiletool.go | 301 | // If a key is not found in a profile, its frequency is assumed to be |
| LOW | tools/compat/realpath.py | 1 | #!/usr/bin/env python3 |
| LOW | tools/gpu/cos_drivers_test.sh | 1 | #!/bin/bash |
| LOW | tools/gpu/all_drivers_test.sh | 1 | #!/bin/bash |
| LOW | tools/gpu/main.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gpu/drivers/install_driver.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/gpu/drivers/install_driver_test.go | 1 | // Copyright 2023 The gVisor Authors. |
| LOW | tools/go_marshal/main.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | tools/go_marshal/analysis/analysis_unsafe.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | tools/go_marshal/analysis/analysis_unsafe.go | 41 | // Internally, we populate the type with random data by doing an unsafe cast to |
| LOW | tools/go_marshal/test/test.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | tools/go_marshal/test/test.go | 141 | // |
| LOW | tools/go_marshal/test/test.go | 161 | // +marshal |
| LOW | tools/go_marshal/test/dynamic.go | 1 | // Copyright 2021 The gVisor Authors. |
| LOW | tools/go_marshal/test/benchmark_test.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | tools/go_marshal/test/marshal_test.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | tools/go_marshal/test/marshal_test.go | 421 | } |
| LOW | tools/go_marshal/test/escape/escape.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | tools/go_marshal/test/external/external.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | …al/gomarshal/generator_interfaces_primitive_newtype.go | 1 | // Copyright 2020 The gVisor Authors. |
| LOW | …s/go_marshal/gomarshal/generator_interfaces_dynamic.go | 1 | // Copyright 2021 The gVisor Authors. |
| LOW | tools/go_marshal/gomarshal/util.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | tools/go_marshal/gomarshal/util.go | 81 | primitive func(n, t *ast.Ident) |
| LOW | tools/go_marshal/gomarshal/util.go | 161 | |
| LOW | tools/go_marshal/gomarshal/util.go | 341 | |
| LOW | tools/go_marshal/gomarshal/util.go | 361 | // |
| LOW | tools/go_marshal/gomarshal/util.go | 381 | // name: "ktime", |
| LOW | tools/go_marshal/gomarshal/generator.go | 1 | // Copyright 2019 The gVisor Authors. |
| LOW | tools/go_marshal/gomarshal/generator.go | 541 | // Write the unconditional test file. This file is always compiled, |
| 3943 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | pkg/sentry/vfs/opath.go | 123 | stat, err := fd.vfsfd.vd.mount.fs.impl.StatAt(ctx, rp, opts) |
| CRITICAL | pkg/sentry/vfs/opath.go | 136 | statfs, err := fd.vfsfd.vd.mount.fs.impl.StatFSAt(ctx, rp) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 562 | stat, err = fd.vd.mount.fs.impl.StatAt(ctx, rp, opts) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 582 | err := fd.vd.mount.fs.impl.SetStatAt(ctx, rp, opts) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 604 | statfs, err := fd.vd.mount.fs.impl.StatFSAt(ctx, rp) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 756 | names, err := fd.vd.mount.fs.impl.ListXattrAt(ctx, rp, size) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 785 | val, err := fd.vd.mount.fs.impl.GetXattrAt(ctx, rp, *opts) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 801 | err := fd.vd.mount.fs.impl.SetXattrAt(ctx, rp, *opts) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 821 | err := fd.vd.mount.fs.impl.RemoveXattrAt(ctx, rp, name) |
| CRITICAL | pkg/sentry/vfs/file_description.go | 835 | return fd.vd.mount.fs.impl.Sync(ctx) |
| CRITICAL | pkg/sentry/fsimpl/devpts/replica.go | 107 | rfd.inode.t.ld.replicaWaiter.EventRegister(e) |
| CRITICAL | pkg/sentry/fsimpl/devpts/replica.go | 113 | rfd.inode.t.ld.replicaWaiter.EventUnregister(e) |
| CRITICAL | pkg/sentry/fsimpl/gofer/socket.go | 106 | e.dentry.inode.fs.renameMu.RLock() |
| CRITICAL | pkg/sentry/fsimpl/gofer/socket.go | 108 | e.dentry.inode.fs.renameMu.RUnlock() |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1751 | d.inode.fs.dentryCache.mu.Lock() |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1754 | d.inode.fs.dentryCache.dentries.Remove(&d.cacheEntry) |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1755 | d.inode.fs.dentryCache.dentries.PushFront(&d.cacheEntry) |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1756 | d.inode.fs.dentryCache.mu.Unlock() |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1762 | d.inode.fs.dentryCache.dentries.PushFront(&d.cacheEntry) |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1766 | d.inode.fs.dentryCache.mu.Unlock() |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1783 | d.inode.fs.dentryCache.mu.Lock() |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1784 | d.inode.fs.dentryCache.dentries.Remove(&d.cacheEntry) |
| CRITICAL | pkg/sentry/fsimpl/gofer/gofer.go | 1786 | d.inode.fs.dentryCache.mu.Unlock() |
| CRITICAL | pkg/sentry/fsimpl/tmpfs/regular_file.go | 706 | ims, err := rw.file.inode.fs.mf.MapInternal(seg.FileRangeOf(seg.Range().Intersect(mr)), hostarch.Read) |
| CRITICAL | pkg/sentry/fsimpl/tmpfs/regular_file.go | 874 | if rw.file.inode.fs.mf.IsDiskBacked() { |
| CRITICAL | pkg/sentry/fsimpl/tmpfs/regular_file.go | 880 | fd, err := rw.file.inode.fs.mf.DataFD(fr) |
| CRITICAL | pkg/sentry/fsimpl/tmpfs/regular_file.go | 892 | ims, err := rw.file.inode.fs.mf.MapInternal(fr, hostarch.Write) |
| CRITICAL | pkg/sentry/kernel/task_acct.go | 215 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/task_acct.go | 216 | defer t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 295 | t.tg.pidns.owner.mu.Lock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 296 | defer t.tg.pidns.owner.mu.Unlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 306 | t.tg.pidns.owner.mu.Lock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 307 | defer t.tg.pidns.owner.mu.Unlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1077 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1079 | t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1083 | t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1090 | t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1280 | t.tg.pidns.owner.mu.Lock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1281 | defer t.tg.pidns.owner.mu.Unlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1285 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 1286 | defer t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 127 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 128 | defer t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 458 | t.tg.pidns.owner.mu.Lock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 459 | defer t.tg.pidns.owner.mu.Unlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 470 | t.tg.pidns.owner.mu.Lock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 471 | defer t.tg.pidns.owner.mu.Unlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 504 | t.tg.pidns.owner.mu.Lock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 505 | defer t.tg.pidns.owner.mu.Unlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 559 | t.tg.pidns.owner.mu.Lock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 560 | defer t.tg.pidns.owner.mu.Unlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 659 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 660 | defer t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 682 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 683 | defer t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 698 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 699 | defer t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 721 | t.tg.pidns.owner.mu.RLock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 722 | defer t.tg.pidns.owner.mu.RUnlock() |
| CRITICAL | pkg/sentry/kernel/ptrace.go | 762 | t.tg.pidns.owner.mu.Lock() |
| 127 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/packetimpact/dut/dut.go | 137 | // Scanning log lines is not the most robust way, we could pass a file |
| MEDIUM | test/root/crictl_test.go | 420 | // - Creates directories and a socket for containerd to utilize. |
| MEDIUM | runsc/fsgofer/lisafs_test.go | 26 | // Note that these are not supposed to be extensive or robust tests. These unit |
| MEDIUM | runsc/cgroup/systemd.go | 207 | // generating the path of slice. Essentially, test-a-b.slice becomes |
| MEDIUM | runsc/container/metric_server_test.go | 285 | // TestContainerMetricsRobustAgainstRestarts that exporting metrics is robust against metric server |
| MEDIUM | runsc/container/container.go | 632 | // CPU stats can utilize host cgroups for accuracy. |
| MEDIUM | pkg/shim/v1/utils/volumes.go | 138 | // - (Essentially we set it to what the admission controller said.) |
| MEDIUM | pkg/sentry/vfs/mount_unsafe.go | 123 | // Essentially every mountTable will contain at least /proc, /sys, and |
| MEDIUM | pkg/sentry/fsimpl/overlay/filesystem.go | 1265 | // Essentially no gVisor filesystem supports RENAME_WHITEOUT, so just do a |
| MEDIUM | pkg/sentry/platform/kvm/machine_amd64.go | 242 | // capability, but it means that this method should be robust to |
| MEDIUM | pkg/sentry/time/parameters.go | 46 | // TODO(b/68779214): make error correction more robust to delayed |
| MEDIUM | pkg/sentry/kernel/task_futex.go | 53 | // GetRobustList sets the robust futex list for the task. |
| MEDIUM | pkg/sentry/kernel/task_futex.go | 61 | // SetRobustList sets the robust futex list for the task. |
| MEDIUM | pkg/sentry/kernel/task_futex.go | 68 | // exitRobustList walks the robust futex list, marking locks dead and notifying |
| MEDIUM | pkg/sentry/kernel/task_futex.go | 130 | // wakeRobustListOne wakes a single futex from the robust list. |
| MEDIUM | pkg/sentry/kernel/task.go | 603 | // robustList is a pointer to the head of the tasks's robust futex |
| MEDIUM | pkg/sentry/kernel/task_exit.go | 278 | // Handle the robust futex list. |
| MEDIUM | pkg/sentry/kernel/task_exec.go | 356 | // Handle the robust futex list. |
| MEDIUM | pkg/sentry/kernel/futex/futex.go | 647 | // FUTEX_OWNER_DIED is only set by the Linux when robust lists are in use (see |
| MEDIUM | pkg/sentry/kernel/futex/futex.go | 648 | // exit_robust_list()). Given we don't support robust lists, although handled |
| MEDIUM | pkg/sentry/socket/netfilter/netfilter.go | 139 | // Read in the struct and table name. IPv4 and IPv6 utilize structs |
| MEDIUM | pkg/bpf/optimizer.go | 457 | // (Essentially, we create a common "jump to return" doormat that everyone in |
| MEDIUM | pkg/tcpip/transport/tcp/snd.go | 1301 | // can leverage the SACK information to determine when an incoming ACK is a |
| MEDIUM | …cpip/network/internal/ip/generic_multicast_protocol.go | 79 | // Robustness Variable may be increased. MLD is robust to [Robustness |
| MEDIUM | …cpip/network/internal/ip/generic_multicast_protocol.go | 87 | // Variable may be increased. IGMP is robust to (Robustness Variable - |
| MEDIUM | pkg/tcpip/stack/iptables_types.go | 100 | // don't utilize iptables. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tools/go_branch.sh | 29 | # Create a temporary working directory, and ensure that this directory and all |
| MEDIUM | tools/make_apt.sh | 60 | # Create a directory for the release. |
| MEDIUM | tools/make_apt.sh | 64 | # Create a temporary keyring, and ensure it is cleaned up. |
| MEDIUM | test/rtnetlink/linux/rtnetlink_test.sh | 70 | # Create a sync pipe that will be closed when TCP_SRV creates a listen socket. |
| MEDIUM | test/rtnetlink/linux/route_test.sh | 20 | # Create a new default route and a new route with a address. |
| MEDIUM | test/rtnetlink/linux/setlink_test.sh | 20 | # Create a new veth pair in the current namespace and change the MTU. |
| MEDIUM | test/rtnetlink/linux/setlink_test.sh | 31 | # Create a new veth pair in the current namespace and rename the link. |
| MEDIUM | test/rtnetlink/linux/veth_test.sh | 20 | # Create a new veth pair in the current namespace. |
| MEDIUM | test/packetdrill/packetdrill_test.sh | 173 | # Create the DUT container and connect to network. |
| MEDIUM | test/packetdrill/packetdrill_test.sh | 191 | # Create the test runner container and connect to network. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/gpu/triton/triton.go | 0 | \n // ..the quick brown fox\n // ..jumps over\n // ....the lazy dog\n // . |
| HIGH | test/gpu/sglang/sglang.go | 0 | \n // ..the quick brown fox\n // ..jumps over\n // ....the lazy dog\n // . |
| HIGH | test/gpu/ollama/ollama.go | 0 | \n // ..the quick brown fox\n // ..jumps over\n // ....the lazy dog\n // . |
| HIGH | test/kubernetes/benchmarks/vllm.go | 0 | we assembled on the vast green lawn outside as the reactors began to slowly wind down. the workers were solemn; the acti |
| HIGH | test/kubernetes/benchmarks/sglang.go | 0 | we assembled on the vast green lawn outside as the reactors began to slowly wind down. the workers were solemn; the acti |
| HIGH | test/kubernetes/benchmarks/ollama.go | 0 | we assembled on the vast green lawn outside as the reactors began to slowly wind down. the workers were solemn; the acti |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | runsc/fsgofer/lisafs.go | 581 | // Set the owners as requested by the client. |
| HIGH | pkg/sentry/mm/syscalls.go | 152 | // Get pmas and map as requested. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pkg/tcpip/transport/tcp/sack_scoreboard.go | 233 | // We need to check if the immediate lower (if any) sacked |
| LOW | …/tcpip/network/internal/fragmentation/fragmentation.go | 241 | // Before releasing a fragment we need to check if r is already marked as done. |
| LOW | pkg/tcpip/stack/transport_demuxer.go | 439 | // If it was previously bound, we need to check if we can bind again. |
| LOW | pkg/tcpip/stack/transport_demuxer.go | 458 | // If it was previously bound, we need to check if we can bind again. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/image/latin10k.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut placerat felis. Maecenas urna est, auctor a efficitur s |
| LOW | test/image/latin10k.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras ut placerat felis. Maecenas urna est, auctor a efficitur s |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/builkite-check-paths.sh | 17 | # Check if any changes are in specified paths. The script exits with 0 if no |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | images/gpu/stable-diffusion-xl/generate_image.py | 187 | def get_optimal_terminal_width(): |