aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_inet_sctp.txt.warn
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-09 07:42:48 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-17 19:03:39 +0100
commit64ca0a371100fc7dfdb20de9263763e46c88a436 (patch)
tree0e417568271dbbcc5817034a624a31d62bf20633 /sys/linux/socket_inet_sctp.txt.warn
parentf950e82d47572b79581fd6b8355504cddb06a7f4 (diff)
tools/syz-check: add description checking utility
syz-check parses vmlinux dwarf, extracts struct descriptions, compares them with what we have (size, fields, alignment, etc) and produces .warn files. This is first raw version, it can be improved in a number of ways. But it already helped to identify a critical issue #1542 and shows some wrong struct descriptions. Update #590
Diffstat (limited to 'sys/linux/socket_inet_sctp.txt.warn')
-rw-r--r--sys/linux/socket_inet_sctp.txt.warn16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/linux/socket_inet_sctp.txt.warn b/sys/linux/socket_inet_sctp.txt.warn
new file mode 100644
index 000000000..473d61ac3
--- /dev/null
+++ b/sys/linux/socket_inet_sctp.txt.warn
@@ -0,0 +1,16 @@
+0023: struct msghdr_sctp: no corresponding struct in kernel
+0043: struct cmsghdr_sctp_init: no corresponding struct in kernel
+0050: struct cmsghdr_sctp_sndrcv: no corresponding struct in kernel
+0057: struct cmsghdr_sctp_sndinfo: no corresponding struct in kernel
+0064: struct cmsghdr_sctp_prinfo: no corresponding struct in kernel
+0076: struct cmsghdr_sctp_authinfo: no corresponding struct in kernel
+0087: struct cmsghdr_sctp_dstaddrv4: no corresponding struct in kernel
+0094: struct cmsghdr_sctp_dstaddrv6: no corresponding struct in kernel
+0365: struct sockaddr_storage_sctp: no corresponding struct in kernel
+0374: struct sctp_paddrparams: bad number of fields: syz=7 kernel=9
+0374: struct sctp_paddrparams: bad size: syz=152 kernel=156
+0400: struct sctp_event_subscribe: bad number of fields: syz=11 kernel=14
+0400: struct sctp_event_subscribe: bad size: syz=11 kernel=14
+0507: struct sctp_paddrthlds: no corresponding struct in kernel
+0544: struct sctp_assoc_stats: bad number of fields: syz=3 kernel=17
+0547: field sctp_assoc_stats.status/sas_maxrto: bad size: syz=120 kernel=8