In nbd-server in nbd before 3.24, there is an integer overflow with a resultant heap-based buffer overflow. A value of 0xffffffff in the name length field will cause a zero-sized buffer to be allocated for the name, resulting in a write to a dangling pointer. This issue exists for the NBD_OPT_INFO, NBD_OPT_GO, and NBD_OPT_EXPORT_NAME messages.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-03-06T00:00:00

Updated: 2024-08-03T05:03:32.903Z

Reserved: 2022-03-06T00:00:00

Link: CVE-2022-26495

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-03-06T06:15:07.303

Modified: 2024-02-04T11:15:08.227

Link: CVE-2022-26495

cve-icon Redhat

No data.