{"id":"CVE-2022-50883","summary":"bpf: Prevent decl_tag from being referenced in func_proto arg","details":"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.","modified":"2026-03-20T11:47:40.366833Z","published":"2025-12-30T12:23:21.675Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50883.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3f3d54962a032581996edda8e6bcbf7a30371234"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6d276dcc9204f95632580c43d66c52ca502d7ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f17472d4599697d701aa239b4c475a506bccfd19"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50883.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50883"},{"type":"PACKAGE","url":"https://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/osv-test-cve-osv-conversion/osv-output/CVE-2022-50883.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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/osv-test-cve-osv-conversion/osv-output/CVE-2022-50883.json"}}],"schema_version":"1.7.5"}