i40e: Fix call trace in setup_tx_descriptors (Linux Linux)

CVE-2022-49725
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.30 % · percentile 23 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: i40e: Fix call trace in setup_tx_descriptors After PF reset and ethtool -t there was call trace in dmesg sometimes leading to panic. When there was some time, around 5 seconds, between reset and test there were no errors. Problem was that pf reset calls i40e_vsi_close in prep_for_reset and ethtool -t calls i40e_vsi_close in diag_test. If there was not enough time between those commands the second i40e_vsi_close starts before previous i40e_vsi_close was done which leads to crash. Add check to diag_test if pf is in reset and don't start offline tests if it is true. Add netif_info("testing failed") into unhappy path of i40e_diag_test()

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:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e17bc411aea8fbebc51857037f104ab09f765120 < 5ba9956ca57e361fb13ea369bb753eb33177acc7 ; affected e17bc411aea8fbebc51857037f104ab09f765120 < 15950157e2c24865b696db1c9ccc72743ae0e967 ; affected e17bc411aea8fbebc51857037f104ab09f765120 < ff6e03fe84bc917bb0c907d02de668c2fe101712 ; affected e17bc411aea8fbebc51857037f104ab09f765120 < 814092927a215f5ca6c08249ec72a205e0b473cd ; affected e17bc411aea8fbebc51857037f104ab09f765120 < 0a4e5a3dc5e41212870e6043895ae02455c93f63 ; affected e17bc411aea8fbebc51857037f104ab09f765120 < 322271351b0e41565171e4cce70ea41854fac115
Linux · Linuxaffected 4.2 ; unaffected 0 < 4.2 ; unaffected 4.14.285 ≤ 4.14.* ; unaffected 4.19.249 ≤ 4.19.* ; unaffected 5.4.200 ≤ 5.4.* ; unaffected 5.10.124 ≤ 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