PT-2026-162814
CVE-2026-99847
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
apparmor: don't revalidate inherited files under files->file lock
aa inherit files() revalidates inherited files on exec using
iterate fd(), which calls the callback with files->file lock held,
so the revalidation is done with IN ATOMIC. However the unix socket
mediation path can sleep: aa unix file perm() drops a ref on the
peer's path with path put(), and unix fs perm() -> aa path perm()
allocates a buffer with aa get buffer(false), resulting in
BUG: sleeping function called from invalid context at fs/dcache.c:1039
...
dput.part.0+0x24/0x180
path put+0x2c/0x60
aa unix file perm+0x42a/0x17b0
aa file perm+0xcd3/0x1060
match file+0x10b/0x190
iterate fd+0xe6/0x280
aa inherit files+0x250/0x4f0
Only grab a ref on each file under iterate fd(), and revalidate it
after the lock is dropped, so revalidation is done with no locks held
and does not need to be atomic. Denied fds are still replaced with
/dev/null, or closed if it can not be opened.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾