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

  ipv6: flowlabel: cap duplicate leases per socket

  ipv6_flowlabel_get() allocates an ipv6_fl_socklist entry for every
  successful GET
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ipv6: flowlabel: cap duplicate leases per socket

  ipv6_flowlabel_get() allocates an ipv6_fl_socklist entry for every
  successful GET. The recheck path for a compatible e…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    6d917992c22b6029fc2dc1bd464b7f6709357161
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    2f1a6dd5c80ceb902f50449efe899f29cd7918e3
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    467467bf4209f9f8add0c648bae763f92a0224c3
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    8d6cd188508513503805c156165de38e4e4a8615
  - Linux 2.6.12
published: '2026-09-25'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:18:06.233'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97597'
references:
  - url: 'https://git.kernel.org/stable/c/2f1a6dd5c80ceb902f50449efe899f29cd7918e3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/467467bf4209f9f8add0c648bae763f92a0224c3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6d917992c22b6029fc2dc1bd464b7f6709357161'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8d6cd188508513503805c156165de38e4e4a8615'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97597.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-97597'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541130'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-97597'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97597'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97597.mbox
  - url: 'https://git.kernel.org/stable/c/0159f716d8adbe85951cdf008d0afe27d874eaa6'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00217
epssPercentile: 0.12034
ingestedAt: '2026-09-25T11:06:38.904Z'
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-770
---

## Overview

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

ipv6: flowlabel: cap duplicate leases per socket

ipv6_flowlabel_get() allocates an ipv6_fl_socklist entry for every
successful GET. The recheck path for a compatible existing flowlabel
links another lease without applying any lease admission check. Repeated
GET requests for one shareable label can therefore grow a socket's lease
list without bound.

Reject a new unprivileged lease once the socket already holds
FL_MAX_PER_SOCK leases. Check this on the shared recheck path so reuse
of a globally interned label, including the fl_intern() collision path,
is covered as well. New-label admission remains under the existing
mem_check() policy.

Use capable(CAP_NET_ADMIN) rather than ns_capable(), matching
mem_check(). An unprivileged user must not bypass the cap by creating a
user namespace and a netns where they have CAP_NET_ADMIN, which would
still consume host memory.

Check the capability only when the socket reaches the limit, so
successful unprivileged GET requests below the cap do not generate a
capability audit. Do the admission check before updating linger and
expires so a rejected GET does not refresh the shared label, matching
the existing socket-list allocation failure path.

## Remediation

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

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97597.json)
