Skip to main content
← All vulnerabilities
CVE-2025-38639

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.297, 5.10.241, 5.15.190, 6.1.148, 6.6.102, and 3 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in 66d41268ede1e1b6e71ba28be923397ff0b2b9c3; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in e021a1eee196887536a6630c5492c23a4c78d452; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in b10cfa2de13d28ddd03210eb234422b7ec92725a; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in e18939176e657a3a20bfbed357b8c55a9f82aba3; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in 58004aa21e79addaf41667bfe65e93ec51653f18; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in 7c1ae471da69c09242834e956218ea6a42dd405a; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in 58007fc7b94fb2702000045ff401eb7f5bde7828; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in df13c9c6ce1d55c31d1bd49db65a7fbbd86aab13; From ceb98d03eac5704820f2ac1f370c9ff385e3a9f5 · fixed in bf58e667af7d96c8eb9411f926a0a0955f41ce21

  • Linux Linux

    3.3

  • KernelLinux

    From 3.3.0 · fixed in 5.4.297; From 5.5.0 · fixed in 5.10.241; From 5.11.0 · fixed in 5.15.190; From 5.16.0 · fixed in 6.1.148; From 6.2.0 · fixed in 6.6.102; From 6.7.0 · fixed in 6.12.42; From 6.13.0 · fixed in 6.15.10; From 6.16.0 · fixed in 6.16.1

References 9

git.kernel.org