thunderbolt: Mark XDomain as unplugged when router is removed (Linux Linux)

CVE-2024-46702
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Mark XDomain as unplugged when router is removed I noticed that when we do discrete host router NVM upgrade and it gets hot-removed from the PCIe side as a result of NVM firmware authentication, if there is another host connected with enabled paths we hang in tearing them down. This is due to fact that the Thunderbolt networking driver also tries to cleanup the paths and ends up blocking in tb_disconnect_xdomain_paths() waiting for the domain lock. However, at this point we already cleaned the paths in tb_stop() so there is really no need for tb_disconnect_xdomain_paths() to do that anymore. Furthermore it already checks if the XDomain is unplugged and bails out early so take advantage of that and mark the XDomain as unplugged when we remove the parent router.

References

Scores

VersionScoreVectorScored by
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 16603153666d22df544ae9f9b3764fd18da28eeb < 747bc154577de6e6af4bc99abfa859b8419bb4d8 ; affected 16603153666d22df544ae9f9b3764fd18da28eeb < 23ce6ba3b95488a2b9e9f6d43b340da0c15395dc ; affected 16603153666d22df544ae9f9b3764fd18da28eeb < 80ac8d194831eca0c2f4fd862f7925532fda320c ; affected 16603153666d22df544ae9f9b3764fd18da28eeb < 18b3ad2a3cc877dd4b16f48d84aa27b78d53bf1d ; affected 16603153666d22df544ae9f9b3764fd18da28eeb < 7ca24cf9163c112bb6b580c6fb57c04a1f8b76e1 ; affected 16603153666d22df544ae9f9b3764fd18da28eeb < e2006140ad2e01a02ed0aff49cc2ae3ceeb11f8d
Linux · Linuxaffected 3.17 ; unaffected 0 < 3.17 ; unaffected 5.10.225 ≤ 5.10.* ; unaffected 5.15.166 ≤ 5.15.* ; unaffected 6.1.107 ≤ 6.1.* ; unaffected 6.6.48 ≤ 6.6.*

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