CVE-2026-98908

Source
https://cve.org/CVERecord?id=CVE-2026-98908
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98908.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98908
Downstream
Published
2026-10-23T11:54:46Z
Modified
2026-10-28T02:31:10Z
Summary
net: microchip: sparx5: clean up PSFP resources on flower setup failure
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98908.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ebf182bfdf15bd58ebcf6760b06458694e0fad2
Fixed
a7625d408f7f0535c2b0f05d53231d6496acd48b
Fixed
a46ea3f7ee0d3ad3d5e92043232b293be2a305d3
Fixed
640c1bd8d359ad34817f5afec0872985e87b49ec
Fixed
46e50367338702abe3df661df7795bdada40fef7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98908.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.6.158
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98908.json"