WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC17 vulnerable to copy.fail (CVE-2026-31431)  (Read 198 times)

Offline adb014

  • Newbie
  • *
  • Posts: 32
TC17 vulnerable to copy.fail (CVE-2026-31431)
« on: May 04, 2026, 03:59:38 AM »
For information the kernel config of TC17 includes

CONFIG_CRYPTO_USER_API_AEAD=y

and so the kernel of of TC17 is vulnerable to copy.fail and blacklisting the modprobe of algif_aeqd as suggested in some remediation guides is not possible. The easiest fix for this would be to recompile the kernel with

CONFIG_CRYPTO_USER_API_AEAD=n

though a better fix would be to update the kernel to 6.18.22 or later, or backporting the kernel patch for 6.18.22 (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fafe0fa2995a0f7073c1c358d7d3145bcc9aedd8)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15579
Re: TC17 vulnerable to copy.fail (CVE-2026-31431)
« Reply #1 on: May 04, 2026, 04:37:00 AM »
Does this boot code disable the module?
Code: [Select]
initcall_blacklist=algif_aead_init

Offline adb014

  • Newbie
  • *
  • Posts: 32
Re: TC17 vulnerable to copy.fail (CVE-2026-31431)
« Reply #2 on: May 04, 2026, 04:57:45 AM »

Offline mjmouse

  • Newbie
  • *
  • Posts: 8
Re: TC17 vulnerable to copy.fail (CVE-2026-31431)
« Reply #3 on: May 05, 2026, 02:04:35 AM »
Quote
Code: [Select]
initcall_blacklist=algif_aead_init

Unfortunately that doesn't, at least with TinyCore 16.

Scripts at https://github.com/rootsecdev/cve_2026_31431 (modifying /etc/passwd to have an id of 0000 in the line, and then having su misled into authenticating root) still work.

Code: [Select]
[    0.013375] Kernel command line: BOOT_IMAGE=/tce/boot/vmlinuz64 quiet syslog safe showapps vga=normal [...] initcall_blacklist=algif_aead_init initrd=/tce/boot/corepure64.gz
[    0.013678] initcall_blacklist requires CONFIG_KALLSYMS
[    0.013723] Unknown kernel command line parameters "syslog safe showapps BOOT_IMAGE=/tce/boot/vmlinuz64 vga=normal [...] initcall_blacklist=algif_aead_init", will be passed to user space.

(snipped out tce/etc parameters)

Offline adb014

  • Newbie
  • *
  • Posts: 32
Re: TC17 vulnerable to copy.fail (CVE-2026-31431)
« Reply #4 on: May 06, 2026, 04:48:25 AM »
Looking that the kernel config of TC17

Code: [Select]
$ grep CONFIG_KALL config-6.18.2-tinycore64
# CONFIG_KALLSYMS is not set

Given the error message of mjmouse, TC17 will have the same problem