Skip to content
Heist/ feed
Back to feed
UnratedFix available

bpf: don't rewrite bpf_fastcall patterns entered by a jump

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: bpf: don't rewrite bpf_fastcall patterns entered by a jump mark_fastcall_pattern_for_call() must ensure that matched "spill; call; fill" instruction series is not interrupted by a jump. Otherwise the rewrite applied by bpf_remove_fastcall_spills_fills() is not sound. Record the instructions targeted by jumps in insn_aux_data[*].jump_target when the CFG is built and use this flag to stop growing a pattern at such an instruction. Jumps to the first spill are fine. Note that existing insn_aux_data[*].jmp_point field can't be reused, as it marks subprogram return instructions.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.114, 6.18.57, 7.2.7
CVEs
CVE-2026-98048
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:26 UTC · Revision 1

Source evidence

bpf: don't rewrite bpf_fastcall patterns entered by a jump

core-osv · Original source

Published 25 Sept 2026, 10:23 UTC

In the Linux kernel, the following vulnerability has been resolved: bpf: don't rewrite bpf_fastcall patterns entered by a jump mark_fastcall_pattern_for_call() must ensure that matched "spill; call; fill" instruction series is not interrupted by a jump. Otherwise the rewrite applied by bpf_remove_fastcall_spills_fills() is not sound. Record the instructions targeted by jumps in insn_aux_data[*].jump_target when the CFG is built and use this flag to stop growing a pattern at such an instruction. Jumps to the first spill are fine. Note that existing insn_aux_data[*].jmp_point field can't be reused, as it marks subprogram return instructions.

osv:CVE-2026-98048

Kernel

Fixed versions: 6.12.114, 6.18.57, 7.2.7

Complete source record
{
  "id": "220a2602a49306d40ed7520cfc18ebe01871ca023e8466ae5bb032ae0986c02e",
  "url": "https://osv.dev/vulnerability/CVE-2026-98048",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bpf: don't rewrite bpf_fastcall patterns entered by a jump",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: bpf: don't rewrite bpf_fastcall patterns entered by a jump mark_fastcall_pattern_for_call() must ensure that matched \"spill; call; fill\" instruction series is not interrupted by a jump. Otherwise the rewrite applied by bpf_remove_fastcall_spills_fills() is not sound. Record the instructions targeted by jumps in insn_aux_data[*].jump_target when the CFG is built and use this flag to stop growing a pattern at such an instruction. Jumps to the first spill are fine. Note that existing insn_aux_data[*].jmp_point field can't be reused, as it marks subprogram return instructions.",
    "evidence": "osv:CVE-2026-98048",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.57",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98048",
      "aliases": [
        "CVE-2026-98048"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5b5f51bff1b66cedb62b5ba74a1878341204e057"
                },
                {
                  "fixed": "a0cd1c3ac63504ba3c50c01a00c11812919b619f"
                },
                {
                  "fixed": "c4d3bdb3ab211dcfad734b02e06fcb12adb4757f"
                },
                {
                  "fixed": "24adbc2c3bbe3385ce922587e1f8e837a68b3e25"
                },
                {
                  "fixed": "0b1c83dc3c4401cd7e846548f62e3caf3d06742e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98048.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.12.0"
                },
                {
                  "fixed": "6.12.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.57"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98048.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.129615852Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0b1c83dc3c4401cd7e846548f62e3caf3d06742e",
        "https://git.kernel.org/stable/c/24adbc2c3bbe3385ce922587e1f8e837a68b3e25",
        "https://git.kernel.org/stable/c/a0cd1c3ac63504ba3c50c01a00c11812919b619f",
        "https://git.kernel.org/stable/c/c4d3bdb3ab211dcfad734b02e06fcb12adb4757f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98048.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-98048",
        "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/98xxx/CVE-2026-98048.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98048",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 488375,
  "published_at": "2026-09-25T10:23:57.956+00:00"
}