Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-97521

Опубликовано: 24 сент. 2026
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

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.

A flaw was found in the Linux kernel's GFS2 (Global File System 2) file system, which can lead to a Denial of Service (DoS). In real-time kernel configurations, the quota initialization routine improperly invokes a sleeping function while holding an atomic lock. A local user capable of triggering GFS2 quota operations could exploit this behavior to cause a kernel crash and system unresponsiveness.

Отчет

A LOW impact denial of service flaw was found in the Linux kernel's GFS2 file system, affecting the kernel and kernel-rt packages in Red Hat Enterprise Linux 7, 8 and 9, as well as the RHEL CoreOS 9 components used by OpenShift Container Platform 4. During GFS2 quota initialization, the duplicate quota_change ID scan uses gfs2_qd_search_bucket(), which acquires a lockref reference via lockref_get_not_dead() while the quota hash bucket bitlock is held. On real-time (PREEMPT_RT) kernels this operation may sleep in an atomic context, triggering a "sleeping function called from invalid context" error that can crash the kernel. A local user able to trigger GFS2 quota operations could use this flaw to cause a denial of service (kernel crash and system unresponsiveness). Red Hat Product Security rated this flaw LOW impact because it only manifests on real-time (PREEMPT_RT) kernel configurations, requires local access with the ability to trigger GFS2 quota operations, and is limited to availability impact with no confidentiality or integrity impact. Several Red Hat Enterprise Linux 8 and 9 update streams (rhel-8.4.0.z, rhel-8.6.0.z, rhel-8.8.0.z, rhel-9.2.0.z, rhel-9.4.z), Red Hat Enterprise Linux 10, Red Hat In-Vehicle OS, and OpenShift Container Platform 4.12 through 4.18 are not affected because the vulnerable code is not present in those kernels. The fix is currently deferred for the affected streams due to the low impact; the residual risk is limited to a local denial of service on systems running real-time kernels that perform GFS2 quota operations.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelFix deferred
Red Hat Enterprise Linux 7kernel-rtFix deferred
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Показывать по

Дополнительная информация

Статус:

Low
Дефект:
CWE-821
https://bugzilla.redhat.com/show_bug.cgi?id=2540459kernel: gfs2: fix quota init duplicate scan

EPSS

Процентиль: 6%
0.00206
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

ubuntu
2 месяца назад

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.

nvd
2 месяца назад

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.

msrc
2 месяца назад

gfs2: fix quota init duplicate scan

debian
2 месяца назад

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

github
2 месяца назад

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.

EPSS

Процентиль: 6%
0.00206
Низкий

5.5 Medium

CVSS3