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

  io_uring/rw: ensure allocated iovec gets cleared for early failure

  A previous commit reused the recyling infrastructure for early cleanup,
  but this is not enough for t…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  io_uring/rw: ensure allocated iovec gets cleared for early failure

  A previous commit reused the recyling infrastructure for early cleanup,
  but this is not enough for t…
severity: none
published: '2025-12-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T20:10:00.197'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-40267'
references:
  - url: 'https://git.kernel.org/stable/c/094c6467fe05e0de618c5a7fcff4d3ee20aeaef8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00172
epssPercentile: 0.06564
ingestedAt: '2026-10-27T18:12:09.301Z'
---

## Overview

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

io_uring/rw: ensure allocated iovec gets cleared for early failure

A previous commit reused the recyling infrastructure for early cleanup,
but this is not enough for the case where our internal caches have
overflowed. If this happens, then the allocated iovec can get leaked if
the request is also aborted early.

Reinstate the previous forced free of the iovec for that situation.

## Remediation

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