# 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/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux-gcc --version # < /opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux-ld --version # < git log --format=%s --max-count=1 baf76f0c58aec435a3a864075b8f6d8ee5d1f17e # < make -s -j 48 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux- or1ksim_defconfig # make -s -j 48 ARCH=openrisc O=/kisskb/build/linus_or1ksim_defconfig_or32 CROSS_COMPILE=/opt/cross/kisskb/or1k-linux-5.4.0-20170218/or1k-linux/bin/or1k-linux- /kisskb/src/mm/mprotect.c: In function 'change_pte_range': /kisskb/src/mm/mprotect.c:42:20: warning: unused variable 'mm' [-Wunused-variable] struct mm_struct *mm = vma->vm_mm; ^ Completed OK # rm -rf /kisskb/build/linus_or1ksim_defconfig_or32 # Build took: 0:00:26.948792