CVE-2026-97521
kernel: gfs2: fix quota init duplicate scan
Overview
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.
Source: OX vulnerability database
Severity
5.5 · LOW
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 42 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | kernel-uek +34 | 6.12.0-207.111.5.1.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.111-1.ph5 |
Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | bpftool +26 | affected |
| 8 | bpftool +46 | affected |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-default +2 | 6.12.0-160000.39.1 | SUSE-SU-2026:24197-1 |
| 16.0 | kernel-64kb +23 | 6.12.0-160000.39.1 | SUSE-SU-2026:24235-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.39.1.160000.2.26 | SUSE-SU-2026:24235-1 |
| 16.1 | kernel-devel-nvidia +2 | 6.12.0-160100.6.1 | SUSE-SU-2026:24691-1 |
SUSE Linux Enterprise Micro 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.2 | kernel-64kb +11 | 6.12.0-160000.39.1 | SUSE-SU-2026:24184-1 |
| 6.2 | kernel-default-base | 6.12.0-160000.39.1.160000.2.26 | SUSE-SU-2026:24184-1 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux-6-12 | 6.12.111-1~deb12u1 |
| 13 | linux | 6.12.111-1 |
| 14 | linux | 7.2.6-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 | |
| linux-6-12 | 6.12.111-1~deb12u1 |
openSUSE Leap 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +74 | 6.12.0-160000.39.1 | openSUSE-SU-2026:22091-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.39.1.160000.2.25 | openSUSE-SU-2026:22091-1 |
| 16.1 | cluster-md-kmp-nvidia64kb +11 | 6.12.0-160100.6.1 | openSUSE-SU-2026:22313-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 3 releases · 18 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +26 | affected |
| 24.04 | linux +18 | affected |
| 24.04 | linux-oracle-7-0 | 7.0.0-1016.18~24.04.1 |
| 24.04 | linux-aws-7-0 | 7.0.0-1017.18~24.04.1 |
| 24.04 | linux-gcp-7-0 | 7.0.0-1017.19~24.04.1 |
| 24.04 | linux-azure-fde-7-0 | 7.0.0-1019.19~24.04.1 |
14 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-97521
- git.kernel.org https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-97521.mbox
- git.kernel.org https://git.kernel.org/stable/c/7fdcf16e5e14e11028f5bcaa6d25075eb5e876a0
- git.kernel.org https://git.kernel.org/stable/c/812a766e2b0a8f4d094393fad13475c57f5f86db
- git.kernel.org https://git.kernel.org/stable/c/b99a1f0f18ee50445907f55069e88bcfd8947383
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-97521.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-500374.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-97521
- ubuntu.com https://ubuntu.com/security/notices/USN-8959-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8960-1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.