iavf: use internal state to free traffic IRQs (Linux Linux)

CVE-2023-53850
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: iavf: use internal state to free traffic IRQs If the system tries to close the netdev while iavf_reset_task() is running, __LINK_STATE_START will be cleared and netif_running() will return false in iavf_reinit_interrupt_scheme(). This will result in iavf_free_traffic_irqs() not being called and a leak as follows: [7632.489326] remove_proc_entry: removing non-empty directory 'irq/999', leaking at least 'iavf-enp24s0f0v0-TxRx-0' [7632.490214] WARNING: CPU: 0 PID: 10 at fs/proc/generic.c:718 remove_proc_entry+0x19b/0x1b0 is shown when pci_disable_msix() is later called. Fix by using the internal adapter state. The traffic IRQs will always exist if state == __IAVF_RUNNING.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 5b36e8d04b4439c9ceb814bfdfe1284737f9c632 < 6d9d01689b82ff5cb8f8d2a82717d7997bc0bfff ; affected 5b36e8d04b4439c9ceb814bfdfe1284737f9c632 < 5e9db32eec628481f5da97a5b1aedb84a5240d18 ; affected 5b36e8d04b4439c9ceb814bfdfe1284737f9c632 < a77ed5c5b768e9649be240a2d864e5cd9c6a2015
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 6.1.42 ≤ 6.1.* ; unaffected 6.4.7 ≤ 6.4.* ; unaffected 6.5 ≤ *

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