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

  ring-buffer: Add checking nr_subbufs to persistent ring buffer validation

  Sashiko reported that the code was using meta->nr_subbufs without making
  sure that it matched…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ring-buffer: Add checking nr_subbufs to persistent ring buffer validation

  Sashiko reported that the code was using meta->nr_subbufs without making
  sure that it matched…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 3ec743d558f111d8999aea24577ba66c65ee2eeb <
    f0467190e6a9fc61e343c8064ef16aad513788c3
  - >-
    Linux >= f5b95f1fa2ef3a03f49eeec658ba97e721412b32 <
    69d502457e3f76142f7fcf6e2625e80e0ce8a60f
  - >-
    Linux >= f5b95f1fa2ef3a03f49eeec658ba97e721412b32 <
    6c001a62c34f13fe1c6a24304c289b387d9e697d
  - Linux 0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf
  - Linux >= 6.12.16 < 6.12.111
  - Linux >= 6.13.4 < 6.14
  - Linux 6.14
published: '2026-09-25'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T11:18:10.673'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98057'
references:
  - url: 'https://git.kernel.org/stable/c/364a31052aa9ef91db137f82d797366007cd85b7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/69d502457e3f76142f7fcf6e2625e80e0ce8a60f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6c001a62c34f13fe1c6a24304c289b387d9e697d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f0467190e6a9fc61e343c8064ef16aad513788c3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98057.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98057'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2541162'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98057'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98057'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98057.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00168
epssPercentile: 0.06054
cvssSource: vendor
ingestedAt: '2026-09-25T11:06:38.844Z'
---

## Overview

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

ring-buffer: Add checking nr_subbufs to persistent ring buffer validation

Sashiko reported that the code was using meta->nr_subbufs without making
sure that it matched the nr_pages + 1 on data that was assuming the two
were the same.

Add a check to the persistent ring buffer validation code to make sure
that the saved nr_subbufs matches what we expect.

## 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 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-10-17 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98057.json)
