In the Linux kernel, the following vulnerability has been resolved:
i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data.
The i3c_master_bus_init
function may attach the I2C devices before the
I3C bus initialization. In this flow, the DAT alloc_entry`` will be used before the DAT
init. Additionally, if the
i3c_master_bus_initfails, the DAT
cleanupwill execute before the device is detached, which will execue DAT
free_entry` function. The above scenario can cause the driver
to use DAT_data when it is NULL.
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": [
"drivers/i3c/master/mipi-i3c-hci/dat_v1.c"
],
"versions": [
{
"version": "1da177e4c3f4",
"lessThan": "39c71357e68e",
"status": "affected",
"versionType": "git"
},
{
"version": "1da177e4c3f4",
"lessThan": "e64d23dc6581",
"status": "affected",
"versionType": "git"
},
{
"version": "1da177e4c3f4",
"lessThan": "3cb79a365e7c",
"status": "affected",
"versionType": "git"
},
{
"version": "1da177e4c3f4",
"lessThan": "eed74230435c",
"status": "affected",
"versionType": "git"
},
{
"version": "1da177e4c3f4",
"lessThan": "b53e9758a31c",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/i3c/master/mipi-i3c-hci/dat_v1.c"
],
"versions": [
{
"version": "5.15.140",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.1.64",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.5.13",
"lessThanOrEqual": "6.5.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.6.3",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "6.7",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/39c71357e68e2f03766f9321b9f4882e49ff1442
git.kernel.org/stable/c/3cb79a365e7cce8f121bba91312e2ddd206b9781
git.kernel.org/stable/c/b53e9758a31c683fc8615df930262192ed5f034b
git.kernel.org/stable/c/e64d23dc65810be4e3395d72df0c398f60c991f9
git.kernel.org/stable/c/eed74230435c61eeb58abaa275b1820e6a4b7f02