# CVE-2022-50883: bpf: Prevent decl_tag from being referenced in func_proto arg

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-02)
- Published: 2025-12-30T12:23:21.675Z
- Modified: 2026-06-17T05:24:20.957Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef before 3f3d54962a032581996edda8e6bcbf7a30371234; from b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef before e6d276dcc9204f95632580c43d66c52ca502d7ec; from b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef before f17472d4599697d701aa239b4c475a506bccfd19; 5.16 (not affected: before 5.16; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/3f3d54962a032581996edda8e6bcbf7a30371234>
- <https://git.kernel.org/stable/c/e6d276dcc9204f95632580c43d66c52ca502d7ec>
- <https://git.kernel.org/stable/c/f17472d4599697d701aa239b4c475a506bccfd19>

## Sources

- CVE List: [CVE-2022-50883](https://www.cve.org/CVERecord?id=CVE-2022-50883), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50883](https://nvd.nist.gov/vuln/detail/CVE-2022-50883), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50883 · Whole record: https://cve.day/CVE-2022-50883.json · Rebuilt by cve.day 2026-11-25T22:58:21.391Z
