Menu

Star on GitHub · 3.4k

CVE-2021-47613

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: i2c: virtio: fix completion handling The driver currently assumes that the notify callback is only received when the device is…

Published Jun 19, 2024EPSS 0.21%

Overview

CVE-2021-47613 is a high-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

i2c: virtio: fix completion handling

The driver currently assumes that the notify callback is only received

when the device is done with all the queued buffers.

However, this is not true, since the notify callback could be called

without any of the queued buffers being completed (for example, with

virtio-pci and shared interrupts) or with only some of the buffers being

completed (since the driver makes them available to the device in

multiple separate virtqueue_add_sgs() calls).

This can lead to incorrect data on the I2C bus or memory corruption in

the guest if the device operates on buffers which are have been freed by

the driver. (The WARN_ON in the driver is also triggered.)

BUG kmalloc-128 (Tainted: G W ): Poison overwritten

First byte 0x0 instead of 0x6b

Allocated in i2cdev_ioctl_rdwr+0x9d/0x1de age=243 cpu=0 pid=28

memdup_user+0x2e/0xbd

i2cdev_ioctl_rdwr+0x9d/0x1de

i2cdev_ioctl+0x247/

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47613?

CVE-2021-47613 is a high-severity vulnerability. It was published on June 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47613?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47613?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47613?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47613 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all
Watch the demo →