Libnvme

Latest version: v1.11.1

Safety actively analyzes 688323 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

1.11.1

The TLS changes in v1.11 introduce a bug. When TLS is not used, libnvme would still tried to operate on the psk keystore (CONFIG_NVME_TLS). 'nvme connect' operation would fail with `Failed to set keyring` in this case (see https://github.com/linux-nvme/nvme-cli/issues/2573 for more details).

Headsup for packager: if your kernel doesn't enable CONFIG_NVME_TCP_TLS and CONFIG_NVME_HOST_AUTH, you should update to libnvme v1.11.1.

1.11

Francis Pravin (5):
types: add new fields added in TP4142
types: Add enum for Completion Condition of Get LBA status command
libnvme: add EMVS support to sanitize command
types: Added enum for SMVES event of PEL log
types: Add ETPVDS and SSI fields of sanitize status log

Hannes Reinecke (1):
linux: fixup PSK HMAC type '0' handling

Jeremy Kerr (1):
tests: mi: Add test for dlen/doff values through raw admin_xfer interface

Jian Zhang (2):
mi: add control primitive command
examples: add control primitive in mi-mctp

Martin George (3):
tree: fix dhchap_key mem leak
tree: fix dhchap_ctrl_key mem leak
tree: fix tls key mem leak

Nate Thornton (1):
types: Add TP4159 PCIe Infrastructure for Live Migration definitions

Nitin Sao (1):
types: Added new field CSER in enum as per TP4167

Prashanth Nayak (1):
linux: Correct error handling for derive_psk_digest

Steven Seungcheol Lee (1):
ioctl: refactoring set_features

Tokunori Ikegami (7):
types: add NVME_CHECK() definition to check nvme register field value
types: add NVME_VAL() definition
types: add NVME_CTRL_FNA definitions to get field values
types: add NVME_CTRL_OAES_TTHR definition
types: add NVME_CTRL_OAES get macro definitions
types: add NVMe 2.1 get log page LIDs
types: add struct nvme_id_ctrl_nvm ver and lbamqf member variables

rick (1):
types: add kv opcodes

1.10

Francis Pravin (4):
types: add enum for Protection Information Format
types: add new filed added in TP4141a
types: Changed the space into tap space
types: add new fields added in TP4165

Greg Joyce (1):
tree: handle no address phy slot dirs

Hannes Reinecke (2):
tree: optionally skip namespaces during scanning
linux: update TLS version 1 PSK derivation

Hao Jiang (2):
mi: fix the return error code.
mi: fix the rc for nvme_mi_scan_ep

Hasan Polat (1):
ioctl: update nvme_set_var_size_tags() to properly use reftag

Israel Rukshin (1):
libnvme: Introduce functions to generate host identifier and host NQN

Jinliang Wang (1):
mi: restore default ep timeout during admin_passthru

Martin George (1):
tree: fix segfault in nvme_free_tree()

Maurizio Lombardi (3):
types: add the nvme Cancel command opcode
linux: avoid potential null pointer dereference
mi-mctp: initialize the rc variable in handle_mctp_endpoint()

Nitin Sao (3):
types: add new field added in TP4090
types: add new field added in TP4099
types: Added new controller attribute as per TP4104

Sam James (1):
Use C99 types for uint32_t

Tokunori Ikegami (2):
types: add PEL vendor specific and TCG defined events definitions
tree: fix nvme_read_config() to not set errno if return 0

Tomas Bzatek (5):
linux: Fix uninitialized variables
fabrics: Introduce simple URI parser
tests: Add uriparser tests
fabrics: Unescape URI elements
linux: Remove the use of OpenSSL Engine API

Warner Losh (2):
examples: Include sys/stat.h for S_I* constants
ccan/endian.h: Only define __{BIG,LITTLE}_ENDIAN if undefined.

dependabot[bot] (1):
build(deps): bump mosteo-actions/docker-run from 1 to 2

1.9

Hannes was busy to get the TLS support for TCP getting into shape. While Tokunori is busy updating the type definitions. And Tomas is working on getting the NBFT bits more usable.

Thanks a lot everyone who contributed to this release via code or bug reports.


Ben Chuang (2):
util: Fixed nvme_id_ns_flbas_to_lbaf_inuse()
test: Add unit test for nvme_id_ns_flbas_to_lbaf_inuse()

Caleb Sander Mateos (2):
sysfs: minimize heap allocations of sysfs paths
test: use diff to compare sysfs output

Daniel Wagner (18):
log: move nvme_{set|get}_debug to log.c
ioctl: export nvme_submit_passthru{64} as weak symbol
ioctl: remove incomplete debug logging infrastructure
tree: fix lba_count size calculation
Revert "ioctl: Return NVMe status in nvme_directive_send_id_endir()"
Revert "ioctl: add nvme_get_features_host_id2()"
Revert "ioctl: add nvme_get_features_timestamp2()"
Revert "ioctl: add nvme_set_features_iocs_profile2()"
Revert "ioctl: add nvme_set_features_host_id2()"
Revert "ioctl: add nvme_set_features_host_behavior2()"
Revert "ioctl: add nvme_set_features_timestamp2()"
Revert "ioctl: Update stub functions to match documentation"
Revert "ioctl: Update function documentation"
Revert "fabrics: retry discovery log page when DNR is not set"
Revert "ioctl: return EPROTO when an NVMe status occurred"
tree: use strtou32 to read lba_size
build: Update version to v1.9
doc: Regenerate all docs for v1.9

Hannes Reinecke (26):
linux: allow for NULL argument in nvme_lookup_keyring()
linux: add nvme_read_key()
linux: add nvme_update_key()
crc32: Add CRC32 algorithm
linux: add nvme_export_tls_key()
linux: add nvme_import_tls_key()
linux: rework nvme_insert_tls_key_versioned()
tree: read TLS key in nvme_configure_ctrl()
json: export TLS key in PSK interchange format
json: import TLS key from PSK interchange format
json: dump TLS key data in PSK interchange format
linux: Add nvme_scan_tls_keys()
config-schema.json.in: tls keys and keyrings are strings
fabrics: keyring is a long
libnvme: add missing symbol nvme_scan_tls_keys
ioctl: return EPROTO when an NVMe status occurred
fabrics: retry discovery log page when DNR is not set
ioctl: Update function documentation
ioctl: Update stub functions to match documentation
ioctl: add nvme_set_features_timestamp2()
ioctl: add nvme_set_features_host_behavior2()
ioctl: add nvme_set_features_host_id2()
ioctl: add nvme_set_features_iocs_profile2()
ioctl: add nvme_get_features_timestamp2()
ioctl: add nvme_get_features_host_id2()
ioctl: Return NVMe status in nvme_directive_send_id_endir()

Leonardo da Cunha (1):
types: Added Command and Feature Lockdown LID

Liang Yan (2):
build: Add vscode directory into ignore
linux: Allocate aligned payload for nvme_get_telemetry_log

Martin George (1):
tree: fix mem leak in nvme_ns_init()

Maurizio Lombardi (1):
fabrics: check the read() return value

Nilay Shroff (2):
libnvme : record the nvme pci adapter physical slot
tree: Add NVM subsystem controller identifier

Tokunori Ikegami (26):
types: Add persistent event log reporting context definitions
types: Add PEL reporting context port identifier type definitions
types: Add PEL header additional information definitions
types: Add boot partition information definitions
types: Fix enum nvme_pel_rci documentation error
types: Add PEL set feature event layout definitions
ioctl: Move nvme_cmd_dword_fields definitions into header file
types: Fix EOM header optional data present fields definition
types: Add optional data present filed mask and shift definition
types: Fix NVME_CSTS_SHST_MASK definition
ioctl: Add nvme_ns_mgmt_delete_timeout()
types: Fix boot partition read offset (BPROF) mask value
types: Add NVME_CMBEBS property definitions
types: Add CMBSWTP property definitions
types: Add NVME_CMIC definitions
types: Add enum nvme_csts documentation
types: add controller status shutdown type (CSTS.ST) definition
types: Add enum nvme_unit/cmbebs/cmbswtp/flbas/cmic documentation
types: add enum nvme_cap documentation
types: add CAP.CPS and CAP.NSSS definitions
test: add CSTS.ST, CAP.CPS and CAP.NSSS registers
examples: fix mi-mctp build warning errors
types: Fix PMRWBM register name
types: fix CRTO.CRIMT mask value definition
types: add controller properties enum documentation
types: add ASQ, ACQ and BPMBL controller properties definitions

Tomas Bzatek (12):
log: Introduce nvme_get_logging_level()
log: Respect DEFAULT_LOGLEVEL on uninitialized logging
doc: Document the NBFT API
nbft: Add SSNS 'unavailable' flag
nbft: Add SSNS 'discovered' flag
tests: Adapt to added NBFT SSNS flags
tests: Add complex NBFT table from Dell R660
nbft: Whitespace fixes
json: Fix uninitialized variables
build: Switch default meson buildtype to 'debugoptimized'
tests: Add sample NBFT table with mpath IPv4+IPv6 discovery
util: Add string constant for ENVME_CONNECT_IGNORED

1.8

It's not a very interesting release this time. There are mostly small bug fixes and a few improvements in the testing area. Though it's worth to get these fixes out.

Thanks to all: Hannes Reinecke, Jian Zhang, Jinliang Wang, Leonardo da Cunha, Martin George, Martin Wilck, Tokunori Ikegami, Tomas Bzatek


Daniel Wagner (12):
build: fix release python tag match
build: checkout full repo for checkpatch
json-schema: add keyring and tls_key details
tree: use logical block size for lba
libnvme: export nvme_dump_tree
json: dump the output to the user selected filedescriptor
nvme: allow to overwrite base sysfs path
nvme: allow to overwrite hostnqn and hostid
test: read and dump sysfs tar file
tree: do not issue an error when subsys lookup fails during scanning
build: Update version to v1.8
doc: Regenerate all docs for v1.8

Hannes Reinecke (3):
meson.build: fixup 'join' syntax
Merge pull request 770 from hreinecke/fix-join.v2
fabrics: add 'concat' option

Jian Zhang (1):
example: fix mi identify failed with error cntid

Jinliang Wang (1):
mi: set correct rc and errno when crc mismatch

Leonardo da Cunha (1):
util: Added function to find specific UUID in UUID list.

Martin George (1):
linux: avoid segfault in check-tls-key due to null hostnqn/subsysnqn

Martin Wilck (1):
nbft: avoid duplicate entries in ssns->hfis

Tokunori Ikegami (1):
types: Add controller properties CMBEBS, CMBSWTP and NSSD

Tomas Bzatek (9):
fabrics: Explicitly initialize auto-cleanup variables
linux: Explicitly initialize auto-cleanup variables
tree: Explicitly initialize auto-cleanup variables
util: Explicitly initialize auto-cleanup variables
nbft: Fix (struct nbft_info_subsystem_ns).num_hfis off-by-one
tests: Fix diffs output for duplicate HFI entries
tests: Add sample NBFT table from Dell PowerEdge R760
tests: Add sample NBFT table from Dell PowerEdge R660
linux: Explicitly initialize auto-cleanup variables

dependabot[bot] (1):
build(deps): bump codecov/codecov-action from 3 to 4

1.7.1

The v1.7 contains a bug in the sysfs scan topology code which could double free some memory. As this is a very common code path to execute, it's worth to get this fix out fast.

See 762 for more details.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.