google / syzkaller

syzkaller is an unsupervised coverage-guided kernel fuzzer
Apache License 2.0
5.22k stars 1.2k forks source link

sys/linux: things to test #533

Open dvyukov opened 6 years ago

dvyukov commented 6 years ago

List of things we need descriptions for (dynamically updated). Note : some of these things might be very hard to test, while other are easy.

Before starting work on a subsystem, grep existing descriptions if the subsystem is already [partially] described. This list may be outdated or imply extending existing basic descriptions.

Besides this list, new things are constantly added to the kernel. kernelnewbies.org lists new things in each release. Also queries along the following lines can be used to check for features added in each release:

git diff -U0 v5.17 v5.18 include/uapi/*.h | grep "+++"
git diff -U0 v5.17 HEAD include/uapi/*.h | egrep "^\+.*\s_IO" | less
git diff -U0 v5.17 HEAD include/uapi/*.h | egrep -v "^(index|diff|---|@|-|\+$|\+/\*|\+ \*)" | less

For introduction to Linux kernel syscalls see these 0xax.gitbooks.io articles: part 1, part 4, part 5. Bootlin code search is very useful for browsing kernel sources.

Assorted devices:

Assorted:

Sound:

Network:

USB (docs):

External USB (sys/linux/vusb.txt):

External network (sys/linux/vnet.txt):

Bluetooth (sys/linux/socket_bluetooth.txt):

GPIO: the following configs create some test devices in VMs (GPIOLIB, GPIO_AGGREGATOR, GPIO_VIRTIO, GPIO_MOCKUP, GPIO_SIM)

HDMI (#3725)

CONFIG_CACHESTAT_SYSCALL

dvyukov commented 6 years ago

fou is added in https://github.com/google/syzkaller/commit/7c62f718046a2204a35cfe8850f9006b686b1c22

dvyukov commented 6 years ago

IPVS is added in https://github.com/google/syzkaller/commit/0ca7878bc33e9f95369c609dd1eb56a6405479cc

necipfazil commented 4 years ago

I am working on testing Qualcomm IPC Router.

JiahengHu commented 4 years ago

Working on testing openat2

albertlinde commented 4 years ago

Working on raw char device (drivers/char/raw.c).

necipfazil commented 4 years ago

I am working on testing cgroups v1.

chmnchiang commented 4 years ago

I am working on IP tunnels (if_tunnel.h).

necipfazil commented 4 years ago

I am working on DEVLINK_CMD_TRAP_POLICER.

necipfazil commented 4 years ago

I am working on ETHTOOL_MSG_PAUSE_GET.

handeharputlu commented 4 years ago

I am working on dev/snapshot

JiahengHu commented 4 years ago

Working on close_range syscall

dvyukov commented 4 years ago

@JiahengHu here are relevant commits just in case: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=278a5fbaed89dacd04e9d052f4594ffd0e0585de https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=349057e6f9c71264a54503e2ed6c0627e8369dab

JiahengHu commented 4 years ago

Working on CLONE_CLEAR_SIGHAND/CLONE_INTO_CGROUP/CLONE_NEWTIME

necipfazil commented 4 years ago

I am working on io_uring.

JiahengHu commented 4 years ago

Working on SECCOMP_IOCTL_NOTIF_ADDFD

ruxandrastancioi commented 4 years ago

Working on IPV6_RPL_LWTUNNEL

chmnchiang commented 4 years ago

Working on /dev/mixer.

handeharputlu commented 4 years ago

Working on /dev/sequencer

chmnchiang commented 4 years ago

Working on BPF_LSM.

albertlinde commented 4 years ago

Working on RTM_NEWLINKPROP.

handeharputlu commented 3 years ago

Working on /dev/snd/hwCD

albertlinde commented 3 years ago

Working on BRIDGE_MRP.

handeharputlu commented 3 years ago

Working on USB/IP client and server .

ruxandrastancioi commented 3 years ago

Working on TCA_FLOWER_KEY_MPLS_OPTS

chmnchiang commented 3 years ago

Working on /dev/qat_adf_ctl

a-nogikh commented 3 years ago

Working on 802.11

mirasharf commented 3 years ago

Working on /dev/autofs

chmnchiang commented 3 years ago

Working on various types of bpf programs.

maramihali commented 3 years ago

Working on FQ_PIE from include/uapi/linux/pkt_sched.h