Skip to content
Heist/ feed
Back to feed
CriticalFix available

um: vector: fix use-after-free in vector_mmsg_rx()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: um: vector: fix use-after-free in vector_mmsg_rx() When vector_mmsg_rx() discards a packet whose overlay header fails verify_header(), it frees the skb and continues the loop: if (header_check < 0) { dev_kfree_skb_irq(skb); vp->estats.rx_encaps_errors++; continue; } The normal and short-packet paths fall through to the bottom of the loop body, which clears the consumed slot and advances the cursors: (*skbuff_vector) = NULL; mmsg_vector++; skbuff_vector++; The verify_header() < 0 path skips that via continue, so the freed skb is left in skbuff_vector[] and the cursors do not advance. The next iteration reads the same slot, gets the freed skb, and frees it again, producing a refcount underflow / use-after-free in the RX path. Discard the slot the same way the other paths do before continuing. Only transports whose verify_header() can return negative are affected: GRE and L2TPv3 do so on a cookie/session-id mismatch (raw/tap do not), so any peer on such a transport can trigger it without authentication.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.265, 5.15.216, 6.1.183, 6.12.103, 6.18.44, 6.6.151, 7.1.8
CVEs
CVE-2026-74478
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:32 UTC · Revision 1

Source evidence

um: vector: fix use-after-free in vector_mmsg_rx()

core-osv · Original source

Published 15 Aug 2026, 12:27 UTC

In the Linux kernel, the following vulnerability has been resolved: um: vector: fix use-after-free in vector_mmsg_rx() When vector_mmsg_rx() discards a packet whose overlay header fails verify_header(), it frees the skb and continues the loop: if (header_check < 0) { dev_kfree_skb_irq(skb); vp->estats.rx_encaps_errors++; continue; } The normal and short-packet paths fall through to the bottom of the loop body, which clears the consumed slot and advances the cursors: (*skbuff_vector) = NULL; mmsg_vector++; skbuff_vector++; The verify_header() < 0 path skips that via continue, so the freed skb is left in skbuff_vector[] and the cursors do not advance. The next iteration reads the same slot, gets the freed skb, and frees it again, producing a refcount underflow / use-after-free in the RX path. Discard the slot the same way the other paths do before continuing. Only transports whose verify_header() can return negative are affected: GRE and L2TPv3 do so on a cookie/session-id mismatch (raw/tap do not), so any peer on such a transport can trigger it without authentication.

osv:CVE-2026-74478

Kernel

Fixed versions: 5.10.265, 5.15.216, 6.1.183, 6.6.151, 6.12.103, 6.18.44, 7.1.8

Complete source record
{
  "id": "9041e6463578cca266bc1aeb7657582a38f5b6a546edb112cc1d42eb10ed1698",
  "url": "https://osv.dev/vulnerability/CVE-2026-74478",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "um: vector: fix use-after-free in vector_mmsg_rx()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: um: vector: fix use-after-free in vector_mmsg_rx() When vector_mmsg_rx() discards a packet whose overlay header fails verify_header(), it frees the skb and continues the loop: if (header_check < 0) { dev_kfree_skb_irq(skb); vp->estats.rx_encaps_errors++; continue; } The normal and short-packet paths fall through to the bottom of the loop body, which clears the consumed slot and advances the cursors: (*skbuff_vector) = NULL; mmsg_vector++; skbuff_vector++; The verify_header() < 0 path skips that via continue, so the freed skb is left in skbuff_vector[] and the cursors do not advance. The next iteration reads the same slot, gets the freed skb, and frees it again, producing a refcount underflow / use-after-free in the RX path. Discard the slot the same way the other paths do before continuing. Only transports whose verify_header() can return negative are affected: GRE and L2TPv3 do so on a cookie/session-id mismatch (raw/tap do not), so any peer on such a transport can trigger it without authentication.",
    "evidence": "osv:CVE-2026-74478",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.265",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.216",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.183",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.151",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.103",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.44",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-74478",
      "aliases": [
        "CVE-2026-74478"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "49da7e64f33e80edffb1a9eeb230fa4c3f42dffb"
                },
                {
                  "fixed": "967c779c9853d2a1cc9cd8e61d300250c348f3d9"
                },
                {
                  "fixed": "a7bc015bb798c525e7a82dd14225c6aeb994274b"
                },
                {
                  "fixed": "7dc9781e320d664c9bdd50003c9acfddf363d1e1"
                },
                {
                  "fixed": "4b9601595e8b6b5d18878cac0aeabc687d241111"
                },
                {
                  "fixed": "67d58ab4f2ccf7145f3da07e025735a09c79de1b"
                },
                {
                  "fixed": "180ff4c81faf01ec4e06082c9daa7c40518ead89"
                },
                {
                  "fixed": "804b681002ead233abf49a3efd681f5468a835f9"
                },
                {
                  "fixed": "af421e9aed3920c7ac88c24daa48606c7112feca"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74478.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.17.0"
                },
                {
                  "fixed": "5.10.265"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.216"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.183"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.151"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.103"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.44"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74478.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.266261736Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/180ff4c81faf01ec4e06082c9daa7c40518ead89",
        "https://git.kernel.org/stable/c/4b9601595e8b6b5d18878cac0aeabc687d241111",
        "https://git.kernel.org/stable/c/67d58ab4f2ccf7145f3da07e025735a09c79de1b",
        "https://git.kernel.org/stable/c/7dc9781e320d664c9bdd50003c9acfddf363d1e1",
        "https://git.kernel.org/stable/c/804b681002ead233abf49a3efd681f5468a835f9",
        "https://git.kernel.org/stable/c/967c779c9853d2a1cc9cd8e61d300250c348f3d9",
        "https://git.kernel.org/stable/c/a7bc015bb798c525e7a82dd14225c6aeb994274b",
        "https://git.kernel.org/stable/c/af421e9aed3920c7ac88c24daa48606c7112feca",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74478.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-74478",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74478.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-74478",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494991,
  "published_at": "2026-08-15T12:27:12.549+00:00"
}