# git rev-parse -q --verify baf76f0c58aec435a3a864075b8f6d8ee5d1f17e^{commit} baf76f0c58aec435a3a864075b8f6d8ee5d1f17e already have revision, skipping fetch # git checkout -q -f -B kisskb baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # git clean -qxdf # < git log -1 # commit baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # Author: Linus Torvalds # Date: Thu Apr 25 16:13:58 2019 -0700 # # slip: make slhc_free() silently accept an error pointer # # This way, slhc_free() accepts what slhc_init() returns, whether that is # an error or not. # # In particular, the pattern in sl_alloc_bufs() is # # slcomp = slhc_init(16, 16); # ... # slhc_free(slcomp); # # for the error handling path, and rather than complicate that code, just # make it ok to always free what was returned by the init function. # # That's what the code used to do before commit 4ab42d78e37a ("ppp, slip: # Validate VJ compression slot parameters completely") when slhc_init() # just returned NULL for the error case, with no actual indication of the # details of the error. # # Reported-by: syzbot+45474c076a4927533d2e@syzkaller.appspotmail.com # Fixes: 4ab42d78e37a ("ppp, slip: Validate VJ compression slot parameters completely") # Acked-by: Ben Hutchings # Cc: David Miller # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # < make -s -j 80 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- allmodconfig # make -s -j 80 ARCH=arm64 O=/kisskb/build/linus_arm64-allmodconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:40: LSE atomics not supported by binutils /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c: In function 'sh_mobile_i2c_isr': /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:399:26: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized] pd->msg->buf[real_pos] = data; ^ /kisskb/src/drivers/i2c/busses/i2c-sh_mobile.c:372:16: note: 'data' was declared here unsigned char data; ^ In file included from /kisskb/src/include/linux/rwsem.h:16:0, from /kisskb/src/include/linux/notifier.h:15, from /kisskb/src/include/linux/clk.h:17, from /kisskb/src/drivers/tty/serial/sh-sci.c:24: /kisskb/src/drivers/tty/serial/sh-sci.c: In function 'sci_dma_rx_submit': /kisskb/src/include/linux/spinlock.h:279:3: warning: 'flags' may be used uninitialized in this function [-Wmaybe-uninitialized] _raw_spin_unlock_irqrestore(lock, flags); \ ^ /kisskb/src/drivers/tty/serial/sh-sci.c:1353:16: note: 'flags' was declared here unsigned long flags; ^ Completed OK # rm -rf /kisskb/build/linus_arm64-allmodconfig_arm64-gcc5.4 # Build took: 0:17:17.176620