{"push_id":2559473851,"size":5,"distinct_size":5,"ref":"refs/heads/master","head":"ccda3c4b77777f66aeb3c531352bb40d59501c59","before":"427fbe89261d8f11cd20b5a4ba94e977061f69d6","commits":[{"sha":"2796d303e3c5ec213c578ed3a66872205c126eb8","author":{"name":"Long Li","email":"7c3f1736f0d21e1e8ded3a98dcacf1239706b2af@microsoft.com"},"message":"cifs: Allocate validate negotiation request through kmalloc\n\nThe data buffer allocated on the stack can't be DMA'ed, ib_dma_map_page will\nreturn an invalid DMA address for a buffer on stack. Even worse, this\nincorrect address can't be detected by ib_dma_mapping_error. Sending data\nfrom this address to hardware will not fail, but the remote peer will get\njunk data.\n\nFix this by allocating the request on the heap in smb3_validate_negotiate.\n\nChanges in v2:\nRemoved duplicated code on freeing buffers on function exit.\n(Thanks to Parav Pandit <parav@mellanox.com>)\nFixed typo in the patch title.\n\nChanges in v3:\nAdded \"Fixes\" to the patch.\nChanged several sizeof() to use *pointer in place of struct.\n\nChanges in v4:\nAdded detailed comments on the failure through RDMA.\nAllocate request buffer using GPF_NOFS.\nFixed possible memory leak.\n\nChanges in v5:\nRemoved variable ret for checking return value.\nChanged to use pneg_inbuf->Dialects[0] to calculate unused space in pneg_inbuf.\n\nFixes: ff1c038addc4 (\"Check SMB3 dialects against downgrade attacks\")\nSigned-off-by: Long Li <longli@microsoft.com>\nSigned-off-by: Steve French <stfrench@microsoft.com>\nReviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>\nReviewed-by: Tom Talpey <ttalpey@microsoft.com>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/2796d303e3c5ec213c578ed3a66872205c126eb8"},{"sha":"f7c439668a291ca94f358e44d3a3e9f2a2524b8a","author":{"name":"Long Li","email":"7c3f1736f0d21e1e8ded3a98dcacf1239706b2af@microsoft.com"},"message":"cifs: smbd: Enable signing with smbdirect\n\nNow signing is supported with RDMA transport.\n\nRemove the code that disabled it.\n\nSigned-off-by: Long Li <longli@microsoft.com>\nSigned-off-by: Steve French <stfrench@microsoft.com>\nReviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/f7c439668a291ca94f358e44d3a3e9f2a2524b8a"},{"sha":"ae2cd7fb478b8da707906ee1706ae1379968a8f9","author":{"name":"Paulo Alcantara","email":"50d86b744cb102417077bd909520bfbee0f43976@suse.de"},"message":"cifs: smb2ops: Fix listxattr() when there are no EAs\n\nAs per listxattr(2):\n\n       On success, a nonnegative number is returned indicating the size\n       of the extended attribute name list.  On failure, -1 is returned\n       and errno  is set appropriately.\n\nIn SMB1, when the server returns an empty EA list through a listxattr(),\nit will correctly return 0 as there are no EAs for the given file.\n\nHowever, in SMB2+, it returns -ENODATA in listxattr() which is wrong since\nthe request and response were sent successfully, although there's no actual\nEA for the given file.\n\nThis patch fixes listxattr() for SMB2+ by returning 0 in cifs_listxattr()\nwhen the server returns an empty list of EAs.\n\nSigned-off-by: Paulo Alcantara <palcantara@suse.de>\nReviewed-by: Aurelien Aptel <aaptel@suse.com>\nSigned-off-by: Steve French <smfrench@gmail.com>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/ae2cd7fb478b8da707906ee1706ae1379968a8f9"},{"sha":"6e70c267e68d77679534dcf4aaf84e66f2cf1425","author":{"name":"Steve French","email":"51565b4e5841e493fd669866e11ea3c7c0d781cc@gmail.com"},"message":"smb3: directory sync should not return an error\n\nAs with NFS, which ignores sync on directory handles,\nfsync on a directory handle is a noop for CIFS/SMB3.\nDo not return an error on it.  It breaks some database\napps otherwise.\n\nSigned-off-by: Steve French <smfrench@gmail.com>\nCC: Stable <stable@vger.kernel.org>\nReviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>\nReviewed-by: Pavel Shilovsky <pshilov@microsoft.com>","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/6e70c267e68d77679534dcf4aaf84e66f2cf1425"},{"sha":"ccda3c4b77777f66aeb3c531352bb40d59501c59","author":{"name":"Linus Torvalds","email":"69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org"},"message":"Merge tag '4.17-rc4-SMB3-Fixes' of git://git.samba.org/sfrench/cifs-2.6\n\nPull cifs fixes from Steve French:\n \"Some small SMB3 fixes for 4.17-rc5, some for stable\"\n\n* tag '4.17-rc4-SMB3-Fixes' of git://git.samba.org/sfrench/cifs-2.6:\n  smb3: directory sync should not return an error\n  cifs: smb2ops: Fix listxattr() when there are no EAs\n  cifs: smbd: Enable signing with smbdirect\n  cifs: Allocate validate negotiation request through kmalloc","distinct":true,"url":"https://api.github.com/repos/torvalds/linux/commits/ccda3c4b77777f66aeb3c531352bb40d59501c59"}]}
{"actor":{"display_login":"torvalds"}}