# 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_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /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/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/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] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec.isra.35': /kisskb/src/net/bridge/br_netlink.c:652:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1842:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1755:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5699c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x55931c) 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 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763572 Bytes = 2698.80 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006000c8 Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763665 Bytes = 2698.89 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763823 Bytes = 2699.05 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006014cc Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763879 Bytes = 2699.10 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006014ec Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763874 Bytes = 2699.10 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763688 Bytes = 2698.91 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006014c0 Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763815 Bytes = 2699.04 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006014d8 Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2764013 Bytes = 2699.23 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006014e0 Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2763722 Bytes = 2698.95 KiB = 2.64 MiB Load Address: 00600000 Entry Point: 006001bc Image Name: Linux-5.1.0-rc6-gbaf76f0c58ae Created: Sat Apr 27 12:05:39 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2733295 Bytes = 2669.23 KiB = 2.61 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.6 # Build took: 0:00:27.295227