aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys
AgeCommit message (Expand)AuthorFilesLines
2 daysMerge branch 'for-next-tpm' of https://git.kernel.org/pub/scm/linux/kernel/gi...Mark Brown6-23/+60
3 dayssecurity/keys: fix missed RCU read section on lookupLinus Torvalds1-0/+1
2026-05-09keys: use kmalloc_flex in user_preparseThorsten Blum1-1/+1
2026-05-04KEYS: trusted: Debugging as a featureJarkko Sakkinen4-21/+59
2026-05-04KEYS: encrypted: Remove unnecessary selection of CRYPTO_RNGEric Biggers1-1/+0
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds7-11/+11
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook7-12/+11
2026-02-18Merge tag 'mm-stable-2026-02-18-19-48' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2026-02-12mm: update shmem_[kernel]_file_*() functions to use vma_flags_tLorenzo Stoakes1-1/+1
2026-02-12Merge tag 'mm-nonmm-stable-2026-02-12-10-48' of git://git.kernel.org/pub/scm/...Linus Torvalds3-0/+3
2026-02-10Merge tag 'powerpc-7.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds4-1/+205
2026-02-10Merge tag 'soc-drivers-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-10/+7
2026-01-30keys/trusted_keys: establish PKWM as a trusted sourceSrish Srinivasan4-1/+205
2026-01-25keys/trusted_keys: fix handle passed to tpm_buf_append_name during unsealSrish Srinivasan1-2/+2
2026-01-20kernel.h: drop hex.h and update all hex.h usersRandy Dunlap3-0/+3
2026-01-07KEYS: trusted: Make use of tee bus methodsUwe Kleine-König1-7/+5
2026-01-07KEYS: trusted: Migrate to use tee specific driver registration functionUwe Kleine-König1-3/+2
2025-12-05tpm2-sessions: Open code tpm_buf_append_hmac_session()Jarkko Sakkinen1-2/+10
2025-12-05tpm2-sessions: Fix out of range indexing in name_sizeJarkko Sakkinen1-6/+23
2025-12-03KEYS: trusted: Use tpm_ret_to_err() in trusted_tpm2Jarkko Sakkinen1-19/+7
2025-12-03Merge tag 'v6.19-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+108
2025-12-03Merge tag 'keys-trusted-next-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-21/+8
2025-12-03Merge tag 'keys-next-6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds5-8/+7
2025-11-29KEYS: trusted: Fix a memory leak in tpm2_load_cmdJarkko Sakkinen1-2/+4
2025-11-29KEYS: trusted: Replace a redundant instance of tpm2_hash_mapJarkko Sakkinen1-19/+4
2025-11-27keys: Replace deprecated strncpy in ecryptfs_fill_auth_tokThorsten Blum1-2/+1
2025-11-27keys: Remove redundant less-than-zero checksThorsten Blum4-6/+6
2025-11-04cred: make init_cred staticChristian Brauner1-1/+1
2025-10-23KEYS: trusted: Pass argument by pointer in dump_optionsHerbert Xu1-5/+5
2025-10-20KEYS: trusted: caam based protected keyMeenakshi Aggarwal1-0/+108
2025-10-04security: keys: use menuconfig for KEYS symbolRandy Dunlap1-8/+6
2025-10-04KEYS: encrypted: Use SHA-256 library instead of crypto_shashEric Biggers2-55/+11
2025-09-27KEYS: trusted_tpm1: Move private functionality out of public headerEric Biggers1-8/+72
2025-09-27KEYS: trusted_tpm1: Use SHA-1 library instead of crypto_shashEric Biggers2-190/+36
2025-09-27KEYS: trusted_tpm1: Compare HMAC values in constant timeEric Biggers1-3/+4
2025-06-11KEYS: Invert FINAL_PUT bitHerbert Xu2-4/+5
2025-03-29Merge tag 'v6.15-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+1
2025-03-22keys: Fix UAF in key_put()David Howells2-1/+5
2025-03-21crypto: lib/Kconfig - hide library optionsArnd Bergmann1-1/+1
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2025-01-21KEYS: trusted: dcp: fix improper sg use with CONFIG_VMAP_STACK=yDavid Gstir1-4/+18
2024-11-04KEYS: trusted: dcp: fix NULL dereference in AEAD crypto operationDavid Gstir1-4/+5
2024-11-04security/keys: fix slab-out-of-bounds in key_task_permissionChen Ridong1-2/+5
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-08-15KEYS: trusted: dcp: fix leak of blob encryption keyDavid Gstir1-12/+21
2024-08-15KEYS: trusted: fix DCP blob payload length assignmentDavid Gstir1-1/+1
2024-07-16Merge tag 'perf-core-2024-07-16' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2024-07-09task_work: s/task_work_cancel()/task_work_cancel_func()/Frederic Weisbecker1-1/+1
2024-07-01KEYS: encrypted: add missing MODULE_DESCRIPTION()Jeff Johnson1-0/+1
2024-07-01KEYS: trusted: add missing MODULE_DESCRIPTION()Jeff Johnson1-0/+1
2024-05-21KEYS: trusted: Do not use WARN when encode failsJarkko Sakkinen1-1/+2
2024-05-21KEYS: trusted: Fix memory leak in tpm2_key_encode()Jarkko Sakkinen1-6/+18
2024-05-15Merge tag 'lsm-pr-20240513' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2024-05-13Merge tag 'keys-next-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds3-24/+30
2024-05-13Merge tag 'tpmdd-next-6.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-53/+106
2024-05-09KEYS: trusted: Add session encryption protection to the seal/unseal pathJames Bottomley1-27/+61
2024-05-09KEYS: trusted: tpm2: Use struct tpm_buf for sized buffersJarkko Sakkinen1-23/+31
2024-05-09tpm: Store the length of the tpm_buf data separately.Jarkko Sakkinen1-4/+5
2024-05-09tpm: Remove tpm_send()Jarkko Sakkinen1-2/+12
2024-05-09docs: trusted-encrypted: add DCP as new trust sourceDavid Gstir1-0/+19
2024-05-09KEYS: trusted: Introduce NXP DCP-backed trusted keysDavid Gstir4-1/+328
2024-05-09KEYS: trusted: improve scalability of trust source configDavid Gstir1-2/+8
2024-05-09keys: Fix overwrite of key expiration on instantiationSilvio Gissi1-1/+2
2024-05-09keys: update key quotas in key_put()Luis Henriques3-23/+28
2024-04-15lsm: remove the now superfluous sentinel element from ctl_table arrayJoel Granados1-1/+0
2024-02-15ima: Move to LSM infrastructureRoberto Sassu1-8/+1
2024-02-15security: Introduce key_post_create_or_update hookRoberto Sassu1-1/+6
2024-01-24Revert "KEYS: encrypted: Add check for strsep"Mimi Zohar1-4/+0
2024-01-09Merge tag 'integrity-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/z...Linus Torvalds1-0/+4
2024-01-08Merge tag 'vfs-6.8.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+2
2023-12-21keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiryDavid Howells4-22/+37
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-2/+2
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-2/+1
2023-11-27KEYS: encrypted: Add check for strsepChen Ni1-0/+4
2023-11-02Merge tag 'v6.7-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-1/+1
2023-11-01Merge tag 'for-6.7/block-2023-10-30' of git://git.kernel.dk/linuxLinus Torvalds1-0/+1
2023-10-24keys: Remove unused extern declarationsYueHaibing1-7/+0
2023-10-24KEYS: trusted: tee: Refactor register SHM usageSumit Garg1-44/+20
2023-10-24KEYS: trusted: Rollback init_trusted() consistentlyJarkko Sakkinen1-10/+10
2023-10-11security/keys: export key_lookup()Hannes Reinecke1-0/+1
2023-10-10KEYS: trusted: Remove redundant static calls usageSumit Garg1-8/+5
2023-09-15KEYS: encrypted: Do not include crypto/algapi.hHerbert Xu1-1/+1
2023-08-17KEYS: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-1/+1
2023-08-07sysctl: set variable key_sysctls storage-class-specifier to staticTom Rix1-1/+1
2023-07-28security: keys: perform capable check only on privileged operationsChristian Göttsche1-3/+8
2023-07-17security: keys: Modify mismatched function nameJiapeng Chong1-1/+1
2023-07-17keys: Fix linking a duplicate key to a keyring's assoc_arrayPetr Pavlu1-11/+24
2023-06-08sysctl: move security keys sysctl registration to its own fileLuis Chamberlain1-0/+7
2023-03-21keys: Do not cache key in task struct if key is requested from kernel threadDavid Howells1-3/+6
2023-02-21Merge tag 'v6.3-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/...Linus Torvalds1-25/+5
2023-02-13KEYS: DH: Use crypto_wait_reqHerbert Xu1-25/+5
2023-02-13KEYS: Add new function key_create()Thomas Weißschuh1-37/+100
2022-12-13Merge tag 'integrity-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/z...Linus Torvalds1-3/+3
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-12-08KEYS: trusted: tee: Make registered shm dependency explicitSumit Garg1-1/+2
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-10-19KEYS: encrypted: fix key instantiation with user-provided dataNikolaus Voss1-3/+3
2022-10-10Merge tag 'tpmdd-next-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-10-05security/keys: Remove inconsistent __user annotationVincenzo Frascino1-1/+1
2022-09-21KEYS: Move KEY_LOOKUP_ to include/linux/key.h and define KEY_LOOKUP_ALLRoberto Sassu1-2/+0
2022-06-08KEYS: trusted: tpm2: Fix migratable logicDavid Safford1-2/+2
2022-05-24Merge tag 'tpmdd-next-v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds5-19/+172
2022-05-23KEYS: trusted: Introduce support for NXP CAAM-based trusted keysAhmad Fatoum4-2/+97
2022-05-23KEYS: trusted: allow use of kernel RNG for key materialAhmad Fatoum1-1/+34
2022-05-23KEYS: trusted: allow use of TEE as backend without TCG_TPM supportAhmad Fatoum4-17/+42
2022-05-16big_keys: Use struct for internal payloadKees Cook1-37/+36
2022-03-23Merge tag 'arm-drivers-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-14/+9
2022-03-21Merge tag 'integrity-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds2-23/+67
2022-03-21Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-1/+1
2022-03-08KEYS: trusted: Avoid calling null function trusted_key_exitDave Kleikamp1-1/+1
2022-03-08KEYS: trusted: Fix trusted key backends when building as moduleAndreas Rammhold1-2/+2
2022-03-08KEYS: fix length validation in keyctl_pkey_params_get_2()Eric Biggers1-3/+11
2022-03-03crypto: dh - constify struct dh's pointer membersNicolai Stange1-1/+1
2022-02-21KEYS: encrypted: Instantiate key with user-provided decrypted dataYael Tzur2-23/+67
2022-02-16KEYS: trusted: tee: use tee_shm_register_kernel_buf()Jens Wiklander1-14/+9
2021-11-26security: DH - use KDF implementation from crypto APIStephan Müller2-92/+19
2021-11-26security: DH - remove dead code for zero paddingStephan Müller1-21/+4
2021-10-20ucounts: Move get_ucounts from cred_alloc_blank to key_change_session_keyringEric W. Biederman1-0/+8
2021-05-12trusted-keys: match tpm_get_ops on all return pathsBen Boeckel1-3/+3
2021-05-12KEYS: trusted: Fix memory leak on object tdColin Ian King1-3/+5
2021-04-26Merge tag 'queue' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/tpmddLinus Torvalds2-13/+16
2021-04-26Merge tag 'tpmdd-next-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds7-327/+1038
2021-04-21KEYS: trusted: fix TPM trusted keys for generic frameworkJames Bottomley2-13/+16
2021-04-21KEYS: trusted: Fix TPM reservation for seal/unsealJames Bottomley1-1/+1
2021-04-14KEYS: trusted: Fix missing null return from kzalloc callColin Ian King1-2/+4
2021-04-14KEYS: trusted: Introduce TEE based Trusted KeysSumit Garg3-0/+324
2021-04-14KEYS: trusted: Add generic trusted keys frameworkSumit Garg3-297/+424
2021-04-14security: keys: trusted: Make sealed key properly interoperableJames Bottomley1-15/+38
2021-04-14security: keys: trusted: use ASN.1 TPM2 key format for the blobsJames Bottomley5-8/+221
2021-04-14security: keys: trusted: fix TPM2 authorizationsJames Bottomley2-10/+32
2021-02-23Merge tag 'keys-misc-20210126' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds7-18/+16
2021-02-16KEYS: trusted: Reserve TPM for seal and unseal operationsJarkko Sakkinen1-4/+18
2021-02-16KEYS: trusted: Fix migratable=1 failingJarkko Sakkinen1-1/+1
2021-02-16KEYS: trusted: Fix incorrect handling of tpm_get_random()Jarkko Sakkinen1-3/+17
2021-01-21certs: Fix blacklist flag type confusionDavid Howells1-0/+2
2021-01-21KEYS: remove redundant memsetTom Rix1-2/+0
2021-01-21security: keys: delete repeated words in commentsRandy Dunlap2-3/+3
2021-01-21security/keys: use kvfree_sensitive()Denis Efremov1-6/+3
2021-01-21watch_queue: Drop references to /dev/watch_queueGabriel Krisman Bertazi1-4/+4
2021-01-21keys: Remove outdated __user annotationsJann Horn1-3/+3
2021-01-21security: keys: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2020-12-15Merge tag 'net-next-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+2
2020-11-23keys: Provide the original description to the key preparserDavid Howells1-0/+2
2020-11-20crypto: sha - split sha.h into sha1.h and sha2.hEric Biggers2-2/+2
2020-10-17task_work: cleanup notification modesJens Axboe1-1/+1
2020-10-12Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds3-41/+3
2020-10-03security/keys: remove compat_keyctl_instantiate_key_iovChristoph Hellwig3-40/+3
2020-10-03iov_iter: transparently handle compat iovecs in import_iovecChristoph Hellwig1-3/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-7/+7
2020-08-11Merge tag 'for-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...Linus Torvalds4-4/+4
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long5-37/+37
2020-08-06Replace HTTP links with HTTPS ones: securityAlexander A. Klimov4-4/+4
2020-06-13Merge tag 'notifications-20200601' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds10-68/+239
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-04Merge branch 'akpm' (patches from Andrew)Linus Torvalds2-22/+5
2020-06-04mm: add kvfree_sensitive() for freeing sensitive data objectsWaiman Long2-22/+5
2020-06-04Merge tag 'keys-next-20200602' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds2-209/+52
2020-06-02keys: Implement update for the big_key typeDavid Howells1-1/+18
2020-06-02security/keys: rewrite big_key crypto to use library interfaceJason A. Donenfeld2-209/+35
2020-06-01Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-15/+3
2020-05-19keys: Make the KEY_NEED_* perms an enum rather than a maskDavid Howells4-42/+59
2020-05-19watch_queue: Add a key/keyring notification facilityDavid Howells8-26/+180
2020-05-08KEYS: encrypted: use crypto_shash_tfm_digest()Eric Biggers1-15/+3
2020-04-16keys: Fix proc_keys_next to increase position indexVasily Averin1-0/+2
2020-04-04Merge tag 'keys-fixes-20200329' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds8-52/+113
2020-03-29KEYS: Avoid false positive ENOMEM error on key readWaiman Long2-15/+55
2020-03-29KEYS: Don't write out to userspace while holding key semaphoreWaiman Long7-51/+72
2020-03-15KEYS: reaching the keys quotas correctlyYang Xu2-3/+3
2020-01-28Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+10
2019-12-17security: keys: trusted: fix lost handle flushJames Bottomley1-0/+1
2019-12-12KEYS: remove CONFIG_KEYS_COMPATEric Biggers4-12/+3
2019-12-12KEYS: Call the IMA hook to measure keysLakshmi Ramasubramanian1-0/+10
2019-11-12KEYS: trusted: Remove set but not used variable 'keyhndl'zhengbin1-2/+0
2019-11-12KEYS: trusted: Move TPM2 trusted keys codeSumit Garg3-2/+317
2019-11-12KEYS: trusted: Create trusted keys subsystemSumit Garg3-2/+9
2019-11-12KEYS: Use common tpm_buf for trusted and asymmetric keysSumit Garg1-55/+43
2019-11-12tpm: Move tpm_buf code to include/linux/Sumit Garg1-6/+6
2019-09-25KEYS: trusted: correctly initialize digests and fix locking issueRoberto Sassu1-0/+5
2019-09-05keys: Fix missing null pointer check in request_key_auth_describe()Hillf Danton1-0/+6
2019-08-30keys: ensure that ->match_free() is called in request_key_and_link()Eric Biggers1-1/+1
2019-08-13KEYS: trusted: allow module init if TPM is inactive or deactivatedRoberto Sassu1-13/+0
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-14/+12
2019-07-10Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds14-573/+156
2019-07-08Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds14-156/+573
2019-07-08Merge tag 'keys-namespace-20190627' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds10-240/+386
2019-07-08Merge tag 'keys-request-20190626' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds8-106/+180
2019-07-08Merge tag 'keys-misc-20190619' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds8-78/+369
2019-07-03keys: Provide KEYCTL_GRANT_PERMISSIONDavid Howells4-1/+133
2019-06-27keys: Replace uid/gid/perm permissions checking with an ACLDavid Howells13-155/+440
2019-06-27keys: Pass the network namespace into request_key mechanismDavid Howells4-17/+36
2019-06-26keys: Network namespace domain tagDavid Howells1-1/+6
2019-06-26keys: Garbage collect keys for which the domain has been removedDavid Howells2-1/+17
2019-06-26keys: Include target namespace in match criteriaDavid Howells5-4/+39
2019-06-26keys: Move the user and user-session keyrings to the user_namespaceDavid Howells5-104/+187
2019-06-26keys: Namespace keyring namesDavid Howells2-57/+45
2019-06-26keys: Add a 'recurse' flag for keyring searchesDavid Howells7-7/+20
2019-06-26keys: Cache the hash value to avoid lots of recalculationDavid Howells3-16/+22
2019-06-26keys: Simplify key description managementDavid Howells4-49/+30
2019-06-26keys: Kill off request_key_async{,_with_auxdata}David Howells1-50/+0
2019-06-19keys: Cache result of request_key*() temporarily in task_structDavid Howells2-0/+55