# git rev-parse -q --verify 87066fdd2e30fe9dd531125d95257c118a74617e^{commit} 87066fdd2e30fe9dd531125d95257c118a74617e already have revision, skipping fetch # git checkout -q -f -B kisskb 87066fdd2e30fe9dd531125d95257c118a74617e # git clean -qxdf # < git log -1 # commit 87066fdd2e30fe9dd531125d95257c118a74617e # Author: Linus Torvalds # Date: Sun Oct 24 09:48:33 2021 -1000 # # Revert "mm/secretmem: use refcount_t instead of atomic_t" # # This reverts commit 110860541f443f950c1274f217a1a3e298670a33. # # Converting the "secretmem_users" counter to a refcount is incorrect, # because a refcount is special in zero and can't just be incremented (but # a count of users is not, and "no users" is actually perfectly valid and # not a sign of a free'd resource). # # Reported-by: syzbot+75639e6a0331cd61d3e2@syzkaller.appspotmail.com # Cc: Jordy Zomer # Cc: Kees Cook , # Cc: Jordy Zomer # Cc: James Bottomley # Cc: Mike Rapoport # Cc: Andrew Morton # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 87066fdd2e30fe9dd531125d95257c118a74617e # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- m5272c3_defconfig # < make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 32 ARCH=m68k O=/kisskb/build/linus_m5272c3_defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/string.h:20, from /kisskb/src/include/linux/bitmap.h:10, from /kisskb/src/include/linux/cpumask.h:12, from /kisskb/src/include/linux/mm_types_task.h:14, from /kisskb/src/include/linux/mm_types.h:5, from /kisskb/src/include/linux/buildid.h:5, from /kisskb/src/include/linux/module.h:14, from /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:25: In function 'fec_get_mac', inlined from 'fec_enet_init' at /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:3510:8, inlined from 'fec_probe' at /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:3932:8: /kisskb/src/arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' reading 6 bytes from a region of size 0 [-Wstringop-overread] 72 | #define memcpy(d, s, n) __builtin_memcpy(d, s, n) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/freescale/fec_main.c:1771:9: note: in expansion of macro 'memcpy' 1771 | memcpy(ndev->dev_addr, iap, ETH_ALEN); | ^~~~~~ Completed OK # rm -rf /kisskb/build/linus_m5272c3_defconfig_m68k-gcc11 # Build took: 0:00:38.452185