Fuzz introspector: ssh_privkey_fuzzer_nalloc
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
429 58 realloc call site: 00058 ssh_pki_import_pubkey_blob
19 498 pki_private_key_from_base64 call site: 00498 ssh_key_free
18 8 _ssh_log call site: 00008 ssh_vlog
14 27 ssh_pki_import_privkey_base64 call site: 00027 ssh_pki_openssh_privkey_import
6 49 calloc call site: 00049 ssh_buffer_allocate_size
3 489 pki_private_key_from_base64 call site: 00489 pem_get_password
2 46 nalloc_fail call site: 00046 fprintf
1 56 realloc call site: 00056 __errno_location
1 493 pki_private_key_from_base64 call site: 00493 PEM_read_bio_PrivateKey

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 nalloc_start [function] [call site] 00001
2 nalloc_random_update [function] [call site] 00002
1 __assert_fail [call site] 00003
1 bin_to_base64 [function] [call site] 00004
2 _bin_to_base64 [function] [call site] 00005
1 ssh_pki_import_privkey_base64 [function] [call site] 00006
2 _ssh_log [function] [call site] 00007
3 ssh_get_log_level [function] [call site] 00008
3 ssh_vlog [function] [call site] 00009
4 vsnprintf [call site] 00010
4 ssh_log_function [function] [call site] 00011
5 ssh_get_log_callback [function] [call site] 00012
5 ssh_log_custom [function] [call site] 00013
6 snprintf [call site] 00014
6 ssh_get_log_userdata [function] [call site] 00015
5 ssh_log_stderr [function] [call site] 00016
6 current_timestring [function] [call site] 00017
7 gettimeofday [call site] 00018
7 localtime_r [call site] 00019
7 strftime [call site] 00020
7 snprintf [call site] 00021
7 strftime [call site] 00022
7 snprintf [call site] 00023
6 fprintf [call site] 00024
6 fprintf [call site] 00025
6 fprintf [call site] 00026
2 strstr [call site] 00027
2 ssh_pki_openssh_privkey_import [function] [call site] 00028
3 ssh_pki_openssh_import [function] [call site] 00029
4 strncmp [call site] 00030
4 __ctype_b_loc [call site] 00032
4 strstr [call site] 00033
4 __ctype_b_loc [call site] 00035
4 base64_to_bin [function] [call site] 00036
5 strdup [call site] 00037
5 get_equals [function] [call site] 00038
6 strchr [call site] 00039
5 ssh_buffer_new [function] [call site] 00040
6 calloc [function] [call site] 00041
7 nalloc_fail [function] [call site] 00042
8 nalloc_random_update [function] [call site] 00043
8 nalloc_random_update [function] [call site] 00044
8 nalloc_random_update [function] [call site] 00045
8 nalloc_backtrace_exclude [function] [call site] 00046
9 fprintf [call site] 00047
7 __errno_location [call site] 00048
7 __libc_calloc [call site] 00049
6 ssh_buffer_allocate_size [function] [call site] 00050
7 buffer_shift [function] [call site] 00051
8 explicit_bzero [call site] 00052
7 realloc_buffer [function] [call site] 00053
8 explicit_bzero [call site] 00054
8 realloc [function] [call site] 00055
9 nalloc_fail [function] [call site] 00056
9 __errno_location [call site] 00057
9 __libc_realloc [call site] 00058
5 ssh_buffer_set_secure [function] [call site] 00059
5 strlen [call site] 00060
5 _base64_to_bin [function] [call site] 00061
6 to_block4 [function] [call site] 00062
7 strchr [call site] 00063
7 strchr [call site] 00064
7 strchr [call site] 00065
7 strchr [call site] 00066
5 ssh_buffer_add_data [function] [call site] 00067
6 buffer_shift [function] [call site] 00068
6 realloc_buffer [function] [call site] 00069
5 _base64_to_bin [function] [call site] 00070
5 ssh_buffer_add_data [function] [call site] 00071
5 _base64_to_bin [function] [call site] 00072
5 ssh_buffer_add_data [function] [call site] 00073
5 _base64_to_bin [function] [call site] 00074
5 ssh_buffer_add_data [function] [call site] 00075
5 ssh_buffer_free [function] [call site] 00076
6 explicit_bzero [call site] 00077
6 explicit_bzero [call site] 00078
4 _ssh_buffer_unpack [function] [call site] 00080
5 ssh_buffer_unpack_va [function] [call site] 00081
6 ssh_buffer_get_len [function] [call site] 00082
6 ssh_buffer_get_u8 [function] [call site] 00083
7 ssh_buffer_get_data [function] [call site] 00084
8 ssh_buffer_validate_length [function] [call site] 00085
6 ssh_buffer_get_data [function] [call site] 00086
6 ntohs [call site] 00087
6 ssh_buffer_get_u32 [function] [call site] 00088
7 ssh_buffer_get_data [function] [call site] 00089
6 ntohl [call site] 00090
6 ssh_buffer_get_u64 [function] [call site] 00091
7 ssh_buffer_get_data [function] [call site] 00092
6 ntohl [call site] 00093
6 ssh_buffer_get_ssh_string [function] [call site] 00094
7 ssh_buffer_get_u32 [function] [call site] 00095
7 ntohl [call site] 00096
7 ssh_buffer_validate_length [function] [call site] 00097
7 ssh_string_new [function] [call site] 00098
8 __errno_location [call site] 00099
8 htonl [call site] 00100
7 ssh_string_data [function] [call site] 00101
7 ssh_buffer_get_data [function] [call site] 00102
6 ssh_make_string_bn [function] [call site] 00103
7 ssh_string_len [function] [call site] 00104
8 ntohl [call site] 00105
7 BN_new [call site] 00106
7 BN_bin2bn [call site] 00107
6 ssh_string_burn [function] [call site] 00108
7 ssh_string_len [function] [call site] 00109
7 explicit_bzero [call site] 00110
6 ssh_string_free [function] [call site] 00111
6 ssh_buffer_get_ssh_string [function] [call site] 00112
6 ssh_buffer_get_u32 [function] [call site] 00113
6 ntohl [call site] 00114
6 ssh_buffer_validate_length [function] [call site] 00115
6 ssh_buffer_get_data [function] [call site] 00116
6 ssh_buffer_validate_length [function] [call site] 00117
6 ssh_buffer_get_data [function] [call site] 00118
6 abort [call site] 00120
6 explicit_bzero [call site] 00121
6 explicit_bzero [call site] 00122
6 explicit_bzero [call site] 00123
6 explicit_bzero [call site] 00124
6 BN_clear_free [call site] 00125
6 ssh_string_burn [function] [call site] 00126
6 strlen [call site] 00127
6 explicit_bzero [call site] 00128
6 explicit_bzero [call site] 00129
4 strncmp [call site] 00131
4 ssh_pki_import_pubkey_blob [function] [call site] 00135
5 ssh_buffer_new [function] [call site] 00136
5 ssh_string_data [function] [call site] 00138
5 ssh_string_len [function] [call site] 00139
5 ssh_buffer_add_data [function] [call site] 00140
5 ssh_buffer_get_ssh_string [function] [call site] 00142
5 ssh_string_get_char [function] [call site] 00144
6 ssh_string_len [function] [call site] 00145
5 ssh_key_type_from_name [function] [call site] 00146
6 strcmp [call site] 00147
6 strcmp [call site] 00148
6 strcmp [call site] 00149
6 strcmp [call site] 00150
6 strcmp [call site] 00151
6 strcmp [call site] 00152
6 strcmp [call site] 00153
6 strcmp [call site] 00154
6 strcmp [call site] 00155
6 strcmp [call site] 00156
6 strcmp [call site] 00157
6 strcmp [call site] 00158
6 strcmp [call site] 00159
6 strcmp [call site] 00160
6 strcmp [call site] 00161
6 strcmp [call site] 00162
6 strcmp [call site] 00163
5 ssh_string_free [function] [call site] 00165
5 pki_import_cert_buffer [function] [call site] 00166
6 ssh_buffer_new [function] [call site] 00167
6 ssh_key_type_to_char [function] [call site] 00168
6 ssh_string_from_char [function] [call site] 00169
7 __errno_location [call site] 00170
7 strlen [call site] 00171
7 ssh_string_new [function] [call site] 00172
6 ssh_buffer_add_ssh_string [function] [call site] 00173
7 ssh_string_len [function] [call site] 00174
7 ssh_buffer_add_data [function] [call site] 00175
6 ssh_string_free [function] [call site] 00176
6 ssh_buffer_add_buffer [function] [call site] 00177
7 ssh_buffer_get [function] [call site] 00178
7 ssh_buffer_get_len [function] [call site] 00179
7 ssh_buffer_add_data [function] [call site] 00180
6 ssh_buffer_get_ssh_string [function] [call site] 00181
6 ssh_string_free [function] [call site] 00182
6 pki_import_pubkey_buffer [function] [call site] 00183
7 ssh_key_new [function] [call site] 00184
7 ssh_key_type_to_char [function] [call site] 00185
7 _ssh_buffer_unpack [function] [call site] 00186
7 pki_pubkey_build_rsa [function] [call site] 00188
8 RSA_new [call site] 00189
8 ssh_make_string_bn [function] [call site] 00190
8 ssh_make_string_bn [function] [call site] 00191
8 RSA_set0_key [call site] 00192
8 EVP_PKEY_new [call site] 00193
8 EVP_PKEY_assign [call site] 00194
8 BN_clear_free [call site] 00195
8 BN_clear_free [call site] 00196
8 EVP_PKEY_free [call site] 00197
8 RSA_free [call site] 00198
7 ssh_string_burn [function] [call site] 00199
7 ssh_string_free [function] [call site] 00200
7 ssh_string_burn [function] [call site] 00201
7 ssh_string_free [function] [call site] 00202
7 _ssh_buffer_unpack [function] [call site] 00204
7 ssh_string_get_char [function] [call site] 00206
7 pki_key_ecdsa_nid_from_name [function] [call site] 00207
8 strcmp [call site] 00208
8 strcmp [call site] 00209
8 strcmp [call site] 00210
7 ssh_string_free [function] [call site] 00211
7 ssh_string_burn [function] [call site] 00212
7 ssh_string_free [function] [call site] 00213
7 pki_pubkey_build_ecdsa [function] [call site] 00214
8 EC_KEY_new_by_curve_name [call site] 00215
8 EC_KEY_get0_group [call site] 00216
8 EC_POINT_new [call site] 00217
8 EC_KEY_free [call site] 00218
8 ssh_string_data [function] [call site] 00219
8 ssh_string_len [function] [call site] 00220
8 EC_POINT_oct2point [call site] 00221
8 EC_KEY_free [call site] 00222
8 EC_POINT_free [call site] 00223
8 EC_KEY_set_public_key [call site] 00224
8 EC_POINT_free [call site] 00225
8 EC_KEY_free [call site] 00226
8 EVP_PKEY_new [call site] 00227
8 EC_KEY_free [call site] 00228
8 EVP_PKEY_assign [call site] 00229
8 EC_KEY_free [call site] 00230
7 ssh_string_burn [function] [call site] 00231
7 ssh_string_free [function] [call site] 00232
7 ssh_buffer_get_ssh_string [function] [call site] 00234
7 ssh_key_type_to_char [function] [call site] 00236
7 ssh_buffer_get_ssh_string [function] [call site] 00237
7 ssh_string_len [function] [call site] 00238
7 ssh_string_burn [function] [call site] 00240
7 ssh_string_free [function] [call site] 00241
7 pki_pubkey_build_ed25519 [function] [call site] 00242
8 ssh_string_len [function] [call site] 00243
8 FIPS_mode [call site] 00245
8 ssh_string_data [function] [call site] 00247
8 ssh_string_data [function] [call site] 00248
8 EVP_PKEY_new_raw_public_key [call site] 00249
8 ERR_get_error [call site] 00250
8 ERR_error_string [call site] 00251
7 ssh_string_burn [function] [call site] 00253
7 ssh_string_free [function] [call site] 00254
7 ssh_buffer_get_ssh_string [function] [call site] 00256
7 ssh_key_free [function] [call site] 00259
8 ssh_key_clean [function] [call site] 00260
9 pki_key_clean [function] [call site] 00261
10 EVP_PKEY_free [call site] 00262
9 ssh_buffer_free [function] [call site] 00263
9 ssh_string_burn [function] [call site] 00264
9 ssh_string_free [function] [call site] 00265
9 ssh_string_burn [function] [call site] 00266
9 ssh_string_free [function] [call site] 00267
9 ssh_string_burn [function] [call site] 00268
9 ssh_string_free [function] [call site] 00269
9 ssh_string_burn [function] [call site] 00270
9 ssh_string_free [function] [call site] 00271
6 pki_import_pubkey_buffer [function] [call site] 00272
6 pki_import_pubkey_buffer [function] [call site] 00273
6 pki_import_pubkey_buffer [function] [call site] 00274
6 pki_import_pubkey_buffer [function] [call site] 00275
6 pki_import_pubkey_buffer [function] [call site] 00276
6 pki_import_pubkey_buffer [function] [call site] 00277
6 ssh_key_new [function] [call site] 00278
6 ssh_key_free [function] [call site] 00279
6 ssh_buffer_free [function] [call site] 00280
5 pki_import_pubkey_buffer [function] [call site] 00281
5 ssh_buffer_free [function] [call site] 00282
5 ssh_buffer_free [function] [call site] 00283
5 ssh_string_free [function] [call site] 00284
4 pki_private_key_decrypt [function] [call site] 00286
5 ssh_get_ciphertab [function] [call site] 00287
5 strcmp [call site] 00288
5 strcmp [call site] 00289
5 strcmp [call site] 00291
5 ssh_string_len [function] [call site] 00293
5 ssh_string_len [function] [call site] 00294
5 ssh_buffer_new [function] [call site] 00296
5 ssh_string_data [function] [call site] 00297
5 ssh_string_len [function] [call site] 00298
5 ssh_buffer_add_data [function] [call site] 00299
5 _ssh_buffer_unpack [function] [call site] 00300
5 ssh_buffer_free [function] [call site] 00301
5 ssh_string_len [function] [call site] 00303
5 strlen [call site] 00306
5 ssh_string_data [function] [call site] 00307
5 ssh_string_len [function] [call site] 00308
5 bcrypt_pbkdf [function] [call site] 00309
6 sha512_init [function] [call site] 00310
7 EVP_MD_CTX_new [call site] 00311
7 EVP_sha512 [call site] 00312
7 EVP_DigestInit_ex [call site] 00313
7 EVP_MD_CTX_free [call site] 00314
6 sha512_update [function] [call site] 00315
7 EVP_DigestUpdate [call site] 00316
6 sha512_final [function] [call site] 00317
7 EVP_DigestFinal [call site] 00318
7 EVP_MD_CTX_free [call site] 00319
6 sha512_init [function] [call site] 00320
6 sha512_update [function] [call site] 00321
6 sha512_final [function] [call site] 00322
6 bcrypt_hash [function] [call site] 00323
7 Blowfish_initstate [function] [call site] 00324
7 Blowfish_expandstate [function] [call site] 00325
8 Blowfish_stream2word [function] [call site] 00326
8 Blowfish_stream2word [function] [call site] 00327
8 Blowfish_stream2word [function] [call site] 00328
8 Blowfish_encipher [function] [call site] 00329
8 Blowfish_stream2word [function] [call site] 00330
8 Blowfish_stream2word [function] [call site] 00331
8 Blowfish_encipher [function] [call site] 00332
7 Blowfish_expand0state [function] [call site] 00333
8 Blowfish_stream2word [function] [call site] 00334
8 Blowfish_encipher [function] [call site] 00335
8 Blowfish_encipher [function] [call site] 00336
7 Blowfish_expand0state [function] [call site] 00337
7 Blowfish_stream2word [function] [call site] 00338
7 ssh_blf_enc [function] [call site] 00339
8 Blowfish_encipher [function] [call site] 00340
7 explicit_bzero [call site] 00341
7 explicit_bzero [call site] 00342
6 sha512_init [function] [call site] 00343
6 sha512_update [function] [call site] 00344
6 sha512_final [function] [call site] 00345
6 bcrypt_hash [function] [call site] 00346
6 explicit_bzero [call site] 00347
6 explicit_bzero [call site] 00348
5 explicit_bzero [call site] 00349
5 ssh_string_data [function] [call site] 00350
5 ssh_string_data [function] [call site] 00351
5 ssh_string_len [function] [call site] 00352
5 ssh_cipher_clear [function] [call site] 00353
4 ssh_buffer_new [function] [call site] 00354
4 ssh_buffer_set_secure [function] [call site] 00355
4 ssh_string_data [function] [call site] 00356
4 ssh_string_len [function] [call site] 00357
4 ssh_buffer_add_data [function] [call site] 00358
4 _ssh_buffer_unpack [function] [call site] 00359
4 pki_openssh_import_privkey_blob [function] [call site] 00361
5 _ssh_buffer_unpack [function] [call site] 00362
5 ssh_key_type_from_name [function] [call site] 00364
5 pki_import_privkey_buffer [function] [call site] 00366
6 ssh_key_new [function] [call site] 00367
6 ssh_key_type_to_char [function] [call site] 00368
6 _ssh_buffer_unpack [function] [call site] 00369
6 pki_privkey_build_rsa [function] [call site] 00371
7 RSA_new [call site] 00372
7 ssh_make_string_bn [function] [call site] 00373
7 ssh_make_string_bn [function] [call site] 00374
7 ssh_make_string_bn [function] [call site] 00375
7 ssh_make_string_bn [function] [call site] 00376
7 ssh_make_string_bn [function] [call site] 00377
7 ssh_make_string_bn [function] [call site] 00378
7 BN_CTX_new [call site] 00379
7 BN_new [call site] 00380
7 BN_new [call site] 00381
7 BN_new [call site] 00382
7 BN_dup [call site] 00383
7 BN_set_flags [call site] 00384
7 BN_set_flags [call site] 00385
7 BN_value_one [call site] 00386
7 BN_sub [call site] 00387
7 BN_div [call site] 00388
7 BN_value_one [call site] 00389
7 BN_sub [call site] 00390
7 BN_div [call site] 00391
7 RSA_set0_key [call site] 00392
7 RSA_set0_factors [call site] 00393
7 RSA_set0_crt_params [call site] 00394
7 BN_clear_free [call site] 00395
7 BN_clear_free [call site] 00396
7 EVP_PKEY_new [call site] 00397
7 EVP_PKEY_assign [call site] 00398
7 RSA_free [call site] 00399
7 EVP_PKEY_free [call site] 00400
6 ssh_string_burn [function] [call site] 00401
6 ssh_string_free [function] [call site] 00402
6 ssh_string_burn [function] [call site] 00403
6 ssh_string_free [function] [call site] 00404
6 ssh_string_burn [function] [call site] 00405
6 ssh_string_free [function] [call site] 00406
6 ssh_string_burn [function] [call site] 00407
6 ssh_string_free [function] [call site] 00408
6 ssh_string_burn [function] [call site] 00409
6 ssh_string_free [function] [call site] 00410
6 ssh_string_burn [function] [call site] 00411
6 ssh_string_free [function] [call site] 00412
6 _ssh_buffer_unpack [function] [call site] 00414
6 ssh_string_get_char [function] [call site] 00416
6 pki_key_ecdsa_nid_from_name [function] [call site] 00417
6 ssh_string_free [function] [call site] 00418
6 ssh_string_burn [function] [call site] 00419
6 ssh_string_free [function] [call site] 00420
6 ssh_string_burn [function] [call site] 00421
6 ssh_string_free [function] [call site] 00422
6 pki_privkey_build_ecdsa [function] [call site] 00423
7 ssh_make_string_bn [function] [call site] 00424
7 EC_KEY_new_by_curve_name [call site] 00425
7 EC_KEY_get0_group [call site] 00426
7 EC_POINT_new [call site] 00427
7 ssh_string_data [function] [call site] 00428
7 ssh_string_len [function] [call site] 00429
7 EC_POINT_oct2point [call site] 00430
7 EC_KEY_set_public_key [call site] 00431
7 EC_KEY_set_private_key [call site] 00432
7 EVP_PKEY_new [call site] 00433
7 EVP_PKEY_assign [call site] 00434
7 EC_KEY_free [call site] 00435
7 EC_POINT_free [call site] 00436
7 BN_free [call site] 00437
6 ssh_string_burn [function] [call site] 00438
6 ssh_string_free [function] [call site] 00439
6 ssh_string_burn [function] [call site] 00440
6 ssh_string_free [function] [call site] 00441
6 _ssh_buffer_unpack [function] [call site] 00443
6 pki_buffer_unpack_sk_priv_data [function] [call site] 00444
7 _ssh_buffer_unpack [function] [call site] 00445
6 ssh_string_free [function] [call site] 00446
6 ssh_string_free [function] [call site] 00447
6 ssh_string_get_char [function] [call site] 00448
6 pki_key_ecdsa_nid_from_name [function] [call site] 00449
6 ssh_string_free [function] [call site] 00450
6 ssh_string_free [function] [call site] 00451
6 pki_pubkey_build_ecdsa [function] [call site] 00452
6 ssh_string_free [function] [call site] 00453
6 FIPS_mode [call site] 00454
6 _ssh_buffer_unpack [function] [call site] 00456
6 pki_privkey_build_ed25519 [function] [call site] 00458
7 ssh_string_len [function] [call site] 00459
7 ssh_string_data [function] [call site] 00461
7 EVP_PKEY_new_raw_private_key [call site] 00462
7 ERR_get_error [call site] 00463
7 ERR_error_string [call site] 00464
6 ssh_string_burn [function] [call site] 00466
6 ssh_string_free [function] [call site] 00467
6 ssh_string_free [function] [call site] 00468
6 FIPS_mode [call site] 00470
6 _ssh_buffer_unpack [function] [call site] 00472
6 pki_buffer_unpack_sk_priv_data [function] [call site] 00473
6 ssh_string_free [function] [call site] 00474
6 pki_pubkey_build_ed25519 [function] [call site] 00475
6 ssh_string_free [function] [call site] 00476
6 ssh_key_free [function] [call site] 00478
5 ssh_key_free [function] [call site] 00480
4 ssh_buffer_get_ssh_string [function] [call site] 00481
4 ssh_buffer_get_len [function] [call site] 00482
4 ssh_buffer_get_u8 [function] [call site] 00483
4 ssh_key_free [function] [call site] 00484
4 ssh_buffer_free [function] [call site] 00486
4 ssh_buffer_free [function] [call site] 00487
2 pki_private_key_from_base64 [function] [call site] 00488
3 BIO_new_mem_buf [call site] 00489
3 PEM_read_bio_PrivateKey [call site] 00490
3 pem_get_password [function] [call site] 00491
4 strlen [call site] 00492
3 PEM_read_bio_PrivateKey [call site] 00493
3 PEM_read_bio_PrivateKey [call site] 00494
3 BIO_free [call site] 00495
3 ERR_get_error [call site] 00496
3 ERR_error_string [call site] 00497
3 EVP_PKEY_base_id [call site] 00499
3 EVP_PKEY_get0_EC_KEY [call site] 00500
3 ERR_get_error [call site] 00501
3 ERR_error_string [call site] 00502
3 pki_key_ecdsa_to_key_type [function] [call site] 00504
4 pki_key_ecdsa_to_nid [function] [call site] 00505
5 EC_KEY_get0_group [call site] 00506
5 EC_GROUP_get_curve_name [call site] 00507
3 EVP_PKEY_base_id [call site] 00509
3 EVP_PKEY_free [call site] 00511
3 ssh_key_new [function] [call site] 00512
3 ssh_key_type_to_char [function] [call site] 00513
3 pki_key_ecdsa_to_nid [function] [call site] 00514
3 EVP_PKEY_free [call site] 00515
3 ssh_key_free [function] [call site] 00516
1 ssh_key_free [function] [call site] 00517
1 nalloc_end [function] [call site] 00518