CVE-2025-38569

benet: fix BUG when creating VFs

MEDIUM
5.5
CVSS Score
Published: August 19, 2025 at 05:02 PM UTC
Updated: June 17, 2026 at 09:17 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.13.75.10.235 ≤ v < 5.10.2415.15.179 ≤ v < 5.15.1905.4.291 ≤ v < 5.4.2976.1.131 ≤ v < 6.1.1486.12.19 ≤ v < 6.12.426.13.7 ≤ v < 6.146.14 ≤ v < 6.15.106.14 ≤ v < 6.16.16.14 ≤ v < 6.176.14.1 ≤ v < 6.15.106.16 ≤ v < 6.16.16.6.83 ≤ v < 6.6.1021a82d19ca2d6835904ee71e2d40fd331098f94a0227a829c9067bf03b1967e7e0b1a6777fd57edef41d731e7920387ea13e2fb440a1e235686faeeb94393452e6c0c027971ec9bcc9557f52e63db3f0a5.10.2355.15.1795.4.2916.1.1316.12.196.13.76.146.14 rc66.14 rc76.6.83671aaa17bd3153e25526934f92307169ce927b5e797bb9439c0489bbea4b8808297ec7a5690986677cfae8627511361f90a1a22dfae556c3fbc5bd8dfd1ef3b1bdd3fec683ebd19eb3acc6a2cb60b5c6
Vendor states this is fixed in 0ddfe8b127ef1149fddccb79db6e6eaba7738e7d (fixed)
Vendor states this is fixed in 3697e37e012bbd2bb5a5b467689811ba097b2eff (fixed)
Vendor states this is fixed in 46d44a23a3723a89deeb65b13cddb17f8d9f2700 (fixed)
Vendor states this is fixed in 5a40f8af2ba1b9bdf46e2db10e8c9710538fbc63 (fixed)
Vendor states this is fixed in 975e73b9102d844a3dc3f091ad631c56145c8b4c (fixed)
Vendor states this is fixed in c377ba2be9430d165a98e4b782902ed630bc7546 (fixed)
Vendor states this is fixed in d5dc09ee5d74277bc47193fe28ce8703e229331b (fixed)
Vendor states this is fixed in f4e4e0c4bc4d799d6fa39055acdbc3af066cd13e (fixed)
Vendor states this is fixed in f80b34ebc579216407b128e9d155bfcae875c30f (fixed)
Vendor states this is fixed in 5.10.241 (unaffected)
Vendor states this is fixed in 5.15.190 (unaffected)
Vendor states this is fixed in 5.4.297 (unaffected)
Vendor states this is fixed in 6.1.148 (unaffected)
Vendor states this is fixed in 6.12.42 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.15.10 (unaffected)
Vendor states this is fixed in 6.16.1 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.102 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ddfe8b127ef1149fddccb79db6e6eaba7738e7d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3697e37e012bbd2bb5a5b467689811ba097b2eff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/46d44a23a3723a89deeb65b13cddb17f8d9f2700
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5a40f8af2ba1b9bdf46e2db10e8c9710538fbc63
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/975e73b9102d844a3dc3f091ad631c56145c8b4c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c377ba2be9430d165a98e4b782902ed630bc7546
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5dc09ee5d74277bc47193fe28ce8703e229331b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4e4e0c4bc4d799d6fa39055acdbc3af066cd13e

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card