CVE-2022-50883

Source
https://cve.org/CVERecord?id=CVE-2022-50883
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50883.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50883
Downstream
Related
Published
2025-12-30T12:23:21.675Z
Modified
2026-04-02T08:28:49.178017Z
Summary
bpf: Prevent decl_tag from being referenced in func_proto arg
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: Prevent decltag from being referenced in funcproto arg

Syzkaller managed to hit another decl_tag issue:

btffuncprotocheck kernel/bpf/btf.c:4506 [inline] btfcheckalltypes kernel/bpf/btf.c:4734 [inline] btfparsetypesec+0x1175/0x1980 kernel/bpf/btf.c:4763 btfparse kernel/bpf/btf.c:5042 [inline] btfnewfd+0x65a/0xb00 kernel/bpf/btf.c:6709 bpfbtfload+0x6f/0x90 kernel/bpf/syscall.c:4342 __sys_bpf+0x50a/0x6c0 kernel/bpf/syscall.c:5034 __dosysbpf kernel/bpf/syscall.c:5093 [inline] __sesysbpf kernel/bpf/syscall.c:5091 [inline] __x64sysbpf+0x7c/0x90 kernel/bpf/syscall.c:5091 dosyscall64+0x54/0x70 arch/x86/entry/common.c:48

This seems similar to commit ea68376c8bed ("bpf: prevent decltag from being referenced in funcproto") but for the argument.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50883.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b5ea834dde6b6e7f75e51d5f66dac8cd7c97b5ef
Fixed
3f3d54962a032581996edda8e6bcbf7a30371234
Fixed
e6d276dcc9204f95632580c43d66c52ca502d7ec
Fixed
f17472d4599697d701aa239b4c475a506bccfd19

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50883.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50883.json"