# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc40x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:337:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x5556fc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5556fc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x545088) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5556fc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 11:52:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2682969 Bytes = 2620.09 KiB = 2.56 MiB Load Address: 00000000 Entry Point: 00000000 INFO: Uncompressed kernel (size 0x5556fc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 11:52:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2717154 Bytes = 2653.47 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 00601758 Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 11:52:22 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2714879 Bytes = 2651.25 KiB = 2.59 MiB Load Address: 00600000 Entry Point: 006019cc Completed OK # rm -rf /kisskb/build/linus_ppc40x_defconfig_powerpc-gcc4.6 # Build took: 0:00:25.769898