PT-2026-161459
تاريخ النشر
2026-11-19
·
تاريخ التحديث
2026-11-19
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: cancel quota sync work before freeing quota info
OCFS2 quota info owns dqi sync work and must outlive both its timer and
qsync work fn(). ocfs2 local free info() frees that owner without
cancelling the work, relying on the quota suspend/disable wrappers.
Loading quotas on a read-only to read-write remount can successfully queue
the work in ocfs2 global read info() and then fail while attaching a dquot
to an existing inode in add dquot ref(). The quota core unwinds that
failure directly through dquot disable(), bypassing the OCFS2 wrapper:
Remount task (s umount write) Timer/workqueue
ocfs2 global read info()
schedules dqi sync work
add dquot ref() returns an error
dquot disable()
ocfs2 local free info()
frees oinfo
delayed-work timer expires
qsync work fn() reads oinfo
The timer core can then write to the freed embedded timer, or
qsync work fn() can read oinfo->dqi gqinode before its s umount trylock.
The outer ocfs2 disable quotas() cleanup skips the failed type because
dquot disable() has already cleared its loaded state.
Cancel dqi sync work synchronously at the start of
ocfs2 local free info(), before dropping the global inode or freeing any
owner state. The work is initialized whenever read file info() succeeds.
dquot disable() holds s umount for write, so the callback skips its quota
scan via down read trylock() and can finish without waiting for teardown.
The synchronous cancel also handles its self-rearm.
KASAN report as below:
BUG: KASAN: slab-use-after-free in run timers+0x9e9/0xa10
Write of size 8 at addr ffff888111b0aad0 by task swapper/3/0
Call Trace:
dump stack lvl+0x93/0xd0
print report+0xce/0x630
? run timers+0x9e9/0xa10
? srso alias return thunk+0x5/0xfbef5
? virt addr valid+0x20e/0x420
? run timers+0x9e9/0xa10
kasan report+0xe0/0x110
? run timers+0x9e9/0xa10
run timers+0x9e9/0xa10
? pfx run timers+0x10/0x10
? lock acquire+0x5a3/0x2140
? pfx do raw spin lock+0x10/0x10
? srso alias return thunk+0x5/0xfbef5
timer expire remote+0xfa/0x160
? pfx timer expire remote+0x10/0x10
? srso alias return thunk+0x5/0xfbef5
? srso alias return thunk+0x5/0xfbef5
? trace hardirqs on+0x18/0x160
tmigr handle remote up+0x4ba/0x9d0
? pfx tmigr handle remote up+0x10/0x10
? tmigr handle remote+0x21a/0x340
? srso alias return thunk+0x5/0xfbef5
? lock release+0xc8/0x290
? pfx tmigr handle remote up+0x10/0x10
walk groups from+0x5a/0x160
tmigr handle remote+0x24f/0x340
? pfx tmigr handle remote+0x10/0x10
? lock acquire+0x190/0x300
? srso alias return thunk+0x5/0xfbef5
? lock release+0xc8/0x290
run timer softirq+0x222/0x270
? pfx run timer softirq+0x10/0x10
? srso alias return thunk+0x5/0xfbef5
? srso alias return thunk+0x5/0xfbef5
? lockdep hardirqs on prepare+0xb8/0x1a0
? srso alias return thunk+0x5/0xfbef5
handle softirqs+0x1fa/0x8d0
? pfx handle softirqs+0x10/0x10
? srso alias return thunk+0x5/0xfbef5
? raw spin unlock+0x23/0x40
? srso alias return thunk+0x5/0xfbef5
? hrtimer rearm deferred+0x1fb/0x5d0
irq exit rcu+0x113/0x1e0
irq exit rcu+0xe/0x20
sysvec apic timer interrupt+0x6c/0x80
asm sysvec apic timer interrupt+0x1a/0x20
? ct kernel exit.constprop.0+0xc5/0xf0
? do idle+0x3ae/0x650
default idle+0x9/0x10
default idle call+0x6c/0xb0
do idle+0x3ae/0x650
? cpuhp online idle+0x9c/0xb0
? pfx do idle+0x10/0x10
? entry text end+0x1020f6/0x1020f9
? lockdep hardirqs on prepare+0xeb/0x1a0
? srso alias return thunk+0x5/0xfbef5
? trace hardirqs on+0x18/0x160
? srso a
---truncated---
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾