CVE-2026-98908

net: microchip: sparx5: clean up PSFP resources on flower setup failure

Description

In the Linux kernel, the following vulnerability has been resolved: net: microchip: sparx5: clean up PSFP resources on flower setup failure sparx5_tc_flower_psfp_setup() allocates PSFP stream gate, flow meter and stream filter resources before adding VCAP actions. If a later step fails, the resources allocated earlier in the function are not unwound. Add error paths to release the stream filter, flow meter and stream gate when setup fails after they have been acquired. Also make sparx5_psfp_fm_add() return the acquired flow-meter id before the existing-flow-meter early return. When an existing flow meter is reused, sparx5_psfp_fm_get() increments its pool reference count, but the caller previously kept psfp_fmid as 0. If a later setup step failed, the error path could try to delete flow-meter id 0 instead of the reused flow meter, leaving the incremented reference behind.

Key facts

Published
23 Oct 2026
Last changed
26 Oct 2026
Assigned by
Linux
EPSS
0.174% likely to be exploited in the next 30 days, higher than 6.963% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 6ebf182bfdf15bd58ebcf6760b06458694e0fad2 up to but excluding a7625d408f7f0535c2b0f05d53231d6496acd48b (affected)
  • 6ebf182bfdf15bd58ebcf6760b06458694e0fad2 up to but excluding a46ea3f7ee0d3ad3d5e92043232b293be2a305d3 (affected)
  • 6ebf182bfdf15bd58ebcf6760b06458694e0fad2 up to but excluding 640c1bd8d359ad34817f5afec0872985e87b49ec (affected)
  • 6ebf182bfdf15bd58ebcf6760b06458694e0fad2 up to but excluding 46e50367338702abe3df661df7795bdada40fef7 (affected)
LinuxLinux
  • Default status: affected
  • 6.3 (affected)
  • 0 up to but excluding 6.3 (unaffected)
  • 6.6.158 up to and including 6.6.* (unaffected)
  • 6.12.111 up to and including 6.12.* (unaffected)
  • 6.18.53 up to and including 6.18.* (unaffected)
  • 7.2 up to and including * (unaffected)

Timeline

  1. 23 Oct 2026 Published

References