Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo: teh->the #223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

typo: teh->the #223

wants to merge 1 commit into from

Conversation

ubante
Copy link

@ubante ubante commented Nov 16, 2015

Because it matters.

And....

Hodor.

Because it matters
@9577865172
Copy link

Thanks

@13rac1
Copy link

13rac1 commented Dec 17, 2015

Github Pull Requests are not accepted for this project. You must submit a patch to the Kernel Mailing List. The procedures are outlined here: http://kernelnewbies.org/UpstreamMerge/SubmittingPatches

Please close this PR.

gatieme pushed a commit to gatieme/linux that referenced this pull request Nov 24, 2022
ANBZ: torvalds#223

commit c853680 upstream.

Lockdep reports "WARNING: lock held when returning to user space!" due to
async write holding freeze lock over the write.  Apparently aio.c already
deals with this by lying to lockdep about the state of the lock.

Do the same here.  No need to check for S_IFREG() here since these file ops
are regular-only.

Reported-by: syzbot+9331a354f4f624a52a55@syzkaller.appspotmail.com
Fixes: 2406a30 ("ovl: implement async IO routines")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
[joe: move file_start_write() down into sync/async branches]
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
gatieme pushed a commit to gatieme/linux that referenced this pull request Nov 24, 2022
ANBZ: torvalds#223

commit 9a25440 upstream.

Example for triggering use after free in a overlay on ext4 setup:

aio_read
  ovl_read_iter
    vfs_iter_read
      ext4_file_read_iter
        ext4_dio_read_iter
          iomap_dio_rw -> -EIOCBQUEUED
          /*
	   * Here IO is completed in a separate thread,
	   * ovl_aio_cleanup_handler() frees aio_req which has iocb embedded
	   */
          file_accessed(iocb->ki_filp); /**BOOM**/

Fix by introducing a refcount in ovl_aio_req similarly to aio_kiocb.  This
guarantees that iocb is only freed after vfs_read/write_iter() returns on
underlying fs.

Fixes: 2406a30 ("ovl: implement async IO routines")
Signed-off-by: yangerkun <yangerkun@huawei.com>
Link: https://lore.kernel.org/r/20210930032228.3199690-3-yangerkun@huawei.com/
Cc: <stable@vger.kernel.org> # v5.6
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
mpe added a commit to linuxppc/linux that referenced this pull request Jan 27, 2023
In kexec_extra_fdt_size_ppc64() there's logic to estimate how much
extra space will be needed in the device tree for some memory related
properties.

That logic uses the size of RAM divided by drmem_lmb_size() to do the
estimation. However drmem_lmb_size() can be zero if the machine has no
hotpluggable memory configured, which is the case when booting with qemu
and no maxmem=x parameter is passed (the default).

The division by zero is reported by UBSAN, and can also lead to an
overflow and a warning from kvmalloc, and kdump kernel loading fails:

  WARNING: CPU: 0 PID: 133 at mm/util.c:596 kvmalloc_node+0x15c/0x160
  Modules linked in:
  CPU: 0 PID: 133 Comm: kexec Not tainted 6.2.0-rc5-03455-g07358bd97810 torvalds#223
  Hardware name: IBM pSeries (emulated by qemu) POWER9 (raw) 0x4e1200 0xf000005 of:SLOF,git-dd0dca pSeries
  NIP:  c00000000041ff4c LR: c00000000041fe58 CTR: 0000000000000000
  REGS: c0000000096ef750 TRAP: 0700   Not tainted  (6.2.0-rc5-03455-g07358bd97810)
  MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 24248242  XER: 2004011e
  CFAR: c00000000041fed0 IRQMASK: 0
  ...
  NIP kvmalloc_node+0x15c/0x160
  LR  kvmalloc_node+0x68/0x160
  Call Trace:
    kvmalloc_node+0x68/0x160 (unreliable)
    of_kexec_alloc_and_setup_fdt+0xb8/0x7d0
    elf64_load+0x25c/0x4a0
    kexec_image_load_default+0x58/0x80
    sys_kexec_file_load+0x5c0/0x920
    system_call_exception+0x128/0x330
    system_call_vectored_common+0x15c/0x2ec

To fix it, skip the calculation if drmem_lmb_size() is zero.

Fixes: 2377c92 ("powerpc/kexec_file: fix FDT size estimation for kdump kernel")
Cc: stable@vger.kernel.org # v5.12+
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
ruscur pushed a commit to ruscur/linux that referenced this pull request Jan 31, 2023
In kexec_extra_fdt_size_ppc64() there's logic to estimate how much
extra space will be needed in the device tree for some memory related
properties.

That logic uses the size of RAM divided by drmem_lmb_size() to do the
estimation. However drmem_lmb_size() can be zero if the machine has no
hotpluggable memory configured, which is the case when booting with qemu
and no maxmem=x parameter is passed (the default).

The division by zero is reported by UBSAN, and can also lead to an
overflow and a warning from kvmalloc, and kdump kernel loading fails:

  WARNING: CPU: 0 PID: 133 at mm/util.c:596 kvmalloc_node+0x15c/0x160
  Modules linked in:
  CPU: 0 PID: 133 Comm: kexec Not tainted 6.2.0-rc5-03455-g07358bd97810 torvalds#223
  Hardware name: IBM pSeries (emulated by qemu) POWER9 (raw) 0x4e1200 0xf000005 of:SLOF,git-dd0dca pSeries
  NIP:  c00000000041ff4c LR: c00000000041fe58 CTR: 0000000000000000
  REGS: c0000000096ef750 TRAP: 0700   Not tainted  (6.2.0-rc5-03455-g07358bd97810)
  MSR:  800000000282b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 24248242  XER: 2004011e
  CFAR: c00000000041fed0 IRQMASK: 0
  ...
  NIP kvmalloc_node+0x15c/0x160
  LR  kvmalloc_node+0x68/0x160
  Call Trace:
    kvmalloc_node+0x68/0x160 (unreliable)
    of_kexec_alloc_and_setup_fdt+0xb8/0x7d0
    elf64_load+0x25c/0x4a0
    kexec_image_load_default+0x58/0x80
    sys_kexec_file_load+0x5c0/0x920
    system_call_exception+0x128/0x330
    system_call_vectored_common+0x15c/0x2ec

To fix it, skip the calculation if drmem_lmb_size() is zero.

Fixes: 2377c92 ("powerpc/kexec_file: fix FDT size estimation for kdump kernel")
Cc: stable@vger.kernel.org # v5.12+
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230130014707.541110-1-mpe@ellerman.id.au
borkmann added a commit to cilium/linux that referenced this pull request May 4, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 5, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 5, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 5, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 16, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 17, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 22, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 22, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 24, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 24, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 26, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 26, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 30, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 31, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request May 31, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request Jun 1, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request Jun 1, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request Jun 1, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
borkmann added a commit to cilium/linux that referenced this pull request Jun 2, 2023
  ./test_progs -t tc_link
  [    1.409177] tsc: Refined TSC clocksource calibration: 3407.991 MHz
  [    1.411604] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x311fcb8dbdf, max_idle_ns: 440795301826 ns
  [    1.415577] clocksource: Switched to clocksource tsc
  [    1.430401] bpf_testmod: loading out-of-tree module taints kernel.
  [    1.432324] bpf_testmod: module verification failed: signature and/or required key missing - tainting kernel
  torvalds#220     tc_link_opts_after:OK
  torvalds#221     tc_link_opts_basic:OK
  torvalds#222     tc_link_opts_before:OK
  torvalds#223     tc_link_opts_both:OK
  torvalds#224     tc_link_opts_chain_classic:OK
  torvalds#225     tc_link_opts_first:OK
  torvalds#226     tc_link_opts_invalid:OK
  torvalds#227     tc_link_opts_last:OK
  torvalds#228     tc_link_opts_replace:OK
  torvalds#229     tc_link_opts_revision:OK
  Summary: 10/0 PASSED, 0 SKIPPED, 0 FAILED

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants