# CVE-2021-47561: i2c: virtio: disable timeout handling

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-05-24T15:12:50.061Z
- **Modified:** 2026-08-05T08:48:25.293Z

## Who should check

- Anyone running Linux \>= 3cfc88380413d20f777dc6648a38f683962e52bf, \< cc432b0727ce404cc13e8f6b5ce29f412c3f9f1f; \>= 3cfc88380413d20f777dc6648a38f683962e52bf, \< 84e1d0bf1d7121759622dabf8fbef4c99ad597c5
- Anyone running Linux 5.15

## Description

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

i2c: virtio: disable timeout handling

If a timeout is hit, it can result is incorrect data on the I2C bus
and/or memory corruptions in the guest since the device can still be
operating on the buffers it was given while the guest has freed them.

Here is, for example, the start of a slub\_debug splat which was
triggered on the next transfer after one transfer was forced to timeout
by setting a breakpoint in the backend (rust-vmm/vhost-device):

 BUG kmalloc-1k (Not tainted): Poison overwritten
 First byte 0x1 instead of 0x6b
 Allocated in virtio\_i2c\_xfer+0x65/0x35c age=350 cpu=0 pid=29
 	\_\_kmalloc+0xc2/0x1c9
 	virtio\_i2c\_xfer+0x65/0x35c
 	\_\_i2c\_transfer+0x429/0x57d
 	i2c\_transfer+0x115/0x134
 	i2cdev\_ioctl\_rdwr+0x16a/0x1de
 	i2cdev\_ioctl+0x247/0x2ed
 	vfs\_ioctl+0x21/0x30
 	sys\_ioctl+0xb18/0xb41
 Freed in virtio\_i2c\_xfer+0x32e/0x35c age=244 cpu=0 pid=29
 	kfree+0x1bd/0x1cc
 	virtio\_i2c\_xfer+0x32e/0x35c
 	\_\_i2c\_transfer+0x429/0x57d
 	i2c\_transfer+0x115/0x134
 	i2cdev\_ioctl\_rdwr+0x16a/0x1de
 	i2cdev\_ioctl+0x247/0x2ed
 	vfs\_ioctl+0x21/0x30
 	sys\_ioctl+0xb18/0xb41

There is no simple fix for this (the driver would have to always create
bounce buffers and hold on to them until the device eventually returns
the buffers), so just disable the timeout support for now.

## Affected and fixed versions

- Linux: \>= 3cfc88380413d20f777dc6648a38f683962e52bf, \< cc432b0727ce404cc13e8f6b5ce29f412c3f9f1f; \>= 3cfc88380413d20f777dc6648a38f683962e52bf, \< 84e1d0bf1d7121759622dabf8fbef4c99ad597c5 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 84e1d0bf1d7121759622dabf8fbef4c99ad597c5 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47561.md
Affected: Linux >= 3cfc88380413d20f777dc6648a38f683962e52bf, < cc432b0727ce404cc13e8f6b5ce29f412c3f9f1f; >= 3cfc88380413d20f777dc6648a38f683962e52bf, < 84e1d0bf1d7121759622dabf8fbef4c99ad597c5; Linux 5.15
Fixed in: Linux 84e1d0bf1d7121759622dabf8fbef4c99ad597c5

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-2021-47561 being exploited?

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

### How serious is CVE-2021-47561?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47561?

Linux \>= 3cfc88380413d20f777dc6648a38f683962e52bf, \< cc432b0727ce404cc13e8f6b5ce29f412c3f9f1f; \>= 3cfc88380413d20f777dc6648a38f683962e52bf, \< 84e1d0bf1d7121759622dabf8fbef4c99ad597c5; Linux 5.15.

### Is there a fix for CVE-2021-47561?

Yes. Fixed in Linux 84e1d0bf1d7121759622dabf8fbef4c99ad597c5. Upgrade Linux to 84e1d0bf1d7121759622dabf8fbef4c99ad597c5 or later.

### How do I check if I'm affected by CVE-2021-47561?

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/cc432b0727ce404cc13e8f6b5ce29f412c3f9f1f>
- patch: <https://git.kernel.org/stable/c/84e1d0bf1d7121759622dabf8fbef4c99ad597c5>

## 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-2021-47561>

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