Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.01.08 12:01:37 =~=~=~=~=~=~=~=~=~=~=~=
]0;root@281fe8d2c833: /difuze/repo/helper_scriptsroot@281fe8d2c833:/difuze/repo/helper_scripts# clearpython run_all.py -l /androidkernels/msmkernel/llvm_bitcode_out -a 2 -m /androidkernels/msmkernel/makeout.txt -g aarch64-linux-android-gcc -n 2
2 -k /androidkernels/msmkernel/ -f /androidkernels/msmkernel/ioctl_finder_out
[*] Trying to Run Component: BuildLLVM
[+] Setup for component: BuildLLVM complete
[*] Running LLVM Commands in multiprocessing mode.
clang-3.8: error: no such file or directory: '/androidkernels/msmkernel/../fs/nfs_common/grace.c'
clang-3.8: error: no input files
@srikanth007m
srikanth007m / gist:c67db0bba5fc3223e95b475ba3fc9f37
Created December 31, 2018 15:27
Interface Recovery failed for IOCTL
This file has been truncated, but you can view the full file.
smuppand@smuppand-linux:/local/mnt2/workspace/research_whitepaper/helper_scripts$ python run_all.py -l linux-4.19/out/llvm_bitcode_out -a 2 -m linux-4.19/makeout.txt -g aarch64-linux-gnu-gcc -n 2 -o /local/mnt2/workspace/research_whitepaper/helper_scripts/linux-4.19/out/ -k linux-4.19 -f linux-4.19/out/ioctl_finder_out
[*] Trying to Run Component: BuildLLVM
[+] Setup for component: BuildLLVM complete
[*] Running LLVM Commands in multiprocessing mode.
/local/mnt2/workspace/research_whitepaper/helper_scripts/linux-4.19/out/../arch/arm64/crypto/aes-ce-ccm-core.S:15:2: error: unknown directive
.arch armv8-a+crypto
^
/local/mnt2/workspace/research_whitepaper/helper_scripts/linux-4.19/out/../arch/arm64/crypto/aes-ce-ccm-core.S:46:4: error: instruction requires: crypto
3: aese v0.16b, v4.16b
This file has been truncated, but you can view the full file.
[*] Trying to Run Component: BuildLLVM
[+] Setup for component: BuildLLVM complete
[*] Running LLVM Commands in multiprocessing mode.
error: unknown target ABI 'lp64'
error: unknown target ABI 'lp64'
error: unknown target ABI 'lp64'
error: unknown target ABI 'lp64'
error: unknown target ABI 'lp64'
error: unknown target ABI 'lp64'
TITLE: KASAN: slab-out-of-bounds in diag_switch_logging
CORRUPTED: Y
BUG: KASAN: slab-out-of-bounds in diag_switch_logging+0x3fc/0xb28 drivers/char/diag/diagchar_core.c:1685
Read of size 8 at addr ffffffe18884a2f0 by task syz-executor/26979
CPU: 0 PID: 26979 Comm: syz-executor Tainted: G W O 4.9.80+ #1
Hardware name: Qualcomm Technologies, Inc. SDM670 PM660 + PM660L MTP (DT)
Call trace:
[<ffffff9cba28d4e8>] dump_backtrace+0x0/0x428 arch/arm64/kernel/traps.c:77
diff --git a/pkg/report/linux.go b/pkg/report/linux.go
index 0a79b33..8eb18e0 100644
--- a/pkg/report/linux.go
+++ b/pkg/report/linux.go
@@ -631,9 +631,9 @@ var linuxOopses = []*oops{
fmt: "KASAN: %[1]v %[2]v",
},
{
- title: compile("BUG: KASAN: (.*)"),
- fmt: "KASAN: %[1]v",
C reproducer:
// autogenerated by syzkaller (http://github.com/google/syzkaller)
#define _GNU_SOURCE
#include <arpa/inet.h>
#include <errno.h>
#include <errno.h>
#include <fcntl.h>
#include <fcntl.h>
go build "-ldflags=-s -w" -o bin/syz-sysgen ./sys/syz-sysgen
bin/syz-sysgen
generating amd64...
msm_sched.txt:3:1: unsupported syscall: sched_get_priority_max due to missing const __NR_sched_get_priority_max
msm_sched.txt:4:1: unsupported syscall: sched_get_priority_min due to missing const __NR_sched_get_priority_min
dri.txt:73:52: unsupported const: DRM_IOCTL_MODE_GETPLANE
dri.txt:73:1: unsupported syscall: ioctl$DRM_IOCTL_MODE_GETPLANE due to missing const DRM_IOCTL_MODE_GETPLANE
dri.txt:74:52: unsupported const: DRM_IOCTL_MODE_SETPLANE
dri.txt:74:1: unsupported syscall: ioctl$DRM_IOCTL_MODE_SETPLANE due to missing const DRM_IOCTL_MODE_SETPLANE
dri.txt:75:50: unsupported const: DRM_IOCTL_MODE_CURSOR
include <asm/ioctl.h>
include <linux/uaccess.h>
include <linux/compat.h>
include <linux/ion.h>
include <linux/msm_ion.h>
incdir "drivers/staging/android/ion"
include <../drivers/staging/android/ion/msm/compat_msm_ion.c>
include <../drivers/staging/android/uapi/ion.h>
include <../drivers/staging/android/ion/msm/compat_msm_ion.c>
@srikanth007m
srikanth007m / msm_audio.txt
Created August 9, 2017 03:58
Audio descriptors
include <linux/ioctl.h>
include <../include/uapi/linux/msm_audio.h>
include <../include/uapi/linux/msm_audio_ac3.h>
include <../include/uapi/linux/msm_audio_aac.h>
include <../include/uapi/linux/msm_audio_alac.h>
include <../include/uapi/linux/msm_audio_amrnb.h>
include <../include/uapi/linux/msm_audio_amrwb.h>
include <../include/uapi/linux/msm_audio_ape.h>
include <../include/uapi/linux/msm_audio_calibration.h>
include <../include/uapi/linux/msm_audio_mvs.h>
include <asm/ioctl.h>
include <../include/linux/qdsp6v2/usf.h>
resource fd_usfdev[fd]
syz_open_dev$usfdev(dev ptr[in, string["/dev/usf#"]], id intptr, flags flags[open_flags]) fd_usfdev
ioctl$US_SET_TX_INFO(fd fd_usfdev, cmd const[US_SET_TX_INFO], arg ptr[in, us_tx_info_type])
ioctl$US_START_TX(fd fd_usfdev, cmd const[US_START_TX], arg const[0])
ioctl$US_GET_TX_UPDATE(fd fd_usfdev, cmd const[US_GET_TX_UPDATE], arg ptr[inout, us_tx_update_info_type])