LiveActive security incident?Get immediate response
CVE Record

CVE-2022-48840: iavf: Fix hang during reboot/shutdown

In the Linux kernel, the following vulnerability has been resolved: iavf: Fix hang during reboot/shutdown Recent commit 974578017fc1 ("iavf: Add waiting so the port is initialized in remove") adds a wait-loop at the beginning of iavf_remove() to ensure that port initialization is finished prior unregistering net device. This causes a regression in reboot/shutdown scenario because in this case callback iavf_shutdown() is called and this callback detaches the device, makes it down if it is running and sets its state to __IAVF_REMOVE. Later shutdown callback of associated PF driver (e.g. ice_shutdown) is called. That callback calls among other things sriov_disable() that calls indirectly iavf_remove() (see stack trace below). As the adapter state is already __IAVF_REMOVE then the mentioned loop is end-less and shutdown process hangs. The patch fixes this by checking adapter's state at the beginning of iavf_remove() and skips the rest of the function if the adapter is already in remove state (shutdown is in progress). Reproducer: 1. Create VF on PF driven by ice or i40e driver 2. Ensure that the VF is bound to iavf driver 3. Reboot [52625.981294] sysrq: SysRq : Show Blocked State [52625.988377] task:reboot state:D stack: 0 pid:17359 ppid: 1 f2 [52625.996732] Call Trace: [52625.999187] __schedule+0x2d1/0x830 [52626.007400] schedule+0x35/0xa0 [52626.010545] schedule_hrtimeout_range_clock+0x83/0x100 [52626.020046] usleep_range+0x5b/0x80 [52626.023540] iavf_remove+0x63/0x5b0 [iavf] [52626.027645] pci_device_remove+0x3b/0xc0 [52626.031572] device_release_driver_internal+0x103/0x1f0 [52626.036805] pci_stop_bus_device+0x72/0xa0 [52626.040904] pci_stop_and_remove_bus_device+0xe/0x20 [52626.045870] pci_iov_remove_virtfn+0xba/0x120 [52626.050232] sriov_disable+0x2f/0xe0 [52626.053813] ice_free_vfs+0x7c/0x340 [ice] [52626.057946] ice_remove+0x220/0x240 [ice] [52626.061967] ice_shutdown+0x16/0x50 [ice] [52626.065987] pci_device_shutdown+0x34/0x60 [52626.070086] device_shutdown+0x165/0x1c5 [52626.074011] kernel_restart+0xe/0x30 [52626.077593] __do_sys_reboot+0x1d2/0x210 [52626.093815] do_syscall_64+0x5b/0x1a0 [52626.097483] entry_SYSCALL_64_after_hwframe+0x65/0xca

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue can make affected systems hang during reboot or shutdown when Intel SR-IOV virtual functions use the iavf driver. It is mainly an availability and operations risk, not a data-theft issue based on the supplied sources.

Executive priority

Treat this as moderate priority for virtualization, cloud, and network-heavy Linux fleets because failed reboots can disrupt maintenance, patching, and recovery workflows. Lower priority for systems without Intel SR-IOV VF usage.

Technical view

A regression in iavf_remove() added a wait loop for port initialization. During shutdown, iavf_shutdown() can already set the adapter state to __IAVF_REMOVE, causing iavf_remove() to loop indefinitely when PF shutdown disables SR-IOV. The fix skips removal work when removal is already in progress.

Likely exposure

Exposure appears limited to Linux hosts using Intel SR-IOV VFs bound to iavf, with PF drivers such as ice or i40e, on affected kernel builds containing the regression before the stable fixes.

Exploitation context

The supplied sources describe a reproducible reboot or shutdown hang, not active exploitation. CVE KEV status is false, and no source states public exploitation or remote attackability.

Researcher notes

The key condition is shutdown ordering: iavf_shutdown() marks removal, then PF shutdown disables SR-IOV and indirectly re-enters iavf_remove(). Evidence does not provide CVSS, CWE, or a full affected-version matrix beyond listed commits and versions.

Mitigation direction

  • Update to a vendor kernel containing the referenced stable fixes.
  • Check Linux distribution advisories for backported iavf fixes.
  • Prioritize hosts using SR-IOV VFs with iavf, ice, or i40e.
  • Plan maintenance reboots carefully for exposed virtualization or network hosts.
  • If unpatched, follow vendor guidance for temporary operational workarounds.

Validation and detection

  • Inventory hosts using the iavf kernel module and SR-IOV VFs.
  • Identify PF drivers in use, especially ice or i40e.
  • Compare running kernel packages against vendor fixed builds.
  • Review shutdown logs for hangs referencing iavf_remove or sriov_disable.
  • Test reboot behavior in staging before broad maintenance.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-48840 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux85aa76066fef64de8a48d0da6b4071ceac455a94, 7b9515172ab4d4c6ac0eae4b71013ee6ce932205, 974578017fc1fdd06cea8afb9dfa32602e8529edunaffected
LinuxLinux5.15.27, 5.16.13unaffected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.