ice: fix metadata_dst refcount handling on representor teardown
Summary
| CVE | CVE-2026-99043 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-23 13:17:27 UTC |
| Updated | 2026-10-23 13:17:27 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
ice: fix metadata_dst refcount handling on representor teardown
ice_eswitch_release_repr() uses metadata_dst_free() to release the
representor's metadata_dst. metadata_dst_free() directly frees the
underlying memory without checking the dst_entry refcount.
When ice_eswitch_port_start_xmit() processes a packet, it takes a
reference via dst_hold() and attaches the metadata_dst to the skb.
If the representor is torn down while packets are still queued on
the lower device (e.g. in a qdisc), the metadata_dst is freed while
references are still held.
Use dst_release() instead, which correctly decrements the refcount
and only frees the object when all references are dropped. The dst
subsystem already handles metadata_dst cleanup in dst_destroy() when
DST_METADATA is set.
Other drivers sharing this pattern (nfp, airoha, bnxt) already use
dst_release() for their metadata_dst lifecycle. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected f5396b8a663f7a78ee5b75a47ee524b40795b265 1f263235651775f93c15d90c9f25c3f4a4ef6512 git |
Not specified |
| CNA |
Linux |
Linux |
affected f5396b8a663f7a78ee5b75a47ee524b40795b265 6f5544f53f1e58ea8a49fb9f9158d5793b9205b0 git |
Not specified |
| CNA |
Linux |
Linux |
affected f5396b8a663f7a78ee5b75a47ee524b40795b265 beb05f484a1e4a5a66e3678e4b7f3147f651c080 git |
Not specified |
| CNA |
Linux |
Linux |
affected f5396b8a663f7a78ee5b75a47ee524b40795b265 5e4d20db5179e83a4948927bc39e489a9a83256d git |
Not specified |
| CNA |
Linux |
Linux |
affected f5396b8a663f7a78ee5b75a47ee524b40795b265 58858b8f14803a7eeac297b3ce20f3b21bf2ff66 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.16 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.16 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.160 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.113 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.57 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.11 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/6f5544f53f1e58ea8a49fb9f9158d5793b9205b0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1f263235651775f93c15d90c9f25c3f4a4ef6512 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5e4d20db5179e83a4948927bc39e489a9a83256d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/beb05f484a1e4a5a66e3678e4b7f3147f651c080 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/58858b8f14803a7eeac297b3ce20f3b21bf2ff66 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.