# CVE-2022-50883: bpf: Prevent decl\_tag from being referenced in func\_proto arg

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2025-12-30T12:23:21.675Z
- **Modified:** 2026-06-17T05:24:20.957Z

## Who should check

- Anyone running Linux \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< 3f3d54962a032581996edda8e6bcbf7a30371234; \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< e6d276dcc9204f95632580c43d66c52ca502d7ec; \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< f17472d4599697d701aa239b4c475a506bccfd19
- Anyone running Linux 5.16

## 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.

## Affected and fixed versions

- Linux: \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< 3f3d54962a032581996edda8e6bcbf7a30371234; \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< e6d276dcc9204f95632580c43d66c52ca502d7ec; \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< f17472d4599697d701aa239b4c475a506bccfd19 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50883. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50883.md
Affected: Linux >= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, < 3f3d54962a032581996edda8e6bcbf7a30371234; >= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, < e6d276dcc9204f95632580c43d66c52ca502d7ec; >= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, < f17472d4599697d701aa239b4c475a506bccfd19; Linux 5.16
Fixed in: Linux 3f3d54962a032581996edda8e6bcbf7a30371234

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50883 being exploited?

There is no confirmed exploitation: CVE-2022-50883 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50883?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50883?

Linux \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< 3f3d54962a032581996edda8e6bcbf7a30371234; \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< e6d276dcc9204f95632580c43d66c52ca502d7ec; \>= b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef, \< f17472d4599697d701aa239b4c475a506bccfd19; Linux 5.16.

### Is there a fix for CVE-2022-50883?

Yes. Fixed in Linux 3f3d54962a032581996edda8e6bcbf7a30371234. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50883?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50883>

HTML: <https://flawdb.com/CVE-2022-50883> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50883>
