aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ksmbd
AgeCommit message (Expand)AuthorFilesLines
2022-08-15ksmbd: don't remove dos attribute xattr on O_TRUNC openNamjae Jeon1-9/+9
2022-08-15ksmbd: remove unnecessary generic_fillattr in smb2_openHyunchul Lee1-9/+4
2022-08-11ksmbd: request update to stale share configAtte Heikkilä5-1/+23
2022-08-11ksmbd: return STATUS_BAD_NETWORK_NAME error status if share is not configuredNamjae Jeon2-2/+3
2022-08-08Merge tag '5.20-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds19-220/+321
2022-08-04ksmbd: fix heap-based overflow in set_ntacl_dacl()Namjae Jeon4-57/+119
2022-07-31ksmbd: prevent out of bound read for SMB2_TREE_CONNNECTHyunchul Lee1-5/+0
2022-07-31ksmbd: prevent out of bound read for SMB2_WRITEHyunchul Lee2-7/+8
2022-07-31ksmbd: fix use-after-free bug in smb2_tree_disconectNamjae Jeon1-0/+1
2022-07-31ksmbd: fix memory leak in smb2_handle_negotiateNamjae Jeon1-0/+4
2022-07-31ksmbd: fix racy issue while destroying session on multichannelNamjae Jeon12-86/+110
2022-07-31ksmbd: use wait_event instead of schedule_timeout()Namjae Jeon4-17/+33
2022-07-26ksmbd: fix kernel oops from idr_remove()Namjae Jeon2-2/+8
2022-07-26ksmbd: add channel rwlockNamjae Jeon3-2/+22
2022-07-26ksmbd: replace sessions list in connection with xarrayNamjae Jeon5-33/+21
2022-07-24ksmbd: remove unused ksmbd_share_configs_cleanup functionNamjae Jeon2-16/+0
2022-07-15acl: move idmapped mount fixup into vfs_{g,s}etxattr()Christian Brauner2-2/+2
2022-06-30vfs: fix copy_file_range() regression in cross-fs copiesAmir Goldstein2-3/+17
2022-06-25ksmbd: use vfs_llseek instead of dereferencing NULLJason A. Donenfeld1-2/+2
2022-06-23ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATANamjae Jeon1-10/+17
2022-06-23ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZE...Namjae Jeon1-1/+3
2022-06-23ksmbd: remove duplicate flag set in smb2_writeHyunchul Lee1-4/+1
2022-06-11ksmbd: smbd: Remove useless license text when SPDX-License-Identifier is alre...Christophe JAILLET1-10/+0
2022-06-11ksmbd: use SOCK_NONBLOCK type for kernel_accept()Namjae Jeon1-1/+1
2022-05-27ksmbd: smbd: relax the count of sges requiredHyunchul Lee1-8/+5
2022-05-21ksmbd: fix outstanding credits related bugsHyunchul Lee3-3/+5
2022-05-21ksmbd: smbd: fix connection dropped issueHyunchul Lee1-0/+1
2022-05-21ksmbd: Fix some kernel-doc commentsYang Li1-5/+5
2022-05-21ksmbd: fix wrong smbd max read/write size checkNamjae Jeon3-14/+32
2022-05-21ksmbd: add smbd max io size parameterNamjae Jeon4-2/+18
2022-05-21ksmbd: handle smb2 query dir request for OutputBufferLength that is too smallNamjae Jeon1-1/+9
2022-05-21ksmbd: smbd: handle multiple Buffer descriptorsHyunchul Lee2-62/+107
2022-05-21ksmbd: smbd: change the return value of get_sg_listHyunchul Lee1-2/+2
2022-05-21ksmbd: smbd: simplify tracking pending packetsHyunchul Lee1-27/+7
2022-05-21ksmbd: smbd: introduce read/write credits for RDMA read/writeHyunchul Lee1-49/+71
2022-05-21ksmbd: smbd: change prototypes of RDMA read/write related functionsHyunchul Lee4-49/+51
2022-05-09ksmbd: validate length in smb2_write()Marios Makassikis1-30/+19
2022-05-09ksmbd: fix reference count leak in smb_check_perm_dacl()Xin Xiong1-0/+1
2022-04-14ksmbd: set fixed sector size to FS_SECTOR_SIZE_INFORMATIONNamjae Jeon1-4/+7
2022-04-14ksmbd: increment reference count of parent fpNamjae Jeon2-0/+3
2022-04-14ksmbd: remove filename in ksmbd_fileNamjae Jeon8-62/+42
2022-04-01Merge tag '5.18-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds3-15/+14
2022-04-01Merge tag '5.18-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6Linus Torvalds3-591/+54
2022-03-31smb3: fix ksmbd bigendian bug in oplock break, and move its struct to smbfs_c...Steve French3-79/+6
2022-03-30ksmbd: replace usage of found with dedicated list iterator variableJakob Koschel1-11/+10
2022-03-30ksmbd: Remove a redundant zeroing of memoryChristophe JAILLET1-1/+1
2022-03-30ksmbd: shorten experimental warning on loading the moduleSteve French1-1/+1
2022-03-26smb3: move defines for query info and query fsinfo to smbfs_commonSteve French1-284/+1
2022-03-26smb3: move defines for ioctl protocol header and SMB2 sizes to smbfs_commonSteve French2-73/+3
2022-03-25[smb3] move more common protocol header definitions to smbfs_commonSteve French1-95/+0
2022-03-24Merge tag 'flexible-array-transformations-5.18-rc1' of git://git.kernel.org/p...Linus Torvalds5-10/+10
2022-03-23ksmbd: store fids as opaque u64 integersPaulo Alcantara2-72/+56
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2022-03-20ksmbd: use netif_is_bridge_portTobias Klauser1-2/+2
2022-02-17treewide: Replace zero-length arrays with flexible-array membersGustavo A. R. Silva5-10/+10
2022-02-04ksmbd: add support for key exchangeNamjae Jeon1-0/+27
2022-02-04ksmbd: reduce smb direct max read/write sizeNamjae Jeon1-1/+1
2022-02-04ksmbd: don't align last entry offset in smb2 query directoryNamjae Jeon2-3/+5
2022-02-04ksmbd: fix same UniqueId for dot and dotdot entriesNamjae Jeon1-1/+4
2022-02-04ksmbd: smbd: validate buffer descriptor structuresHyunchul Lee1-6/+30
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+0
2022-01-23ksmbd: fix SMB 3.11 posix extension mount failureNamjae Jeon1-1/+1
2022-01-20Merge tag '5.17-rc-ksmbd-server-fixes' of git://git.samba.org/ksmbdLinus Torvalds19-334/+429
2022-01-18ksmbd: fix guest connection failure with nautilusNamjae Jeon1-33/+29
2022-01-18ksmbd: uninitialized variable in create_socket()Dan Carpenter1-1/+2
2022-01-18ksmbd: smbd: fix missing client's memory region invalidationHyunchul Lee1-27/+46
2022-01-11Merge tag 'fs.idmapped.v5.17' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-18/+6
2022-01-10ksmbd: add smb-direct shutdownYufan Chen3-1/+19
2022-01-10ksmbd: smbd: change the default maximum read/write, receive sizeHyunchul Lee1-2/+4
2022-01-10ksmbd: smbd: create MR poolHyunchul Lee1-1/+22
2022-01-10ksmbd: add reserved room in ipc request/responseNamjae Jeon1-1/+10
2022-01-10ksmbd: smbd: call rdma_accept() under CM handlerHyunchul Lee1-43/+59
2022-01-10ksmbd: limits exceeding the maximum allowable outstanding requestsNamjae Jeon4-1/+13
2022-01-10ksmbd: move credit charge deduction under processing requestNamjae Jeon2-11/+12
2022-01-10ksmbd: add support for smb2 max credit parameterNamjae Jeon8-10/+22
2022-01-10ksmbd: set 445 port to smbdirect port by defaultNamjae Jeon2-5/+12
2022-01-10ksmbd: register ksmbd ib client with ib_register_client()Hyunchul Lee2-11/+98
2021-12-28ksmbd: Fix smb2_get_name() kernel-doc commentYang Li1-1/+1
2021-12-28ksmbd: Delete an invalid argument description in smb2_populate_readdir_entry()Yang Li1-1/+0
2021-12-28ksmbd: Fix smb2_set_info_file() kernel-doc commentYang Li1-1/+1
2021-12-28ksmbd: Fix buffer_check_err() kernel-doc commentYang Li1-0/+1
2021-12-28ksmbd: fix multi session connection failureNamjae Jeon5-29/+24
2021-12-28ksmbd: set both ipv4 and ipv6 in FSCTL_QUERY_NETWORK_INTERFACE_INFONamjae Jeon1-10/+12
2021-12-28ksmbd: set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFONamjae Jeon3-5/+21
2021-12-28ksmbd: Remove unused fields from ksmbd_file struct definitionMarios Makassikis1-10/+0
2021-12-28ksmbd: Remove unused parameter from smb2_get_name()Marios Makassikis1-9/+4
2021-12-28ksmbd: use oid registry functions to decode OIDsHyunchul Lee1-123/+19
2021-12-17ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1Marcos Del Sol Vives2-7/+21
2021-12-16ksmbd: fix uninitialized symbol 'pntsd_size'Namjae Jeon1-0/+4
2021-12-16ksmbd: fix error code in ndr_read_int32()Dan Carpenter1-1/+1
2021-12-03fs: use low-level mapping helpersChristian Brauner2-18/+4
2021-12-03fs: move mapping helpersChristian Brauner2-0/+2
2021-11-25ksmbd: fix memleak in get_file_stream_info()Namjae Jeon1-1/+3
2021-11-25ksmbd: contain default data stream even if xattr is emptyNamjae Jeon1-9/+9
2021-11-25ksmbd: downgrade addition info error msg to debug in smb2_get_info_sec()Namjae Jeon1-1/+1
2021-11-25ksmbd: Fix an error handling path in 'smb2_sess_setup()'Christophe JAILLET1-2/+4
2021-11-11ksmbd: Use the SMB3_Create definitions from the sharedRonnie Sahlberg5-265/+37
2021-11-11ksmbd: Move more definitions into the shared areaRonnie Sahlberg2-192/+4
2021-11-11ksmbd: use the common definitions for NEGOTIATE_PROTOCOLRonnie Sahlberg4-167/+15
2021-11-11ksmbd: switch to use shared definitions where availableRonnie Sahlberg5-180/+2
2021-11-11ksmbd: change LeaseKey data type to u8 arrayNamjae Jeon3-23/+14
2021-11-11ksmbd: remove smb2_buf_length in smb2_transform_hdrNamjae Jeon4-30/+21
2021-11-11ksmbd: remove smb2_buf_length in smb2_hdrNamjae Jeon10-262/+260
2021-11-11ksmbd: remove md4 leftoversNamjae Jeon2-2/+0
2021-11-11ksmbd: set unique value to volume serial field in FS_VOLUME_INFORMATIONNamjae Jeon3-1/+10
2021-11-06ksmbd: don't need 8byte alignment for request length in ksmbd_check_messageNamjae Jeon1-4/+2
2021-11-06ksmbd: Fix buffer length check in fsctl_validate_negotiate_info()Marios Makassikis1-1/+1
2021-11-06ksmbd: Remove redundant 'flush_workqueue()' callsChristophe JAILLET2-2/+0
2021-11-06ksmdb: use cmd helper variable in smb2_get_ksmbd_tcon()Ralph Boehme1-3/+4
2021-11-06ksmbd: use ksmbd_req_buf_next() in ksmbd_smb2_check_message()Ralph Boehme1-6/+1
2021-11-06ksmbd: use ksmbd_req_buf_next() in ksmbd_verify_smb_message()Ralph Boehme1-1/+1
2021-10-20ksmbd: add buffer validation in session setupMarios Makassikis2-27/+40
2021-10-20ksmbd: throttle session setup failures to avoid dictionary attacksNamjae Jeon6-6/+31
2021-10-20ksmbd: validate OutputBufferLength of QUERY_DIR, QUERY_INFO, IOCTL requestsHyunchul Lee1-16/+52
2021-10-15ksmbd: validate credit charge after validating SMB2 PDU body sizeRalph Boehme1-9/+10
2021-10-15ksmbd: add buffer validation for smb directHyunchul Lee1-2/+19
2021-10-15ksmbd: limit read/write/trans buffer size not to exceed 8MBNamjae Jeon3-1/+6
2021-10-13ksmbd: validate compound response bufferNamjae Jeon1-0/+6
2021-10-13ksmbd: fix potencial 32bit overflow from data area check in smb2_writeNamjae Jeon1-4/+2
2021-10-13ksmbd: improve credits managementHyunchul Lee3-62/+59
2021-10-13ksmbd: add validation in smb2_ioctlNamjae Jeon3-31/+86
2021-10-07ksmbd: fix oops from fuse driverNamjae Jeon1-11/+6
2021-10-07ksmbd: fix version mismatch with out of treeNamjae Jeon1-1/+1
2021-10-07ksmbd: use buf_data_size instead of recalculation in smb3_decrypt_req()Namjae Jeon1-5/+3
2021-10-07ksmbd: remove the leftover of smb2.0 dialect supportNamjae Jeon4-34/+12
2021-10-07ksmbd: check strictly data area in ksmbd_smb2_check_message()Namjae Jeon1-51/+47
2021-10-06ksmbd: add the check to vaildate if stream protocol length exceeds maximum valueNamjae Jeon3-12/+8
2021-09-30ksmbd: missing check for NULL in convert_to_nt_pathname()Dan Carpenter1-10/+7
2021-09-30ksmbd: fix transform header validationNamjae Jeon1-9/+9
2021-09-30ksmbd: add buffer validation for SMB2_CREATE_CONTEXTHyunchul Lee3-13/+74
2021-09-30ksmbd: add validation in smb2 negotiateNamjae Jeon2-6/+68
2021-09-30ksmbd: add request buffer validation in smb2_set_infoNamjae Jeon1-42/+107
2021-09-30ksmbd: use correct basic info level in set_file_basic_info()Namjae Jeon2-7/+15
2021-09-29ksmbd: remove NTLMv1 authenticationNamjae Jeon3-229/+0
2021-09-28ksmbd: fix documentation for 2 functionsEnzo Matsumiya1-2/+2
2021-09-26ksmbd: fix invalid request buffer access in compoundNamjae Jeon1-2/+11
2021-09-26ksmbd: remove RFC1002 check in smb2 requestRonnie Sahlberg2-22/+1
2021-09-24ksmbd: use LOOKUP_BENEATH to prevent the out of share accessHyunchul Lee5-206/+140
2021-09-22ksmbd: remove follow symlinks supportNamjae Jeon2-56/+19
2021-09-22ksmbd: check protocol id in ksmbd_verify_smb_message()Namjae Jeon3-5/+11
2021-09-21ksmbd: add default data stream name in FILE_STREAM_INFORMATIONNamjae Jeon1-5/+3
2021-09-21ksmbd: log that server is experimental at module loadSteve French1-0/+3
2021-09-18ksmbd: add validation for FILE_FULL_EA_INFORMATION of smb2_get_infoNamjae Jeon1-0/+4
2021-09-17ksmbd: prevent out of share accessHyunchul Lee3-16/+77
2021-09-17ksmbd: transport_rdma: Don't include rwlock.h directlyMike Galbraith1-1/+0
2021-09-08ksmbd: fix control flow issues in sid_to_id()Namjae Jeon1-26/+22
2021-09-08ksmbd: fix read of uninitialized variable ret in set_file_basic_infoNamjae Jeon1-1/+1
2021-09-08ksmbd: add missing assignments to ret on ndr_read_int64 read callsColin Ian King1-2/+2
2021-09-03ksmbd: add validation for ndr read/write functionsNamjae Jeon1-109/+274
2021-09-03ksmbd: remove unused ksmbd_file_table_flush functionNamjae Jeon2-17/+0
2021-09-03ksmbd: smbd: fix dma mapping error in smb_direct_post_send_dataHyunchul Lee1-1/+1
2021-09-03ksmbd: Reduce error log 'speed is unknown' to debugPer Forlin1-2/+2
2021-09-03ksmbd: defer notify_change() callChristian Brauner1-7/+16
2021-09-03ksmbd: remove setattr preparations in set_file_basic_info()Christian Brauner1-17/+8
2021-09-03ksmbd: ensure error is surfaced in set_file_basic_info()Christian Brauner1-1/+1
2021-09-03ndr: fix translation in ndr_encode_posix_acl()Christian Brauner1-2/+2
2021-09-03ksmbd: fix translation in sid_to_id()Christian Brauner1-4/+18
2021-09-03ksmbd: fix subauth 0 handling in sid_to_id()Christian Brauner1-2/+2
2021-09-03ksmbd: fix translation in acl entriesChristian Brauner3-10/+33
2021-09-03ksmbd: fix translation in ksmbd_acls_fattr()Christian Brauner2-9/+11
2021-09-03ksmbd: fix translation in create_posix_rsp_buf()Christian Brauner1-2/+4
2021-09-03ksmbd: fix translation in smb2_populate_readdir_entry()Christian Brauner3-8/+3
2021-09-03ksmbd: fix lookup on idmapped mountsChristian Brauner3-27/+37
2021-08-27ksmbd: fix __write_overflow warning in ndr_read_stringNamjae Jeon1-2/+7
2021-08-21ksmbd: fix permission check issue on chown and chmodNamjae Jeon2-6/+23
2021-08-20ksmbd: don't set FILE DELETE and FILE_DELETE_CHILD in access mask by defaultNamjae Jeon1-2/+0
2021-08-13ksmbd: smbd: fix kernel oops during server shutdownHyunchul Lee1-2/+3
2021-08-13ksmbd: remove select FS_POSIX_ACL in KconfigNamjae Jeon4-38/+61
2021-08-13ksmbd: use proper errno instead of -1 in smb2_get_ksmbd_tcon()Namjae Jeon1-2/+2
2021-08-13ksmbd: update the comment for smb2_get_ksmbd_tcon()Namjae Jeon1-2/+3
2021-08-13ksmbd: change int data type to booleanNamjae Jeon3-20/+20
2021-08-13ksmbd: Fix multi-protocol negotiationMarios Makassikis2-18/+36
2021-08-02ksmbd: fix an oops in error handling in smb2_open()Dan Carpenter1-0/+1
2021-07-27ksmbd: add ipv6_addr_v4mapped check to know if connection from client is ipv4Namjae Jeon1-1/+3
2021-07-27ksmbd: fix missing error code in smb2_lockNamjae Jeon1-32/+34
2021-07-27ksmbd: use channel signingkey for binding SMB2 session setupNamjae Jeon1-1/+2
2021-07-27ksmbd: don't set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFONamjae Jeon1-2/+0
2021-07-27ksmbd: Return STATUS_OBJECT_PATH_NOT_FOUND if smb2_creat() returns ENOENTMarios Makassikis1-1/+6
2021-07-23ksmbd: fix -Wstringop-truncation warningsHyunchul Lee1-5/+7
2021-07-23ksmbd: Fix potential memory leak in tcp_destroy_socket()Marios Makassikis1-2/+1
2021-07-22ksmbd: add support for negotiating signing algorithmNamjae Jeon4-0/+78
2021-07-22ksmbd: add negotiate context verificationNamjae Jeon2-59/+65
2021-07-22ksmbd: fix typo of MS-SMBDNamjae Jeon2-4/+4
2021-07-19ksmbd: move credit charge verification over smb2 request size verificationNamjae Jeon1-6/+6
2021-07-19ksmbd: set STATUS_INVALID_PARAMETER error status if credit charge is invalidNamjae Jeon2-12/+17
2021-07-19ksmbd: fix wrong error status return on session setupNamjae Jeon1-20/+12
2021-07-19ksmbd: fix wrong compression context sizeNamjae Jeon1-1/+1
2021-07-15ksmbd: fix typo in commentNamjae Jeon1-1/+1
2021-07-13ksmbd: fix an error message in ksmbd_conn_trasnport_initHyunchul Lee1-1/+1
2021-07-13ksmbd: set RDMA capability for FSCTL_QUERY_NETWORK_INTERFACE_INFOHyunchul Lee3-4/+21
2021-07-13ksmbd: fix unused err value in smb2_lockNamjae Jeon1-5/+6
2021-07-13ksmbd: fix memory leak in ksmbd_vfs_get_sd_xattr()Namjae Jeon1-49/+52
2021-07-13ksmbd: remove unneeded check_context_errNamjae Jeon2-50/+26
2021-07-10ksmbd: handle error cases first in smb2_create_sd_buffersHyunchul Lee1-13/+11
2021-07-10ksmbd: make smb2_find_context_vals return NULL if not foundHyunchul Lee2-8/+8
2021-07-10ksmbd: uninterruptible wait for a file being unlockedHyunchul Lee3-4/+4
2021-07-10ksmbd: free ksmbd_lock when file is closedHyunchul Lee7-66/+125
2021-07-10ksmbd: fix the running request count decrementHyunchul Lee1-1/+2
2021-07-10ksmbd: use kasprintf() in ksmbd_vfs_xattr_stream_name()Dan Carpenter1-21/+6
2021-07-10ksmbd: delete some stray tabsDan Carpenter1-2/+2