| Summary: | [bhyve] vbsc_ident buffer accessed out of bounds | ||
|---|---|---|---|
| Product: | Base System | Reporter: | caglar |
| Component: | misc | Assignee: | Marcelo Araujo <araujo> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | CC: | araujo, dcb314, emaste, virtualization |
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
caglar
2015-06-14 20:46:46 UTC
*** Bug 201288 has been marked as a duplicate of this bug. *** Canonicalize assignment. A commit references this bug: Author: araujo Date: Tue Nov 20 22:21:19 UTC 2018 New revision: 340707 URL: https://svnweb.freebsd.org/changeset/base/340707 Log: Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES to avoid buffer accessed out of bounds, also switch to snprintf(3). PR: 200859 Submitted by: Caglar <caglar@10ur.org> Obtained from: https://github.com/mist64/xhyve/pull/24 MFC after: 4 weeks Sponsored by: iXsystems Inc. Changes: head/usr.sbin/bhyve/pci_ahci.c head/usr.sbin/bhyve/pci_virtio_block.c Committed! Thanks and sorry the delay. A commit references this bug: Author: araujo Date: Tue Dec 18 03:00:12 UTC 2018 New revision: 342184 URL: https://svnweb.freebsd.org/changeset/base/342184 Log: MFC r340707: Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES to avoid buffer accessed out of bounds, also switch to snprintf(3). PR: 200859 Submitted by: Caglar <caglar@10ur.org> Obtained from: https://github.com/mist64/xhyve/pull/24 Changes: _U stable/12/ stable/12/usr.sbin/bhyve/pci_ahci.c stable/12/usr.sbin/bhyve/pci_virtio_block.c A commit references this bug: Author: jhb Date: Fri May 10 16:36:38 UTC 2019 New revision: 347436 URL: https://svnweb.freebsd.org/changeset/base/347436 Log: MFC 340707: Define AHCI_PORT_IDENT and increase by 1 the VTBLK_BLK_ID_BYTES to avoid buffer accessed out of bounds, also switch to snprintf(3). PR: 200859 Changes: _U stable/11/ stable/11/usr.sbin/bhyve/pci_ahci.c stable/11/usr.sbin/bhyve/pci_virtio_block.c |