CVE-2025-38639
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 66d41268ede1e1b6e71ba28be923397ff0b2b9c3, from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before e021a1eee196887536a6630c5492c23a4c78d452, from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before b10cfa2de13d28ddd03210eb234422b7ec92725a, from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before e18939176e657a3a20bfbed357b8c55a9f82aba3, from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 58004aa21e79addaf41667bfe65e93ec51653f18, from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 7c1ae471da69c09242834e956218ea6a42dd405a, from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before 58007fc7b94fb2702000045ff401eb7f5bde7828, from ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 before df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13 and 2 more
Not affected: before 3.3, from 5.4.297 up to 5.4.*, from 5.10.241 up to 5.10.*, from 5.15.190 up to 5.15.*, from 6.1.148 up to 6.1.*, from 6.6.102 up to 6.6.*
CVE List
linux linux_kernelfrom 3.3 before 5.4.297, from 5.5 before 5.10.241, from 5.11 before 5.15.190, from 5.16 before 6.1.148, from 6.2 before 6.6.102, from 6.7 before 6.12.42, from 6.13 before 6.15.10, from 6.16 before 6.16.1NVD
debian debian_linux11.0NVD

All scores

Linux7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: xt_nfacct: no asuma que el nombre de la cuenta termina en nulo 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() maneja entradas no nulas, pero el error printk dependía de su presencia.

References

https://git.kernel.org/stable/c/66d41268ede1e1b6e71ba28be923397ff0b2b9c3patch
https://git.kernel.org/stable/c/e021a1eee196887536a6630c5492c23a4c78d452patch
https://git.kernel.org/stable/c/b10cfa2de13d28ddd03210eb234422b7ec92725apatch
https://git.kernel.org/stable/c/e18939176e657a3a20bfbed357b8c55a9f82aba3patch
https://git.kernel.org/stable/c/58004aa21e79addaf41667bfe65e93ec51653f18patch
https://git.kernel.org/stable/c/7c1ae471da69c09242834e956218ea6a42dd405apatch
https://git.kernel.org/stable/c/58007fc7b94fb2702000045ff401eb7f5bde7828patch
https://git.kernel.org/stable/c/df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13patch
https://git.kernel.org/stable/c/bf58e667af7d96c8eb9411f926a0a0955f41ce21patch
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlthird-party-advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlthird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-38639 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-38639 changed 2026-10-15Public domain