Skip to content
Heist/ feed
Unrated

ipv6: sr: use skb_get_hash_net() in seg6_make_flowlabel()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: use skb_get_hash_net() in seg6_make_flowlabel() Since commit d58e468b1112 ("flow_dissector: implements flow dissector BPF hook") __skb_flow_dissect() needs a net pointer, either from skb->dev, skb->sk, or since commit 3cbf4ffba5ee ("net: plumb network namespace into __skb_flow_dissect") a caller provided pointer. syzbot was able to reach seg6_make_flowlabel() with an skb having neither skb->dev nor skb->sk set: a TIPC UDP bearer sends a discovery message through an IPv4 route using seg6 encap, while net.ipv6.seg6_flowlabel is set to 1. seg6_make_flowlabel() already has a net pointer, use skb_get_hash_net(). WARNING: net/core/flow_dissector.c:1131 at __skb_flow_dissect+0x910/0x5368 net/core/flow_dissector.c:1126, CPU#0: syz.0.17/4930 Call trace: __skb_flow_dissect+0x910/0x5368 net/core/flow_dissector.c:1126 (P) __skb_get_hash_net+0xe0/0x29c net/core/flow_dissector.c:1903 skb_get_hash include/linux/skbuff.h:1663 [inline] seg6_make_flowlabel+0xcc/0x1ec net/ipv6/seg6_iptunnel.c:132 __seg6_do_srh_encap+0x320/0xbf4 net/ipv6/seg6_iptunnel.c:161 seg6_do_srh+0x4b4/0xa44 net/ipv6/seg6_iptunnel.c:431 seg6_output_core+0x164/0x688 net/ipv6/seg6_iptunnel.c:681 seg6_output+0x44/0x1ac net/ipv6/seg6_iptunnel.c:744 lwtunnel_output+0x3d0/0x664 net/core/lwtunnel.c:356 dst_output include/net/dst.h:470 [inline] ip_local_out+0x110/0x148 net/ipv4/ip_output.c:131 iptunnel_xmit+0x50c/0xd38 net/ipv4/ip_tunnel_core.c:97 udp_tu

Announced Group revision 1
Original source ↗

CVE-2026-98934

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98934

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9",
        "lessThan": "4ab37e4f4a33c64d9e565dc8c4c3ed774f05c0e3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9",
        "lessThan": "8fe3d6717f5536793727e60b7a0b7ec20c697def",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9",
        "lessThan": "53b21bc2df6e8ed538bceda93a5104a5fe6a8a84",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9",
        "lessThan": "086e8acb3a0e55f6d22d29fae2a4a3b1561bb766",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9",
        "lessThan": "8ec454dcd00ce3375119111c6394964455b36d0d",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/ipv6/seg6_iptunnel.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.20"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.20",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.113",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.56",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.10",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/ipv6/seg6_iptunnel.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98934

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#52792 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement