CVE-2026-97521

gfs2: fix quota init duplicate scan

Description

In the Linux kernel, the following vulnerability has been resolved: gfs2: fix quota init duplicate scan gfs2_quota_init() checks for duplicate quota_change IDs while holding qd_lock and the quota hash bucket bitlock. That path used gfs2_qd_search_bucket(), which takes a lockref reference via lockref_get_not_dead(). On PREEMPT_RT this may sleep, which is not allowed under the bucket bitlock, triggering "sleeping function called from invalid context". Use a no-ref bucket lookup in this path, then continue duplicate handling without taking a lockref there. Refactor gfs2_qd_search_bucket() to build on top of the no-ref helper so lookup traversal stays in one place. This patch fixes a bug reported by syzbot.

Key facts

Published
24 Sep 2026
Last changed
28 Sep 2026
Assigned by
Linux
EPSS
0.155% likely to be exploited in the next 30 days, higher than 4.643% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • de0d95c26c41c1776e4d23b1a8b3f2bcfd1dae5f up to but excluding 7fdcf16e5e14e11028f5bcaa6d25075eb5e876a0 (affected)
  • de0d95c26c41c1776e4d23b1a8b3f2bcfd1dae5f up to but excluding 812a766e2b0a8f4d094393fad13475c57f5f86db (affected)
  • de0d95c26c41c1776e4d23b1a8b3f2bcfd1dae5f up to but excluding b99a1f0f18ee50445907f55069e88bcfd8947383 (affected)
LinuxLinux
  • Default status: affected
  • 6.11 (affected)
  • 0 up to but excluding 6.11 (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2 up to and including * (unaffected)

Timeline

  1. 24 Sep 2026 Published

References