In the Linux kernel, the following vulnerability has been resolved:
rtla/osnoise: Prevent NULL dereference in error handling
If the “tool->data” allocation fails then there is no need to call
osnoise_free_top() and, in fact, doing so will lead to a NULL dereference.
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"tools/tracing/rtla/src/osnoise_top.c"
],
"versions": [
{
"version": "1eceb2fc2ca5",
"lessThan": "fc575212c6b7",
"status": "affected",
"versionType": "git"
},
{
"version": "1eceb2fc2ca5",
"lessThan": "753f1745146e",
"status": "affected",
"versionType": "git"
},
{
"version": "1eceb2fc2ca5",
"lessThan": "abdb9ddaaab4",
"status": "affected",
"versionType": "git"
},
{
"version": "1eceb2fc2ca5",
"lessThan": "90574d2a6759",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"tools/tracing/rtla/src/osnoise_top.c"
],
"versions": [
{
"version": "5.17",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.17",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.107",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.48",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.10.7",
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.11",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]