Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-98797

published

net: cap skb->queue_mapping when the tx queue is picked

Published
18 Oct 2026, 15:48:41 UTC
Updated
19 Oct 2026, 09:25:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < c6ec35c8267c84c2094cb485db20c06384fc2bcc · 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < 2f581814e4e3ea6a5e98f49813dc4c68444a0c4a · 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < f99de42f5c6f8d088063817dad82c3334e87c570 · 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < ea4d4b5dddb5121e64f56fd8e0720bd8b447b63d · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 6.12.113 through 6.12.* (unaffected · semver) · 6.18.56 through 6.18.* (unaffected · semver) · 7.2.10 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3251 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3335 Fixed Not stated Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.113-1~deb12u1 DLA-4850-1
Ubuntu jammy linux-aws-6.8 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-cloud-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-headers-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-azure-fde-6.8-tools-6.8.0-1071 Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-buildinfo-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-buildinfo-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-cloud-tools-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-cloud-tools-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-cloud-tools-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1073 Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-headers-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-headers-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-headers-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-149 Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-ibm-6.8 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-headers-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-ibm-6.8-tools-6.8.0-1069 Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-image-unsigned-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-image-unsigned-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-lib-rust-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-lowlatency-hwe-6.8-tools-6.8.0-149 Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1067-oracle Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-modules-6.8.0-1067-oracle-64k Advisory build 6.8.0-1067.71~22.04.1 USN-9025-1
Ubuntu jammy linux-modules-6.8.0-1068-nvidia Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-6.8.0-1068-nvidia-64k Advisory build 6.8.0-1068.71~22.04.1 USN-9192-1
Ubuntu jammy linux-modules-6.8.0-1069-aws Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1069-aws-64k Advisory build 6.8.0-1069.74~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1069-ibm Advisory build 6.8.0-1069.70~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1071-azure-fde Advisory build 6.8.0-1071.78~22.04.1 USN-9026-1
Ubuntu jammy linux-modules-6.8.0-1073-azure Advisory build 6.8.0-1073.82~22.04.1 USN-9026-1
Ubuntu jammy linux-modules-6.8.0-1073-gcp Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-1073-gcp-64k Advisory build 6.8.0-1073.81~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-149-generic Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-modules-6.8.0-149-generic-64k Advisory build 6.8.0-149.149~22.04.1 USN-9066-1
Ubuntu jammy linux-modules-6.8.0-149-lowlatency Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.0-149-lowlatency-64k Advisory build 6.8.0-149.149.1~22.04.1 USN-9024-1
Ubuntu jammy linux-modules-6.8.1-1064-realtime Advisory build 6.8.1-1064.65~22.04.1 USN-9024-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: net: cap skb->queue_mapping when the tx queue is picked skbedit can set skb->queue_mapping and raise the per-CPU skip_txqueue flag so __dev_queue_xmit() honours the mapping. __dev_queue_xmit() cleared the flag before sch_handle_egress() and only read it afterwards, so the flag was not confined to the xmit that set it: a nested xmit (mirred redirect or mirror, or a drop after skbedit) could set the flag and the outer xmit would consume it for an skb that never went through skbedit. A forwarded packet still carries the ingress NIC's rx_queue + 1 in skb->queue_mapping, so the outer device then indexes its tx queue state with that stale value. Taprio's child array q->qdiscs[] is sized to the device's queue count, so taprio_enqueue() indexes past its allocation and dereferences the result as a struct Qdisc *. We (ab)use the skb->nf_skip_egress which means "skip netfilter egress for this packet" to tag to "am I in tc egress?". Despite the overload I dont see it as a conflict since the marker is set only around the single sch_handle_egress() call and ingress path is guarded by tc_at_ingress. I will send a followup(net-next) patch once this hits net-next to rename the skb->nf_skip_egress bit/flag to skb->skip_egress Arm the flag only from the egress classifier that can use it: raise skip_txqueue from tcf_skbedit_act() only when it runs inside sch_handle_egress(), thanks to skb->nf_skip_egress. An egress qdisc classifier runs in q->enqueue(), after the tx queue has been picked, so a mapping it sets cannot affect the current packet; arming the flag there only pollutes it for a later xmit. Then own the flag for the xmit frame the egress hook runs in: save the incoming value and clear it just before sch_handle_egress(), and restore it after the hook - on the consumed (drop) path, or, in the same call that reads it, on the surviving path. The save and the restores stay inside the egress_needed_key static branch, so a packet pays for them only when egress hooks are active (2f1e85b1aee4). Store the value netdev_cap_txqueue() selected back into skb->queue_mapping in netdev_tx_queue_mapping(), as netdev_core_pick_tx() already does, so the skip_txqueue path never hands a later reader on the xmit path a mapping the device cannot serve. A store made still later in the same frame, by a tc BPF program attached to a transmit qdisc, is outside this path and is not re-capped; a separate followup will resolve that path. netdev_xmit_skip_txqueue() returns the previous flag value so the save-and-clear is one call, and a no-op stub is provided when CONFIG_NET_EGRESS is disabled. skb->nf_skip_egress is compiled under CONFIG_NET_EGRESS rather than CONFIG_NETFILTER_SKIP_EGRESS, so skb_at_tc_egress() is valid whenever the egress path is built. A local user in a network namespace can redirect a packet from a device with more TX queues to one with fewer after setting a mapping valid only on the larger device. That reaches these reads and, under KASAN, faults with "slab-out-of-bounds in taprio_enqueue". Conditions to recreate the bug: the report's own trigger is a local user with CAP_NET_ADMIN in a network namespace, so no eBPF program is needed. With CONFIG_NET_SCH_TAPRIO=y, CONFIG_NET_ACT_SKBEDIT=y, CONFIG_NET_ACT_MIRRED=y, CONFIG_NET_CLS_MATCHALL=y, CONFIG_NET_SCH_PRIO=y and KASAN enabled, create qa (3 queues), qb (2 queues) and qc (1 queue) as dummy devices; put a taprio root on qb (num_tc 1, queues 2@0) and clsact on all three; then add an egress matchall filter on every device. On qa: "action skbedit queue_mapping 2 pipe action mirred egress redirect dev qb". On qb: "action mirred egress mirror dev qc". On qc: "action skbedit queue_mapping 0 pipe". Send one packet out qa. qc's skbedit sets the flag while qb's outer xmit is in flight; without the fix qb consumes it and reads its two-entry taprio child array with the forwarded packet's stale mapping. A qc whose skb ---truncated---

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

23

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < c6ec35c8267c84c2094cb485db20c06384fc2bcc (affected · git)2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < 2f581814e4e3ea6a5e98f49813dc4c68444a0c4a (affected · git)2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < f99de42f5c6f8d088063817dad82c3334e87c570 (affected · git)2f1e85b1aee459b7d0fd981839042c6a38ffaf0c to < ea4d4b5dddb5121e64f56fd8e0720bd8b447b63d (affected · git)Default: unaffected Linux · cna
Linux Linux 5.19 (affected)0 to < 5.19 (unaffected · semver)6.12.113 through 6.12.* (unaffected · semver)6.18.56 through 6.18.* (unaffected · semver)7.2.10 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

net: cap skb->queue_mapping when the tx queue is picked

Provenance

Schema
5.2
Searchable
yes
Content hash
f980a178731c8831a736c8a7257d2a23e7ca0594c05d95087eae4c5db06fc597
Ingested
19 Oct 2026, 09:36:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected