{"push_id":1464791823,"size":2,"distinct_size":2,"ref":"refs/heads/cm-14.1","head":"3c2d4bd456da85cf732adb12c6763b4e9c03058e","before":"0d3884906248c31aff48b938771810d9a8d44f50","commits":[{"sha":"faa1daa2a951cb38be55b5631ebc541737c3f2b1","author":{"name":"Siqi Lin","email":"05311c862ac5771ebcb1a0a3adac66d431c622e1@google.com"},"message":"net: ping: Fix stack buffer overflow in ping_common_sendmsg()\n\nIn ping_common_sendmsg(), when len < icmph_len, memcpy_fromiovec()\nwill access invalid memory because msg->msg_iov only has 1 element\nand memcpy_fromiovec() attempts to increment it. KASAN report:\n\nBUG: KASAN: stack-out-of-bounds in memcpy_fromiovec+0x60/0x114 at addr ffffffc071077da0\nRead of size 8 by task trinity-c2/9623\npage:ffffffbe034b9a08 count:0 mapcount:0 mapping:          (null) index:0x0\nflags: 0x0()\npage dumped because: kasan: bad access detected\nCPU: 0 PID: 9623 Comm: trinity-c2 Tainted: G    BU         3.18.0-dirty #15\nHardware name: Google Tegra210 Smaug Rev 1,3+ (DT)\nCall trace:\n[<ffffffc000209c98>] dump_backtrace+0x0/0x1ac arch/arm64/kernel/traps.c:90\n[<ffffffc000209e54>] show_stack+0x10/0x1c arch/arm64/kernel/traps.c:171\n[<     inline     >] __dump_stack lib/dump_stack.c:15\n[<ffffffc000f18dc4>] dump_stack+0x7c/0xd0 lib/dump_stack.c:50\n[<     inline     >] print_address_description mm/kasan/report.c:147\n[<     inline     >] kasan_report_error mm/kasan/report.c:236\n[<ffffffc000373dcc>] kasan_report+0x380/0x4b8 mm/kasan/report.c:259\n[<     inline     >] check_memory_region mm/kasan/kasan.c:264\n[<ffffffc00037352c>] __asan_load8+0x20/0x70 mm/kasan/kasan.c:507\n[<ffffffc0005b9624>] memcpy_fromiovec+0x5c/0x114 lib/iovec.c:15\n[<     inline     >] memcpy_from_msg include/linux/skbuff.h:2667\n[<ffffffc000ddeba0>] ping_common_sendmsg+0x50/0x108 net/ipv4/ping.c:674\n[<ffffffc000dded30>] ping_v4_sendmsg+0xd8/0x698 net/ipv4/ping.c:714\n[<ffffffc000dc91dc>] inet_sendmsg+0xe0/0x12c net/ipv4/af_inet.c:749\n[<     inline     >] __sock_sendmsg_nosec net/socket.c:624\n[<     inline     >] __sock_sendmsg net/socket.c:632\n[<ffffffc000cab61c>] sock_sendmsg+0x124/0x164 net/socket.c:643\n[<     inline     >] SYSC_sendto net/socket.c:1797\n[<ffffffc000cad270>] SyS_sendto+0x178/0x1d8 net/socket.c:1761\nMemory state around the buggy address:\n ffffffc071077c80: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 f1 f1\n ffffffc071077d00: f1 f1 04 f4 f4 f4 f2 f2 f2 f2 04 f4 f4 f4 f2 f2\n>ffffffc071077d80: f2 f2 00 00 f4 f4 f2 f2 f2 f2 00 00 00 00 00 00\n                               ^\n ffffffc071077e00: 00 f4 f2 f2 f2 f2 00 00 00 00 00 00 00 00 00 00\n ffffffc071077e80: 00 00 00 00 00 00 f3 f3 f3 f3 00 00 00 00 00 00\n\nBug: 31349935\nChange-Id: Ib7385fc26dfe7e07e9bab42a10ff65a37cbaab54\nSigned-off-by: Siqi Lin <siqilin@google.com>\n(cherry picked from commit f13b36c3ff20b5208395fa83d6d2b6dc5e114a61)","distinct":true,"url":"https://api.github.com/repos/LineageOS/android_kernel_sony_msm8x27/commits/faa1daa2a951cb38be55b5631ebc541737c3f2b1"},{"sha":"3c2d4bd456da85cf732adb12c6763b4e9c03058e","author":{"name":"Pawan Kumar","email":"668a11d2955729ab37b10c15903ba2a2152040f2@codeaurora.org"},"message":"fbmem: Check failure of FBIOPUTCMAP ioctl\n\nOn FBIOPUTCMAP ioctl failure deallocate\nfb cmap. Put null check for cmap red, green,\nblue component.\n\nChange-Id: I10468ee30d0e76c256cf3d7a6ffe14db7fd4511b\nSigned-off-by: Pawan Kumar <pavaku@codeaurora.org>","distinct":true,"url":"https://api.github.com/repos/LineageOS/android_kernel_sony_msm8x27/commits/3c2d4bd456da85cf732adb12c6763b4e9c03058e"}]}
{"actor":{"display_login":"cm-gerrit"}}