AI Score
Confidence
Low
EPSS
Percentile
15.5%
SSVC
Exploitation
none
Automatable
no
Technical Impact
partial
In the Linux kernel, the following vulnerability has been resolved:
mm/slab: make __free(kfree) accept error pointers
Currently, if an automatically freed allocation is an error pointer that
will lead to a crash. An example of this is in wm831x_gpio_dbg_show().
171 char *label __free(kfree) = gpiochip_dup_line_label(chip, i);
172 if (IS_ERR(label)) {
173 dev_err(wm831x->dev, “Failed to duplicate label\n”);
174 continue;
175 }
The auto clean up function should check for error pointers as well,
otherwise we’re going to keep hitting issues like this.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3c6cc62ce126",
"lessThan": "9f6eb0ab4f95",
"versionType": "git"
},
{
"status": "affected",
"version": "54da6a092431",
"lessThan": "ac6cf3ce9b7d",
"versionType": "git"
},
{
"status": "affected",
"version": "54da6a092431",
"lessThan": "79cbe0be6c03",
"versionType": "git"
},
{
"status": "affected",
"version": "54da6a092431",
"lessThan": "cd7eb8f83fcf",
"versionType": "git"
}
],
"programFiles": [
"include/linux/slab.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.5"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.5",
"versionType": "custom"
},
{
"status": "unaffected",
"version": "6.1.91",
"versionType": "custom",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.31",
"versionType": "custom",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.8.10",
"versionType": "custom",
"lessThanOrEqual": "6.8.*"
},
{
"status": "unaffected",
"version": "6.9",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"include/linux/slab.h"
],
"defaultStatus": "affected"
}
]