CVE-2025-38569

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
19/08/2025
Last modified:
08/01/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> benet: fix BUG when creating VFs<br /> <br /> benet crashes as soon as SRIOV VFs are created:<br /> <br /> kernel BUG at mm/vmalloc.c:3457!<br /> Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI<br /> CPU: 4 UID: 0 PID: 7408 Comm: test.sh Kdump: loaded Not tainted 6.16.0+ #1 PREEMPT(voluntary)<br /> [...]<br /> RIP: 0010:vunmap+0x5f/0x70<br /> [...]<br /> Call Trace:<br /> <br /> __iommu_dma_free+0xe8/0x1c0<br /> be_cmd_set_mac_list+0x3fe/0x640 [be2net]<br /> be_cmd_set_mac+0xaf/0x110 [be2net]<br /> be_vf_eth_addr_config+0x19f/0x330 [be2net]<br /> be_vf_setup+0x4f7/0x990 [be2net]<br /> be_pci_sriov_configure+0x3a1/0x470 [be2net]<br /> sriov_numvfs_store+0x20b/0x380<br /> kernfs_fop_write_iter+0x354/0x530<br /> vfs_write+0x9b9/0xf60<br /> ksys_write+0xf3/0x1d0<br /> do_syscall_64+0x8c/0x3d0<br /> <br /> be_cmd_set_mac_list() calls dma_free_coherent() under a spin_lock_bh.<br /> Fix it by freeing only after the lock has been released.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.4.291 (including) 5.4.297 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10.235 (including) 5.10.241 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.15.179 (including) 5.15.190 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.131 (including) 6.1.148 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.6.83 (including) 6.6.102 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.12.19 (including) 6.12.42 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13.7 (including) 6.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.14.1 (including) 6.15.10 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.16 (including) 6.16.1 (excluding)
cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*