CVE-2021-47561
i2c: virtio: disable timeout handling
Mitigation
- Upgrade Linux to 84e1d0bf1d7121759622dabf8fbef4c99ad597c5 or later.
Who should check
- Anyone running Linux >= 3cfc88380413d20f777dc6648a38f683962e52bf, < cc432b0727ce404cc13e8f6b5ce29f412c3f9f1f; >= 3cfc88380413d20f777dc6648a38f683962e52bf, < 84e1d0bf1d7121759622dabf8fbef4c99ad597c5
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= 3cfc88380413d20f777dc6648a38f683962e52bf, < cc432b0727ce404cc13e8f6b5ce29f412c3f9f1f; >= 3cfc88380413d20f777dc6648a38f683962e52bf, < 84e1d0bf1d7121759622dabf8fbef4c99ad597c5; Linux 5.15
- Fixed in
- Linux 84e1d0bf1d7121759622dabf8fbef4c99ad597c5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-416
- Modified
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
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
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.