CVE-2022-50883 (GCVE-0-2022-50883)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:23 – Updated: 2025-12-30 12:23
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.
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Affected:
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 89357aa97b521fca76e39d81e2b1ac5edb3d0b96
(git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 329a76635548ee8fceb3b78c7d54d96524e80925 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < b327c68ace71ba9cb3105ae6a5955a229e9bdca3 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 3f3d54962a032581996edda8e6bcbf7a30371234 (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < e6d276dcc9204f95632580c43d66c52ca502d7ec (git) Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < f17472d4599697d701aa239b4c475a506bccfd19 (git) |
||
{
"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": "89357aa97b521fca76e39d81e2b1ac5edb3d0b96",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "329a76635548ee8fceb3b78c7d54d96524e80925",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "b327c68ace71ba9cb3105ae6a5955a229e9bdca3",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "3f3d54962a032581996edda8e6bcbf7a30371234",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "e6d276dcc9204f95632580c43d66c52ca502d7ec",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"versionType": "git"
},
{
"lessThan": "f17472d4599697d701aa239b4c475a506bccfd19",
"status": "affected",
"version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
"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": [
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.86",
"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": "5.4.229",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.86",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"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": "2025-12-30T12:23:21.675Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/89357aa97b521fca76e39d81e2b1ac5edb3d0b96"
},
{
"url": "https://git.kernel.org/stable/c/329a76635548ee8fceb3b78c7d54d96524e80925"
},
{
"url": "https://git.kernel.org/stable/c/b327c68ace71ba9cb3105ae6a5955a229e9bdca3"
},
{
"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": "2025-12-30T12:23:21.675Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2022-50883\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:03.387\",\"lastModified\":\"2025-12-30T13:16:03.387\",\"vulnStatus\":\"Received\",\"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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/329a76635548ee8fceb3b78c7d54d96524e80925\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3f3d54962a032581996edda8e6bcbf7a30371234\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/89357aa97b521fca76e39d81e2b1ac5edb3d0b96\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b327c68ace71ba9cb3105ae6a5955a229e9bdca3\",\"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\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…
Loading…