igb: Fix use-after-free error during reset (Linux Linux)

CVE-2021-47301
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: igb: Fix use-after-free error during reset Cleans the next descriptor to watch (next_to_watch) when cleaning the TX ring. Failure to do so can cause invalid memory accesses. If igb_poll() runs while the controller is reset this can lead to the driver try to free a skb that was already freed. (The crash is harder to reproduce with the igb driver, but the same potential problem exists as the code is identical to igc)

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 < d7367f781e5a9ca5df9082b15b272b55e76931f8 ; affected 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 < d3ccb18ed5ac3283c7b31ecc685b499e580d5492 ; affected 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 < 88e0720133d42d34851c8721cf5f289a50a8710f ; affected 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 < f153664d8e70c11d0371341613651e1130e20240 ; affected 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 < 8e24c12f2ff6d32fd9f057382f08e748ec97194c ; affected 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 < 7b292608db23ccbbfbfa50cdb155d01725d7a52e
Linux · Linuxaffected 4.12 ; unaffected 0 < 4.12 ; unaffected 4.14.241 ≤ 4.14.* ; unaffected 4.19.199 ≤ 4.19.* ; unaffected 5.4.136 ≤ 5.4.* ; unaffected 5.10.54 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD