| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| Mongoose is an embedded web server and network library. Prior to 7.22, the Mongoose MQTT broker tutorial's mg_mqtt_next_topic() function can read two bytes beyond msg->dgram.len when a malformed MQTT SUBSCRIBE packet supplies a topic position that does not leave enough bytes for the topic-length field. Because tutorials/mqtt/mqtt-server/main.c reads that field without validating the complete two-byte access against the datagram boundary, an unauthenticated remote MQTT client can trigger invalid memory access and crash the broker. This issue is fixed in 7.22. |
| Mongoose is an embedded web server and network library. In 7.23, Mongoose's mg_http_parse_headers() in src/http.c can accept an HTTP/1 request after the fixed MG_MAX_HTTP_HEADERS table is exhausted and silently omit later framing headers such as Content-Length or Transfer-Encoding. A conforming frontend can treat bytes as the first request body while Mongoose treats the request as bodyless and parses those bytes as a second request, enabling request smuggling and bypass of a frontend path ACL when the frontend preserves the late framing header. Earlier releases may also be affected, but their status has not been established. This issue is fixed in 7.24. |
| The illumos IPv4 input path mishandles self-encapsulated packets received without IPsec protection, allowing a remote attacker to panic or hang the system. A self-encapsulated packet is an IP-in-IP packet with the same inner and outer addresses. For such a packet, ip_fanout_v4() in usr/src/uts/common/inet/ip/ip_input.c takes the protocol from the inner header and delivers the packet to the matching transport endpoint through the tunnel path. It does not initialize the squeue fields of the receive attributes that TCP depends on. A remote, unauthenticated attacker can send a single self-encapsulated TCP SYN segment addressed to any port that has a listening TCP socket. Depending on the state of the listener, the kernel then either dereferences a NULL squeue pointer and panics, or spins indefinitely on a CPU. IPv6 is not affected. The flaw is present in all versions of illumos-gate prior to commit a3793644. |
| A missing authorization check in viona allows a process in a non-global zone to attach to a datalink that is not assigned to that zone. viona is the in-kernel virtio network device that illumos provides to bhyve guests. viona_ioc_create() in usr/src/uts/intel/io/viona/viona_main.c opens the datalink identified by a link ID passed by the calling process, without checking that the link is visible in that process's zone. The attacker is a privileged user in a non-global zone that has access to the viona and bhyve devices, such as a bhyve-branded zone. Such a user can create a viona instance on a datalink assigned to another zone or to the global zone. They can then send and receive frames on it, bypassing the network isolation between zones. The flaw has existed since viona was integrated (illumos-gate commit b22a70ab), and affects any illumos distribution prior to illumos-gate commit e963a9b4. |
| An out-of-bounds read in the illumos bhyve virtio implementation allows a guest to cause the bhyve process to read heap memory beyond a device's MSI-X table. A guest assigns an MSI-X vector to a virtqueue through either the legacy or the modern virtio PCI configuration registers. The code in usr/src/cmd/bhyve/common/virtio.c stores that vector without comparing it with the size of the device's MSI-X table. For the viona network device, pci_viona_ring_set_msix() in usr/src/cmd/bhyve/common/pci_virtio_viona.c uses the vector as an index into the table. It passes the address and data of the entry at that index to the kernel as the interrupt configuration for the ring. A privileged user within a guest VM can set a queue vector beyond the end of the table. Adjacent bhyve heap memory is then used as an MSI-X table entry, and its contents are programmed as the ring's interrupt address and data. The flaw has existed since viona was integrated (illumos-gate commit b22a70ab), and affects any illumos distribution prior to illumos-gate commit b1f32943. |
| An integer underflow in the illumos bhyve virtio-blk device model allows a guest to cause block I/O to be performed on bhyve process memory outside the guest's buffers. pci_vtblk_proc() in usr/src/cmd/bhyve/common/pci_virtio_block.c copies the request header from a descriptor chain. It then accounts for the trailing status byte by decrementing the count of bytes remaining in the chain, without first checking that any remain. For a chain with a total length equal to the size of the header, the count wraps to a very large value. The I/O vector for the request is then built from entries beyond the end of the chain, which contain stale addresses and lengths left by earlier requests. A privileged user within a guest VM can submit such a request. The block backend then reads disk contents into, or writes to the guest's disk from, bhyve process memory that the request does not describe. This may corrupt the bhyve process or disclose its memory to the guest. The flaw has existed since November 2025 (illumos-gate commit c3b97060), and affects any illumos distribution prior to illumos-gate commit d8a43cb7. |
| An out-of-bounds write in the illumos bhyve virtio implementation allows a guest to corrupt heap memory of the bhyve process. The modern virtio PCI transport lets the driver set the size of a virtqueue. vi_pci_common_cfg_write() in usr/src/cmd/bhyve/common/virtio.c accepts any power of two, and does not compare it with the maximum queue size set by the device model. Device models size their per-request state by that maximum. The virtio-blk device model, for example, keeps a fixed array of 128 request structures. It indexes the array with the head descriptor index of each request, which is limited only by the queue size. A privileged user within a guest VM can raise the queue size to as much as 32768 and submit a request with a large descriptor index. Request state, including I/O vector and status pointers, is then written beyond the end of the array. This corrupts the bhyve process heap and may lead to code execution in the bhyve process. That process typically runs as root within the zone that hosts the VM. The flaw has existed since November 2025 (illumos-gate commit c3b97060), and affects any illumos distribution prior to illumos-gate commit 4f298dea. |
| An unchecked return value in the illumos bhyve virtio implementation allows a guest to write to memory of the bhyve process outside the guest. _vq_record() in usr/src/cmd/bhyve/common/virtio.c builds the I/O vector for a descriptor chain, and stores the result of paddr_guest2host() as the base of each element. It does not check for NULL, which is returned for a guest physical address range that has no backing memory. Device models then receive elements with a NULL base and a guest-chosen length. The virtio-blk device model computes the location of the request status byte as the last byte of the final element. A privileged user within a guest VM can submit a block request in which the final descriptor refers to unbacked guest physical memory. The one-byte completion status is then written to a chosen address in the first 4 GiB of the bhyve process's address space. The bhyve process typically runs as root within the zone that hosts the VM. The flaw has been present since bhyve was imported (illumos-gate commit bf21cd93), and affects any illumos distribution prior to illumos-gate commit 988c96cf. |
| A reachable assertion in the illumos IP Filter Ethernet hook allows a bhyve guest to panic the host. ipf_hook_ether() in usr/src/uts/common/inet/ipf/ip_fil_solaris.c filters frames sent and received by viona network devices. It uses VERIFY to assert that a frame with the VLAN ethertype is at least as long as a VLAN-tagged Ethernet header (18 bytes). viona accepts frames from the guest that are as short as an Ethernet header with no VLAN tag (14 bytes). The assertion can therefore fail on data that the guest controls. The guest's network device must have an active IP Filter hook, as is the case when firewall rules are applied to the guest's datalink. A privileged user within such a guest VM can transmit a frame of 14 to 17 bytes with ethertype 0x8100. This causes a denial of service of the host and all guests running on it. The flaw has existed since viona was integrated (illumos-gate commit b22a70ab), and affects any illumos distribution prior to illumos-gate commit 12862163. |
| An out-of-bounds read in viona allows a bhyve guest to cause host kernel memory outside the guest to be interpreted as virtqueue descriptors. viona is the in-kernel virtio network device that illumos provides to bhyve guests. The flaw is in vq_map_indir_desc_bufs() in usr/src/uts/intel/io/viona/viona_ring.c, which processes an indirect descriptor table. For each 16-byte descriptor, it holds the single guest page that contains the start of the descriptor, and copies the descriptor from that page's kernel mapping. It does not check that the descriptor lies entirely within the page. The address of the table is not required to be aligned, so a descriptor can straddle a page boundary. The trailing bytes of such a descriptor are read from the memory that follows the page in the host kernel's address space, and not from the next guest page. A privileged user within a guest VM that has negotiated indirect descriptors can place an indirect table at an unaligned address. Up to 15 bytes of adjacent host memory are then used as the address, length, flags and next fields of a descriptor. viona reports the total length of each descriptor chain back to the guest in the used ring. A guest can therefore learn the host bytes that were used as a descriptor length, and can repeat the request to observe them change. The flaw has existed since 2021 (illumos-gate commit 427f9b9a), and affects any illumos distribution prior to illumos-gate commit 8b27e3ce. |
| An out-of-bounds read in the illumos SCTP implementation allows a remote attacker to obtain four bytes of kernel heap memory. sctp_init2vtag() in usr/src/uts/common/inet/sctp/sctp_init.c returns the initiate tag of an INIT chunk without checking that the chunk is long enough to contain one. It can be called with a chunk that has not had its length validated. A remote, unauthenticated attacker can send an SCTP packet in which the INIT chunk is truncated to the four-byte chunk header. The kernel then reads the four bytes that follow the packet data. It returns them to the sender as the verification tag of the ABORT chunk sent in reply. If the read extends into unmapped memory, the system panics instead. The flaw is present in all versions of illumos-gate prior to commit 7ac13937. |
| An out-of-bounds read in illumos ICMPv6 Packet Too Big processing allows kernel heap memory to be disclosed to local users. ip_get_dst_v6() in usr/src/uts/common/inet/ip/ip6.c finds the final destination of the packet quoted in an inbound ICMPv6 error by looking for a routing header. It parses the header before the routing header, not the routing header. When the quoted packet's IPv6 header is immediately followed by a routing header, fields of the fixed IPv6 header are interpreted as the routing header's length and segments-left values. icmp_inbound_too_big_v6() calls ip_get_dst_v6() without the message block that would limit the read. A 16-byte address is therefore read from up to about 2 KB beyond the start of the quoted header, which can be past the end of the received packet. Those 16 bytes become the destination address of a new destination cache entry, which any local user can display with netstat(8). An attacker needs to be able to send a crafted ICMPv6 Packet Too Big message to the system, and to have an unprivileged local account. Such an attacker can read kernel heap memory, 16 bytes per message. The flaw has existed since 2009 (illumos-gate commit bd670b35), and affects any illumos distribution prior to illumos-gate commit 3835386d. |
| A use after free in the illumos IPv4 ICMP error generation path allows a remote attacker to cause the kernel to read freed memory. The flaw is in icmp_pkt() in usr/src/uts/common/inet/ip/ip.c. It applies to ICMP errors generated in response to IPv4 packets that encapsulate IPv4 or IPv6 (IP protocol 4 or 41). For such a packet, icmp_pkt() computes a pointer to the inner IP header and then calls pullupmsg(). If the packet spans more than one message block, as it does after fragment reassembly, pullupmsg() copies the data into a new buffer and frees the original. The stale pointer is then used to parse the inner header. A remote, unauthenticated attacker can send a fragmented IP-in-IP packet that elicits an ICMP error to cause the kernel to parse freed kernel heap memory as an IP header. The result determines how much of the original packet is quoted in the ICMP error that is returned. The flaw has existed since 2021 (illumos-gate commit 9495f63e), and affects any illumos distribution prior to illumos-gate commit bdccbe63. |
| An out-of-bounds write in viona allows a bhyve guest to corrupt host kernel heap memory and panic the host. viona is the in-kernel virtio network device that illumos provides to bhyve guests. The flaw is in viona_tx_offloads() in usr/src/uts/intel/io/viona/viona_tx.c. It applies when a guest requests TCP segmentation offload for a transmitted packet and the host link provides only partial checksum offload. The function recomputes the TCP pseudo-header checksum and stores it at the offset of the TCP checksum field in the copied packet headers. It does so without checking that the packet is TCP or that the checksum field lies within the buffer that contains the copied headers. A privileged user within a guest VM controls the virtio-net transmit descriptors and header. Such a user can submit a short non-TCP packet marked for TCPv4 or TCPv6 segmentation offload to cause a two-byte write beyond the end of that buffer. This corrupts adjacent host kernel heap memory and can panic the host, causing a denial of service of the host and all guests running on it. The flaw has existed since April 2026 (illumos-gate commit 22734934), and affects any illumos distribution prior to illumos-gate commit 4ddffdeb. |
| Three memory-safety flaws in illumos STREAMS processing allow a local user to read and modify kernel heap memory and gain root privileges. First, the timod module in usr/src/uts/common/io/timod.c does not validate the offsets and lengths in a T_UNITDATA_REQ message sent by the calling process. timod is pushed onto transport endpoints opened through the XTI/TLI library. When tim_filladdr() rebuilds such a message, it copies the options from the OPT_offset in the message, which it applies relative to the end of the message and not the start. A crafted offset and length cause kernel heap memory outside the message to be copied into the new message. That memory includes the STREAMS data block header, which contains kernel pointers. On a connectionless loopback transport endpoint such as /dev/ticlts, those bytes are returned to the process in the resulting T_UDERROR_IND. Second, the I_FDINSERT handler in strioctl() in usr/src/uts/common/os/streamio.c compares the signed length of the control buffer with an unsigned value, so a negative length passes validation. The handler then writes a four-byte value at an offset chosen by the process, beyond the end of the allocated message. The value is the device minor number of the stream named in the request. An unprivileged local user can combine the two. The read locates the credential structure of their process, and the write sets the user ID in that structure to zero. Third, audit_sock() in usr/src/uts/common/c2/audit.c reads a socket address from a transport message at an offset taken from the message. It does not check that the address lies within the message, so when auditing is enabled this is a further out-of-bounds read. The flaws are present in all versions of illumos-gate prior to commit a324e0c7. |
| An out-of-bounds write in the illumos NFS server allows a remote attacker to corrupt kernel memory. xdr_inline_decode_nfs_fh3() in usr/src/uts/common/fs/nfs/nfs3_xdr.c checks the lengths of the two variable-length fields of an NFSv3 file handle against the total size of the handle. It does not check them against the 26-byte (NFS_FH3MAXDATA) arrays that they are copied into, so a crafted file handle overflows the decoded handle by up to 16 bytes. The arguments of requests such as LOOKUP are a file handle followed by a name. For these requests, the overflow overwrites the pointer to the buffer that receives the name. The name supplied in the same request is then copied to an address chosen by the attacker. Arguments are decoded before the request is authenticated or matched against an export. A remote, unauthenticated attacker who can send requests to the NFS server can therefore write chosen data to a chosen kernel address. This may lead to arbitrary code execution in the kernel. Where the NFS server runs in a non-global zone, the impact extends beyond that zone to the entire system. The NFSv4 file handle decoder, xdr_inline_decode_nfs_fh4(), lacks the same check. NFSv4 is much less affected, because its file handle is allocated separately and the overflow can only corrupt nearby kernel heap memory. The flaw has existed since 2006 (illumos-gate commit 27242a7c), and affects any illumos distribution prior to illumos-gate commit c440d1a5. |
| A race condition in the SMB/CIFS open() can yield a used-after-freed control block that in theory could be rewired to attack kernel memory. |
| Mongoose is an embedded web server and network library. Prior to 7.24, a remote unauthenticated TLS client can cause a heap out-of-bounds read in mg_tls_server_recv_hello() in src/tls_builtin.c and the generated mongoose.c when Mongoose uses MG_TLS_BUILTIN and a ClientHello extension block ends with fewer than four bytes. The parser reads the extension length before checking that the type and length header is complete, and related key-share length reads also lack minimum-structure validation, allowing a malformed handshake to terminate the worker or process. This issue is fixed in 7.24. |
| In the Linux kernel, the following vulnerability has been resolved:
tcp: tcp_metrics: use the socket netns, not the dst device netns
tcp_get_metrics(), __tcp_get_metrics_req() and tcpm_new() look up and
create metrics entries in the netns of the cached dst device rather than
in the netns of the socket.
These usually match, but not after the device has been moved to another
netns or unregistered: a socket can keep a stale dst in sk_dst_cache
until it is checked again, and tcp_update_metrics() reads it with
__sk_dst_get() without any dst_check(). Once dst_dev_put() has run, the
dst device is blackhole_netdev and the entry is created in init_net.
Before that, for instance for routes through nexthop objects whose
cached dsts are released from a nested RCU callback, it is the netns the
device has just been moved to.
A TCP socket of netns A that enters TIME_WAIT in that window then
creates or updates an entry carrying A's addresses and RTT in another
netns, where TCP_METRICS_CMD_GET can dump it and where new connections
to the same peer inherit those metrics.
The metrics belong to the netns of the socket, so use sock_net() for
full sockets and request sockets, and pass it to tcpm_new().
Kernel sockets that do not hold a netns reference can still reach
tcp_time_wait() after tcp_net_metrics_exit_batch() has flushed the
entries of their dismantling netns, and an entry created then would
never be flushed and would keep a dangling tcpm_net. Make tcpm_new()
refuse to create entries when check_net() fails. Its callers are in
an RCU read-side section, and cleanup_net() waits for a grace period
between the refcount reaching zero and the flush, so an entry added
after a successful check is always seen by the flush. |
| In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: HWS, fix modify header pool creation race
mlx5_cmd_hws_modify_header_alloc() creates a pool at the index after
the last one if no pool matches the pattern. TC and CT allocate modify
headers concurrently, meaning two callers can take the same index and
the second call fails with -EBUSY.
Its error path also destroys the pool it just created although another
caller may already use it. Keep such a pool since cleanup releases it.
Pools now live until cleanup so the lookup needs no lock. A miss looks
again under a mutex before creating the pool.
Tested for regressions on ConnectX-7 with firmware 28.48.1000. |