{"push_id":2767098940,"size":114,"distinct_size":1,"ref":"refs/heads/merge","head":"536ce4aff4d5921798d209ee344af23e1f28377c","before":"cef85a8a2f2677fd30bfe63fd20618c2e483ea05","commits":[{"sha":"d6990976af7c5d8f55903bfb4289b6fb030bf754","author":{"name":"Eyal Birger","email":"795a5dda0defe3b6cf4023da30695907d9e4cdcf@gmail.com"},"message":"vti6: fix PMTU caching and reporting on xmit\n\nWhen setting the skb->dst before doing the MTU check, the route PMTU\ncaching and reporting is done on the new dst which is about to be\nreleased.\n\nInstead, PMTU handling should be done using the original dst.\n\nThis is aligned with IPv4 VTI.\n\nFixes: ccd740cbc6 (\"vti6: Add pmtu handling to vti6_xmit.\")\nSigned-off-by: Eyal Birger <eyal.birger@gmail.com>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/d6990976af7c5d8f55903bfb4289b6fb030bf754"},{"sha":"45c180bc29babbedd6b8c01b975780ef44d9d09c","author":{"name":"Eric Dumazet","email":"312c7d941f03386814be517ffdb3e0eb6624e275@google.com"},"message":"xfrm_user: prevent leaking 2 bytes of kernel memory\n\nstruct xfrm_userpolicy_type has two holes, so we should not\nuse C99 style initializer.\n\nKMSAN report:\n\nBUG: KMSAN: kernel-infoleak in copyout lib/iov_iter.c:140 [inline]\nBUG: KMSAN: kernel-infoleak in _copy_to_iter+0x1b14/0x2800 lib/iov_iter.c:571\nCPU: 1 PID: 4520 Comm: syz-executor841 Not tainted 4.17.0+ #5\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011\nCall Trace:\n __dump_stack lib/dump_stack.c:77 [inline]\n dump_stack+0x185/0x1d0 lib/dump_stack.c:113\n kmsan_report+0x188/0x2a0 mm/kmsan/kmsan.c:1117\n kmsan_internal_check_memory+0x138/0x1f0 mm/kmsan/kmsan.c:1211\n kmsan_copy_to_user+0x7a/0x160 mm/kmsan/kmsan.c:1253\n copyout lib/iov_iter.c:140 [inline]\n _copy_to_iter+0x1b14/0x2800 lib/iov_iter.c:571\n copy_to_iter include/linux/uio.h:106 [inline]\n skb_copy_datagram_iter+0x422/0xfa0 net/core/datagram.c:431\n skb_copy_datagram_msg include/linux/skbuff.h:3268 [inline]\n netlink_recvmsg+0x6f1/0x1900 net/netlink/af_netlink.c:1959\n sock_recvmsg_nosec net/socket.c:802 [inline]\n sock_recvmsg+0x1d6/0x230 net/socket.c:809\n ___sys_recvmsg+0x3fe/0x810 net/socket.c:2279\n __sys_recvmmsg+0x58e/0xe30 net/socket.c:2391\n do_sys_recvmmsg+0x2a6/0x3e0 net/socket.c:2472\n __do_sys_recvmmsg net/socket.c:2485 [inline]\n __se_sys_recvmmsg net/socket.c:2481 [inline]\n __x64_sys_recvmmsg+0x15d/0x1c0 net/socket.c:2481\n do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287\n entry_SYSCALL_64_after_hwframe+0x44/0xa9\nRIP: 0033:0x446ce9\nRSP: 002b:00007fc307918db8 EFLAGS: 00000293 ORIG_RAX: 000000000000012b\nRAX: ffffffffffffffda RBX: 00000000006dbc24 RCX: 0000000000446ce9\nRDX: 000000000000000a RSI: 0000000020005040 RDI: 0000000000000003\nRBP: 00000000006dbc20 R08: 0000000020004e40 R09: 0000000000000000\nR10: 0000000040000000 R11: 0000000000000293 R12: 0000000000000000\nR13: 00007ffc8d2df32f R14: 00007fc3079199c0 R15: 0000000000000001\n\nUninit was stored to memory at:\n kmsan_save_stack_with_flags mm/kmsan/kmsan.c:279 [inline]\n kmsan_save_stack mm/kmsan/kmsan.c:294 [inline]\n kmsan_internal_chain_origin+0x12b/0x210 mm/kmsan/kmsan.c:685\n kmsan_memcpy_origins+0x11d/0x170 mm/kmsan/kmsan.c:527\n __msan_memcpy+0x109/0x160 mm/kmsan/kmsan_instr.c:413\n __nla_put lib/nlattr.c:569 [inline]\n nla_put+0x276/0x340 lib/nlattr.c:627\n copy_to_user_policy_type net/xfrm/xfrm_user.c:1678 [inline]\n dump_one_policy+0xbe1/0x1090 net/xfrm/xfrm_user.c:1708\n xfrm_policy_walk+0x45a/0xd00 net/xfrm/xfrm_policy.c:1013\n xfrm_dump_policy+0x1c0/0x2a0 net/xfrm/xfrm_user.c:1749\n netlink_dump+0x9b5/0x1550 net/netlink/af_netlink.c:2226\n __netlink_dump_start+0x1131/0x1270 net/netlink/af_netlink.c:2323\n netlink_dump_start include/linux/netlink.h:214 [inline]\n xfrm_user_rcv_msg+0x8a3/0x9b0 net/xfrm/xfrm_user.c:2577\n netlink_rcv_skb+0x37e/0x600 net/netlink/af_netlink.c:2448\n xfrm_netlink_rcv+0xb2/0xf0 net/xfrm/xfrm_user.c:2598\n netlink_unicast_kernel net/netlink/af_netlink.c:1310 [inline]\n netlink_unicast+0x1680/0x1750 net/netlink/af_netlink.c:1336\n netlink_sendmsg+0x104f/0x1350 net/netlink/af_netlink.c:1901\n sock_sendmsg_nosec net/socket.c:629 [inline]\n sock_sendmsg net/socket.c:639 [inline]\n ___sys_sendmsg+0xec8/0x1320 net/socket.c:2117\n __sys_sendmsg net/socket.c:2155 [inline]\n __do_sys_sendmsg net/socket.c:2164 [inline]\n __se_sys_sendmsg net/socket.c:2162 [inline]\n __x64_sys_sendmsg+0x331/0x460 net/socket.c:2162\n do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:287\n entry_SYSCALL_64_after_hwframe+0x44/0xa9\nLocal variable description: ----upt.i@dump_one_policy\nVariable was created at:\n dump_one_policy+0x78/0x1090 net/xfrm/xfrm_user.c:1689\n xfrm_policy_walk+0x45a/0xd00 net/xfrm/xfrm_policy.c:1013\n\nByte 130 of 137 is uninitialized\nMemory access starts at ffff88019550407f\n\nFixes: c0144beaeca42 (\"[XFRM] netlink: Use nla_put()/NLA_PUT() variantes\")\nSigned-off-by: Eric Dumazet <edumazet@google.com>\nReported-by: syzbot <syzkaller@googlegroups.com>\nCc: Steffen Klassert <steffen.klassert@secunet.com>\nCc: Herbert Xu <herbert@gondor.apana.org.au>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/45c180bc29babbedd6b8c01b975780ef44d9d09c"},{"sha":"8cc88773855f988d6a3bbf102bbd9dd9c828eb81","author":{"name":"Tommi Rantala","email":"c755d75da996119e2b4da9802b6e31e9cdd8d509@nokia.com"},"message":"xfrm: fix missing dst_release() after policy blocking lbcast and multicast\n\nFix missing dst_release() when local broadcast or multicast traffic is\nxfrm policy blocked.\n\nFor IPv4 this results to dst leak: ip_route_output_flow() allocates\ndst_entry via __ip_route_output_key() and passes it to\nxfrm_lookup_route(). xfrm_lookup returns ERR_PTR(-EPERM) that is\npropagated. The dst that was allocated is never released.\n\nIPv4 local broadcast testcase:\n ping -b 192.168.1.255 &\n sleep 1\n ip xfrm policy add src 0.0.0.0/0 dst 192.168.1.255/32 dir out action block\n\nIPv4 multicast testcase:\n ping 224.0.0.1 &\n sleep 1\n ip xfrm policy add src 0.0.0.0/0 dst 224.0.0.1/32 dir out action block\n\nFor IPv6 the missing dst_release() causes trouble e.g. when used in netns:\n ip netns add TEST\n ip netns exec TEST ip link set lo up\n ip link add dummy0 type dummy\n ip link set dev dummy0 netns TEST\n ip netns exec TEST ip addr add fd00::1111 dev dummy0\n ip netns exec TEST ip link set dummy0 up\n ip netns exec TEST ping -6 -c 5 ff02::1%dummy0 &\n sleep 1\n ip netns exec TEST ip xfrm policy add src ::/0 dst ff02::1 dir out action block\n wait\n ip netns del TEST\n\nAfter netns deletion we see:\n[  258.239097] unregister_netdevice: waiting for lo to become free. Usage count = 2\n[  268.279061] unregister_netdevice: waiting for lo to become free. Usage count = 2\n[  278.367018] unregister_netdevice: waiting for lo to become free. Usage count = 2\n[  288.375259] unregister_netdevice: waiting for lo to become free. Usage count = 2\n\nFixes: ac37e2515c1a (\"xfrm: release dst_orig in case of error in xfrm_lookup()\")\nSigned-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/8cc88773855f988d6a3bbf102bbd9dd9c828eb81"},{"sha":"86126b77dcd551ce223e7293bb55854e3df05646","author":{"name":"Florian Westphal","email":"cef439e78636cdab99cd2923826c5065a0743e5b@strlen.de"},"message":"xfrm: free skb if nlsk pointer is NULL\n\nnlmsg_multicast() always frees the skb, so in case we cannot call\nit we must do that ourselves.\n\nFixes: 21ee543edc0dea (\"xfrm: fix race between netns cleanup and state expire notification\")\nSigned-off-by: Florian Westphal <fw@strlen.de>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/86126b77dcd551ce223e7293bb55854e3df05646"},{"sha":"7284fdf39a912322ce97de2d30def3c6068a418c","author":{"name":"Zhen Lei","email":"cd675cf4665dbe3c83ba981d9a123be40328cd5e@huawei.com"},"message":"esp6: fix memleak on error path in esp6_input\n\nThis ought to be an omission in e6194923237 (\"esp: Fix memleaks on error\npaths.\"). The memleak on error path in esp6_input is similar to esp_input\nof esp4.\n\nFixes: e6194923237 (\"esp: Fix memleaks on error paths.\")\nFixes: 3f29770723f (\"ipsec: check return value of skb_to_sgvec always\")\nSigned-off-by: Zhen Lei <thunder.leizhen@huawei.com>\nSigned-off-by: Steffen Klassert <steffen.klassert@secunet.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/7284fdf39a912322ce97de2d30def3c6068a418c"},{"sha":"1b350ea0c2f4df9aa30426614c8eb755a8c32814","author":{"name":"Varun Prakash","email":"da8eeead6ac54aa6b13c398dae2cdaba6c6029fe@chelsio.com"},"message":"scsi: target: iscsi: cxgbit: fix max iso npdu calculation\n\n- rounddown CXGBIT_MAX_ISO_PAYLOAD by csk->emss before calculating\n  max_iso_npdu to get max TCP payload in multiple of mss.\n\n- call cxgbit_set_digest() before cxgbit_set_iso_npdu() to set\n  csk->submode, it is used in calculating number of iso pdus.\n\nSigned-off-by: Varun Prakash <varun@chelsio.com>\nReviewed-by: Mike Christie <mchristi@redhat.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/1b350ea0c2f4df9aa30426614c8eb755a8c32814"},{"sha":"a17037e7d59075053b522048742a08ac9500bde8","author":{"name":"Varun Prakash","email":"da8eeead6ac54aa6b13c398dae2cdaba6c6029fe@chelsio.com"},"message":"scsi: libiscsi: fix possible NULL pointer dereference in case of TMF\n\nIn iscsi_check_tmf_restrictions() task->hdr is dereferenced to print the\nopcode, it is possible that task->hdr is NULL.\n\nThere are two cases based on opcode argument:\n\n1. ISCSI_OP_SCSI_CMD - In this case alloc_pdu() is called\nafter iscsi_check_tmf_restrictions()\n\niscsi_prep_scsi_cmd_pdu() -> iscsi_check_tmf_restrictions() -> alloc_pdu().\n\nTransport drivers allocate memory for iSCSI hdr in alloc_pdu() and assign\nit to task->hdr. In case of TMF task->hdr will be NULL resulting in NULL\npointer dereference.\n\n2. ISCSI_OP_SCSI_DATA_OUT - In this case transport driver can free the\nmemory for iSCSI hdr after transmitting the pdu so task->hdr can be NULL or\ninvalid.\n\nThis patch fixes this issue by removing task->hdr->opcode from the printk\nstatement.\n\nSigned-off-by: Varun Prakash <varun@chelsio.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/a17037e7d59075053b522048742a08ac9500bde8"},{"sha":"c170e5a8d222537e98aa8d4fddb667ff7a2ee114","author":{"name":"Tony Battersby","email":"628d250d3f69f0c4ee54390536c2ff69fa614e72@cybernetics.com"},"message":"scsi: sg: fix minor memory leak in error path\n\nFix a minor memory leak when there is an error opening a /dev/sg device.\n\nFixes: cc833acbee9d (\"sg: O_EXCL and other lock handling\")\nCc: <stable@vger.kernel.org>\nReviewed-by: Ewan D. Milne <emilne@redhat.com>\nSigned-off-by: Tony Battersby <tonyb@cybernetics.com>\nReviewed-by: Bart Van Assche <bart.vanassche@wdc.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/c170e5a8d222537e98aa8d4fddb667ff7a2ee114"},{"sha":"8e4a4189ce02fe53b6f3ffcc1ac5a3a9967f2611","author":{"name":"Tony Battersby","email":"628d250d3f69f0c4ee54390536c2ff69fa614e72@cybernetics.com"},"message":"scsi: sg: update comment for blk_get_request()\n\nThe calling convention of blk_get_request() has changed in lk 4.18; update\nthe comment in sg.c to match.\n\nFixes: ff005a066240 (\"block: sanitize blk_get_request calling conventions\")\nSigned-off-by: Tony Battersby <tonyb@cybernetics.com>\nAcked-by: Douglas Gilbert <dgilbert@interlog.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/8e4a4189ce02fe53b6f3ffcc1ac5a3a9967f2611"},{"sha":"3b1074bf9817bf43d4da375aa5f4b6c88f1d953e","author":{"name":"Kees Cook","email":"50cb10d2be062154b17ab4d66a4eab34f1cf1c84@chromium.org"},"message":"mmc: mxcmmc: Fix missing parentheses and brace\n\nLooks like the adjusted syntax wasn't fully build tested. This fixes\nfailures with powerpc builds:\n\ndrivers/mmc/host/mxcmmc.c: In function ‘mxcmci_swap_buffers’:\ndrivers/mmc/host/mxcmmc.c:296:51: error: expected ‘)’ before ‘;’ token\n   void *buf = kmap_atomic(sg_page(sg) + sg->offset;\n                                                   ^\ndrivers/mmc/host/mxcmmc.c:299:1: error: expected ‘,’ or ‘;’ before ‘}’ token\n }\n ^\n\nFixes: b189e7589f6d3 (\"mmc: mxcmmc: handle highmem pages\")\nSigned-off-by: Kees Cook <keescook@chromium.org>\nAcked-by: Randy Dunlap <rdunlap@infradead.org>\nTested-by: Randy Dunlap <rdunlap@infradead.org>\nSigned-off-by: Ulf Hansson <ulf.hansson@linaro.org>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/3b1074bf9817bf43d4da375aa5f4b6c88f1d953e"},{"sha":"32e7024eab4c703b2f2fb362380c93be8f1949e3","author":{"name":"Len Brown","email":"b060cfa1096cc6e8be83699ddb4ed8a77dd63af5@intel.com"},"message":"tools/power turbostat: Update turbostat(8) RAPL throttling column description\n\nExplain that this column may increment for some throttling causes,\nand may not increment for others.\n\nSigned-off-by: Len Brown <len.brown@intel.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/32e7024eab4c703b2f2fb362380c93be8f1949e3"},{"sha":"e3dde080ebbdbb4bda8eee35d770714fee8c59ac","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix unintialized List head crash\n\nIn case of IOCB Queue full or system where memory is low and driver\nreceives large number of RSCN storm, the stale sp pointer can stay on\ngpnid_list resulting in page_fault.\n\nThis patch fixes this issue by initializing the sp->elem list head and\nremoving sp->elem before memory is freed.\n\nFollowing stack trace is seen\n\n 9 [ffff987b37d1bc60] page_fault at ffffffffad516768 [exception RIP: qla24xx_async_gpnid+496]\n10 [ffff987b37d1bd10] qla24xx_async_gpnid at ffffffffc039866d [qla2xxx]\n11 [ffff987b37d1bd80] qla2x00_do_work at ffffffffc036169c [qla2xxx]\n12 [ffff987b37d1be38] qla2x00_do_dpc_all_vps at ffffffffc03adfed [qla2xxx]\n13 [ffff987b37d1be78] qla2x00_do_dpc at ffffffffc036458a [qla2xxx]\n14 [ffff987b37d1bec8] kthread at ffffffffacebae31\n\nFixes: 2d73ac6102d9 (\"scsi: qla2xxx: Serialize GPNID for multiple RSCN\")\nCc: <stable@vger.kernel.org> # v4.17+\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/e3dde080ebbdbb4bda8eee35d770714fee8c59ac"},{"sha":"efa93f48fa9d423fda166bc3b6c0cbb09682492e","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix NPIV deletion by calling wait_for_sess_deletion\n\nAdd wait for session deletion to finish before freeing an NPIV scsi host.\n\nFixes: 726b85487067 (\"qla2xxx: Add framework for async fabric discovery\")\nCc: <stable@vger.kernel.org>\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/efa93f48fa9d423fda166bc3b6c0cbb09682492e"},{"sha":"45235022da9925b2b070c0139629233173e50089","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix driver unload by shutting down chip\n\nUse chip shutdown at the start of unload to stop all DMA + traffic and\nbring down the laser. This prevents any link activities from triggering the\ndriver to be re-engaged.\n\nFixes: 4b60c82736d0 (\"scsi: qla2xxx: Add fw_started flags to qpair\")\nCc: <stable@vger.kernel.org> #4.16\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/45235022da9925b2b070c0139629233173e50089"},{"sha":"b08abbd9f5996309f021684f9ca74da30dcca36a","author":{"name":"Quinn Tran","email":"a02f5c47ee09ecfb205631316fdc727ed52eb140@cavium.com"},"message":"scsi: qla2xxx: Fix ISP recovery on unload\n\nDuring unload process, the chip can encounter problem where a FW dump would\nbe captured. For this case, the full reset sequence will be skip to bring\nthe chip back to full operational state.\n\nFixes: e315cd28b9ef (\"[SCSI] qla2xxx: Code changes for qla data structure refactoring\")\nCc: <stable@vger.kernel.org>\nSigned-off-by: Quinn Tran <quinn.tran@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/b08abbd9f5996309f021684f9ca74da30dcca36a"},{"sha":"b4146c4929ef61d5afca011474d59d0918a0cd82","author":{"name":"Anil Gurumurthy","email":"8232ec98ab8c1cce5a65c8f10bee6666d72e75d0@cavium.com"},"message":"scsi: qla2xxx: Return error when TMF returns\n\nPropagate the task management completion status properly to avoid\nunnecessary waits for commands to complete.\n\nFixes: faef62d13463 (\"[SCSI] qla2xxx: Fix Task Management command asynchronous handling\")\nCc: <stable@vger.kernel.org>\nSigned-off-by: Anil Gurumurthy <anil.gurumurthy@cavium.com>\nSigned-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>\nSigned-off-by: Martin K. Petersen <martin.petersen@oracle.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/b4146c4929ef61d5afca011474d59d0918a0cd82"},{"sha":"9d83601a9cc1884d1b5706ee2acc661d558c6838","author":{"name":"Len Brown","email":"b060cfa1096cc6e8be83699ddb4ed8a77dd63af5@intel.com"},"message":"tools/power turbostat: fix -S on UP systems\n\nThe -S (system summary) option failed to print any data on a 1-processor system.\n\nReported-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>\nSigned-off-by: Len Brown <len.brown@intel.com>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/9d83601a9cc1884d1b5706ee2acc661d558c6838"},{"sha":"9b788f32bee6b0b293a4bdfca4ad4bb0206407fb","author":{"name":"Brijesh Singh","email":"6c1ba716601dd19ee463759bfdaf6de1e69b2b21@amd.com"},"message":"x86/efi: Access EFI MMIO data as unencrypted when SEV is active\n\nSEV guest fails to update the UEFI runtime variables stored in the\nflash.\n\nThe following commit:\n\n  1379edd59673 (\"x86/efi: Access EFI data as encrypted when SEV is active\")\n\nunconditionally maps all the UEFI runtime data as 'encrypted' (C=1).\n\nWhen SEV is active the UEFI runtime data marked as EFI_MEMORY_MAPPED_IO\nshould be mapped as 'unencrypted' so that both guest and hypervisor can\naccess the data.\n\nSigned-off-by: Brijesh Singh <brijesh.singh@amd.com>\nSigned-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>\nReviewed-by: Tom Lendacky <thomas.lendacky@amd.com>\nCc: <stable@vger.kernel.org> # 4.15.x\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Thomas Gleixner <tglx@linutronix.de>\nCc: linux-efi@vger.kernel.org\nFixes: 1379edd59673 (\"x86/efi: Access EFI data as encrypted ...\")\nLink: http://lkml.kernel.org/r/20180720012846.23560-2-ard.biesheuvel@linaro.org\nSigned-off-by: Ingo Molnar <mingo@kernel.org>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/9b788f32bee6b0b293a4bdfca4ad4bb0206407fb"},{"sha":"6283fa38dc8744dc7c2bd2a03bb0478fe42f79fa","author":{"name":"Martin KaFai Lau","email":"2c0d8efbe28c4f7a45c3ab30c984ed2c126716bd@fb.com"},"message":"bpf: btf: Ensure the member->offset is in the right order\n\nThis patch ensures the member->offset of a struct\nis in the correct order (i.e the later member's offset cannot\ngo backward).\n\nThe current \"pahole -J\" BTF encoder does not generate something\nlike this.  However, checking this can ensure future encoder\nwill not violate this.\n\nFixes: 69b693f0aefa (\"bpf: btf: Introduce BPF Type Format (BTF)\")\nSigned-off-by: Martin KaFai Lau <kafai@fb.com>\nAcked-by: Yonghong Song <yhs@fb.com>\nSigned-off-by: Daniel Borkmann <daniel@iogearbox.net>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/6283fa38dc8744dc7c2bd2a03bb0478fe42f79fa"},{"sha":"d2753e6b4882a637a0e8fb3b9c2e15f33265300e","author":{"name":"Thomas Gleixner","email":"00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de"},"message":"perf/x86/amd/ibs: Don't access non-started event\n\nPaul Menzel reported the following bug:\n\n> Enabling the undefined behavior sanitizer and building GNU/Linux 4.18-rc5+\n> (with some unrelated commits) with GCC 8.1.0 from Debian Sid/unstable, the\n> warning below is shown.\n>\n> > [    2.111913]\n> > ================================================================================\n> > [    2.111917] UBSAN: Undefined behaviour in arch/x86/events/amd/ibs.c:582:24\n> > [    2.111919] member access within null pointer of type 'struct perf_event'\n> > [    2.111926] CPU: 0 PID: 144 Comm: udevadm Not tainted 4.18.0-rc5-00316-g4864b68cedf2 #104\n> > [    2.111928] Hardware name: ASROCK E350M1/E350M1, BIOS TIMELESS 01/01/1970\n> > [    2.111930] Call Trace:\n> > [    2.111943]  dump_stack+0x55/0x89\n> > [    2.111949]  ubsan_epilogue+0xb/0x33\n> > [    2.111953]  handle_null_ptr_deref+0x7f/0x90\n> > [    2.111958]  __ubsan_handle_type_mismatch_v1+0x55/0x60\n> > [    2.111964]  perf_ibs_handle_irq+0x596/0x620\n\nThe code dereferences event before checking the STARTED bit. Patch\nbelow should cure the issue.\n\nThe warning should not trigger, if I analyzed the thing correctly.\n(And Paul's testing confirms this.)\n\nReported-by: Paul Menzel <pmenzel@molgen.mpg.de>\nTested-by: Paul Menzel <pmenzel@molgen.mpg.de>\nSigned-off-by: Thomas Gleixner <tglx@linutronix.de>\nCc: Alexander Shishkin <alexander.shishkin@linux.intel.com>\nCc: Arnaldo Carvalho de Melo <acme@redhat.com>\nCc: Borislav Petkov <bp@alien8.de>\nCc: Jiri Olsa <jolsa@redhat.com>\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Paul Menzel <pmenzel+linux-x86@molgen.mpg.de>\nCc: Peter Zijlstra <peterz@infradead.org>\nCc: Stephane Eranian <eranian@google.com>\nCc: Vince Weaver <vincent.weaver@maine.edu>\nLink: http://lkml.kernel.org/r/alpine.DEB.2.21.1807200958390.1580@nanos.tec.linutronix.de\nSigned-off-by: Ingo Molnar <mingo@kernel.org>","distinct":false,"url":"https://api.github.com/repos/linuxppc/linux/commits/d2753e6b4882a637a0e8fb3b9c2e15f33265300e"}]}
{"actor":{"display_login":"mpe"}}