cvelist/2024/35xxx/CVE-2024-35986.json

124 lines
6.4 KiB
JSON
Raw Normal View History

2024-05-17 14:01:01 +00:00
{
2024-05-20 10:00:36 +00:00
"data_version": "4.0",
2024-05-17 14:01:01 +00:00
"data_type": "CVE",
"data_format": "MITRE",
"CVE_data_meta": {
"ID": "CVE-2024-35986",
2024-05-20 10:00:36 +00:00
"ASSIGNER": "cve@kernel.org",
"STATE": "PUBLIC"
2024-05-17 14:01:01 +00:00
},
"description": {
"description_data": [
{
"lang": "eng",
2024-05-20 10:00:36 +00:00
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nphy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered\n\nThe power_supply frame-work is not really designed for there to be\nlong living in kernel references to power_supply devices.\n\nSpecifically unregistering a power_supply while some other code has\na reference to it triggers a WARN in power_supply_unregister():\n\n\tWARN_ON(atomic_dec_return(&psy->use_cnt));\n\nFolllowed by the power_supply still getting removed and the\nbacking data freed anyway, leaving the tusb1210 charger-detect code\nwith a dangling reference, resulting in a crash the next time\ntusb1210_get_online() is called.\n\nFix this by only holding the reference in tusb1210_get_online()\nfreeing it at the end of the function. Note this still leaves\na theoretical race window, but it avoids the issue when manually\nrmmod-ing the charger chip driver during development."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
2024-05-17 14:01:01 +00:00
}
]
2024-05-20 10:00:36 +00:00
},
"affects": {
"vendor": {
"vendor_data": [
{
"vendor_name": "Linux",
"product": {
"product_data": [
{
"product_name": "Linux",
"version": {
"version_data": [
{
"version_affected": "<",
"version_name": "48969a5623ed",
"version_value": "25b3498485ac"
},
{
"version_value": "not down converted",
"x_cve_json_5_version_data": {
"versions": [
{
"version": "5.18",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.18",
"status": "unaffected",
2024-11-05 10:02:03 +00:00
"versionType": "semver"
2024-05-20 10:00:36 +00:00
},
{
"version": "6.1.90",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
2024-11-05 10:02:03 +00:00
"versionType": "semver"
2024-05-20 10:00:36 +00:00
},
{
"version": "6.6.30",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
2024-11-05 10:02:03 +00:00
"versionType": "semver"
2024-05-20 10:00:36 +00:00
},
{
"version": "6.8.9",
"lessThanOrEqual": "6.8.*",
"status": "unaffected",
2024-11-05 10:02:03 +00:00
"versionType": "semver"
2024-05-20 10:00:36 +00:00
},
{
"version": "6.9",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
],
"defaultStatus": "affected"
}
}
]
}
}
]
}
}
]
}
},
"references": {
"reference_data": [
{
"url": "https://git.kernel.org/stable/c/25b3498485ac281e5851700e33b97f12c9533fd8",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/25b3498485ac281e5851700e33b97f12c9533fd8"
},
{
"url": "https://git.kernel.org/stable/c/73224a5d2180066c7fe05b4656647601ba08d588",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/73224a5d2180066c7fe05b4656647601ba08d588"
},
{
"url": "https://git.kernel.org/stable/c/9827caa5105fb16d1fae2e75c8d0e4662014b3ca",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/9827caa5105fb16d1fae2e75c8d0e4662014b3ca"
},
{
"url": "https://git.kernel.org/stable/c/bf6e4ee5c43690e4c5a8a057bbcd4ff986bed052",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/bf6e4ee5c43690e4c5a8a057bbcd4ff986bed052"
}
]
},
"generator": {
2024-11-05 10:02:03 +00:00
"engine": "bippy-9e1c9544281a"
2024-05-17 14:01:01 +00:00
}
}