In the Linux kernel, the following vulnerability has been resolved:
bpf: Set run context for rawtp test_run callback
syzbot reported crash when rawtp program executed through the
test_run interface calls bpf_get_attach_cookie helper or any
other helper that touches task->bpf_ctx pointer.
Setting the run context (task->bpf_ctx pointer) for test_run
callback.
Vendor | Product | Version | CPE |
---|---|---|---|
linux | linux_kernel | * | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/bpf/test_run.c"
],
"versions": [
{
"version": "7adfc6c9b315",
"lessThan": "789bd77c9342",
"status": "affected",
"versionType": "git"
},
{
"version": "7adfc6c9b315",
"lessThan": "3708b6c2546c",
"status": "affected",
"versionType": "git"
},
{
"version": "7adfc6c9b315",
"lessThan": "d387805d4b4a",
"status": "affected",
"versionType": "git"
},
{
"version": "7adfc6c9b315",
"lessThan": "ae0ba0ab7475",
"status": "affected",
"versionType": "git"
},
{
"version": "7adfc6c9b315",
"lessThan": "d0d1df8ba18a",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/bpf/test_run.c"
],
"versions": [
{
"version": "5.15",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.15",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.162",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.95",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.35",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.9.6",
"lessThanOrEqual": "6.9.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.10",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/3708b6c2546c9eb34aead8a34a17e8ae69004e4d
git.kernel.org/stable/c/789bd77c9342aa6125003871ae5c6034d0f6f9d2
git.kernel.org/stable/c/ae0ba0ab7475a129ef7d449966edf677367efeb4
git.kernel.org/stable/c/d0d1df8ba18abc57f28fb3bc053b2bf319367f2c
git.kernel.org/stable/c/d387805d4b4a46ee01e3dae133c81b6d80195e5b