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

  gfs2: move quota_init qc iterator increment

  Move qc++ from the loop body into the for-loop increment
  expression in gfs2_quota_init().

  This keeps iterator progression …
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  gfs2: move quota_init qc iterator increment

  Move qc++ from the loop body into the for-loop increment
  expression in gfs2_quota_init().

  This keeps iterator progression …
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    04ec2f3b29b3c8a59950b8816b5ebc8ba052808a
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    21a50a9373adab35ffadf5cf59272dc99078170e
  - >-
    Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <
    942202677f8f2ee448a6a2feb06aeeaf520342e3
  - Linux < 6.12.111
  - Linux < 6.18.53
  - Linux (all versions)
published: '2026-09-24'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T05:17:07.647'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97520'
references:
  - url: 'https://git.kernel.org/stable/c/04ec2f3b29b3c8a59950b8816b5ebc8ba052808a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/21a50a9373adab35ffadf5cf59272dc99078170e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/942202677f8f2ee448a6a2feb06aeeaf520342e3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-24T16:47:15.859Z'
---

## Overview

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

gfs2: move quota_init qc iterator increment

Move qc++ from the loop body into the for-loop increment
expression in gfs2_quota_init().

This keeps iterator progression explicit and avoids mixing pointer
advance with duplicate-slot handling in the loop body.

## Remediation

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