Skip to content
Heist/ feed
High

net: fix geneve_opt length integer overflow

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net: fix geneve_opt length integer overflow struct geneve_opt uses 5 bit length for each single option, which means every vary size option should be smaller than 128 bytes. However, all current related Netlink policies cannot promise this length condition and the attacker can exploit a exact 128-byte size option to *fake* a zero length option and confuse the parsing logic, further achieve heap out-of-bounds read. One example crash log is like below: [ 3.905425] ================================================================== [ 3.905925] BUG: KASAN: slab-out-of-bounds in nla_put+0xa9/0xe0 [ 3.906255] Read of size 124 at addr ffff888005f291cc by task poc/177 [ 3.906646] [ 3.906775] CPU: 0 PID: 177 Comm: poc-oob-read Not tainted 6.1.132 #1 [ 3.907131] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014 [ 3.907784] Call Trace: [ 3.907925] [ 3.908048] dump_stack_lvl+0x44/0x5c [ 3.908258] print_report+0x184/0x4be [ 3.909151] kasan_report+0xc5/0x100 [ 3.909539] kasan_check_range+0xf3/0x1a0 [ 3.909794] memcpy+0x1f/0x60 [ 3.909968] nla_put+0xa9/0xe0 [ 3.910147] tunnel_key_dump+0x945/0xba0 [ 3.911536] tcf_action_dump_1+0x1c1/0x340 [ 3.912436] tcf_action_dump+0x101/0x180 [ 3.912689] tcf_exts_dump+0x164/0x1e0 [ 3.912905] fw_dump+0x18b/0x2d0 [ 3.913483] tcf_fill_node+0x2ee/0x460 [ 3.914778] tfilter_notify+0xf4/0x180 [ 3.915208] tc_new_tfilter+0xd51/0x10d0 [

Announced Group revision 1
Original source ↗

CVE-2025-22055

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-2025-22055

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": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "a2cb85f989e2074e2f392e00188c438cab3de088",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "b4513ad0f391871d3feee8ddf535609a3aabeeac",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "21748669c5825761cbbf47cbeeb01387ddccc8cb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "5a2976cc4d9c36ff58a0f10e35ce4283cbaa9c0e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "2952776c69a1a551649ed770bf22e3f691f6ec65",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "738ae5712215fe9181587d582b23333f02c62ca6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "4d606069bdd3c76f8ab1f06796c97ef7f4746807",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0ed5269f9e41f495c8e9020c85f5e1644c1afc57",
        "lessThan": "b27055a08ad4b415dcf15b63034f9cb236f7fb40",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/ipv4/ip_tunnel_core.c",
      "net/netfilter/nft_tunnel.c",
      "net/sched/act_tunnel_key.c",
      "net/sched/cls_flower.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.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.236",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.180",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.134",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.87",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.23",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.13.11",
        "versionType": "semver",
        "lessThanOrEqual": "6.13.*"
      },
      {
        "status": "unaffected",
        "version": "6.14.2",
        "versionType": "semver",
        "lessThanOrEqual": "6.14.*"
      },
      {
        "status": "unaffected",
        "version": "6.15",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/ipv4/ip_tunnel_core.c",
      "net/netfilter/nft_tunnel.c",
      "net/sched/act_tunnel_key.c",
      "net/sched/cls_flower.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-22055

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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