همهٔ گزارش‌ها
متوسط

kernel: netfilter: xt_nfacct: don't assume acct name is null-terminated

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-38639

احتمال بهره‌برداری در ۳۰ روز آینده: 0.20%

FIRST EPSS · ۱۴۰۵/۰۸/۲۶

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_nfacct: don't assume acct name is null-terminated BUG: KASAN: slab-out-of-bounds in .. lib/vsprintf.c:721 Read of size 1 at addr ffff88801eac95c8 by task syz-executor183/5851 [..] string+0x231/0x2b0 lib/vsprintf.c:721 vsnprintf+0x739/0xf00 lib/vsprintf.c:2874 [..] nfacct_mt_checkentry+0xd2/0xe0 net/netfilter/xt_nfacct.c:41 xt_check_match+0x3d1/0xab0 net/netfilter/x_tables.c:523 nfnl_acct_find_get() handles non-null input, but the error printk relied on its presence.

A flaw was found in the Linux kernel's netfilter subsystem. This vulnerability allows a local user with network administration privileges to cause a Denial of Service (DoS) through a kernel crash. The issue occurs because an error reporting routine in the xt_nfacct module incorrectly assumes that network accounting rule names are null-terminated. By submitting an improperly formatted rule name, an attacker triggers an out-of-bounds memory read during error logging.