CVE-2025-38569

Source
https://cve.org/CVERecord?id=CVE-2025-38569
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38569.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38569
Downstream
Related
Published
2025-08-19T17:02:49.987Z
Modified
2026-03-20T12:42:55.672189Z
Summary
benet: fix BUG when creating VFs
Details

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> _iommudmafree+0xe8/0x1c0 becmdsetmaclist+0x3fe/0x640 [be2net] becmdsetmac+0xaf/0x110 [be2net] bevfethaddrconfig+0x19f/0x330 [be2net] bevfsetup+0x4f7/0x990 [be2net] bepcisriovconfigure+0x3a1/0x470 [be2net] sriovnumvfsstore+0x20b/0x380 kernfsfopwriteiter+0x354/0x530 vfswrite+0x9b9/0xf60 ksyswrite+0xf3/0x1d0 dosyscall64+0x8c/0x3d0

becmdsetmaclist() calls dmafreecoherent() under a spinlockbh. Fix it by freeing only after the lock has been released.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38569.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
797bb9439c0489bbea4b8808297ec7a569098667
Fixed
3697e37e012bbd2bb5a5b467689811ba097b2eff
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7cfae8627511361f90a1a22dfae556c3fbc5bd8d
Fixed
975e73b9102d844a3dc3f091ad631c56145c8b4c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
671aaa17bd3153e25526934f92307169ce927b5e
Fixed
f80b34ebc579216407b128e9d155bfcae875c30f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4393452e6c0c027971ec9bcc9557f52e63db3f0a
Fixed
46d44a23a3723a89deeb65b13cddb17f8d9f2700
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
41d731e7920387ea13e2fb440a1e235686faeeb9
Fixed
c377ba2be9430d165a98e4b782902ed630bc7546
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fd1ef3b1bdd3fec683ebd19eb3acc6a2cb60b5c6
Fixed
0ddfe8b127ef1149fddccb79db6e6eaba7738e7d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1a82d19ca2d6835904ee71e2d40fd331098f94a0
Fixed
d5dc09ee5d74277bc47193fe28ce8703e229331b
Fixed
f4e4e0c4bc4d799d6fa39055acdbc3af066cd13e
Fixed
5a40f8af2ba1b9bdf46e2db10e8c9710538fbc63
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
227a829c9067bf03b1967e7e0b1a6777fd57edef

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38569.json"