# CVE-2025-38048: virtio\_ring: Fix data race by tagging event\_triggered as racy for KCSAN

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2025-06-18T09:33:31.413Z
- **Modified:** 2026-06-17T09:15:56.920Z

## Who should check

- Anyone running Linux \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 02d2d6caee3abc9335cfca35f8eb4492173ae6f2; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b6d6419548286b2b9d2b90df824d3cab797f6ae8; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b49b5132e4c7307599492aee1cdc6d89f7f2a7da; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b730cb109633c455ce8a7cd6934986c6a16d88d8; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 4ed8f0e808b3fcc71c5b8be7902d8738ed595b17; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 2e2f925fe737576df2373931c95e1a2b66efdfef
- Anyone running Linux 5.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

virtio\_ring: Fix data race by tagging event\_triggered as racy for KCSAN

syzbot reports a data-race when accessing the event\_triggered, here is the
simplified stack when the issue occurred:

==================================================================
BUG: KCSAN: data-race in virtqueue\_disable\_cb / virtqueue\_enable\_cb\_delayed

write to 0xffff8881025bc452 of 1 bytes by task 3288 on cpu 0:
 virtqueue\_enable\_cb\_delayed+0x42/0x3c0 drivers/virtio/virtio\_ring.c:2653
 start\_xmit+0x230/0x1310 drivers/net/virtio\_net.c:3264
 \_\_netdev\_start\_xmit include/linux/netdevice.h:5151 \[inline\]
 netdev\_start\_xmit include/linux/netdevice.h:5160 \[inline\]
 xmit\_one net/core/dev.c:3800 \[inline\]

read to 0xffff8881025bc452 of 1 bytes by interrupt on cpu 1:
 virtqueue\_disable\_cb\_split drivers/virtio/virtio\_ring.c:880 \[inline\]
 virtqueue\_disable\_cb+0x92/0x180 drivers/virtio/virtio\_ring.c:2566
 skb\_xmit\_done+0x5f/0x140 drivers/net/virtio\_net.c:777
 vring\_interrupt+0x161/0x190 drivers/virtio/virtio\_ring.c:2715
 \_\_handle\_irq\_event\_percpu+0x95/0x490 kernel/irq/handle.c:158
 handle\_irq\_event\_percpu kernel/irq/handle.c:193 \[inline\]

value changed: 0x01 -\> 0x00
==================================================================

When the data race occurs, the function virtqueue\_enable\_cb\_delayed() sets
event\_triggered to false, and virtqueue\_disable\_cb\_split/packed() reads it
as false due to the race condition. Since event\_triggered is an unreliable
hint used for optimization, this should only cause the driver temporarily
suggest that the device not send an interrupt notification when the event
index is used.

Fix this KCSAN reported data-race issue by explicitly tagging the access as
data\_racy.

## Affected and fixed versions

- Linux: \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 02d2d6caee3abc9335cfca35f8eb4492173ae6f2; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b6d6419548286b2b9d2b90df824d3cab797f6ae8; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b49b5132e4c7307599492aee1cdc6d89f7f2a7da; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b730cb109633c455ce8a7cd6934986c6a16d88d8; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 4ed8f0e808b3fcc71c5b8be7902d8738ed595b17; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 2e2f925fe737576df2373931c95e1a2b66efdfef (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- Upgrade Linux to 2e2f925fe737576df2373931c95e1a2b66efdfef or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38048. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38048.md
Affected: Linux >= 8d622d21d24803408b256d96463eac4574dcf067, < 02d2d6caee3abc9335cfca35f8eb4492173ae6f2; >= 8d622d21d24803408b256d96463eac4574dcf067, < b6d6419548286b2b9d2b90df824d3cab797f6ae8; >= 8d622d21d24803408b256d96463eac4574dcf067, < b49b5132e4c7307599492aee1cdc6d89f7f2a7da; >= 8d622d21d24803408b256d9…
Fixed in: Linux 02d2d6caee3abc9335cfca35f8eb4492173ae6f2, Linux 4ed8f0e808b3fcc71c5b8be7902d8738ed595b17, Linux 2e2f925fe737576df2373931c95e1a2b66efdfef

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38048 being exploited?

There is no confirmed exploitation: CVE-2025-38048 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-38048?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2025-38048?

Linux \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 02d2d6caee3abc9335cfca35f8eb4492173ae6f2; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b6d6419548286b2b9d2b90df824d3cab797f6ae8; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b49b5132e4c7307599492aee1cdc6d89f7f2a7da; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< b730cb109633c455ce8a7cd6934986c6a16d88d8; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 4ed8f0e808b3fcc71c5b8be7902d8738ed595b17; \>= 8d622d21d24803408b256d96463eac4574dcf067, \< 2e2f925fe737576df2373931c95e1a2b66efdfef; Linux 5.14.

### Is there a fix for CVE-2025-38048?

Yes. Fixed in Linux 02d2d6caee3abc9335cfca35f8eb4492173ae6f2, Linux 4ed8f0e808b3fcc71c5b8be7902d8738ed595b17, Linux 2e2f925fe737576df2373931c95e1a2b66efdfef. Upgrade Linux to 2e2f925fe737576df2373931c95e1a2b66efdfef or later.

### How do I check if I'm affected by CVE-2025-38048?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/02d2d6caee3abc9335cfca35f8eb4492173ae6f2>
- patch: <https://git.kernel.org/stable/c/b6d6419548286b2b9d2b90df824d3cab797f6ae8>
- patch: <https://git.kernel.org/stable/c/b49b5132e4c7307599492aee1cdc6d89f7f2a7da>
- patch: <https://git.kernel.org/stable/c/b730cb109633c455ce8a7cd6934986c6a16d88d8>
- patch: <https://git.kernel.org/stable/c/4ed8f0e808b3fcc71c5b8be7902d8738ed595b17>
- patch: <https://git.kernel.org/stable/c/2e2f925fe737576df2373931c95e1a2b66efdfef>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38048>

HTML: <https://flawdb.com/CVE-2025-38048> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38048>
