PT-2026-151725

CVE-2026-99514

·

تاريخ النشر

2026-11-19

·

تاريخ التحديث

2026-11-19

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
landlock: Fix superblock use-after-free in release inode()
Without this fix, release inode() (task 1) can race with a umount operation in hook sb delete() (task 2). The order of operations in which the race occurs is:
  • task 2: hook sb delete() arrives at the end of the function, waiting for landlock superblock(sb)->inode refs to become zero.
  • task 1: release inode(): does atomic long dec and test(), decrementing inode refs to zero.
  • task 2: gets woken up through some other means, sees that inode refs is zero and returns. The caller is the unmount operation and proceeds to release the superblock.
  • task 1: Runs wake up var(&landlock superblock(sb)->inode refs), dereferencing the sb security on the freed-up superblock.
Notably, wake up var() does not dereference the pointer passed to it, and only uses it to determine an overapproximated set of tasks to wake up. So while it's potentially possible for an attacker to provide a different value for that pointer, this only results in the wrong set of tasks getting woken up, and in this scenario, no further tasks are actually waiting.
Nevertheless, KASAN detects it as a slab-use-after-free read on sb->s security:
BUG: KASAN: slab-use-after-free in release inode+0x196/0x290 Read of size 8 at addr ffff888103b6c0a8 by task repro/217 release inode+0x196/0x290 landlock put object+0x71/0x90 landlock free rules+0x38/0xc0 landlock put ruleset+0x47/0x130 fop ruleset release+0x33/0x40 fput+0x305/0x780 Freed by task 54: kfree+0x11c/0x390 process scheduled works+0x766/0xe50 worker thread+0x7bc/0xb20
The fix is to determine &landlock superblock(inode->i sb)->inode refs only once earlier in release inode(), and later use that precalculated address for the wake up var() call, without having to dereference through the superblock.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾