[Bug 295942] SSL_OP_ENABLE_KTLS_TX_ZEROCOPY_SENDFILE data corruption on files > 128KB

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 20 Oct 2026 04:41:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295942

--- Comment #14 from Dirk Meyer <dinoex@FreeBSD.org> ---
I can reproduce the issue now with FreeBSD 15.1-RELEASE-p5

This also happens in a VM, Proxmox Guest
lighttpd-1.4.85
openssl-3.5.9,1

vtnet0: <VirtIO Networking Adapter> on virtio_pci6
vtnet0: Ethernet address: e6:90:5b:66:b3:f0
vtnet0: netmap queues/slots: TX 1/256, RX 1/512
000.002098 [ 452] vtnet_netmap_attach       vtnet attached txq=1, txd=256
rxq=1, rxd=512
virtio_pci7: <VirtIO PCI (legacy) Network adapter> port 0xe300-0xe33f mem
0xfead8000-0xfead8fff,0x68
041c000-0x68041ffff irq 11 at device 19.0 on pci0
vtnet1: <VirtIO Networking Adapter> on virtio_pci7
vtnet1: Ethernet address: b2:f9:95:e3:ac:25
vtnet1: netmap queues/slots: TX 1/256, RX 1/512
000.002099 [ 452] vtnet_netmap_attach       vtnet attached txq=1, txd=256
rxq=1, rxd=512
virtio_pci8: <VirtIO PCI (legacy) Network adapter> port 0xe340-0xe37f mem
0xfead9000-0xfead9fff,0x680420000-0x680423fff irq 11 at device 20.0 on pci0
vtnet2: <VirtIO Networking Adapter> on virtio_pci8
vtnet2: Ethernet address: 42:3e:4b:8b:27:a6 
vtnet2: netmap queues/slots: TX 1/256, RX 1/512



virtio_pci6@pci0:0:18:0:        class=0x020000 rev=0x00 hdr=0x00 vendor=0x1af4
device=0x1000 subvendor=0x1af4 subdevice=0x0001
    vendor     = 'Red Hat, Inc.'
    device     = 'Virtio network device'
    class      = network
    subclass   = ethernet
virtio_pci7@pci0:0:19:0:        class=0x020000 rev=0x00 hdr=0x00 vendor=0x1af4
device=0x1000 subvendor=0x1af4 subdevice=0x0001
    vendor     = 'Red Hat, Inc.'
    device     = 'Virtio network device'
    class      = network
    subclass   = ethernet
virtio_pci8@pci0:0:20:0:        class=0x020000 rev=0x00 hdr=0x00 vendor=0x1af4
device=0x1000 subvendor=0x1af4 subdevice=0x0001
    vendor     = 'Red Hat, Inc.'
    device     = 'Virtio network device'
    class      = network
    subclass   = ethernet


# sysctl kern.ipc.tls | grep -v ': 0'
kern.ipc.tls.ifnet.permitted: 1
kern.ipc.tls.max_reclaim: 1024
kern.ipc.tls.sw_buffer_cache: 1
kern.ipc.tls.cbc_enable: 1
kern.ipc.tls.rx_enable: 1
kern.ipc.tls.enable: 1
kern.ipc.tls.ifnet_max_rexmit_pct: 2
kern.ipc.tls.maxlen: 16384
kern.ipc.tls.stats.ocf.separate_output: 43758
kern.ipc.tls.stats.ocf.inplace: 1593491
kern.ipc.tls.stats.ocf.tls13_chacha20_encrypts: 7070
kern.ipc.tls.stats.ocf.tls13_chacha20_decrypts: 3154
kern.ipc.tls.stats.ocf.tls13_gcm_encrypts: 1390952
kern.ipc.tls.stats.ocf.tls13_gcm_decrypts: 613979
kern.ipc.tls.stats.ocf.tls12_chacha20_encrypts: 202
kern.ipc.tls.stats.ocf.tls12_chacha20_decrypts: 180
kern.ipc.tls.stats.ocf.tls12_gcm_encrypts: 239025
kern.ipc.tls.stats.ocf.tls12_gcm_decrypts: 300772
kern.ipc.tls.stats.enable_calls: 776592
kern.ipc.tls.stats.offload_total: 776592
kern.ipc.tls.stats.threads: 8

-- 
You are receiving this mail because:
You are the assignee for the bug.