---
id: CVE-2026-97618
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  io_uring/net: don't overconsume buffers when using MSG_TRUNC

  When a recv/recvmsg is issued with MSG_TRUNC and the incoming packet is
  larger than the provided buffer, t…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  io_uring/net: don't overconsume buffers when using MSG_TRUNC

  When a recv/recvmsg is issued with MSG_TRUNC and the incoming packet is
  larger than the provided buffer, t…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-805
  - CWE-400
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= ae98dbf43d755b4e111fcd086e53939bef3e9a1a <
    41d24d2fb168fa05fcaf9ec4e55478411dbbf8e1
  - >-
    Linux >= ae98dbf43d755b4e111fcd086e53939bef3e9a1a <
    927d96f91c582b319d104ecf50ec935a8dc29193
  - >-
    Linux >= ae98dbf43d755b4e111fcd086e53939bef3e9a1a <
    2e70ea75c7bb38a6dc212975f887310f14f7c043
  - >-
    Linux >= ae98dbf43d755b4e111fcd086e53939bef3e9a1a <
    6028b543884f8735e057ec9eea4908cd61cab230
  - Linux 6.12
published: '2026-09-25'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:18:08.030'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97618'
references:
  - url: 'https://git.kernel.org/stable/c/2e70ea75c7bb38a6dc212975f887310f14f7c043'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/41d24d2fb168fa05fcaf9ec4e55478411dbbf8e1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6028b543884f8735e057ec9eea4908cd61cab230'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/927d96f91c582b319d104ecf50ec935a8dc29193'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97618.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97618'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541281'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97618'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97618'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97618.mbox
  - url: 'https://kernelcve.org/list/?q=CVE-2026-97618'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00206
epssPercentile: 0.10473
cvssSource: vendor
ingestedAt: '2026-09-25T11:06:38.898Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

io_uring/net: don't overconsume buffers when using MSG_TRUNC

When a recv/recvmsg is issued with MSG_TRUNC and the incoming packet is
larger than the provided buffer, the net layer returns the full length
of the packet rather than the number of bytes actually copied into the
buffer.  As a result, io_uring advances more of the provided buffer ring
than was actually filled.  Use the actual filled region size to consume
the buffer, but still return the full size to preserve MSG_TRUNC
semantics.

Take care with multishot, because that seems to already truncate the
consumption based on the available payload size.

This was reported in https://github.com/axboe/liburing/issues/1619.

[axboe: fold in size_t unsigned fix]

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-10-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97618.json)
