GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50883 (GCVE-0-2022-50883)

Vulnerability from cvelistv5 – Published: 2025-12-30 12:23 – Updated: 2026-05-11 19:26
VLAI
Title
bpf: Prevent decl_tag from being referenced in func_proto arg
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Prevent decl_tag from being referenced in func_proto arg Syzkaller managed to hit another decl_tag issue: btf_func_proto_check kernel/bpf/btf.c:4506 [inline] btf_check_all_types kernel/bpf/btf.c:4734 [inline] btf_parse_type_sec+0x1175/0x1980 kernel/bpf/btf.c:4763 btf_parse kernel/bpf/btf.c:5042 [inline] btf_new_fd+0x65a/0xb00 kernel/bpf/btf.c:6709 bpf_btf_load+0x6f/0x90 kernel/bpf/syscall.c:4342 __sys_bpf+0x50a/0x6c0 kernel/bpf/syscall.c:5034 __do_sys_bpf kernel/bpf/syscall.c:5093 [inline] __se_sys_bpf kernel/bpf/syscall.c:5091 [inline] __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5091 do_syscall_64+0x54/0x70 arch/x86/entry/common.c:48 This seems similar to commit ea68376c8bed ("bpf: prevent decl_tag from being referenced in func_proto") but for the argument.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef , < 3f3d54962a032581996edda8e6bcbf7a30371234 (git)
Affected: b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef , < e6d276dcc9204f95632580c43d66c52ca502d7ec (git)
Affected: b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef , < f17472d4599697d701aa239b4c475a506bccfd19 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.16
Unaffected: 0 , < 5.16 (semver)
Unaffected: 6.0.16 , ≤ 6.0.* (semver)
Unaffected: 6.1.2 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/btf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3f3d54962a032581996edda8e6bcbf7a30371234",
              "status": "affected",
              "version": "b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef",
              "versionType": "git"
            },
            {
              "lessThan": "e6d276dcc9204f95632580c43d66c52ca502d7ec",
              "status": "affected",
              "version": "b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef",
              "versionType": "git"
            },
            {
              "lessThan": "f17472d4599697d701aa239b4c475a506bccfd19",
              "status": "affected",
              "version": "b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/btf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Prevent decl_tag from being referenced in func_proto arg\n\nSyzkaller managed to hit another decl_tag issue:\n\n  btf_func_proto_check kernel/bpf/btf.c:4506 [inline]\n  btf_check_all_types kernel/bpf/btf.c:4734 [inline]\n  btf_parse_type_sec+0x1175/0x1980 kernel/bpf/btf.c:4763\n  btf_parse kernel/bpf/btf.c:5042 [inline]\n  btf_new_fd+0x65a/0xb00 kernel/bpf/btf.c:6709\n  bpf_btf_load+0x6f/0x90 kernel/bpf/syscall.c:4342\n  __sys_bpf+0x50a/0x6c0 kernel/bpf/syscall.c:5034\n  __do_sys_bpf kernel/bpf/syscall.c:5093 [inline]\n  __se_sys_bpf kernel/bpf/syscall.c:5091 [inline]\n  __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5091\n  do_syscall_64+0x54/0x70 arch/x86/entry/common.c:48\n\nThis seems similar to commit ea68376c8bed (\"bpf: prevent decl_tag from being\nreferenced in func_proto\") but for the argument."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:26:58.510Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3f3d54962a032581996edda8e6bcbf7a30371234"
        },
        {
          "url": "https://git.kernel.org/stable/c/e6d276dcc9204f95632580c43d66c52ca502d7ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/f17472d4599697d701aa239b4c475a506bccfd19"
        }
      ],
      "title": "bpf: Prevent decl_tag from being referenced in func_proto arg",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50883",
    "datePublished": "2025-12-30T12:23:21.675Z",
    "dateReserved": "2025-12-30T12:06:07.138Z",
    "dateUpdated": "2026-05-11T19:26:58.510Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50883",
      "date": "2026-09-14",
      "epss": "0.00195",
      "percentile": "0.09365"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50883\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:03.387\",\"lastModified\":\"2026-06-17T05:24:20.957\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: Prevent decl_tag from being referenced in func_proto arg\\n\\nSyzkaller managed to hit another decl_tag issue:\\n\\n  btf_func_proto_check kernel/bpf/btf.c:4506 [inline]\\n  btf_check_all_types kernel/bpf/btf.c:4734 [inline]\\n  btf_parse_type_sec+0x1175/0x1980 kernel/bpf/btf.c:4763\\n  btf_parse kernel/bpf/btf.c:5042 [inline]\\n  btf_new_fd+0x65a/0xb00 kernel/bpf/btf.c:6709\\n  bpf_btf_load+0x6f/0x90 kernel/bpf/syscall.c:4342\\n  __sys_bpf+0x50a/0x6c0 kernel/bpf/syscall.c:5034\\n  __do_sys_bpf kernel/bpf/syscall.c:5093 [inline]\\n  __se_sys_bpf kernel/bpf/syscall.c:5091 [inline]\\n  __x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5091\\n  do_syscall_64+0x54/0x70 arch/x86/entry/common.c:48\\n\\nThis seems similar to commit ea68376c8bed (\\\"bpf: prevent decl_tag from being\\nreferenced in func_proto\\\") but for the argument.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/bpf/btf.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef\",\"lessThan\":\"3f3d54962a032581996edda8e6bcbf7a30371234\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef\",\"lessThan\":\"e6d276dcc9204f95632580c43d66c52ca502d7ec\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef\",\"lessThan\":\"f17472d4599697d701aa239b4c475a506bccfd19\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/bpf/btf.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.16\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.16\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.16\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.2\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3f3d54962a032581996edda8e6bcbf7a30371234\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e6d276dcc9204f95632580c43d66c52ca502d7ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f17472d4599697d701aa239b4c475a506bccfd19\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-07-21T19:10:47+00:00",
      "cve": "CVE-2022-50883",
      "id": "CVE-2022-50883",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "156",
      "product_status:known_not_affected": "118",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: bpf: Prevent decl_tag from being referenced in func_proto arg",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50883.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-06T17:06:41Z",
      "cve": "CVE-2022-50883",
      "id": "CVE-2022-50883",
      "initial_release_date": "2025-12-31T00:30:34Z",
      "product_status:known_affected": "374",
      "product_status:known_not_affected": "493",
      "product_status:recommended": "116",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50883",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50883.json",
      "version": "25"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…